Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10193 - Broken ebuild for perl-5.6.1-r7
Summary: Broken ebuild for perl-5.6.1-r7
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-04 07:08 UTC by Marc Herren
Modified: 2003-02-04 19:42 UTC (History)
1 user (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 Marc Herren 2002-11-04 07:08:10 UTC
Emerging sys-devel/perl-5.6.1-r7 results in

I used the command:

        cc -o try -march=pentium4 -O3 -pipe -fomit-frame-pointer
-fno-strict-aliasing -L/usr/local/lib try.c -lnsl -lndbm -lgdbm -ldb -ldl -lm
-lc -lcrypt -lutil
        ./try

and I got the following output:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libdb.so: undefined reference to
`pthread_mutexattr_destroy'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libdb.so: undefined reference to
`pthread_mutexattr_init'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libdb.so: undefined reference to
`pthread_mutex_trylock'
collect2: ld returned 1 exit status
I can't compile the test program.
You have a BIG problem.  Shall I abort Configure [y]  
Ok.  Stopping Configure.

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 32, Exitcode 1
!!! (no error message)

My make.conf configuration
USE="gphoto2 pcmcia dga pda X gtk -gnome -alsa -kde -arts evo gif jpeg png tiff
avi mpeg quicktime -esd oss dvd xmms oggvorbis encode ssl mozilla spel
l truetype -pdflib java mysql"

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-11-04 11:57:48 UTC
please check which version of db you're running -- you should be running db-1.85
and db-3.something and NOT db-4.  This honestly looks like a db-4 install.
Comment 2 Marc Herren 2002-11-07 02:01:23 UTC
Sorry, I found the problem. Some one gave me a hint to check the Berkeley DB.

I had the following installed

Latest version available: 3.2.9-r1
Latest version installed: 4.1.24

After unmerging 4.1.24 and emerging 3.2.9-r1 the perl ebuild worked fine.

I don't know how I got this DB version on my system, I didn't edit the
packages.mask neither I'm in the unstable tree.