Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2021 05:32:48 +0100
From:      Edwin Ancaer <eancaer@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Problem with some gnustep ports after upgrade from 12.1 to 12.2
Message-ID:  <CAMSnosN8SVJwLRZkLZJeYLTZ8zRLXED-E86yoeNvNGG8-d8MQw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

recently I upgraded FreeBSD from 12.1 to 12.2. After the upgrade, I got
into trouble with some GNUstep Applications.
I jhave a limited number of non-GNUStep packages installed, but there I do
not have the problem,

When executing the GNUstep applications, I get a messagee about a missing
library:

$ openapp GNUMail
ld-elf.so.1: Shared object "libgnustep-gui.so.0.27" not found, required by
"GNUMail"

Never mind, I thought, I will reinstall the package

$ sudo pkg install gnumail
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'gnumail' have been found in
the repositories

Out of curiosity, I tried to reinstal anotrher package, gorm, which worked
fine.

Now I wonder, is there a problem with those packages (I did pkg update -f
several times), or is the problem local, at my computer.

By the way, for the packages that did not install, I get an error when
installing the port

Making all for app GNUMail...
cc   -L/usr/local/lib -fstack-protector-strong  -rdynamic -rdynamic
-rdynamic  -rdynamic     -fuse-ld= -pthread -fexceptions
-fobjc-runtime=gnustep-1.8 -fblocks -o GNUMail.app/./GNUMail \
./obj/GNUMail.obj/GNUMail_main.m.o   -L../
-LFramework/GNUMail/GNUMail.framework/Versions/Current/.
-LFramework/GNUMail/GNUMail.framework  -L../
-LFramework/GNUMail/GNUMail.framework/Versions/Current/.
-LFramework/GNUMail/GNUMail.framework
-L/usr/ports/mail/gnumail/work/GNUstep/Library/Libraries
-L/usr/local/GNUstep/Local/Library/Libraries
-L/usr/local/GNUstep/System/Library/Libraries  -L/usr/local/lib -lGNUMail
-lPantomime -lAddresses -lAddressView  -lgnustep-gui    -lgnustep-base
 -lobjc -fobjc-nonfragile-abi   -lm
ld: error: undefined symbol: __objc_class_name_NSAutoreleasePool
>>> referenced by GNUMail_main.m
>>>
./obj/GNUMail.obj/GNUMail_main.m.o:(__objc_class_ref_NSAutoreleasePool)

ld: error: undefined symbol: __objc_class_name_NSApplication
>>> referenced by GNUMail_main.m
>>>
./obj/GNUMail.obj/GNUMail_main.m.o:(__objc_class_ref_NSApplication)

ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSObject
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSBundle
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSString
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSWindowController
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_ADAddressBook
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_ADGroup
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_ADPerson
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSArray
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSMutableArray
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSWorkspace
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_ivar_offset_NSGraphicsContext.methods
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_ADSinglePropertyView
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSButton
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSImage
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSPanel
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSPopUpButton
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSTextField
ld: error:
Framework/GNUMail/GNUMail.framework/Versions/Current/./libGNUMail.so:
undefined reference to __objc_class_name_NSBezierPath
ld: error: too many errors emitted, stopping now (use -error-limit=0 to see
all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: ***
[/usr/local/GNUstep/System/Library/Makefiles/Instance/application.make:133:
GNUMail.app/./GNUMail] Error 1
gmake[3]: ***
[/usr/local/GNUstep/System/Library/Makefiles/Instance/application.make:147:
internal-app-run-compile-submake] Error 2
gmake[2]: ***
[/usr/local/GNUstep/System/Library/Makefiles/Master/rules.make:297:
GNUMail.all.app.variables] Error 2
gmake[1]: ***
[/usr/local/GNUstep/System/Library/Makefiles/Master/application.make:38:
internal-all] Error 2
gmake[1]: Leaving directory '/usr/ports/mail/gnumail/work/GNUMail-1.3.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Thanks for your help,

Edwin Ancaer

*;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMSnosN8SVJwLRZkLZJeYLTZ8zRLXED-E86yoeNvNGG8-d8MQw>