When i tryed to emerge Smalltalkx (marked stable) y get thhe following error: symlinking to ../../libview/GLXWorkstation.so for linkage ... gcc -L/usr/X11/lib -Llib -Lbinary -L. -L/usr/local/lib -L/usr/lib -L/lib -L/usr/local/lib/smalltalk/lib -o stx \ modulList.o main.o \ \ libbasic.so libcomp.so libboss.so libview.so libview2.so libui.so libwidg.so libwidg2.so libtool.so libtool2.so libbasic2.so libbasic3.so libhtml.so libdbase.so XWorkstation.so GLXWorkstation.so \ librun.so \ \ -lm -lXext -lX11 -ldl -lm /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXext collect2: ld returned 1 exit status make[3]: *** [linkIt] Error 1 make[2]: *** [stx_shared] Error 2 make[1]: *** [Smalltalk] Error 2 make: *** [catchDefaultRule] Error 2 !!! ERROR: dev-lang/smalltalkx-4.1.4 failed. !!! Function src_compile, Line 510, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Tried changin to a less "agressive" CFlags, no luck :( Reproducible: Always Steps to Reproduce: 1.emerge smalltalkx 2.wait for the error to show :) 3. Actual Results: The error shown above Expected Results: Smalltalkx should install and work properly as its marked stable fox root # cat /etc/make.conf # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example USE="mmx sse X kde qt gtk2 usb alsa doc fam fbcon java samba unicode ld cups jikes slang fbcon dvd cdr gnome gtk maildir ssl imap mysql x86" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" FEATURES="ccache" # distcc" DISTCC_DIR="/var/tmp/.distcc" GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://128.213.5.34/gentoo/" ALSA_CARDS="intel8x0" AUTOCLEAN="yes" PORTAGE_OVERLAY="/usr/local/portage" PORTAGE_NICENESS=1 CCACHE_SIZE="2G"
emerge gentoolkit qpkg -l xorg-x11 | grep libXext grep LDPATH /etc/env.d/10xorg Make sure your environment's up to date too. env-update && source /etc/profile && emerge smalltalkx.
also, qpkg -I -v xorg-x11.
Please reopen when you add info.
OK, somebody else has added the info required: electric@BrokenWing electric $ qpkg -l xorg-x11 | grep libXext /usr/X11R6/lib/libXext.so -> libXext.so.6.4 1103626455 /usr/X11R6/lib/libXext.so.6.4 /usr/X11R6/lib/libXext.a /usr/X11R6/lib/libXext.so.6 -> libXext.so.6.4 1103626465 electric@BrokenWing electric $ grep LDPATH /etc/env.d/10xorg LDPATH=/usr/X11R6/lib64:/usr/X11R6/lib electric@BrokenWing electric $ qpkg -I -v xorg-x11 x11-base/xorg-x11-6.8.0-r3 * Problem seems to persist on my system too. Tried the other guy's solution that cleverly tricked the ebuild in thinking that X11 was somewhere else, giving the exact same error.
Try this: first make test.c, contents below, then try to link against libXext. donnie@supernova ~ $ cat test.c int main() {} donnie@supernova ~ $ gcc -o test -lXext test.c donnie@supernova ~ $ ls -l test -rwxr-xr-x 1 donnie users 7577 Jan 17 09:33 test donnie@supernova ~ $ gcc -o test -lXext -static test.c donnie@supernova ~ $ ls -l test -rwxr-xr-x 1 donnie users 581347 Jan 17 09:36 test
This is the output I get. Of course I omitted the ls, because there is no file created (duh ;)) I'm running Xorg as my xwindows system, so no more XFree (like I did a long time ago). So as far as I can tell, it seems to be going wrong there. Hopefully the stuff down here makes more sense to you then to me, because I'm not a too bad programmer, but C++ and Linux aren't my favourite programming mates yet. electric@BrokenWing electric $ cat test.c int main() {} electric@BrokenWing electric $ gcc -o test -lXext test.c /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXext collect2: ld returned 1 exit status electric@BrokenWing electric $ gcc -o test -lXext -static test.c /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXext collect2: ld returned 1 exit status I at least know it can't find the stuff it searches for.
ls /usr/X11R6/lib/libXext.* Also try the earlier compiles with -L/usr/X11R6/lib.
Ah might as well make that `ls -l` instead of `ls`.
For your pleasure :) bash-2.05b$ ls -l /usr/X11R6/lib/libXext.* -rw-r--r-- 1 root root 86744 Dec 21 10:53 /usr/X11R6/lib/libXext.a lrwxrwxrwx 1 root root 14 Dec 21 10:54 /usr/X11R6/lib/libXext.so -> libXext.so.6.4 lrwxrwxrwx 1 root root 14 Dec 21 10:54 /usr/X11R6/lib/libXext.so.6 -> libXext.so.6.4 -rwxr-xr-x 1 root root 72811 Dec 21 10:53 /usr/X11R6/lib/libXext.so.6.4 When trying to build like this it works, I didn't remove the "-lXext" tho: bash-2.05b$ gcc -o test -lXext -L/usr/X11R6/lib test.c bash-2.05b$ ls -l test -rwxr-xr-x 1 electric users 7087 Jan 18 20:24 test bash-2.05b$ gcc -o test -lXext -L/usr/X11R6/lib test.c bash-2.05b$ ls -l test -rwxr-xr-x 1 electric users 7087 Jan 18 20:24 test bash-2.05b$ gcc -o test -lXext -L/usr/X11R6/lib -static test.c bash-2.05b$ ls -l test -rwxr-xr-x 1 electric users 477313 Jan 18 20:25 test hmmzz ... any "shining" light on the subject?
grep X11R6 /etc/ld.so.conf Maybe try.. env-update source /etc/profile emerge smalltalkx
Oh by the way, which revision of xorg-x11 is this? If it's 6.8.0-r4 or greater, see whether /usr/X11R6/lib is a symlink to /usr/lib.
Here goes: bash-2.05b$ grep X11R6 /etc/ld.so.conf /usr/X11R6/lib64 /usr/X11R6/lib Already tried this a couple of times, but starting the proces again: Maybe try.. env-update source /etc/profile emerge smalltalkx Going to give an update as soon as it finishes somewhere .... "Oh by the way, which revision of xorg-x11 is this? If it's 6.8.0-r4 or greater, see whether /usr/X11R6/lib is a symlink to /usr/lib." My version: Calculating dependencies ...done! [ebuild R ] x11-base/xorg-x11-6.8.0-r3 So the latest stable version of it. Checking symlink through: ls -l /usr/X11R6/lib/ Doesn't give any symlinks, except for some libraries in the specific directory.
and unfortunately here it goes again: GNU nano 1.3.4 File: smalltalkerror LIBOBJS: ../../libbasic/libbasic.so ../../libcomp/libcomp.so ../../libboss/libboss.so ../../libview/libview.so ../../libvie$ LINK_LIBOBJS: libbasic.so libcomp.so libboss.so libview.so libview2.so libui.so libwidg.so libwidg2.so libtool.so libtool2.$ symlinking to ../../libbasic/libbasic.so for linkage ... symlinking to ../../libcomp/libcomp.so for linkage ... symlinking to ../../libboss/libboss.so for linkage ... symlinking to ../../libview/libview.so for linkage ... symlinking to ../../libview2/libview2.so for linkage ... symlinking to ../../libwidg/libwidg.so for linkage ... symlinking to ../../libwidg2/libwidg2.so for linkage ... symlinking to ../../libui/libui.so for linkage ... symlinking to ../../libtool/libtool.so for linkage ... symlinking to ../../libtool2/libtool2.so for linkage ... symlinking to ../../libbasic2/libbasic2.so for linkage ... symlinking to ../../libbasic3/libbasic3.so for linkage ... symlinking to ../../libhtml/libhtml.so for linkage ... symlinking to ../../goodies/persistency/libdbase.so for linkage ... symlinking to ../../librun/librun.so for linkage ... symlinking to ../../libview/XWorkstation.so for linkage ... symlinking to ../../libview/GLXWorkstation.so for linkage ... gcc -L/usr/X11/lib -Llib -Lbinary -L. -L/usr/local/lib -L/usr/lib -L/lib -L/usr/local/lib/smalltalk/lib -o stx \ modulList.o main.o \ \ libbasic.so libcomp.so libboss.so libview.so libview2.so libui.so libwidg.so libwidg2.so libtool.so libtool2.so l$ librun.so \ \ -lm -lXext -lX11 -ldl -lm /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lXext collect2: ld returned 1 exit status make[3]: *** [linkIt] Error 1 make[2]: *** [stx_shared] Error 2 make[1]: *** [Smalltalk] Error 2 make: *** [catchDefaultRule] Error 2 !!! ERROR: dev-lang/smalltalkx-4.1.4 failed. !!! Function src_compile, Line 510, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
I see something weird in there: it seems to be using -L/usr/X11/lib instead of -L/usr/X11R6/lib for some reason. Can you attach a full compile log, and configure.log if there is one?
Yeah sure, this compile was done on the console and this was the last info on the screen. I will try compilation again under an XTerm with enough history to capture all info of the build, including the configuration, if that is what you want.
Just set PORT_LOGDIR to some directory that exists, and you'll get a free build log.
already resorted to my option now ... as far as I can tell there is no configuration going on. It just extracts the files and starts whizzing away at building it.
Created attachment 49023 [details] Full build log Her you go, the full log of the build. From top to bottom
Ah, man. Could you change the mime type to plain/text please? Just click "Edit" next to it on the attachments list on the top, if you don't know how.
Comment on attachment 49023 [details] Full build log sorry :(
Any more news on the subject? A few days back, I've changed to the r4 release of xorg-x11. This changed some of the output but it still fails on the same part.
Seems to me that smalltalkx is wrongly finding the X libdir. Reassigning.
Any new info on this subject?
I have already added a new version of this package to the tree (smalltalk-5.2.6) please, use/test that one, and that way to replace this very very outdated version. Note it is a binary package, and since it only apparently compiles with glibc<=2.2 , i decided to use the binary version. I will be closing this bug for now.