martes, diciembre 13, 2011

Gentoo error compiling binutils 2.22


If you have this error message on emerge bitnutils,




* Messages for package sys-devel/binutils-2.22-r1:

 * Failed Patch: 66_all_binutils-2.22-warn-textrel.patch !
 *  ( /var/tmp/portage/sys-devel/binutils-2.22-r1/work/patch/66_all_binutils-2.22-warn-textrel.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/sys-devel/binutils-2.22-r1/temp/66_all_binutils-2.22-warn-textrel.patch.out
 * ERROR: sys-devel/binutils-2.22-r1 failed (unpack phase):
 *   Failed Patch: 66_all_binutils-2.22-warn-textrel.patch!
 *
 * Call stack:
 *     ebuild.sh, line   75:  Called src_unpack
 *   environment, line 3290:  Called toolchain-binutils_src_unpack
 *   environment, line 4112:  Called tc-binutils_apply_patches
 *   environment, line 3435:  Called epatch
 *   environment, line 1852:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 *
 * If you need support, post the output of 'emerge --info =sys-devel/binutils-2.22-r1',
 * the complete build log and the output of 'emerge -pqv =sys-devel/binutils-2.22-r1'.
 * The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.22-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.22-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22'
The hit word here is patch, the solution: unmask, emerge or re-emerge the patch:

emerge -qb sys-devel/patch

or

emerge -qu sys-devel/patch

ready

1 comentario:

  1. I would never have thought that patch could be at fault. Thanks for putting this up and saving me heaps of time! :-D

    ResponderEliminar

Related Posts Plugin for WordPress, Blogger...

POST MAS populares