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

Bug 440172

Summary: sys-devel/binutils-2.22-r1 - Failed Patch: 66_all_binutils-2.22-warn-textrel.patch !
Product: Gentoo Linux Reporter: Paul <CowboyFromHell.BLS>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The complete build log

Description Paul 2012-10-29 21:10:33 UTC
Created attachment 327716 [details]
The complete build log

I was running chromium (not sure what version but if the --search function emerge shows what version, then it was 14.0.835.163, again, I am not sure) and tried to emerge the latest version 22.0.1299.94, this emerge failed.  After I could not get this version working I attempted to emerge the 14.0.835.163 version and it failed as well.  Since that is the most recent failure I will include all the information for the 14.0.835.163 failure:

Portage 2.1.11.9 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2, 2.6.39-gentoo-r3 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r3-i686-AMD_Athlon-tm-_64_Processor_3400+-with-gentoo-2.1
Timestamp of tree: Mon, 29 Oct 2012 20:15:01 +0000
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.iawnet.sandia.gov/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv icu ipv6 modules mudflap ncurses nls nptl openmp pam pcre pppd qt4 readline session ssl tcpd udev unicode x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" 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 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" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

[ebuild     U ] sys-devel/binutils-2.22-r1 [2.20.1-r1] USE="cxx%* nls zlib%* -mu                                                                             ltislot -multitarget -static-libs% -test -vanilla"

!!! The following installed packages are masked:
- www-plugins/adobe-flash-11.1.102.55::gentoo (masked by: AdobeFlash-10.3 licens                                                                             e(s))
A copy of the 'AdobeFlash-10.3' license is located at '/usr/portage/licenses/Ado                                                                             beFlash-10.3'.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

vim /var/tmp/portage/sys-devel/binutils-2.22-r1/temp/66_all_binutils-2.22-warn-textrel.patch.out:
***** 66_all_binutils-2.22-warn-textrel.patch *****
PWD: /var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22

===================================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/sys-devel/binutils-2.22-r1/work/patch/66_all_binutils-2.22-warn-textrel.patch'

===================================================
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|textrels are bad for forcing copy-on-write (this affects everyone),
|and for security/runtime code generation, this affects security ppl.
|But in either case, it doesn't matter who needs textrels, it's
|the very fact that they're needed at all.
|
|2006-06-10  Ned Ludd  <solar@gentoo.org>, Mike Frysinger <vapier@gentoo.org>
|
|       * bfd/elflink.c (bfd_elf_final_link): Check all objects for TEXTRELs.
|       * ld/ldmain.c (main): Change textrel warning default to true.
|       * ld/testsuite/lib/ld-lib.exp (default_ld_simple_link): Scrub TEXTREL
|       warnings from ld output.
|
|--- a/bfd/elflink.c
|+++ b/bfd/elflink.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 33 of patch
can't find file to patch at input line 33
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|         for (; dyncon < dynconend; dyncon += bed->s->sizeof_dyn)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 44
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/ld/ldmain.c
|+++ b/ld/ldmain.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 50
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/ld/testsuite/lib/ld-lib.exp
|+++ b/ld/testsuite/lib/ld-lib.exp
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
===================================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/sys-devel/binutils-2.22-r1/work/patch/66_all_binutils-2.22-warn-textrel.patch'

===================================================
patching file bfd/elflink.c
Hunk #1 succeeded at 11206 with fuzz 1 (offset 2554 lines).
missing header for unified diff at line 33 of patch
can't find file to patch at input line 33
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|         for (; dyncon < dynconend; dyncon += bed->s->sizeof_dyn)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file ld/ldmain.c
Hunk #1 succeeded at 282 with fuzz 1.
patching file ld/testsuite/lib/ld-lib.exp
Hunk #1 succeeded at 207 (offset 26 lines).

patch program exited with status 1
===================================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/sys-devel/binutils-2.22-r1/work/patch/66_all_binutils-2.22-warn-textrel.patch'

