[ebuild NS ] sys-libs/db-4.8.24 [4.7.25_p4] USE="java -doc -nocxx -tcl (-test)" 22,364 kB ./libtool --mode=compile x86_64-unknown-linux-gnu-gcc -c -I. -I/var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/.. -D_GNU_SOURCE -D_REENTRANT -I/opt/sun-jdk-1.6.0.16/include -I/opt/sun-jdk-1.6.0.16/include/linux -O2 -g -march=core2 -msse4.1 -fomit-frame-pointer -pipe -ftree-vectorize -fdirectives-only /var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../common/util_sig.c libtool: compile: x86_64-unknown-linux-gnu-gcc -c -I. -I/var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/.. -D_GNU_SOURCE -D_REENTRANT -I/opt/sun-jdk-1.6.0.16/include -I/opt/sun-jdk-1.6.0.16/include/linux -O2 -g -march=core2 -msse4.1 -fomit-frame-pointer -pipe -ftree-vectorize -fdirectives-only /var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../common/util_sig.c -fPIC -DPIC -o .libs/util_sig.o libtool: compile: x86_64-unknown-linux-gnu-gcc -c -I. -I/var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/.. -D_GNU_SOURCE -D_REENTRANT -I/opt/sun-jdk-1.6.0.16/include -I/opt/sun-jdk-1.6.0.16/include/linux -O2 -g -march=core2 -msse4.1 -fomit-frame-pointer -pipe -ftree-vectorize -fdirectives-only /var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../db_archive/db_archive.c -o db_archive.o >/dev/null 2>&1 java.io.FileNotFoundException: ../var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../java/jarManifestEntries (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.tools.jar.Main.run(Main.java:131) at sun.tools.jar.Main.main(Main.java:1022) libtool: compile: x86_64-unknown-linux-gnu-gcc -c -I. -I/var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/.. -D_GNU_SOURCE -D_REENTRANT -I/opt/sun-jdk-1.6.0.16/include -I/opt/sun-jdk-1.6.0.16/include/linux -O2 -g -march=core2 -msse4.1 -fomit-frame-pointer -pipe -ftree-vectorize -fdirectives-only /var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../common/util_sig.c -o util_sig.o >/dev/null 2>&1 make: *** [db-4.8.jar] Error 1 make: *** Waiting for unfinished jobs.... * * ERROR: sys-libs/db-4.8.24 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 5002: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.16" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
Portage 2.2_rc40 (default/linux/amd64/10.0/developer, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 19 Sep 2009 04:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p33 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1, 3.1.1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20.51.0.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-unknown-linux-gnu" CFLAGS="-O2 -g -march=core2 -msse4.1 -fomit-frame-pointer -pipe -ftree-vectorize -fdirectives-only" CHOST="x86_64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -g -march=core2 -msse4.1 -fomit-frame-pointer -pipe -ftree-vectorize -fdirectives-only" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache collision-protect cvs distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://distfiles.gentoo.org/" LANG="en_CA.utf8" LC_ALL="C" LDFLAGS="-Wl,--as-needed -Wl,--hash-style=gnu" LINGUAS="en en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/dirtyepic/svn/gcc-porting /home/dirtyepic/svn/toolchain /home/dirtyepic/svn/dirtyepic /home/dirtyepic/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage"
sorry, cut off the relevant part: env CLASSPATH="./classes" /opt/sun-jdk-1.6.0.16/bin/java -classpath ./classes \ com.sleepycat.persist.model.ClassEnhancer ./classes Enhanced: 8 files cd ./classes && \ jar cfm ../db-4.8.jar ..//var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../java/jarManifestEntries ./com/sleepycat java.io.FileNotFoundException: ../var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../java/jarManifestEntries (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.tools.jar.Main.run(Main.java:131) at sun.tools.jar.Main.main(Main.java:1022) make: *** [db-4.8.jar] Error 1
Created attachment 204574 [details] emerge --info
(In reply to comment #3) > Created an attachment (id=204574) [edit] > emerge --info > I can confirm this bug with the exact same error.
I confirm: cd ./classes && \ jar cfm ../db-4.8.jar ..//var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../java/jarManifestEntries ./com/sleepycat libtool: compile: x86_64-pc-linux-gnu-gcc -c -I. -I/var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/.. -march=native -O3 -mmmx -msse -msse2 -msse3 -m3dnow -ftree-vectorize -mfpmath=sse -pipe -D_GNU_SOURCE -D_REENTRANT -I/opt/sun-jdk-1.6.0.16/include -I/opt/sun-jdk-1.6.0.16/include/linux -march=native -O3 -mmmx -msse -msse2 -msse3 -m3dnow -ftree-vectorize -mfpmath=sse -pipe /var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../qam/qam_autop.c -o qam_autop.o >/dev/null 2>&1 java.io.FileNotFoundException: ../var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../java/jarManifestEntries (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.tools.jar.Main.run(Main.java:131) at sun.tools.jar.Main.main(Main.java:1022) make: *** [db-4.8.jar] Error 1 make: *** Waiting for unfinished jobs.... libtool: compile: x86_64-pc-linux-gnu-gcc -c -I. -I/var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/.. -march=native -O3 -mmmx -msse -msse2 -msse3 -m3dnow -ftree-vectorize -mfpmath=sse -pipe -D_GNU_SOURCE -D_REENTRANT -I/opt/sun-jdk-1.6.0.16/include -I/opt/sun-jdk-1.6.0.16/include/linux -march=native -O3 -mmmx -msse -msse2 -msse3 -m3dnow -ftree-vectorize -mfpmath=sse -pipe /var/tmp/portage/sys-libs/db-4.8.24/work/db-4.8.24/build_unix/../dist/../txn/txn_autop.c -o txn_autop.o >/dev/null 2>&1
Count me in.
I confirm.
Me Too.
*** Bug 285533 has been marked as a duplicate of this bug. ***
Also confirming
Same here.
me too. emerge --info Portage 2.2_rc40 (default/linux/x86/10.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo i686) ================================================================= System uname: Linux-2.6.31-gentoo-i686-AMD_Athlon-tm-64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1 Timestamp of tree: Sat, 19 Sep 2009 16:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p33 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1 dev-util/ccache: 2.4-r8 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="assume-digests candy ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="fr_BE.UTF-8" LC_ALL="fr_BE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="fr fr_BE fr_BE.UTF-8 nl nl_BE nl_BE.UTF-8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/overlays /usr/portage/local/layman/pro-audio" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X acl acpi alsa apache apache2 branding bzip2 cairo cdda cddb cdio cleartype cli consolekit contrib cpufreq cracklib crypt cups dbus dirac directfb dri dssi dvd dvdr encode exif expensive_math fat fbcon fbcondecor ffmpeg flac gd gif glitz gpm gtk gui gzip-el hal iconv id3tag isdnlog jack jack-tmpfs jackmidi java java6 jfs jpeg ladspa libnotify matroska mmmxext mmx mp3 mp3rtp mpeg mudflap ncurses nls nptl nptlonly ntfs nvidia ogg opengl openmp osc osc_opcodes pam pcre pdf perl php png portaudio ppds pppd python readline reflection rle samba schroedinger sdl session slang sound spl sqlite sqlite3 sse sse2 sse3 ssl startup-notification stk_opcodes subversion svg sysfs tcl tcpd theora thunar tiff truetype twolame unicode vorbis vst win32codecs wmf x264 x86 xfce xft xml xorg xscreensaver zlib" ALSA_CARDS="ice1712 hda-intel usb-audio virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 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" LINGUAS="fr fr_BE fr_BE.UTF-8 nl nl_BE nl_BE.UTF-8" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I can confirm. Also, it's an especially annoying bug because everything else I install apparently has a dependency on this version of db.
I'm having the exact same errors. I compiled it successfully with USE="-java" but not when the java use flag is set.
This bug had been confirmed before it was filed. Everybody please stop reconfirming it and give sys-libs/db maintainers time to work on the fix.
(In reply to comment #15) > This bug had been confirmed before it was filed. > Everybody please stop reconfirming it and give sys-libs/db maintainers time to > work on the fix. Hm. It came to my mind that actually testing an ebuild before committing could be a marvellous idea. I did a quick'n'dirty hack. Files will follow. regards, Sebastian
Created attachment 204646 [details, diff] Fix for this annoying java error. Put this file in $FILESDIR
Created attachment 204647 [details, diff] the ebuild-diff cd to your local sys-libs/db patch < $file ebuild db-4.8.24.ebuild manifest go on
Great fix. Thanks.
Ah thank you, that worked :)
Please mind bug #285522 for apr-util http://bugs.gentoo.org/show_bug.cgi?id=285522
Fixed in CVS. selu: Please don't patch the Makefile if it's generated. Always patch the real source file.
Thank you. When will this hit the portage tree, and will it be -r1?
brendlerjg: 1. always 5-45 mins after commits. 2. No, it's a build fix only, ergo it should not have a revbump.
(In reply to comment #22) > selu: > Please don't patch the Makefile if it's generated. Always patch the real source > file. You're perfectly right, it's awful coding style. Despite the corrected CVS, here are the files for the formal Makefile.in way.
Created attachment 204650 [details, diff] corrected patch
Created attachment 204652 [details, diff] corrected patch to put in $FILESDIR
selu: did you entirely miss that I fixed in the tree already, with my own patch to Makefile.in?
(In reply to comment #28) > selu: did you entirely miss that I fixed in the tree already, with my own patch > to Makefile.in? Partially. I wanted a clean battlefield. I would bite me in the ass, if there's a evil looking white-bearded guy on judgement day complaining about the Makefile-patch incident anno 2009. Always wear clean underwear and be prepared!
*** Bug 285645 has been marked as a duplicate of this bug. ***
portage version is OK for me !