gettext-0.11.5 is missing some core header files that packages such as glib-2.0.6-r1 require such as /usr/include/libintl.h gettext-0.11.1 (latest unmasked) has these files... please don't unmask gettext-0.11.5
as far as I know, glibc provides libintl.h, so this bug about gettext is invalid, IMHO. Az?
------------------------------------------------------ gateway root # epm -q gettext gettext-0.11.1 gateway root # epm -ql gettext |grep include gateway root # ------------------------------------------------------ Your grasp of the situation is totally invalid. libintl.h and co comes with glibc, as well as the libs, etc. The only reason we have the gettext package, are for the utils, docs, and automake macro's. Up until 0.11.3 gettext itself did not install the headers, but 0.11.3 changed this, and this is why we remove them manually in the build. If not removed, they cause problems, as they are not compadible with the libs in glibc, and causes breakage for many stuff at compile time.
If I can make a further comment... I built this off a Gentoo 1.4 system. qpkg -f /usr/include/libintl.h claims glibc installs the file but the file is never placed there. I even re-emerged glibc. The only way I got the actual file was by getting gettext-0.11.1 Go ahead... Say I don't grasp the situation.. but feel free to grab a Gentoo 1.4 tbz2 and stick it in a chroot and check it yourself. afr root # qpkg -f -v /usr/include/libintl.h sys-devel/gettext-0.11.1 * sys-libs/glibc-2.2.5-r6 * afr root # ls /usr/include/libintl.h /usr/include/libintl.h afr root # emerge -C gettext ....snip..... afr root # ls /usr/include/libintl.h ls: /usr/include/libintl.h: No such file or directory afr root # emerge /usr/portage/sys-devel/gettext-0.11.5.ebuild ....snip..... afr root # qpkg -f -v /usr/include/libintl.h sys-libs/glibc-2.2.5-r6 * afr root # ls /usr/include/libintl.h ls: /usr/include/libintl.h: No such file or directory afr root # emerge glibc ....snip..... (I will post again once glibc finishes re-emerging)
The file was still missing after this. I merged in -rc5 and then -rc6 over it and got rid of -rc5 and the file was there. I merged -rc6 again over -rc6 and the file remained. I spoke to a user in #gentoo with the same problem and following my steps of merging -rc5 then -rc6 on top fixed it as well.
Check gettext Changelog .. 0.11.1 did in some cases still install that header. This I fixed. Then, check the glibc -r5 and -6 .. the only diff is added patches, mainly for one security issue, and then sparc and alpha stuff. Thus, the posibility that it could have caused problems is there ... I just have to wrap this OO business up, then I will do a full bootstrap with gettext-0.11.1 and 0.11.5 in their current forms, and let you know how it goes (glibc-2.2.5-r6).
Make sure to unmask gettext-0.11.5 from the start. Not afterwards.
*** Bug 7928 has been marked as a duplicate of this bug. ***
This test fine. Guess it was due to the stray includes. Closing again.
*** Bug 10160 has been marked as a duplicate of this bug. ***
*** Bug 6644 has been marked as a duplicate of this bug. ***
*** Bug 10331 has been marked as a duplicate of this bug. ***
*** Bug 11064 has been marked as a duplicate of this bug. ***
emergeing glibc .. an upgrade to r7 doesn't work for me to fix my problems .. glibc fails with ... ...yada yada END { printf "sysdep-subdirs =%s\n", subdirs; \ printf "sysdep-inhibit-subdirs =%s\n", inhibit; \ print "sysd-dirs-done = t" }' \ /dev/null linuxthreads/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs > /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/sysd-dirs-tmp /bin/sh: BEGIN { subdirs = ""; inhibit = "" }; /^#/ { next }; /^[^-]/ { subdirs = subdirs " " $0 }; /^-/ { inhibit = inhibit " " substr($0, 2) }; END { printf "sysdep-subdirs =%s\n", subdirs; printf "sysdep-inhibit-subdirs =%s\n", inhibit; print "sysd-dirs-done = t" }: No such file or directory make[1]: *** [/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/sysd-dirs] Error 127 make[1]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.2.5-r7 failed. !!! Function src_compile, Line 83, Exitcode 2 !!! (no error message) this is in ref to bug 11064 - baselayout emerge failure .. ..dave
Any more output from glibc failure ?
Here is the full emerge glibc output ... Calculating dependencies ...done! >>> emerge (1 of 1) sys-libs/glibc-2.2.5-r7 to / >>> md5 ;-) glibc-2.2.5.tar.bz2 >>> md5 ;-) glibc-linuxthreads-2.2.5.tar.bz2 >>> Unpacking source... >>> Unpacking glibc-2.2.5.tar.bz2 >>> Unpacking glibc-linuxthreads-2.2.5.tar.bz2 * Applying string2.h patch... * Applying threadsig patch... * Applying test-lfs-timeout patch... * Applying dns-network-overflow patch... * Applying sunrpc-overflow patch... * Applying divdi3 patch... * Applying gcc311 patch... * Applying divbyzero patch... * Applying restrict_arr patch... * Applying sparc-mathinline patch... >>> Source unpacked. nls * Configuring GLIBC... creating cache ./config.cache checking host system type... i586-pc-linux-gnu checking sysdep dirs... sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i386 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/i386/i586 linuxthreads/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i586 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic checking for a BSD compatible install... /bin/install -c checking whether ln -s works... yes checking for pwd... /bin/pwd checking build system type... i586-pc-linux-gnu checking for gcc... gcc checking version of gcc... 3.2, ok checking for gnumake... no checking for gmake... no checking for make... make checking version of make... 3.79.1, ok checking for gnumsgfmt... no checking for gmsgfmt... no checking for msgfmt... msgfmt checking version of msgfmt... 0.11.5, ok checking for makeinfo... makeinfo checking version of makeinfo... 4.2, ok checking for gsed... no checking for sed... sed checking version of sed... 3.02.80, ok checking whether the C compiler (gcc -march=k6-2 -mcpu=k6-2 -pipe -O2 ) works... yes checking whether the C compiler (gcc -march=k6-2 -mcpu=k6-2 -pipe -O2 ) is a cross-compiler... (cached) no checking whether we are using GNU C... yes checking build system type... i586-pc-linux-gnu checking how to run the C preprocessor... gcc -E checking whether /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2/../../../../i586-pc-linux-gnu/bin/as is GNU as... yes checking whether /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2/../../../../i586-pc-linux-gnu/bin/ld is GNU ld... yes checking for mig... mig checking whether ranlib is necessary... no checking LD_LIBRARY_PATH variable... ok checking whether GCC supports -static-libgcc... -static-libgcc checking for bash... /bin/sh checking for mawk... no checking for gawk... no checking for nawk... no checking for awk... no checking for perl... /usr/bin/perl checking for install-info... /usr/bin/install-info checking for old Debian install-info... no checking for bison... /usr/bin/bison checking for signed size_t type... no checking for libc-friendly stddef.h... yes checking whether we need to use -P to assemble .S files... no checking whether .text pseudo-op must be used... yes checking for assembler global-symbol directive... .globl checking for .set assembler directive... yes checking for .symver assembler directive... yes checking for ld --version-script... yes checking for .previous assembler directive... yes checking for .protected and .hidden assembler directive... yes checking for -z nodelete option... yes checking for -z nodlopen option... yes checking for -z initfirst option... yes checking for -Bgroup option... yes checking for -z combreloc... yes checking whether cc puts quotes around section names... no checking for assembler .weak directive... yes checking for ld --no-whole-archive... yes checking for gcc -fexceptions... yes checking for DWARF2 unwind info support... no checking for __builtin_expect... yes checking for local label subtraction... yes checking for libgd... no checking size of long double... 12 running configure fragment for ../linuxthreads/sysdeps/unix/sysv/linux running configure fragment for ../sysdeps/unix/sysv/linux checking installed Linux kernel header files... 2.0.10 or later checking for symlinks in /usr/include... ok running configure fragment for ../sysdeps/unix/common running configure fragment for ../sysdeps/unix running configure fragment for ../sysdeps/generic checking stdio selection... libio checking for old glibc 2.0.x headers... no checking whether -fPIC is default... no updating cache ./config.cache creating ./config.status creating config.make creating glibcbug creating Makefile creating config.h configuring in linuxthreads running /bin/sh ../../linuxthreads/configure --host=i586-pc-linux-gnu --with-gd=no --without-cvs --enable-add-ons=linuxthreads --disable-profile --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc --cache-file=.././config.cache --srcdir=../../linuxthreads * Building GLIBC... make -r PARALLELMFLAGS="-j2" CVSOPTS="" -C .. objdir=`pwd` all make[1]: Entering directory `/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5' (echo 'sysd-rules-sysdirs := sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i386 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/i386/i586 linuxthreads/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i586 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic'; \ for dir in '$(..)sysdeps/i386/elf' '$(..)linuxthreads/sysdeps/unix/sysv/linux/i386' '$(..)linuxthreads/sysdeps/unix/sysv/linux' '$(..)linuxthreads/sysdeps/pthread' '$(..)sysdeps/pthread' '$(..)linuxthreads/sysdeps/unix/sysv' '$(..)linuxthreads/sysdeps/unix' '$(..)linuxthreads/sysdeps/i386/i586' '$(..)linuxthreads/sysdeps/i386' '$(..)sysdeps/unix/sysv/linux/i386' '$(..)sysdeps/unix/sysv/linux' '$(..)sysdeps/gnu' '$(..)sysdeps/unix/common' '$(..)sysdeps/unix/mman' '$(..)sysdeps/unix/inet' '$(..)sysdeps/unix/sysv/i386' '$(..)sysdeps/unix/sysv' '$(..)sysdeps/unix/i386' '$(..)sysdeps/unix' '$(..)sysdeps/posix' '$(..)sysdeps/i386/i586' '$(..)sysdeps/i386/i486' '$(..)sysdeps/i386/fpu' '$(..)sysdeps/i386' '$(..)sysdeps/wordsize-32' '$(..)sysdeps/ieee754/ldbl-96' '$(..)sysdeps/ieee754/dbl-64' '$(..)sysdeps/ieee754/flt-32' '$(..)sysdeps/ieee754' '$(..)sysdeps/generic/elf' '$(..)sysdeps/generic'; do \ for o in .o .os .op .og .ob .oS; do \ \ echo "\$(objpfx)%$o: $dir/%.S \$(before-compile); \ \$(compile-command.S)"; \ echo "\$(objpfx)%$o: $dir/%.s \$(before-compile); \ \$(compile-command.s)"; \ \ echo "\$(objpfx)%$o: $dir/%.c \$(before-compile); \ \$(compile-command.c)"; \ done; \ \ echo "\$(objpfx)%.d: $dir/%.s \$(common-objpfx)dummy.d; \ \$(make-dummy-dep)"; \ echo "\$(objpfx)%.d: $dir/%.S \$(before-compile); \ \$(+make-deps)"; \ \ echo "\$(objpfx)%.d: $dir/%.c \$(before-compile); \ \$(+make-deps)"; \ done; \ echo 'sysd-rules-done = t') > /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/sysd-rulesT mv -f /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/sysd-rulesT /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/sysd-rules for dir in /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i386 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/i386/i586 linuxthreads/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i586 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic; do \ test -f $dir/syscalls.list && \ { /bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \ test $dir = sysdeps/unix && break; \ done > /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/sysd-syscallsT mv -f /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/sysd-syscallsT /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/sysd-syscalls 'BEGIN { subdirs = ""; inhibit = "" }; \ /^#/ { next }; \ /^[^-]/ { subdirs = subdirs " " $0 }; \ /^-/ { inhibit = inhibit " " substr($0, 2) }; \ END { printf "sysdep-subdirs =%s\n", subdirs; \ printf "sysdep-inhibit-subdirs =%s\n", inhibit; \ print "sysd-dirs-done = t" }' \ /dev/null linuxthreads/sysdeps/pthread/Subdirs sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs > /var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/sysd-dirs-tmp /bin/sh: BEGIN { subdirs = ""; inhibit = "" }; /^#/ { next }; /^[^-]/ { subdirs = subdirs " " $0 }; /^-/ { inhibit = inhibit " " substr($0, 2) }; END { printf "sysdep-subdirs =%s\n", subdirs; printf "sysdep-inhibit-subdirs =%s\n", inhibit; print "sysd-dirs-done = t" }: No such file or directory make[1]: *** [/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5/buildhere/sysd-dirs] Error 127 make[1]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r7/work/glibc-2.2.5' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.2.5-r7 failed. !!! Function src_compile, Line 83, Exitcode 2 !!! (no error message) i hope this helps -dave
Two questions: 1) You running a sparc ? 2) It looks like you do not have gawk installed .... any chance of getting gawk compiled and at least the binary (maybe try with --disable-nls) installed ? I am guessing you not having gawk installed is the main problem, as it fails on the gawk scripts ...
1. no, not running a sparc .. standard pc laptop 2. no, i do have gawk installed .. re emergeing gawk doesn't help -how do i go about emerging it with the options your specified ?
Not according to glibc configure: --- checking for bash... /bin/sh checking for mawk... no checking for gawk... no checking for nawk... no checking for awk... no checking for perl... /usr/bin/perl --- Can your run it off command line ? Just unpack its tar and: # ./configure --disable-nls # make and if it goes well, # find . -name gawk -exec cp {} /bin \; and see if glibc want to build then ...
its funny .. what i had was /bin/gawk- ... not /bin/gawk ... and I don't know how that could have happened other than a buggy ebuild perhaps ... glibc .. is happily compiling so far ... hopefully this will resolve my baselayout emerge failures :-)
*** Bug 11291 has been marked as a duplicate of this bug. ***
*** Bug 11324 has been marked as a duplicate of this bug. ***
*** Bug 11382 has been marked as a duplicate of this bug. ***