Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383741 - dev-lang/perl-5.12.4-r1 fails to build with sys-libs/gdbm-1.9.1[-berkdb]
Summary: dev-lang/perl-5.12.4-r1 fails to build with sys-libs/gdbm-1.9.1[-berkdb]
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 383747
  Show dependency tree
 
Reported: 2011-09-20 02:10 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2014-07-05 08:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-20 02:10:50 UTC
If gdbm-1.9.1 is built with USE=-compat, perl-5.12.4-r1 fails to build:

# emerge perl
[...]
LD_RUN_PATH="/usr/lib64" x86_64-pc-linux-gnu-gcc  -shared -march=native -O2 -pipe -Wl,--as-needed -Wl,-O1 NDBM_File.o  -o ../../lib/auto/NDBM_File/NDBM_File.so 	\
   -lgdbm -lgdbm_compat  	\
  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgdbm_compat
collect2: ld returned 1 exit status
make[1]: *** [../../lib/auto/NDBM_File/NDBM_File.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.12.4-r1/work/perl-5.12.4/ext/NDBM_File'
Unsuccessful make(ext/NDBM_File): code=512 at make_ext.pl line 449.
make: *** [lib/auto/NDBM_File/NDBM_File.so] Error 25

Emerging gdbm-1.9.1 with USE=compat allows perl to build successfully.
Comment 1 Rafał Mużyło 2011-09-20 10:12:09 UTC
As in bug 383757, it seems a useflag split is required, so that parts depending on just libgdbm are independent of parts requiring libgdbm_compat (namely ndbm module).
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-07-05 08:43:30 UTC
5.12 branch no longer in the tree. Please try again with 5.16