discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: Installing GNUstep from FreeBSD ports, some more problems...


From: Edwin Ancaer
Subject: Fwd: Installing GNUstep from FreeBSD ports, some more problems...
Date: Sun, 28 Jan 2024 14:47:05 +0100

Well, I suppose very few people use GNUstep on FreeBSD...

It seems there is something going wrong with the Documentation indeed. The first errors I find during the build is during the execution of autogsdoc:


gmake[4]: Entering directory '/usr/ports/x11-toolkits/gnustep-gui/work/libs-gui-gui-0_30_0/Source'
cp ../Documentation/Gui.gsdoc .
cp ../Documentation/GuiAdditions.gsdoc .
Making all for doc Gui...
autogsdoc -Project Gui -DocumentationDirectory Gui -MakeFrames YES -DocumentationDirectory ../Documentation/Gui -HeaderDirectory ../Headers/AppKit -Declared AppKit -Standards YES -ConstantsTemplate TypesAndConstants -FunctionsTemplate Functions -MacrosTemplate Functions -TypedefsTemplate TypesAndConstants -VariablesTemplate TypesAndConstants -WordMap '{ APPKIT_EXPORT=extern;APPKIT_DECLARE=""; DEFINE_RINT_IF_MISSING=""; }' -Up Gui -MakeDependencies Gui/dependencies ../Documentation/Gui.gsdoc AppKitDefines.h AppKitErrors.h AppKitExceptions.h AppKit.h DPSOperators.h NSAccessibilityConstants.h NSAccessibilityCustomAction.h NSAccessibilityCustomRotor.h NSAccessibilityElement.h NSAccessibility.h NSAccessibilityProtocols.h NSActionCell.h NSAffineTransform.h NSAlert.h NSAnimationContext.h NSAnimation.h NSAppearance.h NSApplication.h NSArrayController.h NSAttributedString.h NSBezierPath.h NSBitmapImageRep.h NSBox.h NSBrowserCell.h NSBrowser.h NSButtonCell.h NSButton.h NSButtonTouchBarItem.h NSCachedImageRep.h NSCandidateListTouchBarItem.h NSCell.h NSCIImageRep.h NSClickGestureRecognizer.h NSClipView.h NSCollectionViewCompositionalLayout.h NSCollectionViewFlowLayout.h NSCollectionViewGridLayout.h NSCollectionView.h NSCollectionViewItem.h NSCollectionViewLayout.h NSCollectionViewTransitionLayout.h NSColor.h NSColorList.h NSColorPanel.h NSColorPicker.h NSColorPickerTouchBarItem.h NSColorPicking.h NSColorSampler.h NSColorSpace.h NSColorWell.h NSComboBoxCell.h NSComboBox.h NSControl.h NSController.h NSCursor.h NSCustomImageRep.h NSCustomTouchBarItem.h NSDataAsset.h NSDataLink.h NSDataLinkManager.h NSDataLinkPanel.h NSDatePickerCell.h NSDatePicker.h NSDockTile.h NSDocumentController.h NSDocument.h NSDragging.h NSDrawer.h NSEPSImageRep.h NSErrors.h NSEvent.h NSFileWrapperExtensions.h NSFileWrapper.h NSFontAssetRequest.h NSFontCollection.h NSFontDescriptor.h NSFont.h NSFontManager.h NSFontPanel.h NSFormCell.h NSForm.h NSGestureRecognizer.h NSGlyphGenerator.h NSGlyphInfo.h NSGradient.h NSGraphicsContext.h NSGraphics.h NSGridView.h NSGroupTouchBarItem.h NSHelpManager.h NSHelpPanel.h NSImageCell.h NSImage.h NSImageRep.h NSImageView.h NSInputManager.h NSInputServer.h NSInterfaceStyle.h NSKeyValueBinding.h NSLayoutAnchor.h NSLayoutConstraint.h NSLayoutGuide.h NSLayoutManager.h NSLevelIndicatorCell.h NSLevelIndicator.h NSMagnificationGestureRecognizer.h NSMatrix.h NSMediaLibraryBrowserController.h NSMenu.h NSMenuItemCell.h NSMenuItem.h NSMenuView.h NSMovie.h NSMovieView.h NSNibConnector.h NSNibControlConnector.h NSNibDeclarations.h NSNib.h NSNibLoading.h NSNibOutletConnector.h NSObjectController.h NSOpenGL.h NSOpenGLView.h NSOpenPanel.h NSOutlineView.h NSPageController.h NSPageLayout.h NSPanel.h NSPanGestureRecognizer.h NSParagraphStyle.h NSPasteboard.h NSPasteboardItem.h NSPathCell.h NSPathComponentCell.h NSPathControl.h NSPathControlItem.h NSPDFImageRep.h NSPDFInfo.h NSPDFPanel.h NSPersistentDocument.h NSPickerTouchBarItem.h NSPICTImageRep.h NSPopover.h NSPopoverTouchBarItem.h NSPopUpButtonCell.h NSPopUpButton.h NSPredicateEditor.h NSPredicateEditorRowTemplate.h NSPressGestureRecognizer.h NSPrinter.h NSPrintInfo.h NSPrintOperation.h NSPrintPanel.h NSProgressIndicator.h NSResponder.h NSRotationGestureRecognizer.h NSRuleEditor.h NSRulerMarker.h NSRulerView.h NSRunningApplication.h NSSavePanel.h NSScreen.h NSScroller.h NSScrollView.h NSScrubber.h NSScrubberItemView.h NSScrubberLayout.h NSSearchFieldCell.h NSSearchField.h NSSecureTextField.h NSSegmentedCell.h NSSegmentedControl.h NSSeguePerforming.h NSSelection.h NSShadow.h NSSharingService.h NSSharingServicePickerToolbarItem.h NSSharingServicePickerTouchBarItem.h NSSliderAccessory.h NSSliderCell.h NSSlider.h NSSliderTouchBarItem.h NSSound.h NSSpeechRecognizer.h NSSpeechSynthesizer.h NSSpellChecker.h NSSpellProtocol.h NSSpellServer.h NSSplitViewController.h NSSplitView.h NSSplitViewItem.h NSStackView.h NSStatusBarButton.h NSStatusBar.h NSStatusItem.h NSStepperCell.h NSStepper.h NSStepperTouchBarItem.h NSStoryboard.h NSStoryboardSegue.h NSStringDrawing.h NSSwitch.h NSTableColumn.h NSTableHeaderCell.h NSTableHeaderView.h NSTableView.h NSTabViewController.h NSTabView.h NSTabViewItem.h NSTextAlternatives.h NSTextAttachment.h NSTextCheckingClient.h NSTextCheckingController.h NSTextContainer.h NSTextFieldCell.h NSTextField.h NSTextFinder.h NSText.h NSTextInputClient.h NSTextInputContext.h NSTextList.h NSTextStorage.h NSTextTable.h NSTextView.h NSTitlebarAccessoryViewController.h NSTokenFieldCell.h NSTokenField.h NSToolbar.h NSToolbarItemGroup.h NSToolbarItem.h NSTouchBar.h NSTouchBarItem.h NSTouch.h NSTrackingArea.h NSTreeController.h NSTreeNode.h NSUserDefaultsController.h NSUserInterfaceCompression.h NSUserInterfaceItemIdentification.h NSUserInterfaceItemSearching.h NSUserInterfaceLayout.h NSUserInterfaceValidation.h NSViewController.h NSView.h NSVisualEffectView.h NSWindowController.h NSWindow.h NSWindowRestoration.h NSWorkspace.h PSOperators.h
../Headers/AppKit/NSAccessibilityCustomAction.h:40 Unexpected char (@) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:48 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:51 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:55 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:56 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:58 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:59 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:61 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:62 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:64 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:65 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomAction.h:71 Argh ... read '}' when looking for ';'
../Headers/AppKit/NSAccessibilityCustomRotor.h:85 Unexpected char (@) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:90 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:93 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:94 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:96 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:97 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:99 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:100 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:102 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:103 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:113 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:116 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:118 Unexpected char (-) in declaration
../Headers/AppKit/NSAccessibilityCustomRotor.h:120 Unexpected char (-) in declaration



