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

Bug 538150

Summary: sys-devel/binutils-2.24-r3 - Failed Patch: 63_all_binutils-2.24-pt-pax-flags-20131231.patch !
Product: Gentoo Linux Reporter: xoJIog <xoJIog>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mail, xoJIog
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 63_all_binutils-2.24-pt-pax-flags-20131231.patch.out

Description xoJIog 2015-01-29 13:17:17 UTC
* Package:    sys-devel/binutils-2.24-r3
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:        abi_x86_64 amd64 cxx elibc_glibc kernel_linux userland_GNU zlib
 * FEATURES:   preserve-libs sandbox usersandbox
>>> Unpacking source...
>>> Unpacking binutils-2.24.tar.bz2 to /var/tmp/portage/sys-devel/binutils-2.24-r3/work
>>> Unpacking binutils-2.24-patches-1.4.tar.xz to /var/tmp/portage/sys-devel/binutils-2.24-r3/work
 * Applying various patches (bugfixes/updates) ...
 *   12_all_sh-targets.patch ...
 [ ok ]
 *   20_all_libiberty-install.patch ...
 [ ok ]
 *   24_all_as-needed.patch ...
 [ ok ]
 *   25_all_plugins-dl-search.patch ...
 [ ok ]
 *   30_all_binutils-2.22.52.0.2-flexible-tests.patch ...
 [ ok ]
 *   52_all_binutils-alpha-relax.patch ...
 [ ok ]
 *   53_all_hppa-as-needed.patch ...
 [ ok ]
 *   62_all_binutils-2.23.52.0.1-hardened-crtbegin.patch ...
 [ ok ]
 *   63_all_binutils-2.24-pt-pax-flags-20131231.patch ...

 * Failed Patch: 63_all_binutils-2.24-pt-pax-flags-20131231.patch !
 *  ( /var/tmp/portage/sys-devel/binutils-2.24-r3/work/patch/63_all_binutils-2.24-pt-pax-flags-20131231.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/sys-devel/binutils-2.24-r3/temp/63_all_binutils-2.24-pt-pax-flags-20131231.patch.out

 * ERROR: sys-devel/binutils-2.24-r3::gentoo failed (unpack phase):
 *   Failed Patch: 63_all_binutils-2.24-pt-pax-flags-20131231.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_unpack
 *   environment, line 2905:  Called toolchain-binutils_src_unpack
 *   environment, line 3759:  Called toolchain-binutils_src_prepare
 *   environment, line 3747:  Called tc-binutils_apply_patches
 *   environment, line 3004:  Called epatch
 *   environment, line 1307:  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.24-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/binutils-2.24-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/binutils-2.24-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.24-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/binutils-2.24-r3/work/binutils-2.24'
 * S: '/var/tmp/portage/sys-devel/binutils-2.24-r3/work/binutils-2.24'


patch out: http://pastebin.com/raw.php?i=HCzfJ9E6
Comment 1 xoJIog 2015-01-29 14:09:01 UTC
Portage 2.2.14 (python 2.7.9-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.3, glibc-2.12.2, 3.15.10-hardened-r1.standart.20140925 x86_64)
=================================================================
System uname: Linux-3.15.10-hardened-r1.standart.20140925-x86_64-AMD_Opteron-tm-_Processor_6128-with-gentoo-2.0.3
KiB Mem:     8176068 total,    252284 free
KiB Swap:    4096568 total,   3916388 free
Timestamp of tree: Wed, 28 Jan 2015 14:30:01 +0000
ld GNU ld (GNU Binutils) 2.21.1
app-shells/bash:          4.2_p37
dev-lang/perl:            5.12.4-r1
dev-lang/python:          2.7.9-r1, 3.1.3-r1, 3.2.5-r2, 3.3.3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.1, 1.13.4
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fforce-addr -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fforce-addr -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="amd64 berkdb bzip2 cli cracklib crypt cxx dri hardened justify mmx modules ncurses nptl openmp pax_kernel pcre readline session sse sse2 ssl unicode urandom vim-syntax xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-30 09:05:18 UTC
(In reply to xoJIog from comment #0)
>  * Include in your bugreport the contents of:
>  * 
>  *  
> /var/tmp/portage/sys-devel/binutils-2.24-r3/temp/63_all_binutils-2.24-pt-pax-
> flags-20131231.patch.out

Please attach that file to this bug report.
Comment 3 xoJIog 2015-01-30 09:30:11 UTC
(In reply to Jeroen Roovers from comment #2)
> (In reply to xoJIog from comment #0)
> >  * Include in your bugreport the contents of:
> >  * 
> >  *  
> > /var/tmp/portage/sys-devel/binutils-2.24-r3/temp/63_all_binutils-2.24-pt-pax-
> > flags-20131231.patch.out
> 
> Please attach that file to this bug report.

File is attached in comment#1, because this file is somewhat big, I've attached it as http://pastebin.com/raw.php?i=HCzfJ9E6
Comment 4 xoJIog 2015-01-30 09:54:53 UTC
Created attachment 395200 [details]
63_all_binutils-2.24-pt-pax-flags-20131231.patch.out

patch.out attached here too
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-30 11:48:30 UTC
(In reply to xoJIog from comment #3)
> File is attached in comment#1, because this file is somewhat big, I've
> attached it as http://pastebin.com/raw.php?i=HCzfJ9E6

Yes, I know, and we don't accept externally stored information like that.

https://wiki.gentoo.org/wiki/Bugzilla_HOWTO#Required_Information - "You should never use URL to point to pastebins [...] Instead, these should always be attached to the bug."
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-30 11:50:01 UTC
Please post your `emerge -vpq sys-devel/patch' output in a comment.
Comment 7 xoJIog 2015-01-30 14:01:56 UTC
(In reply to Jeroen Roovers from comment #6)
> Please post your `emerge -vpq sys-devel/patch' output in a comment.

[ebuild     U ] sys-devel/patch-2.7.3 [2.5.9] USE="xattr%* -static {-test%}"
Comment 8 Maciej S. Szmigiero 2015-02-02 22:27:20 UTC
(In reply to xoJIog from comment #7)
> (In reply to Jeroen Roovers from comment #6)
> > Please post your `emerge -vpq sys-devel/patch' output in a comment.
> 
> [ebuild     U ] sys-devel/patch-2.7.3 [2.5.9] USE="xattr%* -static {-test%}"

I also have had sys-devel/patch-2.5.9 installed (on x86 however) and had the same problem with binutils.
It disappeared after updating sys-devel/patch to 2.7.4.
Comment 9 SpanKY gentoo-dev 2015-02-09 15:10:19 UTC

*** This bug has been marked as a duplicate of bug 403575 ***