The added src_prepare function is missing an if use sieve || use managesieve ; then ... Without it the following path in $S is invalid, since dovecote-*-pigeonhole is conditionally fetched by SRC_URI="http://www.dovecot.org/releases/${major_minor}/${MY_P}.tar.gz sieve? ( http://www.rename-it.nl/dovecot/${major_minor}/dovecot-${major_minor}-pigeonhole-${sieve_version}.tar.gz ) managesieve? ( http://www.rename-it.nl/dovecot/${major_minor}/dovecot-${major_minor}-pigeonhole-${sieve_version}.tar.gz ) " The broken code... src_prepare() { cd "${WORKDIR}"/dovecot-2.1-pigeonhole* || die epatch "${FILESDIR}/${P}_managesieve_gold.patch" eautoreconf Reproducible: Always Steps to Reproduce: 1. USE="-sieve -managesieve" emerge -v =net-mail/dovecot-2.1.9 Actual Results: >>> Emerging (1 of 1) net-mail/dovecot-2.1.9 * dovecot-2.1.9.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking dovecot-2.1.9.tar.gz to /var/tmp/portage/net-mail/dovecot-2.1.9/work >>> Source unpacked in /var/tmp/portage/net-mail/dovecot-2.1.9/work >>> Preparing source in /var/tmp/portage/net-mail/dovecot-2.1.9/work/dovecot-2.1.9 ... /var/tmp/portage/net-mail/dovecot-2.1.9/temp/environment: line 3223: cd: /var/tmp/portage/net-mail/dovecot-2.1.9/work/dovecot-2.1-pigeonhole*: No such file or directory * ERROR: net-mail/dovecot-2.1.9 failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3223: Called die * The specific snippet of code: * cd "${WORKDIR}"/dovecot-2.1-pigeonhole* || die; * * If you need support, post the output of `emerge --info '=net-mail/dovecot-2.1.9'`, * the complete build log and the output of `emerge -pqv '=net-mail/dovecot-2.1.9'`. * The complete build log is located at '/usr/log/portage/logdir/net-mail:dovecot-2.1.9:20120802-214135.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/dovecot-2.1.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/dovecot-2.1.9/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/dovecot-2.1.9/work/dovecot-2.1.9' * S: '/var/tmp/portage/net-mail/dovecot-2.1.9/work/dovecot-2.1.9' >>> Failed to emerge net-mail/dovecot-2.1.9, Log file: Expected Results: Patches to conditionally fetched parts of SRC_URI are applied conditionally. duality dovecot # emerge --info Portage 2.2.0_alpha120 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.5.0-gentoo x86_64) ================================================================= System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.1 Timestamp of tree: Thu, 02 Aug 2012 20:45:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.7 [disabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.1.12 dev-lang/python: 2.7.3-r2, 3.2.3-r1 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.8-r3 dev-util/pkgconfig: 0.27 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.10.5 sys-apps/sandbox: 2.6 sys-devel/autoconf: 2.13, 2.69
Same problem here.
Fixed without a revbump. Thanks for the report.