While emerging Terminal using the libraries from the GNUstep overlay, I encountered an error while compiling something in the gnustep-base-1.14.0 ebuild. Reproducible: Always Steps to Reproduce: 1.# svn co http://overlays.gentoo.org/svn/proj/gnustep/overlay /usr/local/portage 2.# echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/make.conf 3.# emerge -NDu gnustep-apps/terminal Actual Results: i686-pc-linux-gnu-gcc -shared -shared-libgcc -fexceptions -pg -o ./SSL.bundle/./SSL ./obj/GSSSLHandle.o -L../Source/./obj -L./obj -L/var/tmp/portage/gnustep-base/gnustep-base-1.14.0/temp/GNUstep/Library/Libraries -L/usr/GNUstep/Local/Library/Libraries -L/usr/GNUstep/System/Library/Libraries -L/usr/GNUstep/System/Library/Libraries -L/usr/GNUstep/System/Library/Libraries/gnu-gnu-gnu -L/usr/GNUstep/System/Library/Libraries -L/usr/lib -lssl -lcrypto -lgnustep-base -lobjc -lgnustep-gui -lgnustep-base -lpthread -lobjc -lgmp -lxslt -lxml2 -lz -lm -lcallback -lavcall -lbfd -liberty -ldl -lz -lm /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgnustep-gui collect2: ld returned 1 exit status make[2]: *** [SSL.bundle/./SSL] Error 1 make[1]: *** [SSL.all.bundle.variables] Error 2 make[1]: Leaving directory `/var/tmp/portage/gnustep-base/gnustep-base-1.14.0/work/gnustep-base-1.14.0/SSL' make: *** [internal-all] Error 2 !!! ERROR: gnustep-base/gnustep-base-1.14.0 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3924: Called src_compile gnustep-base-1.14.0.ebuild, line 69: Called egnustep_make gnustep-2.eclass, line 148: Called die !!! package make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/gnustep-base/gnustep-base-1.14.0/temp/build.log'. This ebuild used the following eclasses from overlays: /usr/local/portage/eclass/gnustep-2.eclass !!! This ebuild is from an overlay: '/usr/local/portage' Portage 2.1.2.2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.5-r2, 2.6.17.13 i686) ================================================================= System uname: 2.6.17.13 i686 AMD Athlon (TM) MP Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 15 May 2007 12:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -mtune=athlon-mp" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /home/mythtv/ /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-Os -mtune=athlon-mp" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer nodoc sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo" LINGUAS="en_US en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acpi aim alsa apache2 bash-completion bzip2 calendar cddb cdparanoia clamav cli cracklib crypt dga dri dvd emacs emacs-w3 encode ffmpeg firefox ftp gcj gif glut gnustep gphoto2 gstreamer gtk gtk2 iconv icq imagemagick imap imlib ipv6 isdnlog jabber java jpeg libwww lirc lm_sensors mad memlimit midi mime mmx mp3 mpeg mysql ncurses nntp nocd nsplugin offensive ogg opengl oscar pam pcre pdf png pppd profile quicktime readline reflection sdl session sharedmem spell spl ssl sysvipc tcpd tetex threads tiff truetype unicode usb v4l verbose win32codecs x86 xine xml xorg xpm xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nv v4l nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Oops, I was supposed to assign this to gnustep@gentoo.org. Also, that emerge --info I gave wasn't quite right, this is what it should have been: Portage 2.1.2.2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.5-r2, 2.6.17.13 i686)=================================================================System uname: 2.6.17.13 i686 AMD Athlon (TM) MPGentoo Base System release 1.12.9Timestamp of tree: Tue, 15 May 2007 12:50:01 +0000dev-java/java-config: 1.3.7, 2.0.31dev-lang/python: 2.4.4-r4dev-python/pycrypto: 2.0.1-r5sys-apps/sandbox: 1.2.17sys-devel/autoconf: 2.13, 2.61sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10sys-devel/binutils: 2.16.1-r3sys-devel/gcc-config: 1.3.16sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -mtune=athlon-mp" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /home/mythtv/ /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-Os -mtune=athlon-mp" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer nodoc sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo" LINGUAS="en_US en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acpi aim alsa apache2 bash-completion bzip2 calendar cddb cdparanoia clamav cli cracklib crypt dga dri dvd emacs emacs-w3 encode ffmpeg firefox ftp gcj gif glut gnustep gphoto2 gstreamer gtk gtk2 iconv icq imagemagick imap imlib ipv6 isdnlog jabber java jpeg libwww lirc lm_sensors mad memlimit midi mime mmx mp3 mpeg mysql ncurses nntp nocd nsplugin offensive ogg opengl oscar pam pcre pdf png pppd profile quicktime readline reflection sdl session sharedmem spell spl ssl sysvipc tcpd tetex threads tiff truetype unicode usb v4l verbose win32codecs x86 xine xml xorg xpm xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nv v4l nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS (There was a typo in my make.conf file that I corrected, but I encountered this bug after I fixed the typo.)
Can you list the contents of your /usr/GNUstep/Local/Library/Libraries /usr/GNUstep/System/Library/Libraries /usr/GNUstep/System/Library/Libraries/gnu-gnu-gnu directories? alternatively a `equery files gnustep-gui` or `qlist gnustep-gui` might help here.
Also, which versions of gnustep-base packages were installed before? (output of `equery l gnustep`) And did you update your configuration files after gnustep-make update? (just a hunch) Thanks for the bugreport, btw ;)
Created attachment 119447 [details] Output of 'qlist gnustep-gui' (In reply to comment #2) > Can you list the contents of your > /usr/GNUstep/Local/Library/Libraries > /usr/GNUstep/System/Library/Libraries > /usr/GNUstep/System/Library/Libraries/gnu-gnu-gnu > > directories? I don't have the first or last directories. $ ls -l /usr/GNUstep/System/Library/Libraries total 5732 drwxr-xr-x 4 root root 4096 Mar 17 20:07 Resources lrwxrwxrwx 1 root root 60 Mar 18 01:44 libFSNode.so -> ../Frameworks/FSNode.framework/Versions/Current/libFSNode.so lrwxrwxrwx 1 root root 62 Mar 18 01:44 libFSNode.so.0 -> ../Frameworks/FSNode.framework/Versions/Current/libFSNode.so.0 lrwxrwxrwx 1 root root 66 Mar 18 01:44 libFSNode.so.0.1.0 -> ../Frameworks/FSNode.framework/Versions/Current/libFSNode.so.0.1.0 lrwxrwxrwx 1 root root 66 Mar 18 01:44 libInspector.so -> ../Frameworks/Inspector.framework/Versions/Current/libInspector.so lrwxrwxrwx 1 root root 68 Mar 18 01:44 libInspector.so.0 -> ../Frameworks/Inspector.framework/Versions/Current/libInspector.so.0 lrwxrwxrwx 1 root root 72 Mar 18 01:44 libInspector.so.0.1.0 -> ../Frameworks/Inspector.framework/Versions/Current/libInspector.so.0.1.0 lrwxrwxrwx 1 root root 60 Mar 18 01:39 libPDFKit.so -> ../Frameworks/PDFKit.framework/Versions/Current/libPDFKit.so lrwxrwxrwx 1 root root 62 Mar 18 01:39 libPDFKit.so.0 -> ../Frameworks/PDFKit.framework/Versions/Current/libPDFKit.so.0 lrwxrwxrwx 1 root root 66 Mar 18 01:39 libPDFKit.so.0.9.0 -> ../Frameworks/PDFKit.framework/Versions/Current/libPDFKit.so.0.9.0 lrwxrwxrwx 1 root root 25 May 15 09:06 libgnustep-base_p.so -> libgnustep-base_p.so.1.13 lrwxrwxrwx 1 root root 27 May 15 09:06 libgnustep-base_p.so.1.13 -> libgnustep-base_p.so.1.13.0 -rwxr-xr-x 1 root root 2974300 May 15 09:06 libgnustep-base_p.so.1.13.0 lrwxrwxrwx 1 root root 24 May 15 09:10 libgnustep-gui_p.so -> libgnustep-gui_p.so.0.11 lrwxrwxrwx 1 root root 26 May 15 09:10 libgnustep-gui_p.so.0.11 -> libgnustep-gui_p.so.0.11.0 -rwxr-xr-x 1 root root 2838824 May 15 09:10 libgnustep-gui_p.so.0.11.0 > alternatively a `equery files gnustep-gui` or `qlist gnustep-gui` might help > here.
(In reply to comment #3) > Also, which versions of gnustep-base packages were installed before? (output of > `equery l gnustep`) $ equery l gnustep [ Searching for package 'gnustep' in all categories among: ] * installed packages [I--] [ ] gnustep-base/gnustep-back-art-0.10.3 (0) [I--] [ ~] gnustep-base/gnustep-base-1.13.0-r1 (0) [I--] [ ] gnustep-base/gnustep-env-0.1.8 (0) [I--] [ ~] gnustep-base/gnustep-gui-0.11.0 (0) [I--] [ ~] gnustep-base/gnustep-make-2.0.0 (0) > And did you update your configuration files after gnustep-make update? (just a > hunch) You mean run etc-update? I did do that. Otherwise I'm not sure what you mean. > Thanks for the bugreport, btw ;) No problem :-)
Interesting, you have lrwxrwxrwx 1 root root 24 May 15 09:10 libgnustep-gui_p.so -> but you look for -lgnustep-gui gnustep-gui != (lib)gnustep-gui_p
(In reply to comment #6) > Interesting, you have > > lrwxrwxrwx 1 root root 24 May 15 09:10 libgnustep-gui_p.so -> > > but you look for > -lgnustep-gui > > gnustep-gui != (lib)gnustep-gui_p > Huh. slocate doesn't reveal a libgnustep-gui on my system. I'm going to try downgrading to gnustep-gui-0.10.3. Why does gnustep-gui depend on gnustep-base to compile when gnustep-base requires a working gnustep-gui to compile?
(In reply to comment #7) > Huh. slocate doesn't reveal a libgnustep-gui on my system. I'm going to try > downgrading to gnustep-gui-0.10.3. I tried that, and I still have a Libraries folder full of _p.so files.
(In reply to comment #6) > gnustep-gui != (lib)gnustep-gui_p In what sense, other than the name?
Ah ha! Could it be because I have the profile USE flag enabled? I get the same sort of build error on the stable build when I disable it. What is that flag for, exactly, anyway? "Adds profile support..." doesn't actually explain what it does. What is profile support? Is that where all those gmon.out files are coming from? 'Cause when it just says "adds profile support" I thought it meant like for /etc/profile and .profile or something.
(In reply to comment #10) > Ah ha! Could it be because I have the profile USE flag enabled? It looks like I was right. I pruned gnustep-base and gnustep-gui, disabled the profile USE flag, then emerged them from the overlay. What have we learned today? 1. The ebuilds in the overlay do not support the profile USE flag, but the ebuilds they are slated to replace do. This means the ebuilds in the overlay are not compatible with the packages from the regular portage tree if those packages were installed with the profile USE flag enabled. 2. gnustep-base links to gnustep-gui if it's already installed, but is not dependent on it. Therefore, if problems with gnustep-gui prevent one from installing gnustep-base, gnustep-gui must first be pruned. Am I missing something? All this sound good?
I would say that flag should die. It's making a dynamic lib suitable for doing performance measurements (typically something for GNUstep developers), but in this case generating a different library name. So, what is the status now, if you use everything from the overlay?
(In reply to comment #12) > So, what is the status now, if you use everything from the overlay? Now I've figured out how to get past this bug, and am now stuck at bug 159261.
The profile USE flag was dropped in the overlay, thanks for the report!