URL:
http://savannah.gnu.org/bugs/?42423
Summary: base.make errouneously pollutes CONFIG_SYSTEM_*
variables
Project: GNUstep
Submitted by: yavor
Submitted on: Mon 26 May 2014 01:38:46 AM EEST
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
___
Details:
This change
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/base.make.in?r1=37409r2=37408pathrev=37409
is clearly wrong. You don't really want everything that uses Base to be
linked with ICU, Avahi, GnuTLS, libxslt, libffi, etc.I don't really
understand the rationale for removing the make conditional -- if GUI needs ICU
(as it does), it needs to check for ICU itself (as it does). There's no need
for Base to impose the libraries it uses to other packages. Furthermore,
literally everything fails to build if built in a chroot or with special
linker flags, for example Cynthiune:
gcc -shared -rdynamic -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed
-Wl,-rpath,/usr/lib/cynthiune.app -pthread -shared-libgcc -fexceptions -o
./MP3.format/./MP3 ./obj/MP3.obj/xing.c.o ./obj/MP3.obj/MP3.m.o
-L/usr/local/lib -L/usr/lib -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed
-L/usr/local/lib -L/usr/local/lib -L/usr/lib -L/usr/lib/x86_64-linux-gnu
-lmad -lid3tag -lz
-L../../Frameworks/Cynthiune/Cynthiune.framework/Versions/Current -lCynthiune
-lgnustep-gui-lgnustep-base-lobjc -lavahi-common -lavahi-client
-lgnutls -lgcrypt -lxslt -lxml2 -lffi -lrt -ldl -lpthread -lz -licui18n
-licuuc -licudata -lm
/usr/bin/ld: cannot find -lavahi-common
/usr/bin/ld: cannot find -lavahi-client
/usr/bin/ld: cannot find -lxslt
/usr/bin/ld: cannot find -lffi
collect2: error: ld returned 1 exit status
/usr/share/GNUstep/Makefiles/Instance/bundle.make:205: recipe for target
'MP3.format/./MP3' failed
___
Reply to this item at:
http://savannah.gnu.org/bugs/?42423
___
Message sent via/by Savannah
http://savannah.gnu.org/
___
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep