Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102010 - emerge of courier-authlib-0.55 fails
Summary: emerge of courier-authlib-0.55 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 10:13 UTC by Robert Clayton
Modified: 2005-08-10 21:01 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 Robert Clayton 2005-08-10 10:13:31 UTC
When trying to emerge courier-imap-4.0.1, compilation of dependency
courier-authlib-0.55 fails, complaining about the need for -fPIC




Reproducible: Always
Steps to Reproduce:
1. Gentoo Linux AMD64 2005.0
2. emerge vpopmail (successful)
3. emerge courier-imap (fails)

Actual Results:  
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
/var/vpopmail/lib/libvpopmail.a(cdb_seek.o): relocation R_X86_64_PC32 against
`read@@GLIBC_2.2.5' can not be used when making a shared object; recompile with
-fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libauthvchkpw.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/courier-authlib-0.55/work/courier-authlib-0.55'
make: *** [all] Error 2

Expected Results:  
Expected a successful build

tried:

CFLAGS="-fPIC" emerge vpopmail courier-imap

to try to fix the problem.  Still the same error
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-10 10:26:32 UTC
Fixed in >=courier-authlib-0.55.20050320

*** This bug has been marked as a duplicate of 81605 ***
Comment 2 Robert Clayton 2005-08-10 20:43:26 UTC
This bug still shows up in courier-authlib-0.57
Comment 3 Robert Clayton 2005-08-10 20:47:05 UTC
it looks like i'm getting it with courier-authlib-0.55.20050320, even:


/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
/var/vpopmail/lib/libvpopmail.a(cdb_seek.o): relocation R_X86_64_PC32 against
`read@@GLIBC_2          .2.5' can not be used when making a shared object;
recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libauthvchkpw.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/courier-authlib-0.55.20050320/work/courier-authlib-0.55.20050320'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/courier-authlib-0.55.20050320/work/courier-authlib-0.55.20050320'
make: *** [all] Error 2

!!! ERROR: net-libs/courier-authlib-0.55.20050320 failed.
!!! Function src_compile, Line 101, Exitcode 2
!!! Compile problem
!!! If you need support, post the topmost build error, NOT this status message.
Comment 4 Robert Clayton 2005-08-10 21:01:11 UTC
Got it working, think I just needed amd64 in my USE flag.

Thanks.