This error prevents me from my actual goal of installing media-video/dvdrip. After researching this libintl dep issue, I re-emerged perl and gettext, but the error persists. Reproducible: Always Steps to Reproduce: 1.emerge media-video/dvdrip 2. 3. Actual Results: LD_RUN_PATH="/usr/lib64" x86_64-pc-linux-gnu-gcc -shared -O2 -pipe -ggdb -Wl,-O1 -Wl,--as-needed gettext_xs.o -Wl,-O1 -Wl,--as-needed -o ../blib/arch/auto/Locale/gettext_xs/gettext_xs.so \ -lintl \ /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lintl collect2: ld returned 1 exit status make[1]: *** [../blib/arch/auto/Locale/gettext_xs/gettext_xs.so] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-perl/libintl-perl-1.20/work/libintl-perl-1.20/gettext_xs' make: *** [subdirs] Error 2 emake failed Expected Results: success see attachments
Created attachment 258340 [details] Emerge info
Created attachment 258341 [details] Build log
Created attachment 258342 [details] Emerge -pqv
Created attachment 258343 [details] Emerge environment
William do you have firebird installed? I can reproduce the problem here, but in general we shouldn't have libintl on Linux since those functions are provided by the C library. On the other hand, dev-db/firebird installs a libfbintl.so library with a libintl.so.1 SONAME which cause a disowned /usr/lib/libintl.so.1 to be created which, I suppose, could be detected by libintl-perl.
(In reply to comment #5) > William do you have firebird installed? I can reproduce the problem here, but > in general we shouldn't have libintl on Linux since those functions are > provided by the C library. On the other hand, dev-db/firebird installs a > libfbintl.so library with a libintl.so.1 SONAME which cause a disowned > /usr/lib/libintl.so.1 to be created which, I suppose, could be detected by > libintl-perl. > Yes, firebird is installed (2.5.0.26074.0).
I have the same issue. perl-cleaner --all fails with: ... /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lintl collect2: ld returned 1 exit status ... * ERROR: dev-perl/libintl-perl-1.20 failed (compile phase): and dev-db/firebird-2.5.0.26074.0 is installed. What should I do?
Same problem here: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lintl collect2: ld returned 1 exit status /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lintl collect2: ld returned 1 exit status No news?
Some neww about this problem! Searching I've rescricted the problem to libintl.so. In deep when Makefile.PL enter in gettext_xs dir and find libintl it configures Makefile to use -lintl and the make process fails. I can't understand why. I've removed firbird that install /usr/lib/libintl.so and now everything works. Perhaps Perl Devs can help us to undestand why this happens.
Please attach config.log and `perl -V` too.
I can reproduce this problem too. But after failed build dev-perl/libintl-perl , I deleted a firebird # emerge -C firebird and install a firebird as a binary package from PKGDIR # emerge -k firebird Then I built dev-perl/libintl-perl again # emerge -1 dev-perl/libintl-perl and libintl-perl built fine.
Created attachment 313871 [details] perl -V
@tove can you do something about this? Even a blocker at this point might be a good idea.
I am not able to reproduce it. I still like to see the config.log file and find out why the first gcc call without -lintl fails.
Where can I find this file?
/var/tmp/portage/dev-perl/libintl-perl-1.20/work/libintl-perl-1.20
# cat /var/tmp/portage/dev-perl/libintl-perl-1.200.0/work/libintl-perl-1.20/config.log x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--as-needed -lnsl -ldl -lm -lcrypt -lutil -lc -o gettest.exe gettest.c
+ 20 Apr 2013; Patrick Lauer <patrick@gentoo.org> libintl-perl-1.210.0.ebuild: + Adding blocker #350039 Reproduced it ... blocker should avoid further issues
I think this bug needs to be reopened and/or blocker for Firebird in libintl-perl-1.230 for Firebird needs to be removed. Firebird should NOT provide libintl.so but libfbintl.so, that was changed by me a very long time ago. This was an incorrect blocker and fix to some old problem that no longer exists. The version of Firebird mentioned in thus bug is not even in the tree any longer. I removed the blocker and had no problem merging libintl-perl-1.230 as seen below. [ebuild R ] dev-perl/libintl-perl-1.230.0 0 kB [ebuild R ] dev-db/firebird-2.5.1.26351.0-r1 USE="superserver (-client) -debug -doc -examples -xinetd" 0 kB
Please drop the blocker from libintl-perl ebuild, #c19 is right.
(In reply to Fabio Erculiani from comment #20) > Please drop the blocker from libintl-perl ebuild, #c19 is right. done.