This is the start of a whole series of likewise errors/warnings,  but the build  conitnues.
until the error I mentioned previously.

I can remove the build of the documention from the Makefile in the port, by commenting the
instruction ${REINPLACE_CMD} -e "s|doc=no|doc=yes|" ${WRKSRC}/GNUmakefile

post-patch:
        ${REINPLACE_CMD} -e "s|libpng/png.h|png.h|" ${WRKSRC}/configure
#${REINPLACE_CMD} -e "s|doc=no|doc=yes|" ${WRKSRC}/GNUmakefile

but then, I get other errors, also concerning the documentation directories:

gmake[3]: Entering directory '/usr/ports/x11-toolkits/gnustep-gui/work/libs-gui-gui-0_30_0/Tests'
gmake[3]: Nothing to be done for 'install'.
gmake[3]: Leaving directory '/usr/ports/x11-toolkits/gnustep-gui/work/libs-gui-gui-0_30_0/Tests'
gmake[2]: Leaving directory '/usr/ports/x11-toolkits/gnustep-gui/work/libs-gui-gui-0_30_0'
====> Compressing man pages (compress-man)
===>   Installing ldconfig configuration file
===>  Installing for gnustep-gui-0.30.0_7
===>  Checking if gnustep-gui is already installed
===>   Registering installation for gnustep-gui-0.30.0_7
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/Developer/Gui/Additions/ClassesTOC.gsdoc:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/Developer/Gui/Additions/ClassesTOC.html:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/Developer/Gui/Additions/Functions.gsdoc:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/Developer/Gui/Additions/Functions.html:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/Developer/Gui/Additions/FunctionsTOC.gsdoc:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/Developer/Gui/Additions/FunctionsTOC.html:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/Developer/Gui/Additions/GSDisplayServer.gsdoc:No such file or directory
...
...
...
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.30:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/User/Gui/DefaultsSummary.html:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/User/Gui/GuiUser.igsdoc:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/User/Gui/KeyboardSetup.html:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/User/Gui/LanguageSetup.html:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-toolkits/gnustep-gui/work/stage/usr/local/GNUstep/System/Library/Documentation/User/Gui/dependencies:No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11-toolkits/gnustep-gui
*** Error code 1

