Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#10478 - please compile libassuan with -fPIC

Attached to Project: Arch Linux
Opened by Martin Sandsmark (sandsmark) - Friday, 23 May 2008, 13:03 GMT
Last edited by Aaron Griffin (phrakture) - Friday, 18 July 2008, 16:15 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No


To compile kdepim for kde 4 on x86_64, libassuan needs to be compiled with -fPIC.
I don't know of anything that breaks if libassuan is compiled with it.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Friday, 18 July 2008, 16:15 GMT
Reason for closing:  Fixed
Comment by Greg (dolby) - Saturday, 24 May 2008, 15:35 GMT
Why does it "need" to be compiled like that?
Comment by Martin Sandsmark (sandsmark) - Monday, 26 May 2008, 11:37 GMT
Because otherwise the linking of the kdepim libraries fail.
Comment by Jakub Schmidtke (tanis) - Thursday, 29 May 2008, 15:50 GMT
Only for x86_64 arch.

So something like:
[ "$CARCH" = "x86_64" ] && export CFLAGS="$CLFAGS -fPIC"
at the beginning of build() will be fine (like in many other packages - for example core/dmapi or core/pcre)

Without libassuan compiled with -fPIC kdepim4 fails to compile.
Comment by Glenn Matthys (RedShift) - Friday, 18 July 2008, 16:12 GMT