Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12389 - KEYWORDING ppc on perl-5.6.1-r9
Summary: KEYWORDING ppc on perl-5.6.1-r9
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Contributing ebuilds (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-18 09:29 UTC by Khayyam
Modified: 2002-12-27 18:08 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 Khayyam 2002-12-18 09:29:01 UTC
This seem to have been KEYWORDED ppc without sufficent testing.

output from the ebuild:

I used the command:

        gcc -o try -O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char -DDEBUGGING -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/powerpc-unknown-linux-gnu/3.2.1/../../../libdb.so: undefined reference to `pthread_mutexattr_destroy'
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.1/../../../libdb.so: undefined reference to `pthread_mutexattr_init'
/usr/lib/gcc-lib/powerpc-unknown-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.
You have a BIG problem.  Shall I abort Configure [y]  
Ok.  Stopping Configure.

!!! ERROR: sys-devel/perl-5.6.1-r9 failed.
!!! Function src_compile, Line 69, Exitcode 1
!!! (no error message)

this is on a Powerbook G3 (Pismo) with:

gcc-3.2.1
binutils-2.13.90.0.16
glibc-2.3.1-r2
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2002-12-18 09:40:07 UTC
what version(s) of db?
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2002-12-18 13:08:49 UTC
Calum,

I need to ask you to rsync and try again. Lolo made a fix, shouldn't have 
affected your configure running, but still. I will also need to know which 
version of db you are running. db-4 was yanked and -arch'd (not ~arched). If 
you have db-4 running, there is nothing I can do for you - it's a bad build of 
db.

PPC testers were provided by -core and #-dev ppc users. I didn't unmask this 
for ppc carelessly or haphazardly.
Comment 3 Khayyam 2002-12-19 11:19:03 UTC
sys-libs/db-1.85-r1
sys-libs/db-3.2.9-r1
sys-libs/db-4.1.24
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2002-12-19 12:55:56 UTC
Calum,

Your issue is with db-4, not perl. Unmerge db-4, re-emerge db-3, then emerge 
perl. db-4 was pulled for this reason (not specific to perl).
Comment 5 Nicholas Wourms 2002-12-19 15:57:07 UTC
Add -lpthreads to that linkline and it should work 
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2002-12-23 09:25:28 UTC
Calum,

Is this still causing you problems?
Comment 7 Michael Cummings (RETIRED) gentoo-dev 2002-12-27 15:06:47 UTC
Calum,

Please respond. Gerk has tested the latest ebuild for ppc and given it his OK. I
need to know whether this is still giving you trouble or not.
Comment 8 Khayyam 2002-12-27 17:57:25 UTC
Michael ...  sorry not getting back to you earlier. Yes, it was indeed the db-4 package that was at issue. I have since unmerged db-4 and perl built (and seems to run as expected). I didn't KEYWORD ppc (along with ExtUtils-MakeMaker) but I think it's probably safe to do so.
Comment 9 Michael Cummings (RETIRED) gentoo-dev 2002-12-27 18:08:18 UTC
Calum,

No problem. Actually, we had to do a security release for perl 5.6.1 and bump
the -r number after you submitted this report, and Gerk confirmed that build was
good and unmasked it for ppc. I'm going to go ahead and close this out. Glad it
all worked out,

Michael