Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 362559

Summary: broken mint patch on sys-devel/binutils-2.21.51.0.7
Product: Gentoo/Alt Reporter: Jeremy Olexa (darkside) (RETIRED) <darkside>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal CC: alanh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeMiNT   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: New binutils patch

Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-04-08 01:33:16 UTC
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-devel/binutils-2.21.51.0.7
>>> Failed to emerge sys-devel/binutils-2.21.51.0.7, Log file:
>>>  '/home/darkside/projects/prefix-tinderbox/really_long_dirname_so_that_binpkgs_can_be_shortened/a/b/var/tmp/portage/sys-devel/binutils-2.21.51.0.7/temp/build.log'
 * Package:    sys-devel/binutils-2.21.51.0.7
 * Repository: gentoo_prefix
 * Maintainer: toolchain@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux nls prefix userland_GNU
 * FEATURES:   preserve-libs
 * Applying various patches (bugfixes/updates) ...
 *   03_all_binutils-2.15.92.0.2-ppc64-pie.patch ...
 [ ok ]
 *   08_all_binutils-RPATH_ENVVAR-smack.patch ...
 [ ok ]
 *   12_all_sh-targets.patch ...
 [ ok ]
 *   20_all_ld-sysroot.patch ...
 [ ok ]
 *   63_all_binutils-2.20.51.0.2-pt-pax-flags-20091010.patch ...
 [ ok ]
 *   66_all_binutils-2.18.50.0.2-warn-textrel.patch ...
 [ ok ]
 *   76_all_use-new-ld-dtags.patch ...
 [ ok ]
 *   77_all_generate-gnu-hash.patch ...
 [ ok ]
 *   78_all_use-relro.patch ...
 [ ok ]
 *   91_all_libiberty-pic.patch ...
 [ ok ]
 * Done with patching
 * Using GNU config files from /home/darkside/projects/prefix-tinderbox/really_long_dirname_so_that_binpkgs_can_be_shortened/a/b/usr/share/gnuconfig
 *   Updating config.sub
 [ ok ]
 *   Updating config.guess
 [ ok ]
 * Running elibtoolize in: binutils-2.21.51.0.7/
 *   Applying portage-2.2.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
 * Applying binutils-2.21.51.0.6-mint.patch ...

 * Failed Patch: binutils-2.21.51.0.6-mint.patch !
 *  ( /home/prefix/www/htdocs/gentoo-portage-prefix/sys-devel/binutils/files/binutils-2.21.51.0.6-mint.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /home/darkside/projects/prefix-tinderbox/really_long_dirname_so_that_binpkgs_can_be_shortened/a/b/var/tmp/portage/sys-devel/binutils-2.21.51.0.7/temp/binutils-2.21.51.0.6-mint.patch.out

 * ERROR: sys-devel/binutils-2.21.51.0.7 failed (unpack phase):
 *   Failed Patch: binutils-2.21.51.0.6-mint.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   62:  Called src_unpack
 *   environment, line 3254:  Called epatch '/home/prefix/www/htdocs/gentoo-portage-prefix/sys-devel/binutils/files/binutils-2.21.51.0.6-mint.patch'
 *   environment, line 1664:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-04-08 01:35:53 UTC
There is no technical reason to make this patch conditional, but it seems to break often and it hasn't been upstreamed...I support making it conditional.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-04-08 14:59:46 UTC
workaround: commented out.
Comment 3 Alan Hourihane 2011-04-08 18:32:38 UTC
Created attachment 269059 [details, diff]
New binutils patch

Re-enable please.

Thanks.
Comment 4 Fabian Groffen gentoo-dev 2011-04-10 10:37:02 UTC
re-enabled