As the title states, sys-libs/db-4.4.20_p2 fails to emerge due to a missing patch. The output from emerge is: >>> Emerging (1 of 1) sys-libs/db-4.4.20_p2 to / * patch.4.4.20.2 size ;-) ... [ ok ] * patch.4.4.20.2 RMD160 ;-) ... [ ok ] * patch.4.4.20.2 SHA256 ;-) ... [ ok ] * patch.4.4.20.2 MD5 ;-) ... [ ok ] * db-4.4.20.tar.gz size ;-) ... [ ok ] * db-4.4.20.tar.gz RMD160 ;-) ... [ ok ] * db-4.4.20.tar.gz SHA256 ;-) ... [ ok ] * db-4.4.20.tar.gz MD5 ;-) ... [ ok ] * patch.4.4.20.1 size ;-) ... [ ok ] * patch.4.4.20.1 RMD160 ;-) ... [ ok ] * patch.4.4.20.1 SHA256 ;-) ... [ ok ] * patch.4.4.20.1 MD5 ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking db-4.4.20.tar.gz ;-) ... [ ok ] * checking patch.4.4.20.1 ;-) ... [ ok ] * checking patch.4.4.20.2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking db-4.4.20.tar.gz to /var/tmp/portage/db-4.4.20_p2/work * Applying patch.4.4.20.1 ... [ ok ] * Applying patch.4.4.20.2 ... [ ok ] * Applying db-4.4-libtool.patch ... [ ok ] * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/sys-libs/db/files/db-4.4-jni-check-prefix-first.patch * ( db-4.4-jni-check-prefix-first.patch ) !!! ERROR: sys-libs/db-4.4.20_p2 failed. Call stack: ebuild.sh, line 1543: Called dyn_unpack ebuild.sh, line 709: Called src_unpack db-4.4.20_p2.ebuild, line 48: Called epatch '/usr/portage/sys-libs/db/files/db-4.4-jni-check-prefix-first.patch' eutils.eclass, line 190: Called die !!! Cannot find $EPATCH_SOURCE! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.4.2.12" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info The patch is most definitely not there, there is one with a file name versioned for what appears to be db-4.2 but not db-4.4. This was found on a ~x86 system that is updated daily and last sync'd around 06:30 UTC today (August 10 2006). Let me know if you want emerge info.
Sorry, the ebuild used ${PV} so I didn't see I had to change that. I've now just coded in the proper name of the patches.