Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310131 - dev-db/mariadb-5.1.42: failed patch 15000_all_mariadb_libevent-system_5.1.42.patch
Summary: dev-db/mariadb-5.1.42: failed patch 15000_all_mariadb_libevent-system_5.1.42....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-18 19:39 UTC by Alessio
Modified: 2011-10-30 23:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Failed patch summary (15000_all_mariadb_libevent-system_5.1.42.patch.out,3.16 KB, text/plain)
2010-03-18 19:40 UTC, Alessio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessio 2010-03-18 19:39:18 UTC
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'
Comment 1 Alessio 2010-03-18 19:40:30 UTC
Created attachment 224177 [details]
Failed patch summary
Comment 2 Dmitriy Nartov 2010-03-19 08:58:40 UTC
Same thing. Is there any workaround?
Comment 3 Alessio 2010-03-19 15:50:38 UTC
As a workaround, I've set EPATCH_EXCLUDE='15000_all_mariadb_libevent-system_5.1.42.patch' in the ebuild and it works fine.
Comment 4 Brian Evans (RETIRED) gentoo-dev 2010-03-22 18:32:20 UTC
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.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-03-24 02:38:26 UTC
Fixed in CVS.