The file config/ac-macros/libevent.m4 fails to be patched by 15000_all_mariadb_libevent-system_5.1.42.patch Reproducible: Always Steps to Reproduce: 1. emerge mariadb Actual Results: * Failed Patch: 15000_all_mariadb_libevent-system_5.1.42.patch ! * ( /var/tmp/portage/dev-db/mariadb-5.1.42/work/patch/15000_all_mariadb_libevent-system_5.1.42.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-db/mariadb-5.1.42/temp/15000_all_mariadb_libevent-system_5.1.42.patch.out * ERROR: dev-db/mariadb-5.1.42 failed: * Failed Patch: 15000_all_mariadb_libevent-system_5.1.42.patch! * * Call stack: * ebuild.sh, line 54: Called src_prepare * environment, line 4353: Called mysql_src_prepare * environment, line 3920: Called epatch * environment, line 2219: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of 'emerge --info =dev-db/mariadb-5.1.42', * the complete build log and the output of 'emerge -pqv =dev-db/mariadb-5.1.42'. * The complete build log is located at '/var/tmp/portage/dev-db/mariadb-5.1.42/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mariadb-5.1.42/temp/environment'. * S: '/var/tmp/portage/dev-db/mariadb-5.1.42/work/mysql'
Created attachment 224177 [details] Failed patch summary
Same thing. Is there any workaround?
As a workaround, I've set EPATCH_EXCLUDE='15000_all_mariadb_libevent-system_5.1.42.patch' in the ebuild and it works fine.
The patch in mysql-extras has DOS line endings. This causes it to fail. Partially my fault for cut/paste to the original bug in win32 firefox.
Fixed in CVS.