===================================================
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|textrels are bad for forcing copy-on-write (this affects everyone),
|and for security/runtime code generation, this affects security ppl.
|But in either case, it doesn't matter who needs textrels, it's
|the very fact that they're needed at all.
|
|2006-06-10  Ned Ludd  <solar@gentoo.org>, Mike Frysinger <vapier@gentoo.org>
|
|       * bfd/elflink.c (bfd_elf_final_link): Check all objects for TEXTRELs.
|       * ld/ldmain.c (main): Change textrel warning default to true.
|       * ld/testsuite/lib/ld-lib.exp (default_ld_simple_link): Scrub TEXTREL
|       warnings from ld output.
|
|--- a/bfd/elflink.c
|+++ b/bfd/elflink.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 33 of patch
can't find file to patch at input line 33
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|         for (; dyncon < dynconend; dyncon += bed->s->sizeof_dyn)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 44
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/ld/ldmain.c
|+++ b/ld/ldmain.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 50
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/ld/testsuite/lib/ld-lib.exp
|+++ b/ld/testsuite/lib/ld-lib.exp
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
===================================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/sys-devel/binutils-2.22-r1/work/patch/66_all_binutils-2.22-warn-textrel.patch'

===================================================
missing header for unified diff at line 15 of patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|textrels are bad for forcing copy-on-write (this affects everyone),
|and for security/runtime code generation, this affects security ppl.
|But in either case, it doesn't matter who needs textrels, it's
|the very fact that they're needed at all.
|
|2006-06-10  Ned Ludd  <solar@gentoo.org>, Mike Frysinger <vapier@gentoo.org>
|
|       * bfd/elflink.c (bfd_elf_final_link): Check all objects for TEXTRELs.
|       * ld/ldmain.c (main): Change textrel warning default to true.
|       * ld/testsuite/lib/ld-lib.exp (default_ld_simple_link): Scrub TEXTREL
|       warnings from ld output.
|
|--- a/bfd/elflink.c
|+++ b/bfd/elflink.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 33 of patch
can't find file to patch at input line 33
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|         for (; dyncon < dynconend; dyncon += bed->s->sizeof_dyn)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 44 of patch
can't find file to patch at input line 44
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/ld/ldmain.c
|+++ b/ld/ldmain.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 50
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/ld/testsuite/lib/ld-lib.exp
|+++ b/ld/testsuite/lib/ld-lib.exp
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
===================================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/var/tmp/portage/sys-devel/binutils-2.22-r1/work/patch/66_all_binutils-2.22-warn-textrel.patch'

===================================================
missing header for unified diff at line 15 of patch
can't find file to patch at input line 15
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|textrels are bad for forcing copy-on-write (this affects everyone),
|and for security/runtime code generation, this affects security ppl.
|But in either case, it doesn't matter who needs textrels, it's
|the very fact that they're needed at all.
|
|2006-06-10  Ned Ludd  <solar@gentoo.org>, Mike Frysinger <vapier@gentoo.org>
|
|       * bfd/elflink.c (bfd_elf_final_link): Check all objects for TEXTRELs.
|       * ld/ldmain.c (main): Change textrel warning default to true.
|       * ld/testsuite/lib/ld-lib.exp (default_ld_simple_link): Scrub TEXTREL
|       warnings from ld output.
|
|--- a/bfd/elflink.c
|+++ b/bfd/elflink.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 33 of patch
can't find file to patch at input line 33
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|         for (; dyncon < dynconend; dyncon += bed->s->sizeof_dyn)
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 44 of patch
can't find file to patch at input line 44
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/ld/ldmain.c
|+++ b/ld/ldmain.c
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 50
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/ld/testsuite/lib/ld-lib.exp
|+++ b/ld/testsuite/lib/ld-lib.exp
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1

And some more info from the failure in case it's necessary:
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/binutils-2.22-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22'
 * S: '/var/tmp/portage/sys-devel/binutils-2.22-r1/work/binutils-2.22'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-10-29 21:54:32 UTC
This has nothing to do with www-client/chromium - you need to update your entire system, especially if you want to run a build and run a recent version of chromium.

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