Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21454 - db-4.0.14.ebuild fails during configure, not finding mutex interfaces
Summary: db-4.0.14.ebuild fails during configure, not finding mutex interfaces
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-21 23:51 UTC by Chris Carlin
Modified: 2003-05-25 10:27 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 Chris Carlin 2003-05-21 23:51:25 UTC
Blah, blah, blah...

checking for main in -lsocket... no
checking for main in -lnsl... yes
checking for mutexes... configure: error: unable to find POSIX mutex interfaces

!!! ERROR: sys-libs/db-4.0.14 failed.
!!! Function src_compile, Line 40, Exitcode 1
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
type USE=-java emerge db-4.0.14.ebuild, the USE=-java avoids another bug with
java  being detected wrongly
Actual Results:  
It fails

Expected Results:  
It shouldn't fail.

Portage 2.0.48 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-ck4 i586 AMD-K6(tm) 3D processor
GENTOO_MIRRORS="ftp://afs-net.tamu.edu/gentoo http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 -3dfx 3dnow aalib -acl -afs -alsa apache2 -apm -arts -atlas avi berkdb
-bonobo -canna -cdr -cjk crypt -cups dga directfb doc -dvd encode -esd -evo
fbcon -flash -freewnn -gb gd gdbm ggi -ggz gif -gnome -gphoto2 -gpm gtk -gtk2
gtkhtml -guile -icc -icc-pgo imap imlib -innodb ipv6 java jikes jpeg -junit -kde
-kerberos -lcms -ldap -leim libg++ -libgda libwww matrox -maildir mbox mikmod
mmx motif mozilla mpeg -mule mysql -nas ncurses nls nocardbus -oci8 -odbc ogg
oggvorbis opengl oss pam -pcmcia -pda pdflib perl pic -plotutils png pnp
-postgres python qt qtmt quicktime readline -ruby samba -sasl -scanner sdl
-slang -slp -snmp -socks5 spell -sse ssl -static svga tcltk tcpd -tetex tiff
truetype -trusted -voodoo3 -wavelan wmf X xface xml xml2 xmms xv -zeo zlib"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache usersandbox userpriv"
Comment 1 Chris Carlin 2003-05-22 00:22:49 UTC
The solution, or at least <b>a</b> solution:
remove --enable-posixmutexes from the configure section of the ebuild.

Additionally, by inserting an "unset JAVAC" right before the configuration I got the Java portion to work correctly as well.
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-05-25 10:27:54 UTC
This should no longer be a problem with the new ebuilds. Note though that db4 currently is at heavy testing. Look at http://forums.gentoo.org/viewtopic.php?t=56201 for more information.