Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24786 - perl-5.8.0-r10 fails to build
Summary: perl-5.8.0-r10 fails to build
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Robert Coie (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-18 21:26 UTC by dav7id
Modified: 2003-11-25 01:22 UTC (History)
2 users (show)

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 dav7id 2003-07-18 21:26:23 UTC
Perl is failing to build.  I had this problem with an earlier version of perl. 
today I emerge sync and got a newer version.  However it also fails to build. 
The error i get is:

gcc -c   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-march=i686 -O3 -pipe -fomit-frame-pointer   -DVERSION=\"1.804\"
-DXS_VERSION=\"1.804\" -fpic "-I../.."   DB_File.c
DB_File.xs: In function `ParseOpenInfo':
DB_File.xs:1370: warning: passing arg 2 of pointer to function from incompatible
pointer type
DB_File.xs:1370: incompatible type for argument 4 of indirect function call
DB_File.xs:1370: too few arguments to function
make[1]: *** [DB_File.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/perl-5.8.0-r10/work/perl-5.8.0/ext/DB_File'
make: *** [lib/auto/DB_File/DB_File.so] Error 2

!!! ERROR: dev-lang/perl-5.8.0-r10 failed.
!!! Function src_compile, Line 104, Exitcode 2
!!! Unable to make

any ideas how to fix this?  or why it is happening?
Comment 1 Robert Moss (RETIRED) gentoo-dev 2003-09-04 16:30:00 UTC
Have you tried

CFLAGS="" CXXFLAGS="" emerge -v dev-lang/perl

by any chance? Just in case it's something being overaggressive? Also, do you still get this problem with the newest version of perl?
Comment 2 Andrew Cooks (RETIRED) gentoo-dev 2003-11-25 01:22:58 UTC
Please reopen if the problem persists.