Stop.

Anybody any  ideas what to try next to find the problem?
*;


---------- Forwarded message ---------
Van: Edwin Ancaer <eancaer@gmail.com>
Date: wo 24 jan 2024 om 00:24
Subject: Re: Installing GNUstep from FreeBSD ports, some more problems...
To: Gregory Casamento <greg.casamento@gmail.com>
Cc: Discuss GNUstep <discuss-gnustep@gnu.org>


Gregory,

I suppose I install version 2.9.1 of gnustep-make if I see the folllowing:
=> Attempting to fetch https://github.com/gnustep/tools-make/releases/download/make-2_9_1/gnustep-make-2.9.1.tar.gz
gnustep-make-2.9.1.tar.gz                              606 kB 2925 kBps    00s


Is there another way to check this version?

What I see is that somehow during the build, a directory Gui is created

-rw-r--r--   1 root wheel 138018 Dec 29  2022 GSXib5KeyedUnarchiver.m
-rw-r--r--   1 root wheel   2752 Dec 29  2022 GSXibElement.m
-rw-r--r--   1 root wheel  33661 Dec 29  2022 GSXibKeyedUnarchiver.m
-rw-r--r--   1 root wheel   6289 Dec 29  2022 GSXibLoader.m
-rw-r--r--   1 root wheel  27407 Dec 29  2022 GSXibLoading.m
drwxr-xr-x   2 root wheel    512 Jan 23 23:07 Gui
-rw-r--r--   1 root wheel   2713 Jan 23 23:07 Gui.gsdoc
drwxr-xr-x   2 root wheel    512 Jan 23 23:07 GuiAdditions
-rw-r--r--   1 root wheel   1236 Jan 23 23:07 GuiAdditions.gsdoc
-rw-r--r--   1 root wheel    210 Jan 22 14:59 Info-gnustep.plist


It contains this file dependencies, I attached. But I have not been able to find out how this file is created.

Thanks

*;


Op di 23 jan 2024 om 22:54 schreef Gregory Casamento <greg.casamento@gmail.com>:
Edwin,

