Summary: | sys-devel/binutils-2.20.1 fails to patch 78_all_use-relro.patch for mips because 77_all_generate-gnu-hash.patch is skipped | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stuart Longland (RETIRED) <redhatter> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | blueness, mips, nbowler |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 298571 | ||
Attachments: |
build.log
78_all_use-relro.patch.out mips toolchain compilation fix workaround |
Description
Stuart Longland (RETIRED)
![]() Created attachment 224273 [details]
build.log
Build log of failed ebuild
Created attachment 224275 [details]
78_all_use-relro.patch.out
Patch output
I'm experiencing the same problem; >>> Verifying ebuild manifests >>> Emerging (1 of 1) cross-mipsel-linux-uclibc/binutils-2.20.1 from rion * binutils-2.20.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * binutils-2.20.1-patches-1.0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: cross-mipsel-linux-uclibc/binutils-2.20.1 * REPO: rion * USE: elibc_glibc kernel_linux nls userland_GNU x86 >>> Unpacking source... >>> Unpacking binutils-2.20.1.tar.bz2 to /var/tmp/cross/mipsel-linux-uclibc/port age/cross-mipsel-linux-uclibc/binutils-2.20.1/work >>> Unpacking binutils-2.20.1-patches-1.0.tar.bz2 to /var/tmp/cross/mipsel-linux -uclibc/portage/cross-mipsel-linux-uclibc/binutils-2.20.1/work * Applying various patches (bugfixes/updates) ... * 03_all_binutils-2.15.92.0.2-ppc64-pie.patch ... [ ok ] * 05_all_binutils-2.20-bfd-plugins.patch ... [ ok ] * 08_all_binutils-RPATH_ENVVAR-smack.patch ... [ ok ] * 10_all_binutils-2.20-mips-pie.patch ... [ ok ] * 11_all_binutils-2.20-ia64-ld-relax.patch ... [ ok ] * 12_all_sh-targets.patch ... [ ok ] * 20_all_ld-sysroot.patch ... [ ok ] * 30_all_binutils-2.20-flexible-tests.patch ... [ ok ] * 63_all_binutils-2.20-pt-pax-flags-20090909.patch ... [ ok ] * 65_all_binutils-2.20-amd64-32bit-path.patch ... [ ok ] * 66_all_binutils-2.18.50.0.2-warn-textrel.patch ... [ ok ] * 76_all_use-new-ld-dtags.patch ... [ ok ] * 77_all_document-new-dtags-behaviour.patch ... [ ok ] * 78_all_use-relro.patch ... * Failed Patch: 78_all_use-relro.patch ! * ( /var/tmp/cross/mipsel-linux-uclibc/portage/cross-mipsel-linux-uclibc/binut ils-2.20.1/work/patch/78_all_use-relro.patch ) * * Include in your bugreport the contents of: * * /var/tmp/cross/mipsel-linux-uclibc/portage/cross-mipsel-linux-uclibc/binuti ls-2.20.1/temp/78_all_use-relro.patch.out * ERROR: cross-mipsel-linux-uclibc/binutils-2.20.1 failed: * Failed Patch: 78_all_use-relro.patch! * * Call stack: * ebuild.sh, line 48: Called src_unpack * environment, line 3351: Called toolchain-binutils_src_unpack * environment, line 4099: Called tc-binutils_apply_patches * environment, line 3495: Called epatch * environment, line 1809: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * * If you need support, post the output of 'emerge --info =cross-mipsel-linux-uc libc/binutils-2.20.1', * the complete build log and the output of 'emerge -pqv =cross-mipsel-linux-ucl ibc/binutils-2.20.1'. * This ebuild is from an overlay named 'rion': '/var/lib/layman/rion/' * The complete build log is located at '/var/tmp/cross/mipsel-linux-uclibc/port age/cross-mipsel-linux-uclibc/binutils-2.20.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/cross/mipsel-linux-uclibc /portage/cross-mipsel-linux-uclibc/binutils-2.20.1/temp/environment'. * S: '/var/tmp/cross/mipsel-linux-uclibc/portage/cross-mipsel-linux-uclibc/binu tils-2.20.1/work/binutils-2.20.1' *** Bug 313135 has been marked as a duplicate of this bug. *** Created attachment 229733 [details, diff] mips toolchain compilation fix workaround EPATCH_EXCLUDE="77_all_generate-gnu-hash.patch" from bug 233233 makes 78_all_use-relro.patch fail too, so disable relro too. fixed in cvs patchset http://sources.gentoo.org/gentoo/src/patchsets/binutils/2.20.1/75_all_binutils-default-test-flags.patch?rev=1.1 http://sources.gentoo.org/gentoo/src/patchsets/binutils/2.20.1/77_all_generate-gnu-hash.patch?r1=1.1&r2=1.2 http://sources.gentoo.org/gentoo/src/patchsets/binutils/2.20.1/78_all_use-relro.patch?r1=1.1&r2=1.2 |