Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12063 - sys-devel/perl-5.6.1-r9 ebuild fails during test program check
Summary: sys-devel/perl-5.6.1-r9 ebuild fails during test program check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-12 19:11 UTC by teidakankan
Modified: 2003-02-04 19:42 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 teidakankan 2002-12-12 19:11:59 UTC
These are the packages that I would merge, in order.
Calculating dependencies   PDEPEND=>=dev-perl/ExtUtils-MakeMaker-6.05-r3
 ...done!
[ebuild    U ] sys-devel/perl-5.6.1-r9 [5.6.1-r7]
[ebuild    U ] dev-perl/ExtUtils-MakeMaker-6.05-r3 [6.05-r1]
>>> Unpacking source...
>>> Unpacking perl-5.6.1.tar.gz
>>> Source unpacked.
gdbm
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
3b1   	      dynix   	     isc   	   nonstopux     stellar   
aix   	      dynixptx       isc_2   	   openbsd   	 sunos_4_0   
altos486      epix   	     linux   	   opus   	 sunos_4_1   
amigaos       esix4   	     lynxos   	   os2   	 svr4   
apollo        fps   	     machten       os390   	 svr5   
aux_3         freebsd        machten_2     posix-bc   	 ti1500   
beos          genix   	     mint   	   powerux   	 titanos   
bsdos         gnu   	     mips   	   qnx   	 ultrix_4   
convexos      greenhills     mpc   	   rhapsody   	 umips   
cxux          hpux   	     mpeix   	   sco   	 unicos   
cygwin        i386   	     ncr_tower     sco_2_3_0     unicosmk   
darwin        irix_4         netbsd   	   sco_2_3_1     unisysdynix   
dcosx         irix_5         newsos4       sco_2_3_2     utekv   
dec_osf       irix_6         next_3   	   sco_2_3_3     uts   
dgux          irix_6_0       next_3_0      sco_2_3_4     uwin   
dos_djgpp     irix_6_1       next_4   	   solaris_2     vmesa   
Which of these apply, if any? [linux]  
You appear to have ELF support.  I'll try to use it for dynamic loading.
If dynamic loading doesn't work, read hints/linux.sh for further information.
Operating system name? [linux]  
Operating system version? [2.4.20]  
Build a threading Perl? [n]  
Build Perl for multiplicity? [n]  
Use which C compiler? [gcc]  
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/usr/local/lib /lib /usr/lib]  
What is the file extension used for shared libraries? [so]  
Build Perl for SOCKS? [n]  
Checking for optional libraries...
What libraries to use?
[-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil]  
What optimizer/debugger flag should be used?
[-march=pentium3 -mcpu=pentium3 -O3 -pipe]  
Any additional cc flags? [-fno-strict-aliasing]  
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib]  
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run the following simple program:
#include <stdio.h>
int main() { printf("Ok\n"); exit(0); }
I used the command:
	gcc -o try -march=pentium3 -mcpu=pentium3 -O3 -pipe -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.1/../../../libdb.so: undefined reference
to `pthread_mutexattr_destroy'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../libdb.so: undefined reference
to `pthread_mutexattr_init'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../libdb.so: undefined reference
to `pthread_mutex_trylock'
collect2: ld returned 1 exit status
I can't compile the test program.
!!! ERROR: sys-devel/perl-5.6.1-r9 failed.
!!! Function src_compile, Line 70, Exitcode 1
!!! (no error message)
You have a BIG problem.  Shall I abort Configure [y]  
Ok.  Stopping Configure.
Calculating dependencies   PDEPEND=>=dev-perl/ExtUtils-MakeMaker-6.05-r3
 ...done!
>>> emerge (1 of 2) sys-devel/perl-5.6.1-r9 to /
>>> md5 ;-) perl-5.6.1.tar.gz
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2002-12-13 07:58:37 UTC
Was this box upgraded from one version of gcc to the next? These errors are gcc 
related more than they are perl (especially since this is in the configure 
stage)
Comment 2 teidakankan 2002-12-13 14:12:29 UTC
This was a fresh 1.4 rc1 install, with the gcc-3.2 upgrades/revisions installed
as they were released in portage.  My present gcc-3.2.1 version was updated from
gcc-3.2-r4.  I've already tried re-installing gcc-3.2.1, which didn't help. 
I've had one other ebuild (avifile-0.7.15.20020816-r1) fail, with a gcc error
message, since I tried to install the perl update.  If it will help, please move
this report to gcc - or I can resubmit it if that's required.  Thanks for your help.
Comment 3 Thomas Jäger 2002-12-14 05:24:29 UTC
exactly the same errors here
i also updated gcc from 3.2-r4 to 3.2.1

perl, avifile and other packages failed to emerge 
Comment 4 Thomas Jäger 2002-12-14 05:42:11 UTC
i just re-emerged sys-lib/db 3.2.9-r1 

[installed versions: 
  sys-libs/db-1.85-r1
  sys-libs/db-4.1.24
  sys-libs/db-3.2.9-r1 ]

after this, the update to perl-5.6.1-r9 was sucessful!

Comment 5 Michael Cummings (RETIRED) gentoo-dev 2002-12-17 11:37:20 UTC
db-4 has problems and was removed from even ~arch emerges. hopefully that 
resolves this?
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2003-01-06 17:23:50 UTC
Is this still an open problem or can it be closed?
Comment 7 teidakankan 2003-01-06 20:05:24 UTC
Please close.  I rebuilt the system with 1.4_rc2.
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2003-01-06 20:57:25 UTC
Just wanted to be sure :)