Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 273906

Summary: sys-libs/db-4.7.25_p3 fails configure mutex on arm
Product: Gentoo Linux Reporter: thomasg <thomas>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: ansla80, caleb
Priority: High    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description thomasg 2009-06-12 19:37:16 UTC
sys-libs/db-4.7.25_p3 doesn't build because it fails at the mutex configuration with:

checking for mutexes... (cached) no
configure: error: Unable to find a mutex implementation

There is already a workaround for a similar problem for amd64 in the ebuild which works the same way for arm (tested it, builds fine).

Just add:
$(use arm && echo --with-mutex=ARM/gcc-assembly)
to econf, exactly like it happens with amd64, works fine for me.

It is possible, that this effect only occurs while cross-compiling, unfortunately I can't compile it on real hardware yet because it's a base-package. :)

Reproducible: Always

Steps to Reproduce:
1. try building it, it will fail
2. modify the ebuild like mentioned
3. build again, it will work
Comment 1 Thorsten Fischer 2009-06-14 08:06:49 UTC
Same here. It also applies to 4.6.21_p4. Building on x86_64-pc-linux-gnu, for what it's worth.
Comment 2 SpanKY gentoo-dev 2009-07-05 19:51:42 UTC
thanks, added to cvs

http://sources.gentoo.org/sys-libs/db/db-4.7.25_p4.ebuild?r1=1.1&r2=1.2