Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75499 - smalltalkx build failure (see also bug 69480)
Summary: smalltalkx build failure (see also bug 69480)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-23 17:43 UTC by James Ashley
Modified: 2005-08-24 21:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Ashley 2004-12-23 17:43:01 UTC
Try to emerge smalltalkx.  The build fails.  This is on a fresh, stock gentoo system.
The first part duplicates bug # 69480.  Linker cannot find libXext.  It's directed to the wrong place:  /usr/X11 rather than /usr/X11R6.  I got past this error by setting up a symlink.

After that I get the error I'll post into "Actual Results"

I don't have a clue what to do from there.  It's not an error I've ever seen before.

Reproducible: Always
Steps to Reproduce:
1. cd /usr 
2. ln -s X11R6 X11
3. emerge smalltalkx

Actual Results:  
 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 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:
stx: hidden symbol `fstat' in /usr/lib/libc_nonshared.a(fstat.oS) is
referenced by DSO
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

Expected Results:  
Should have finished installing cleanly, with no errors.  (This package is in
the standard production tree)

Portage 2.0.51-r2 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.4.26-gentoo-r9 i686)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://gentoo.ccccom.com
ftp://mirrors.tds.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx X apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 fam
foomaticdb fortran gdbm gif gpm gtk2 imlib java jikes jpeg junit kde ldap libg++
libwww mad mikmod motif mpeg mysql ncurses nls offensive oggvorbis opengl oss
pam pdflib perl php png python qt quicktime readline ruby sdl slang spell sse
ssl tcltk tcpd tiff truetype wxwindows x86 xml2 xmms xv zlib"
Comment 1 Bill Puschmann 2005-02-10 17:56:32 UTC
Same exact results on my end:


Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 11:27:20)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib aim alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode f77 fam flac font-server foomaticdb fortran gdbm gif gphoto2 gpm gtk2 imagemagick imlib ipv6 jabber java jpeg junit kde ldap libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sdl slang spell ssl svg svga tcpd tiff truetype truetype-fonts type1-fontsxml xml2 xmms xv yahoo zlib linguas_en linguas_de linguas_cy"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 2 Rune Schjellerup 2005-06-24 05:19:13 UTC
Seems like same error here. 
 
 
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.5-20050130/../../../../i686-pc-linux-gnu/bin/ld: 
stx: hidden symbol `fstat' in /usr/lib/libc_nonshared.a(fstat.oS) is referenced 
by DSO 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/bin/ld: 
final link failed: Nonrepresentable section on output 
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 556, Exitcode 2 
!!! emake failed 
!!! If you need support, post the topmost build error, NOT this status message. 
 
 
rs root # emerge info 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz 
Gentoo Base System version 1.4.16 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun  6 2005, 13:39:17)] 
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages parallel-fetch 
sandbox sfperms strict" 
GENTOO_MIRRORS="http://mirror.esoft.dk/gentoo 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo" 
LINGUAS="da" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/esoft-portage" 
SYNC="rsync://mirror.esoft.dk/gentoo-portage" 
USE="x86 X alsa apache2 apm arts avi bash-completion bcmath berkdb bitmap-fonts 
bzlib calendar crypt ctype cups curl dba emboss encode exif fam flac flash 
foomaticdb fortran ftp gd gdbm gif gpm graphviz gtk2 iconv imagemagick imap 
imlib ipv6 jabber java jbig jpeg junit kde lcms libg++ libwww mad mhash mikmod 
mime ming mmx motif mozilla mozsvg mp3 mpeg msn mysql ncurses nls odbc ogg 
oggvorbis opengl oss pam pcntl pcre pdflib perl php png posix postgres python 
qt quicktime readline samba sdl session slang snmp soap sockets spell spl sse 
sse2 ssl svga tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb 
vorbis wmf xine xml xml2 xmms xsl xv zlib linguas_da userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS 
 
Comment 3 Tobias Sager 2005-07-14 02:10:20 UTC
Same error as comment 2 here.
Any clues?
Comment 4 Tobias Sager 2005-07-15 09:04:49 UTC
See bug 99119 for a ebuild for a binary smalltalkx 5.2.6.
Comment 5 Luis Araujo (RETIRED) gentoo-dev 2005-08-24 21:09:06 UTC
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.