-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
-
Portage 2.2.26 (python 2.7.11-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.9.3, glibc-2.21, 4.4.6-1 x86_64)
=================================================================
System uname: Linux-4.4.6-1-x86_64-Intel-R-Pentium-R-_CPU_N3700@_1.60GHz-with-gentoo-2.2.0
KiB Mem: 15908184 total, 5171140 free
KiB Swap: 0 total, 0 free
sh bash 4.3_p42
ld GNU ld (Funtoo 2.25) 2.25.0
app-shells/bash: 4.3_p42::gentoo
dev-lang/perl: 5.22.1::gentoo
dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo
sys-apps/baselayout: 2.2.0-r6::gentoo
sys-apps/openrc: 0.18.3-r2::gentoo
sys-apps/sandbox: 2.10-r2::gentoo
sys-devel/autoconf: 2.69-r2::gentoo
sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.25-r2::gentoo
sys-devel/gcc: 4.9.3-r3::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r2::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.21::gentoo
Repositories:gentoo
location: /usr/portage
sync-type: git
sync-uri: git://github.com/funtoo/ports-2012.git
priority: -1000ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
ACCEPT_PROPERTIES="* -reboot"
ACCEPT_RESTRICT="*"
ALSA_CARDS="hda-intel usb-audio pcsp"
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="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 cgi
d 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 uni
que_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_4 python_targets_python2_7 hardened pax_kernel pic xtpax -jit -orc hardened pax_kernel pic xtpax -jit -orc"Portage 2.2.26 (python 2.7.11-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.9.3, glibc-2.21, 4.4.6-1 x86_64) ================================================================= System uname: Linux-4.4.6-1-x86_64-Intel-R- Pentium-R-_CPU_N3700 @_1.60GHz-with-gentoo-2.2.0 KiB Mem: 15908184 total, 5171140 free KiB Swap: 0 total, 0 free sh bash 4.3_p42 ld GNU ld (Funtoo 2.25) 2.25.0 app-shells/bash: 4.3_p42::gentoo dev-lang/perl: 5.22.1::gentoo dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo sys-apps/baselayout: 2.2.0-r6::gentoo sys-apps/openrc: 0.18.3-r2::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.69-r2::gentoo sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25-r2::gentoo sys-devel/gcc: 4.9.3-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.21::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git://github.com/funtoo/ports-2012.git priority: -1000 ABI="amd64" ABI_X86="64" ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE" ACCEPT_PROPERTIES="* -reboot" ACCEPT_RESTRICT="*" ALSA_CARDS="hda-intel usb-audio pcsp" 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="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 cgi d 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 uni que_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" ARCH="amd64" ASFLAGS_x86="--32" AUTOCLEAN="yes" BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_4 python_targets_python2_7 hardened pax_kernel pic xtpax -jit -orc hardened pax_kernel pic xtpax -jit -orc"
I installed stage3-intel64-silvermont-funtoo-current-2016-05-05.tar.xz, switched profile to hardened and try to compile gcc-5.3.0 (compile hardened gcc-4.9.3 successeded), but compile failed on patching phase:
- Package: sys-devel/gcc-5.3.0-r1
- Repository: gentoo
- Maintainer: toolchain
- USE: amd64 cxx elibc_glibc fortran graphite hardened kernel_linux multilib nls openmp userland_GNU
- FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking gcc-5.3.0.tar.bz2 to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking mpc-1.0.3.tar.gz to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking mpfr-3.1.4.tar.xz to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking gmp-6.1.0.tar.xz to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking cloog-0.18.4.tar.gz to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking isl-0.16.1.tar.bz2 to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking gcc-5.3.0-patches-1.0.tar.bz2 to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking gcc-5.3.0-piepatches-v0.6.5.tar.bz2 to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Unpacking gcc-4.4.3-specs-0.2.0.tar.bz2 to /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Source unpacked in /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work
>>> Preparing source in /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/gcc-5.3.0 ...
patching file libgcc/Makefile.in
Hunk #1 succeeded at 1099 (offset 154 lines).
Hunk #2 succeeded at 1110 (offset 154 lines). - Applying Gentoo patches ...
- Done with patching
- Applying 01_all_gcc53_configure.patch ...
[ ok ] - Applying 02_all_gcc48_config.in.patch ...
[ ok ] - Applying 03_all_gcc51_Makefile.in.patch ...
[ ok ] - Applying 05_all_gcc48_gcc.c.patch ...
- Failed Patch: 05_all_gcc48_gcc.c.patch !
- ( /var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/05_all_gcc48_gcc.c.patch )
* - Include in your bugreport the contents of:
* - /var/tmp/portage/sys-devel/gcc-5.3.0-r1/temp/05_all_gcc48_gcc.c.patch.out
- ERROR: sys-devel/gcc-5.3.0-r1::gentoo failed (prepare phase):
- Failed Patch: 05_all_gcc48_gcc.c.patch!
* - Call stack:
- ebuild.sh, line 133: Called src_prepare
- environment, line 2342: Called epatch '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/01_all_gcc53_configure.patch' '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/02_all_gcc48_
config.in.patch' '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/03_all_gcc51_Makefile.in.patch' '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/05_all_gcc48_gcc.c.patch' '/var/tmp/po
rtage/sys-devel/gcc-5.3.0-r1/work/piepatch/16_all_gcc47_nopie_option.patch' '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/20_all_gcc49_config_crtbeginp.patch' '/var/tmp/portage/sys-devel/g
cc-5.3.0-r1/work/piepatch/24_all_gcc49_invoke.texi.patch' '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/33_all_gcc48_config_rs6000.patch' '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piep
atch/34_all_gcc51_config_i386.patch' '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/35_all_gcc51_config_arm.patch' '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/36_all_gcc51_config
_mips.patch' '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/37_all_gcc48_config_ia64.patch' '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/40_all_gcc49_config_esp.patch' - environment, line 573: Called epatch '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/piepatch/05_all_gcc48_gcc.c.patch'
- environment, line 751: Called die
- The specific snippet of code:
- die "Failed Patch: ${patchname}!";
* - If you need support, post the output of `emerge --info '=sys-devel/gcc-5.3.0-r1::gentoo'`,
- the complete build log and the output of `emerge -pqv '=sys-devel/gcc-5.3.0-r1::gentoo'`.
- The complete build log is located at '/var/log/portage/sys-devel:gcc-5.3.0-r1:20160511-123207.log'.
- For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/temp/build.log'.
- The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/temp/environment'.
- Working directory: '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/gcc-5.3.0'
- S: '/var/tmp/portage/sys-devel/gcc-5.3.0-r1/work/gcc-5.3.0'