emerge mediawiki 1.13.00 with the "restrict" use-flag isn't possible because the patch which is needed for the "restrict" flag isn't available. Reproducible: Always Steps to Reproduce: 1. USE="restrict" emerge -av mediawiki 2. 3. Actual Results: * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/www-apps/mediawiki/files/access_restrict_1.13.0.patch * ( access_restrict_1.13.0.patch ) * * ERROR: www-apps/mediawiki-1.13.0 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3137: Called epatch 'src_unpack' * environment, line 1255: 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/tmp/portage/www-apps/mediawiki-1.13.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/mediawiki-1.13.0/temp/environment'. Expected Results: mediawiki compile should work with the restrict use-flag Following patches are in the /files dir. access_restrict_1.12.0.patch access_restrict.patch but no access_restrict_1.13.0.patch which is needed by the ebuild: if use restrict ; then epatch "${FILESDIR}/access_restrict_${PV}.patch" fi
Yes, looks like there is no such file in cvs (not just a mirror problem). Assigning to maintainers.
Thank you for report. This bug is fixed in mediawiki-1.13.1. I dropped this patch for the moment as: 1. This functionality should be configured by administrator and it's hard to predict what administrator wishes to restrict 2. Assumption that all people in the world use English version of mediawiki is wrong ;)