emergeing mesa-9999 from x11-overlay fails as of 2012-07-22 because mesa-9999-dont-require-llvm-for-r300.patch cannot be applied. Reproducible: Always Steps to Reproduce: 1. emerge =media-libs/mesa-9999 Actual Results: * Failed Patch: mesa-9999-dont-require-llvm-for-r300.patch ! * ( /var/lib/layman/x11/media-libs/mesa/files/mesa-9999-dont-require-llvm-for-r300.patch ) Expected Results: build & install mesa
This bug has (also) crept up on media-libs/mesa-8.1_rc1_pre201207 (in the official portage tree).
Same thing here for media-libs/mesa-8.1_rc1_pre20120724! * Messages for package app-portage/eix-0.26.1: * Found obsolete /var/cache/eix.previous, please remove it * Messages for package media-libs/mesa-8.1_rc1_pre20120724: * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch * ( mesa-8.1-dont-require-llvm-for-r300.patch ) * ERROR: media-libs/mesa-8.1_rc1_pre20120724 failed (prepare phase): * Cannot find $EPATCH_SOURCE! * * Call stack: * ebuild.sh, line 85: Called src_prepare * environment, line 3491: Called epatch '/usr/portage/media-libs/mesa/files/mesa-8.1-dont-require-llvm-for-r300.patch' * environment, line 1844: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; * * If you need support, post the output of `emerge --info '=media-libs/mesa-8.1_rc1_pre20120724'`, * the complete build log and the output of `emerge -pqv '=media-libs/mesa-8.1_rc1_pre20120724'`. * The complete build log is located at '/var/tmp/portage/media-libs/mesa-8.1_rc1_pre20120724/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-8.1_rc1_pre20120724/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/mesa-8.1_rc1_pre20120724/work/Mesa-8.1-rc1_pre20120724' * S: '/var/tmp/portage/media-libs/mesa-8.1_rc1_pre20120724/work/Mesa-8.1-rc1_pre20120724'
Created attachment 319230 [details] failed to patch output In my mesa-8.1_rc1_pre20120724.ebuild I changed the line epatch "${FILESDIR}"/${PN}-8.1-dont-require-llvm-for-r300.patch to epatch "${FILESDIR}"/${PN}-8.0-dont-require-llvm-for-r300.patch because this the only version of the patch in files dir. It finds the patch now but fails to patch. Is this patch still needed in 8.1 ?
It will build without the patch comment the line out and may not even be necessary iunless your vid card is r300 afaict see Bug #380303
The patch applies cleanly here.. Reopen if there's still a problem.