Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66485 - sharutils-4.2.1-r10 fails on build - cannot access gettext
Summary: sharutils-4.2.1-r10 fails on build - cannot access gettext
Status: RESOLVED DUPLICATE of bug 66355
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Olivier Crete (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-05 20:23 UTC by Sean Burke
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Sean Burke 2004-10-05 20:23:34 UTC
Build log:
make[1]: Entering directory `/var/tmp/portage/sharutils-4.2.1-r10/work/sharutils-4.2.1/po'
/usr/bin/xgettext --default-domain=sharutils --directory=.. \
  --add-comments --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in
/usr/bin/msgfmt -o de.mo de.po
/usr/bin/xgettext: error while loading shared libraries: libgettextlib-0.12.1.so: cannot open shared object file: No such file or directory
/usr/bin/msgfmt: error while loading shared libraries: libgettextlib-0.12.1.so: cannot open shared object file: No such file or directory
make[1]: *** [de.mo] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [sharutils.pot] Error 127
make[1]: Leaving directory `/var/tmp/portage/sharutils-4.2.1-r10/work/sharutils-4.2.1/po'
make: *** [all-recursive] Error 1


Reproducible: Always
Steps to Reproduce:
1.emerge -u world
2.
3.

Actual Results:  
Build fails because make cannot access libgettext.  Permissions error?? 

Expected Results:  
 

Portage 2.0.51_rc4 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.4.27 
i686) 
================================================================= 
System uname: 2.4.27 i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.5.3 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.22 
Libtools: sys-devel/libtool-1.5.2-r5 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache distlocks sandbox" 
GENTOO_MIRRORS="http://gentoo.osuosl.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="X alsa apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 foomatic 
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad 
mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png 
ppds python qt quicktime readline sdl slang spell ssl svga tcpd tetex tiff 
truetype usb x86 xml2 xmms xprint xv zlib"
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2004-10-05 21:40:19 UTC
can you try running "ldd /usr/bin/xgettext" and "ldd /usr/bin/msgfmt" and tell me if there is any missing library?
If the gettext lib is missing, can you try recompiling gettext? if this fails.. try gettext 0.14.1 (its currently ~x86, but will be x86 soon anyways because of bug #66355).
I think the problem is in gettext...
Comment 2 Gregg Casillo 2004-10-06 16:21:37 UTC
houseenc gregg # ldd /usr/bin/xgettext
        linux-gate.so.1 =>  (0xffffe000)
        libgettextsrc-0.14.1.so => /usr/lib/libgettextsrc-0.14.1.so (0x40019000)
        libgettextlib-0.14.1.so => /usr/lib/libgettextlib-0.14.1.so (0x40044000)
        libc.so.6 => /lib/libc.so.6 (0x40057000)
        libdl.so.2 => /lib/libdl.so.2 (0x40163000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libgettextlib-0.12.1.so => not found
houseenc gregg # ldd /usr/bin/msgfmt
        linux-gate.so.1 =>  (0xffffe000)
        libgettextsrc-0.14.1.so => /usr/lib/libgettextsrc-0.14.1.so (0x40019000)
        libgettextlib-0.14.1.so => /usr/lib/libgettextlib-0.14.1.so (0x40044000)
        libc.so.6 => /lib/libc.so.6 (0x40057000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libgettextlib-0.12.1.so => not found

I reemerged gettext, and that appears to have corrected the problem. Not sure what if anything changed. gettext-0.14.1 was installed.
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2004-10-06 16:48:12 UTC
ya.. the problem is at the gettext utils were the first time compiled against the installed lib instead of against the new libs.. 

*** This bug has been marked as a duplicate of 66355 ***