Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273906 - sys-libs/db-4.7.25_p3 fails configure mutex on arm
Summary: sys-libs/db-4.7.25_p3 fails configure mutex on arm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 19:37 UTC by thomasg
Modified: 2009-07-05 19:51 UTC (History)
2 users (show)

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 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