discuss-gnustep
[Top][All Lists]
Advanced

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

Re: libobjc2/gnustep-base also failing under FreeBSD


From: Andreas Fink
Subject: Re: libobjc2/gnustep-base also failing under FreeBSD
Date: Mon, 11 Feb 2019 20:05:29 +0100


From reading the scrip gnustep-config

 /usr/local/GNUstep/System/Tools/gnustep-config --objc-libs


does call

 gmake --no-print-directory -s -f "$GNUSTEP_MAKEFILES/empty.make" print-gnustep-make-objc-flags quiet=yes 2>/dev/null


and on my freshly installed system, there's no gmake. Only make. Thats why the output is empty.
after 

 pkg install gmake

I get output:

/usr/local/GNUstep/System/Tools/gnustep-config --objc-libs
-rdynamic -L/usr/local/lib -fstack-protector -pthread -fexceptions -fobjc-runtime=gnustep-1.8 -fblocks -L/root/GNUstep/Library/Libraries -L/usr/local/GNUstep/Local/Library/Libraries -L/usr/local/GNUstep/System/Library/Libraries -L/usr/local/lib -lobjc -fobjc-nonfragile-abi -lm

which is wrong. gnustep-1.8 instead of gnustep-2.0.

So we are back to square one.

Also gnustep-make should  have a dependency to gmake (or work happily with make)
 


On 11 Feb 2019, at 19:59, David Wetzel <dave@turbocat.de> wrote:

I just build it after upgrading ports. 

dave@apu>/usr/local/GNUstep/System/Tools/gnustep-config --objc-libs

-rdynamic -L/usr/local/lib -fstack-protector -pthread -fexceptions -fobjc-runtime=gnustep-1.8 -fblocks -L/home/dave/GNUstep/Library/Libraries -L/usr/local/GNUstep/Local/Library/Libraries -L/usr/local/GNUstep/System/Library/Libraries -L/usr/local/lib -lobjc -fobjc-nonfragile-abi -lm

dave@apu>/usr/local/GNUstep/System/Tools/gnustep-config --objc-flags

-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNUSTEP_RUNTIME=1 -D_NONFRAGILE_ABI=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-import -I/usr/local/include -fobjc-runtime=gnustep-1.8 -fblocks -fconstant-string-class=NSConstantString -I. -I/home/dave/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include

dave@apu>pkg info |grep -i gnustep

gnustep-base-1.26.0_1          GNUstep Foundation library

gnustep-make-2.7.0_3           GNUstep makefile package

dave@apu>uname -v

FreeBSD 11.2-RELEASE-p8 #0: Tue Jan  8 21:35:12 UTC 2019     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC 



Von meinem iPhone gesendet

Am 11.02.2019 um 13:49 schrieb Andreas Fink <afink@list.fink.org>:

I reinstalled a fresh new FreeBSD VM and did install the package gnustep-base again.

Now  /usr/local/GNUstep/System/Tools/gnustep-config returns absolutely nothing:

$  /usr/local/GNUstep/System/Tools/gnustep-config --objc-libs
$  /usr/local/GNUstep/System/Tools/gnustep-config --objc-flags

WTF. Like every time I try to use gnustep on any system there is some magic thing happening <somewhere> which screws up my builds. I've now tried on 6 different OS versions/build environments. I think the gnustep-make / build environment is so delicate that it's time to rethink it seriously. Otherwise Gnustep can never become mainstream.

It's a mystic combination of compiler version, linker, environment-variables,  gnustep-make config files. This is a recipe for failure.

And I'm only talking about gnustep-base/libobjc2 , not  even gui or anymore difficult dependencies. Just really basic stuff.





On 11 Feb 2019, at 17:07, David Chisnall <gnustep@theravensnest.org> wrote:

On 11/02/2019 15:56, Andreas Fink wrote:
[root@freebsd /etc]# /usr/local/GNUstep/System/Tools/gnustep-config --objc-libs
-rdynamic -L/usr/local/lib -fstack-protector -pthread -fexceptions -fobjc-runtime=gnustep-1.8 -fblocks -L/root/GNUstep/Library/Libraries -L/usr/local/GNUstep/Local/Library/Libraries -L/usr/local/GNUstep/System/Library/Libraries -L/usr/local/lib -lobjc -fobjc-nonfragile-abi -lm

You probably still have some stuff in /etc or /usr/local/etc from your previous gnustep-make install that it's picking up (e.g. a GNUstep.conf?).

David

Andreas Fink
------------------------------------------------------------------
Fink Telecom Services, Paradieshofstrasse 101, 4054 Basel, Switzerland
Mobile: +41-78-6677333
Skype: andreasfink    Jabber/XMPP: andreas@fink.org ICQ: 8239353
------------------------------------------------------------------





_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Andreas Fink
------------------------------------------------------------------
Fink Telecom Services, Paradieshofstrasse 101, 4054 Basel, Switzerland
Mobile: +41-78-6677333
Skype: andreasfink    Jabber/XMPP: andreas@fink.org ICQ: 8239353
------------------------------------------------------------------






reply via email to

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