Sadly, uclibc fails to emerge: Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) sys-libs/uclibc-0.9.28.3 to / * uClibc-0.9.28.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * uClibc-0.9.28.3-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking uClibc-0.9.28.3.tar.bz2 ;-) ... [ ok ] * checking uClibc-0.9.28.3-patches-1.0.tar.bz2 ;-) ... [ ok ] * QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for sys-libs/uclibc-0.9.28.3 >>> Unpacking source... >>> Unpacking uClibc-0.9.28.3.tar.bz2 to /var/tmp/portage/sys-libs/uclibc-0.9.28.3/work >>> Unpacking uClibc-0.9.28.3-patches-1.0.tar.bz2 to /var/tmp/portage/sys-libs/uclibc-0.9.28.3/work * You really should consider setting UCLIBC_CPU * Otherwise, the build will be generic (read: slow). * Available CPU options: GENERIC_386 386 486 586 686 586MMX PENTIUMII PENTIUMIII PENTIUM4 K6 K7 ELAN CRUSOE WINCHIPC6 WINCHIP2 CYRIXIII NEHEMIAH * Runtime Prefix: / * Devel Prefix: /usr * Kernel Prefix: /usr * CBUILD: i686-pc-linux-gnu * CHOST: i686-pc-linux-gnu * CTARGET: i686-pc-linux-uclibc * CPU: 686 * ENDIAN: little >>> Unpacking uClibc-0.9.28.3-patches-1.0.tar.bz2 to /var/tmp/portage/sys-libs/uclibc-0.9.28.3/work/uClibc-0.9.28.3 * Applying various patches (bugfixes/updates) ... * Done with patching * Applying various patches (bugfixes/updates) ... * 10_all_uClibc-0.9.27-susv3-2.patch ... [ ok ] * 15_all_uClibc-0.9.27-susv3-ldouble-3.patch ... [ ok ] * Done with patching conf.c: In function 'strip': conf.c:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness conf.c: In function 'conf_askvalue': conf.c:94: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness conf.c: In function 'conf_string': conf.c:187: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness conf.c:188: warning: pointer targets in assignment differ in signedness conf.c: In function 'conf_sym': conf.c:236: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness conf.c:236: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness conf.c:248: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness conf.c:248: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness conf.c: In function 'conf_choice': conf.c:350: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness conf.c:360: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness conf.c:384: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness In file included from zconf.tab.c:2125: confdata.c: In function 'conf_expand_value': confdata.c:35: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness confdata.c:35: warning: pointer targets in assignment differ in signedness confdata.c:36: warning: pointer targets in passing argument 2 of '__builtin_strncat' differ in signedness confdata.c:47: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness confdata.c: In function 'conf_get_default_confname': confdata.c:58: warning: pointer targets in passing argument 1 of 'conf_expand_value' differ in signedness confdata.c: In function 'conf_read': confdata.c:84: warning: pointer targets in passing argument 1 of 'conf_expand_value' differ in signedness >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sys-libs/uclibc-0.9.28.3/work/uClibc-0.9.28.3 ... rm -f -r include/bits install -d include/bits # # using defaults found in .config # * * uClibc Configuration * Target Architecture 1. alpha (TARGET_alpha) 2. arm (TARGET_arm) 3. bfin (TARGET_bfin) 4. cris (TARGET_cris) 5. e1 (TARGET_e1) 6. frv (TARGET_frv) 7. h8300 (TARGET_h8300) > 8. i386 (TARGET_i386) 9. i960 (TARGET_i960) 10. m68k (TARGET_m68k) 11. microblaze (TARGET_microblaze) 12. mips (TARGET_mips) 13. nios (TARGET_nios) 14. nios2 (TARGET_nios2) 15. powerpc (TARGET_powerpc) 16. superh (TARGET_sh) 17. sh64 (TARGET_sh64) 18. sparc (TARGET_sparc) 19. v850 (TARGET_v850) 20. x86_64 (TARGET_x86_64) choice[1-20?]: 8 [.........] [.........] [.........] + ./extra/scripts/fix_includes.sh -k /usr -t i386 + TOPDIR=. + CC=' gcc' + /bin/sh extra/scripts/gen_bits_syscall_h.sh + cmp include/bits/sysnum.h include/bits/sysnum.h.new + mv -f include/bits/sysnum.h.new include/bits/sysnum.h make -C libc/sysdeps/linux/common headers make[1]: Entering directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3/work/uClibc-0.9.28.3/libc/sysdeps/linux/common' ln -fs ../libc/sysdeps/linux/common/fpu_control.h ../../../..//include/ make[1]: Leaving directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3/work/uClibc-0.9.28.3/libc/sysdeps/linux/common' make -C libc/sysdeps/linux/i386 headers make[1]: Entering directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3/work/uClibc-0.9.28.3/libc/sysdeps/linux/i386' ln -fs ../libc/sysdeps/linux/i386/fpu_control.h ../../../../include/ make[1]: Leaving directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3/work/uClibc-0.9.28.3/libc/sysdeps/linux/i386' * QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for sys-libs/uclibc-0.9.28.3 rm -f *.[oa] *~ core rm -f gen_wc8bit gen_wctype gen_locale gen_ldc gen_collate rm -f c8tables.h wctables.h locale_tables.h lt_defines.h locale_collate.h rm -f gen_mmap locale.mmap lmmtolso rm -f locale_data.c uClibc_locale_data.h /var/tmp/portage/sys-libs/uclibc-0.9.28.3/work/uClibc-0.9.28.3/extra/locale gcc -O2 -Wall -DCTYPE_PACKED=1 -DDO_WIDE_CHAR=1 -D__UCLIBC_GEN_LOCALE gen_wc8bit.c -o gen_wc8bit You do not have a codesets.txt file. Please create this file in the extra/locale directory by running something like: find /var/tmp/portage/sys-libs/uclibc-0.9.28.3/work/uClibc-0.9.28.3/extra/locale/charmaps -name "*.pairs" > \ /var/tmp/portage/sys-libs/uclibc-0.9.28.3/work/uClibc-0.9.28.3/extra/locale/codesets.txt and then edit that file to disable/enable the codesets you wish to support. make: *** [codesets.txt] Error 1 make: *** Waiting for unfinished jobs.... gen_wc8bit.c: In function 'main': gen_wc8bit.c:462: warning: pointer targets in assignment differ in signedness gen_wc8bit.c:613: warning: pointer targets in assignment differ in signedness * * ERROR: sys-libs/uclibc-0.9.28.3 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * uclibc-0.9.28.3.ebuild, line 390: Called die * The specific snippet of code: * emake || die "make locales failed" * The die message: * make locales failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portagelog/sys-libs:uclibc-0.9.28.3:20080202-190653.log'. *
Still broken: Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686) ================================================================= System uname: 2.6.25-gentoo-r8 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ Timestamp of tree: Thu, 18 Sep 2008 18:04:02 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=k8 -fomit-frame-pointer -pipe -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -march=k8 -fomit-frame-pointer -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://192.168.0.2:66/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa berkdb bzip2 cli cracklib crypt directfb dri dvdr fbcon fortran gdbm gpm gtk gtk2 iconv isdnlog midi mmx mp3 mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd threads unicode x86 xorg xv zlib" ALSA_CARDS="alsa_cards_atiixp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY [...] gen_locale.c:206: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gen_locale.c:207: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gen_locale.c:210: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness gen_locale.c:1060:2: warning: #warning fix the char entries for monetary... target signedness of char may be different! ishift 4 tshift 1 size 6592 ishift 5 tshift 1 size 5776 ishift 1 tshift 5 size 8280 ishift 2 tshift 5 size 7568 ishift 3 tshift 5 size 7288 ishift 4 tshift 5 size 7200 ishift 1 tshift 6 size 8856 ishift 2 tshift 6 size 8524 ishift 3 tshift 6 size 8384 ishift 4 tshift 6 size 8384 ishift 1 tshift 7 size 10214 ishift 2 tshift 7 size 10048 ishift 3 tshift 7 size 10000 ishift 1 tshift 8 size 13312 ishift 2 tshift 8 size 13240 ishift 3 tshift 8 size 13240 ishift 1 tshift 9 size 16524 ishift 2 tshift 9 size 16500 ishift 1 tshift 10 size 22610 ishift 2 tshift 10 size 22608 smallest = 5776 setting ishift 5 tshift 1 make: *** [wctables.h] Segmentation fault make: *** Waiting for unfinished jobs.... * * ERROR: sys-libs/uclibc-0.9.28.3-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2474: Called die * The specific snippet of code: * emake || die "make locales failed"; * The die message: * make locales 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/sys-libs/uclibc-0.9.28.3-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r3/temp/environment'. * * Messages for package sys-libs/uclibc-0.9.28.3-r3: * You really should consider setting UCLIBC_CPU * Otherwise, the build will be generic (read: slow). * Available CPU options: * * ERROR: sys-libs/uclibc-0.9.28.3-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2474: Called die * The specific snippet of code: * emake || die "make locales failed"; * The die message: * make locales 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/sys-libs/uclibc-0.9.28.3-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r3/temp/environment'. *
This seems to be caused by UCLIBC_HAS_LOCALE being set breaking uclibc compiling. It's set if USE flag iconv is present. I strongly suspect this cannot (or shouldn't?) be fixed downstream because it's related to how the build process generates locale data. There's a new version of uclibc, could try that. Workaround "sys-libc/uclibc -iconv" should work.
*** This bug has been marked as a duplicate of bug 154154 ***