x86_64-gentoo-linux-uclibc-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -include ../config.h -I../include -DTEST_PROGRAM -w -O2 -march=native -pipe -c strutils.c x86_64-gentoo-linux-uclibc-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -include ../config.h -I../include -DTEST_PROGRAM -w -O2 -march=native -pipe -c fileutils.c /bin/sh ../libtool --tag=CC --mode=link x86_64-gentoo-linux-uclibc-gcc -std=gnu99 -w -O2 -march=native -pipe -Wl,-O1 -Wl,--as-needed -o test_fileutils fileutils.o /bin/sh ../libtool --tag=CC --mode=link x86_64-gentoo-linux-uclibc-gcc -std=gnu99 -w -O2 -march=native -pipe -Wl,-O1 -Wl,--as-needed -o test_strutils strutils.o libtool: link: x86_64-gentoo-linux-uclibc-gcc -std=gnu99 -w -O2 -march=native -pipe -Wl,-O1 -Wl,--as-needed -o test_fileutils fileutils.o libtool: link: x86_64-gentoo-linux-uclibc-gcc -std=gnu99 -w -O2 -march=native -pipe -Wl,-O1 -Wl,--as-needed -o test_strutils strutils.o fileutils.o: In function `close_stdout': fileutils.c:(.text+0xe0): undefined reference to `libintl_gettext' collect2: ld returned 1 exit status make[2]: *** [test_fileutils] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/sys-process/procps-3.3.4/work/procps-ng-3.3.4/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-process/procps-3.3.4/work/procps-ng-3.3.4' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: emerge procps-3.3.4 or 3.3.6 If I add LDFLAGS="-lintl" then procps compiles fine
Created attachment 342114 [details] build.log
Created attachment 342116 [details] emerge --info
Its the same on my armv5tel based system. I tried re-emerge gettext but doesn't success.
It looks like nobody tested this package outside glibc (or at least a libc without gettext). The configure macros are in place, but Makefile.am aren't quite correct. AM_GNU_GETTEXT sets up LTLIBINTL for this need. lib/Makefile.am is probably just the first place where it needs to be added to LIBADD/LDADD. It's an upstream bug.
builds fine for me, but i don't bother installing things like gettext
Commit message: Add USE=nls http://sources.gentoo.org/sys-process/procps/procps-3.3.4.ebuild?r1=1.14&r2=1.15 http://sources.gentoo.org/sys-process/procps/procps-3.3.6.ebuild?r1=1.2&r2=1.3
Works fine, thx SpanKY
Ahm, sorry, I mean it compiles with USE="-nls". I'll test with USE="nls"...
It compiles fine on glibc based systems. On uclibc based systems "nls" USE flag is masked out in profile.
(In reply to Tibor Vago from comment #9) > It compiles fine on glibc based systems. On uclibc based systems "nls" USE > flag is masked out in profile. I have nls use.masked on all default/linux/uclibc and hardened/linux/uclibc profiles for this reason. Take a look at bug #547292 for what's going on here. Once I fix that bug, I'll be able to unmask nls.
sys-libs/uclibc has been removed from the tree, replaced by sys-libs/uclibc-ng