i686-gentoo-linux-uclibc-gcc -pthread -DNDEBUG -Os -march=pentium2 -fomit-frame-pointer -pipe -fPIC -fno-strict-aliasing -I. -I/var/tmp/portage/python-2.4.3-r1/work/Python-2.4.3/./Include -I/var/tmp/portage/python-2.4.3-r1/work/Python-2.4.3/Include -I/var/tmp/portage/python-2.4.3-r1/work/Python-2.4.3 -c /var/tmp/portage/python-2.4.3-r1/work/Python-2.4.3/Modules/_localemodule.c -o build/temp.linux-x86_64-2.4/_localemodule.o i686-gentoo-linux-uclibc-gcc -pthread -shared -fno-strict-aliasing -DNDEBUG -Os -march=pentium2 -fomit-frame-pointer -pipe build/temp.linux-x86_64-2.4/_localemodule.o -L/usr/local/lib -o build/lib.linux-x86_64-2.4/_locale.so ./python: can't resolve symbol 'libintl_bindtextdomain' Portage 2.1_rc4 (uclibc/x86, gcc-3.4.6, uclibc-0.9.28-r0, 2.6.17-rc4 x86_64) ================================================================= System uname: 2.6.17-rc4 x86_64 AMD Opteron(tm) Processor 240 Gentoo Base System version 1.12.0 dev-lang/python: 2.3.4-r1, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-gentoo-linux-uclibc" CFLAGS="-Os -march=pentium2 -fomit-frame-pointer -pipe" CHOST="i686-gentoo-linux-uclibc" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 bitmap-fonts bzip2 cli dri encode mmx ncurses ogg pcre reflection session speex spl theora truetype-fonts type1-fonts uclibc v4l vorbis xorg zlib elibc_uclibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
the only way that could have happend (afaik) is if you installed libiconv and libiconv is not supported on uClibc
The virtual package was installed, I unmerged it. But same error occurs.
sorry, i meant libiconv, not libintl
libintl and libiconv aren't installed. but before this ends up in a yes/no game, what can I do to make this work again. emerge -e system? setup a complete tree again? other ideas?
if you look at the code, what is being compiled on your machine only happens when HAVE_LIBINTL_H is defined ... and that happens only when libintl.h is on your machine so run `emerge python >& log` and post the log as an attachment
Using equery I found /usr/include/libintl.h came from gettext-0.14.5. So I can unmerge it and hope nothing else needs it. Which make you wonder why gettext can be merged into an uclibc profile (probably because I needed it), but breaks stuff like python.
I just did so, removed gettext, and python merged as normal. Should gettext be masked?
gettext will build and install a copy of libiconv ;)