These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] sys-libs/db-4.6.21_p3-r1 [4.6.21_p1] USE="java tcl -bootstrap -doc -nocxx -test" 4 kB [ebuild NS ] sys-libs/db-4.5.20_p2-r1 [4.6.21_p1] USE="java tcl -bootstrap -doc -nocxx -test" 1 kB [ebuild U ] sys-apps/attr-2.4.43 [2.4.41] USE="nls" 0 kB Total: 3 packages (2 upgrades, 1 in new slot), Size of downloads: 5 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 3) sys-libs/db-4.6.21_p3-r1 >>> Downloading 'http://distfiles.gentoo.org/distfiles/patch.4.6.21.1' Searching for a previously downloaded file in /usr/portage/distfiles  We have the following candidates to choose from patch.4.5.20.2 patch.4.6.21.3  The best of all is ... patch.4.6.21.3  Checking if this file is OK.  grep: /usr/portage/sys-libs/db/files/digest-*: No such file or directory Trying to download patch.4.6.21.3-patch.4.6.21.1.dtu  --2008-08-18 08:13:27-- http://linux01.gwdg.de/~nlissne/deltup.php?have=patch.4.6.21.3&want=patch.4.6.21.1&url=http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.1&version=0.7&time=1219025607 Resolving linux01.gwdg.de... 134.76.13.21 Connecting to linux01.gwdg.de|134.76.13.21|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://dev.gentooexperimental.org/deltup/patch.4.6.21.3-patch.4.6.21.1.dtu [following] --2008-08-18 08:13:27-- http://dev.gentooexperimental.org/deltup/patch.4.6.21.3-patch.4.6.21.1.dtu Resolving dev.gentooexperimental.org... 81.93.240.53 Connecting to dev.gentooexperimental.org|81.93.240.53|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1141 (1.1K) [application/octet-stream] Saving to: `patch.4.6.21.3-patch.4.6.21.1.dtu' 0K . 100% 147M=0s 2008-08-18 08:13:27 (147 MB/s) - `patch.4.6.21.3-patch.4.6.21.1.dtu' saved [1141/1141] GOT patch.4.6.21.3-patch.4.6.21.1.dtu  Successfully fetched the dtu-file - let's build patch.4.6.21.1...  patch.4.6.21.3 -> patch.4.6.21.1: OK cleaning up This dtu-file saved 1 kB (53%) download size.  You have chosen to remove patch.4.6.21.3  * patch.4.6.21.1 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * db-4.6.21.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Downloading 'http://distfiles.gentoo.org/distfiles/patch.4.6.21.2' Searching for a previously downloaded file in /usr/portage/distfiles  We have the following candidates to choose from patch.4.5.20.1 patch.4.6.21.1  The best of all is ... patch.4.6.21.1  Checking if this file is OK.  grep: /usr/portage/sys-libs/db/files/digest-*: No such file or directory Trying to download patch.4.6.21.1-patch.4.6.21.2.dtu  --2008-08-18 08:13:29-- http://linux01.gwdg.de/~nlissne/deltup.php?have=patch.4.6.21.1&want=patch.4.6.21.2&url=http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.2&version=0.7&time=1219025609 Resolving linux01.gwdg.de... 134.76.13.21 Connecting to linux01.gwdg.de|134.76.13.21|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://dev.gentooexperimental.org/deltup/patch.4.6.21.1-patch.4.6.21.2.dtu [following] --2008-08-18 08:13:30-- http://dev.gentooexperimental.org/deltup/patch.4.6.21.1-patch.4.6.21.2.dtu Resolving dev.gentooexperimental.org... 81.93.240.53 Connecting to dev.gentooexperimental.org|81.93.240.53|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 625 [application/octet-stream] Saving to: `patch.4.6.21.1-patch.4.6.21.2.dtu' 0K 100% 75.3M=0s 2008-08-18 08:13:30 (75.3 MB/s) - `patch.4.6.21.1-patch.4.6.21.2.dtu' saved [625/625] GOT patch.4.6.21.1-patch.4.6.21.2.dtu  Successfully fetched the dtu-file - let's build patch.4.6.21.2...  patch.4.6.21.1 -> patch.4.6.21.2: OK cleaning up This dtu-file saved 267 bytes (29%) download size.  You have chosen to remove patch.4.6.21.1  * patch.4.6.21.2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Downloading 'http://distfiles.gentoo.org/distfiles/patch.4.6.21.3' Searching for a previously downloaded file in /usr/portage/distfiles  We have the following candidates to choose from patch.4.5.20.2 patch.4.6.21.2  The best of all is ... patch.4.6.21.2  Checking if this file is OK.  grep: /usr/portage/sys-libs/db/files/digest-*: No such file or directory Trying to download patch.4.6.21.2-patch.4.6.21.3.dtu  --2008-08-18 08:13:32-- http://linux01.gwdg.de/~nlissne/deltup.php?have=patch.4.6.21.2&want=patch.4.6.21.3&url=http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/patch.4.6.21.3&version=0.7&time=1219025612 Resolving linux01.gwdg.de... 134.76.13.21 Connecting to linux01.gwdg.de|134.76.13.21|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://dev.gentooexperimental.org/deltup/patch.4.6.21.2-patch.4.6.21.3.dtu [following] --2008-08-18 08:13:32-- http://dev.gentooexperimental.org/deltup/patch.4.6.21.2-patch.4.6.21.3.dtu Resolving dev.gentooexperimental.org... 81.93.240.53 Connecting to dev.gentooexperimental.org|81.93.240.53|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 812 [application/octet-stream] Saving to: `patch.4.6.21.2-patch.4.6.21.3.dtu' 0K 100% 94.9M=0s 2008-08-18 08:13:32 (94.9 MB/s) - `patch.4.6.21.2-patch.4.6.21.3.dtu' saved [812/812] GOT patch.4.6.21.2-patch.4.6.21.3.dtu  Successfully fetched the dtu-file - let's build patch.4.6.21.3...  patch.4.6.21.2 -> patch.4.6.21.3: OK cleaning up This dtu-file saved 705 bytes (46%) download size.  You have chosen to remove patch.4.6.21.2  * patch.4.6.21.3 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Your CFLAGS contains "-ffast-math" which can break packages. * Your CXXFLAGS contains "-ffast-math" which can break packages. * * Before you file a bug, please remove these flags and * re-compile the package in question as well as all its dependencies * Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking db-4.6.21.tar.gz to /tmp/portage/sys-libs/db-4.6.21_p3-r1/work * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /tmp/portage/sys-libs/db-4.6.21_p3-r1/distdir/patch.4.6.21.1 * ( patch.4.6.21.1 ) * * ERROR: sys-libs/db-4.6.21_p3-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 4710: Called epatch '/tmp/portage/sys-libs/db-4.6.21_p3-r1/distdir/patch.4.6.21.1' * environment, line 2014: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; * The die message: * Cannot find $EPATCH_SOURCE! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-libs:db-4.6.21_p3-r1:20080818-021332.log'. * The ebuild environment file is located at '/tmp/portage/sys-libs/db-4.6.21_p3-r1/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.07" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info