I'm trying to compile games-strategy/boswars-2.6.1 on amd64. But it lacks /usr/portage/games-strategy/boswars/files/boswars-2.6.1-gentoo.patch, required in ebuild file. I'm not sure about this problem in other plattaforms, but I've looked at a i386 machine and not found this file too. My error log >>> Emerging (1 of 1) games-strategy/boswars-2.6.1 * boswars-2.6.1-src.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * bos.png RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: games-strategy/boswars-2.6.1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU >>> Unpacking source... >>> Unpacking boswars-2.6.1-src.tar.gz to /var/tmp/portage/games-strategy/boswars-2.6.1/work >>> Unpacking bos.png to /var/tmp/portage/games-strategy/boswars-2.6.1/work unpack bos.png: file format not recognized. Ignoring. >>> Source unpacked in /var/tmp/portage/games-strategy/boswars-2.6.1/work >>> Preparing source in /var/tmp/portage/games-strategy/boswars-2.6.1/work/boswars-2.6.1-src ... * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/games-strategy/boswars/files/boswars-2.6.1-gentoo.patch * ( boswars-2.6.1-gentoo.patch ) * ERROR: games-strategy/boswars-2.6.1 failed: * Cannot find $EPATCH_SOURCE! * * Call stack: * ebuild.sh, line 54: Called src_prepare * environment, line 2658: Called epatch '/usr/portage/games-strategy/boswars/files/boswars-2.6.1-gentoo.patch' * environment, line 1214: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; Reproducible: Always Steps to Reproduce: 1. Try to emerge boswars-2.6.1 Actual Results: can't compile Expected Results: sucefull instalation BTW, there is a boswars-2.6-gentoo.patch. I will try to rename and put the results later here.
that's because I whacked the wrong file. fixed.