>>> Preparing source in /mnt/Dati/Gentoo/tmp/portage/net-firewall/ebtables-2.0.9.1-r1/work/ebtables-v2.0.9-1 ... * Applying ebtables-2.0.8.1-ebt-save.diff ... [ ok ] * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /mnt/Dati/Gentoo/portage/net-firewall/ebtables/files/ebtables-2.0.9-1-LDFLAGS.diff * ( ebtables-2.0.9-1-LDFLAGS.diff ) * ERROR: net-firewall/ebtables-2.0.9.1-r1 failed: * Cannot find $EPATCH_SOURCE! * * Call stack: * ebuild.sh, line 55: Called src_prepare * environment, line 2986: Called epatch '/mnt/Dati/Gentoo/portage/net-firewall/ebtables/files/ebtables-2.0.9-1-LDFLAGS.diff' * environment, line 1369: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!";
Seems like there is missing 'v' in patch name diff shows epatch "${FILESDIR}/${PN}-2.0.9-1-LDFLAGS.diff" instead of epatch "${FILESDIR}/${PN}-v2.0.9-1-LDFLAGS.diff"
Same here. Wrong patch name in the ebuild.
Changed it in ebtables-2.0.9.1-r1.ebuild and it emerged fine.
works, thanks, i mark it closed