Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207164 - sys-libs/db-3.2.9-r11 configure fails - error: cannot find java include files
Summary: sys-libs/db-3.2.9-r11 configure fails - error: cannot find java include files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
: 207996 208163 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-23 15:26 UTC by Mark Haney
Modified: 2008-02-12 10:01 UTC (History)
6 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 Mark Haney 2008-01-23 15:26:00 UTC
Compile failed on updating to db.3.2.9-r11 on my x86 box with this message:

 *   No config.guess found in /var/tmp/portage/sys-libs/db-3.2.9-r11/work/db-3.2.9, skipping ...
 *
 * ERROR: sys-libs/db-3.2.9-r11 failed.
 * Call stack:
 *             ebuild.sh, line 1701:  Called dyn_compile
 *             ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *             ebuild.sh, line   44:  Called src_compile
 *   db-3.2.9-r11.ebuild, line  109:  Called die
 * The specific snippet of code:
 *      strip=/bin/true \
 *      ../dist/configure ${conf} ${conf_shared} \
 *              --libdir=/usr/$(get_libdir) \
 *              --enable-shared || die
 *  The die message:
 *   (no error message)
 *


Reproducible: Always

Steps to Reproduce:
1.emerge -u sys-libs/db.3.2.9-r11
2.
3.

Actual Results:  
Compile fails with errors.

Expected Results:  
Should compile fine.

Additional error output from my system.


!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

 * Messages for package sys-libs/db-3.2.9-r11:

 *   No config.guess found in /var/tmp/portage/sys-libs/db-3.2.9-r11/work/db-3.2.9, skipping ...
 *

------- emerge --info:

noc5 ~ # emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.6.1-r0, 2.6.16-gentoo i686)
=================================================================
System uname: 2.6.16-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Wed, 23 Jan 2008 14:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acl berkdb bitmap-fonts cdr clamav cli cracklib crypt ctype cups dbm dri dvdr ethereal fortran ftp gd gdbm gnome gpm gtk gtk2 hal howl iconv ipv6 isdnlog java javascript kerberos ldap midi mudflap mysql mysqli ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection samba session spl sqlite ssl symlink tcpd truetype-fonts type1-fonts unicode usb x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2008-01-25 19:06:09 UTC
Out of curiosity, what package are you installing that needs 3.2?  It's kind of an abandoned version of db me thinks.

Comment 2 Mark Haney 2008-01-25 19:24:02 UTC
(In reply to comment #1)
> Out of curiosity, what package are you installing that needs 3.2?  It's kind of
> an abandoned version of db me thinks.
> 

Looks to me like an update to python 2.3.6 from -r3 to r4 is the culprit.  I can probably remove that db version (since I have 4.5.20_p2 installed) and re-emerge python to use the latest version.  It's just odd that this update to db-3.2.9-r11 is listed like this:

Calculating world dependencies... done!
[ebuild  NS   ] sys-libs/db-3.2.9-r11  USE="java -doc -test"
[ebuild     U ] dev-lang/python-2.3.6-r4 [2.3.6-r3]

when I emerge -upD world.  I'll give the clean/re-emerge a go and see if that fixes it.

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-29 08:09:22 UTC
*** Bug 207996 has been marked as a duplicate of this bug. ***
Comment 4 Erik Zeek 2008-01-29 13:48:54 UTC
(In reply to comment #1)
> Out of curiosity, what package are you installing that needs 3.2?  It's kind of
> an abandoned version of db me thinks.
> 

equery depends =sys-libs/db-3.2.9-r11
[ Searching for packages depending on =sys-libs/db-3.2.9-r11... ]
app-arch/rpm-4.4.6-r4 (=sys-libs/db-3.2*)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-01-30 13:46:31 UTC
*** Bug 208163 has been marked as a duplicate of this bug. ***
Comment 6 Ian Abbott 2008-02-11 11:44:14 UTC
The configure script gets confused because it tries to find the java include files relative to the javac binary, following symlinks if necessary.

A temporary workaround is to build the package without java support:

echo '=sys-libs/db-3* -java' >> /etc/portage/package.use
Comment 7 Mark Haney 2008-02-11 20:14:26 UTC
I was pretty sure I tried to emerge with '-java' but I must have been wrong.  Emerging without java works just fine, but what I don't understand is why, if this is such an old version, I need it on my system.  No matter what I do to remove it and reemerge all packages that used it, my system still says it needs to install it.
Comment 8 Paul de Vrieze (RETIRED) gentoo-dev 2008-02-12 09:21:02 UTC
This might be because of the way RPM works, and the way berkeley db works. Basically different versions of db have different on-disk formats. In some cases, a silent upgrade is supported, in other cases not. Rpm uses db to store its package database (which as a gentoo user you'd not likely actually use). As such to be compatible with other rpms, rpm would have the version of db locked down. This is also the reason why there are so many slots for berkeley db.
Comment 9 Paul de Vrieze (RETIRED) gentoo-dev 2008-02-12 10:01:03 UTC
I tried it out and can confirm it breaks. I'll disable the useflag in the ebuild for now. It is clearly broken with recent java's and it only builds bindings. Most users of that would use a fairly recent db.