NSCollectionViewLayout.h and its associated layout classes were not in gui-0_30_0.   I'm confused as to why it's having an issue building docs.  Are you certain you don't have a different version of gnustep-make installed?

Yours, GC   

On Tue, Jan 23, 2024 at 3:15 PM Edwin Ancaer <eancaer@gmail.com> wrote:
Hello,

can I bore you some more with my GNUstep on FreeBD adventures?
I noticed my FreeBSD version was out of support, so I freshly installed FreeBSD 14.0. That made the situation a lot better. The GNUstep ports worked, but the versions of gnustep-make, gnustep-libs and gnustep-back were not the latest. GNUstep-base was up-to-date.

So, i did some updates to get the newest version in the Makefiles of the 3 ports that were out-of-date. 

Gnustep-Make build with the latest version, GNUstep-Base in FreeBSD 14.0 is already at 1.29.0 so I started trying to build version 0.30.0. I just had to update the release number, and do some messing with the MASTERSITES variable to get the tarball from git,

But on make install, I got the following error:

make -C ../Source -f DocMakefile
gmake[4]: Entering directory '/usr/ports/x11-toolkits/gnustep-gui/work/libs-gui-gui-0_30_0/Source'
cp ../Documentation/Gui.gsdoc .
cp ../Documentation/GuiAdditions.gsdoc .
Making all for doc Gui...
gmake[5]: *** No rule to make target '../Headers/AppKit/NSCollectionViewLayout.h', needed by 'Gui/dependencies'.  Stop.
gmake[4]: *** [/usr/local/GNUstep/System/Library/Makefiles/Master/rules.make:297: Gui.all.doc.variables] Error 2

(the problem is in the a file Gui/dependencies
 NSTreeNode.m \
        ../Headers/AppKit/NSAnimationContext.h \
        ../Headers/AppKit/NSCollectionViewLayout.h \
        ../Headers/AppKit/NSWorkspace.h \
        ../Headers/AppKit/NSButtonCell.h \
        ../Headers/AppKit/NSUserDefaultsController.h \
mentioning a dependency of NSTreeNode.m on NSCollectionViewLayout.h.

I have to admit that the file NSCollectionViewLayout.h is not in the Headers files I downloaded with the ports Makefile

edwin@ottopedi /usr/ports/x11-toolkits/gnustep-gui/work/libs-gui-gui-0_30_0/Headers/AppKit]$ ls -al NSCollection*
-rw-r--r--  1 root wheel 5025 Dec 29  2022 NSCollectionView.h
-rw-r--r--  1 root wheel 1968 Dec 29  2022 NSCollectionViewItem.h

But I see that same file in Github. Is it possible there is a problem in creating the tarball file for the release-version of GNUstep libs-gui? 
As an extra check  I manually downloaded the tarball from https://github.com/gnustep/libs-gui/releases/download/gui-0_30_0/gnustep-gui-0.30.0.tar.gz, and there, the file  NSCollectionViewLayout.h. is not present either.

I git clone of the repository, and there, the missing file (along with some others, was present:

[edwin@ottopedi ~/GNUstep-Gui-clone/libs-gui/Headers/AppKit]$ ls -al NSCollection*
-rw-r--r--  1 edwin edwin 23550 Jan 23 21:07 NSCollectionView.h
-rw-r--r--  1 edwin edwin  1510 Jan 23 21:07 NSCollectionViewCompositionalLayout.h
-rw-r--r--  1 edwin edwin  5146 Jan 23 21:07 NSCollectionViewFlowLayout.h
-rw-r--r--  1 edwin edwin  2198 Jan 23 21:07 NSCollectionViewGridLayout.h
-rw-r--r--  1 edwin edwin  1996 Jan 23 21:07 NSCollectionViewItem.h
-rw-r--r--  1 edwin edwin  9808 Jan 23 21:07 NSCollectionViewLayout.h
-rw-r--r--  1 edwin edwin  2228 Jan 23 21:07 NSCollectionViewTransitionLayout.h

Any help is welcome...

Edwin Ancaer




--
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
https://www.patreon.com/bePatron?u=352392 - Become a Patron

Attachment: dependencies
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]