emerge failing for perl-5.6.1-r3.ebuild. The following is the output. Making ODBM_File (dynamic) Note (probably harmless): No library found for -ldbm Note (probably harmless): No library found for -lucb Writing Makefile for ODBM_File make[1]: Entering directory `/aux3/tmp/portage/perl-5.6.1-r3/work/perl-5.6.1/ext/ODBM_File' make[1]: Leaving directory `/aux3/tmp/portage/perl-5.6.1-r3/work/perl-5.6.1/ext/ODBM_File' make[1]: Entering directory `/aux3/tmp/portage/perl-5.6.1-r3/work/perl-5.6.1/ext/ODBM_File' cp ODBM_File.pm ../../lib/ODBM_File.pm ../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap -typemap typemap ODBM_File.xs > ODBM_File.xsc && mv ODBM_File.xsc ODBM_File.c cc -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mcpu=i686 -O3 -pipe -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" -fpic -I../.. ODBM_File.c ODBM_File.c: In function `XS_ODBM_File_FETCH': ODBM_File.c:176: incompatible types in assignment ODBM_File.c: In function `XS_ODBM_File_FIRSTKEY': ODBM_File.c:282: incompatible types in assignment ODBM_File.c: In function `XS_ODBM_File_NEXTKEY': ODBM_File.c:311: incompatible types in assignment make[1]: *** [ODBM_File.o] Error 1 make[1]: Leaving directory `/aux3/tmp/portage/perl-5.6.1-r3/work/perl-5.6.1/ext/ODBM_File' make: *** [lib/auto/ODBM_File/ODBM_File.so] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/sys-devel/perl/perl-5.6.1-r3.ebuild
emerge gdbm and then try to re-emerge perl..
Tried emerging gdbm first then re-emergeing perl. Had the same error.
Did not find a solution. I ended up rebuilding the gentoo box (it was an upgrade from an earlier version of gentoo) and the problem doesn't exist at this point.