1 |
Copying stage1-chroot.sh to /tmp |
2 |
copying stage1-chroot.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20150831//tmp |
3 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20150831//tmp |
4 |
Ensure the file has the executable bit set |
5 |
Running stage1-chroot.sh in chroot: |
6 |
chroot /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20150831/ /tmp/stage1-chroot.sh |
7 |
>>> Regenerating /etc/ld.so.cache... |
8 |
Adding USE=' build' to make.conf for portage build |
9 |
emerge --quiet --oneshot --update --newuse sys-apps/portage |
10 |
|
11 |
Performing Global Updates |
12 |
(Could take a couple of minutes if you have a lot of binary packages.) |
13 |
@@s |
14 |
|
15 |
>>> Verifying ebuild manifests |
16 |
>>> Emerging (1 of 4) sys-libs/libsepol-2.4::gentoo |
17 |
>>> Installing (1 of 4) sys-libs/libsepol-2.4::gentoo |
18 |
>>> Emerging (2 of 4) dev-lang/python-3.4.1::gentoo |
19 |
>>> Installing (2 of 4) dev-lang/python-3.4.1::gentoo |
20 |
>>> Emerging (3 of 4) sys-libs/libselinux-2.4::gentoo |
21 |
>>> Installing (3 of 4) sys-libs/libselinux-2.4::gentoo |
22 |
>>> Emerging (4 of 4) sys-apps/portage-2.2.20.1::gentoo |
23 |
>>> Installing (4 of 4) sys-apps/portage-2.2.20.1::gentoo |
24 |
* Messages for package dev-lang/python-3.4.1: |
25 |
* You have just upgraded from an older version of Python. |
26 |
* |
27 |
* Please adjust PYTHON_TARGETS (if so desired), and run emerge with the --newuse or --changed-use option to rebuild packages installing python modules. |
28 |
* Messages for package sys-apps/portage-2.2.20.1: |
29 |
* Could not find a UTF-8 locale. This may trigger build failures in |
30 |
* some python packages. Please ensure that a UTF-8 locale is listed in |
31 |
* /etc/locale.gen and run locale-gen. |
32 |
|
33 |
|
34 |
|
35 |
|
36 |
Updating seed stage... |
37 |
emerge --quiet --buildpkg=n --update --deep @world |
38 |
>>> Verifying ebuild manifests |
39 |
>>> Running pre-merge checks for sys-devel/gcc-4.8.5 |
40 |
>>> Running pre-merge checks for sys-libs/pam-1.2.1 |
41 |
>>> Running pre-merge checks for sec-policy/selinux-base-policy-2.20141203-r7 |
42 |
>>> Emerging (1 of 69) sys-apps/gentoo-functions-0.10::gentoo |
43 |
>>> Installing (1 of 69) sys-apps/gentoo-functions-0.10::gentoo |
44 |
>>> Emerging (2 of 69) sys-libs/glibc-2.20-r2::gentoo |
45 |
>>> Failed to emerge sys-libs/glibc-2.20-r2, Log file: |
46 |
>>> '/home/release/tmp/logs/sys-libs:glibc-2.20-r2:20150901-070617.log' |
47 |
* Package: sys-libs/glibc-2.20-r2 |
48 |
* Repository: gentoo |
49 |
* Maintainer: toolchain@g.o |
50 |
* USE: abi_x86_64 amd64 build elibc_glibc hardened kernel_linux pie selinux ssp userland_GNU |
51 |
* FEATURES: preserve-libs sandbox selinux sesandbox userpriv usersandbox |
52 |
<builtin>: recipe for target 'glibc-test' failed |
53 |
* Auto adding -march=x86-64 to CFLAGS_x86 #185404 |
54 |
* Checking gcc for __thread support ... |
55 |
[ ok ] |
56 |
* Checking kernel version (3.16.5 >= 2.6.32) ... |
57 |
[ ok ] |
58 |
* Checking linux-headers version (3.18.0 >= 2.6.32) ... |
59 |
[ ok ] |
60 |
>>> Unpacking glibc-2.20.tar.xz to /var/tmp/portage/sys-libs/glibc-2.20-r2/work |
61 |
* Applying Gentoo Glibc Patchset 2.20-5 ... |
62 |
* 00_all_0001-disable-ldconfig-during-install.patch ... |
63 |
[ ok ] |
64 |
* 00_all_0002-workaround-crash-when-handling-signals-in-static-PIE.patch ... |
65 |
[ ok ] |
66 |
* 00_all_0003-make-fortify-logic-checks-less-angry.patch ... |
67 |
[ ok ] |
68 |
* 00_all_0004-Fix-localedef-segfault-when-run-under-exec-shield-Pa.patch ... |
69 |
[ ok ] |
70 |
* 00_all_0005-reload-etc-resolv.conf-when-it-has-changed.patch ... |
71 |
[ ok ] |
72 |
* 00_all_0006-nptl-support-thread-stacks-that-grow-up.patch ... |
73 |
[ ok ] |
74 |
* 00_all_0007-rtld-do-not-ignore-arch-specific-CFLAGS.patch ... |
75 |
[ ok ] |
76 |
* 00_all_0008-nptl-handle-EAGAIN-with-some-futex-operations.patch ... |
77 |
[ ok ] |
78 |
* 00_all_0009-gentoo-support-running-tests-under-sandbox.patch ... |
79 |
[ ok ] |
80 |
* 00_all_0010-gentoo-disable-building-in-timezone-subdir.patch ... |
81 |
[ ok ] |
82 |
* 00_all_0011-arm-fix-PIC-vs-SHARED-typos.patch ... |
83 |
[ ok ] |
84 |
* 00_all_0012-hppa-name-setjmp-union.patch ... |
85 |
[ ok ] |
86 |
* 00_all_0013-hppa-fix-build-problems-with-atomic-code.patch ... |
87 |
[ ok ] |
88 |
* 00_all_0014-hppa-fix-bug-in-floating-point-exception-support.patch ... |
89 |
[ ok ] |
90 |
* 00_all_0015-hppa-fix-pthread-spinlock.patch ... |
91 |
[ ok ] |
92 |
* 00_all_0016-hppa-fix-__O_SYNC-to-match-the-kernel.patch ... |
93 |
[ ok ] |
94 |
* 00_all_0017-disable-PIE-when-checking-for-PIC-default.patch ... |
95 |
[ ok ] |
96 |
* 00_all_0018-Update-Russian-translation.patch ... |
97 |
[ ok ] |
98 |
* 00_all_0019-Add-new-Linux-3.16-constants-to-netinet-udp.h.patch ... |
99 |
[ ok ] |
100 |
* 00_all_0020-Handle-zero-prefix-length-in-getifaddrs-BZ-17371.patch ... |
101 |
[ ok ] |
102 |
* 00_all_0021-Revert-to-defining-__extern_inline-only-for-gcc-4.3-.patch ... |
103 |
[ ok ] |
104 |
* 00_all_0022-Fix-memory-leak-in-libio-wfileops.c-do_ftell_wide-BZ.patch ... |
105 |
[ ok ] |
106 |
* 00_all_0023-Fix-memory-leak-in-error-path-of-do_ftell_wide-BZ-17.patch ... |
107 |
[ ok ] |
108 |
* 00_all_0024-Update-French-translation.patch ... |
109 |
[ ok ] |
110 |
* 00_all_0025-BZ-17460-Fix-buffer-overrun-in-nscd-help.patch ... |
111 |
[ ok ] |
112 |
* 00_all_0026-MIPS-Avoid-a-dangling-vfork-GLIBC_2.0-reference.patch ... |
113 |
[ ok ] |
114 |
* 00_all_0027-AArch64-End-frame-record-chain-correctly.patch ... |
115 |
[ ok ] |
116 |
* 00_all_0028-CVE-2014-7817-wordexp-fails-to-honour-WRDE_NOCMD.patch ... |
117 |
[ ok ] |
118 |
* 00_all_0029-arm-drop-EABI-check.patch ... |
119 |
[ ok ] |
120 |
* 00_all_0030-Make-__extern_always_inline-usable-on-clang-again.patch ... |
121 |
[ ok ] |
122 |
* 00_all_0031-CVE-2012-3406-Stack-overflow-in-vfprintf-BZ-16617.patch ... |
123 |
[ ok ] |
124 |
* 00_all_0032-Avoid-infinite-loop-in-nss_dns-getnetbyname-BZ-17630.patch ... |
125 |
[ ok ] |
126 |
* 00_all_0033-Move-findidx-nested-functions-to-top-level.patch ... |
127 |
[ ok ] |
128 |
* 00_all_0034-Fix-memory-handling-in-strxfrm_l-BZ-16009.patch ... |
129 |
[ ok ] |
130 |
* 00_all_0035-Use-AVX-unaligned-memcpy-only-if-AVX2-is-available.patch ... |
131 |
[ ok ] |
132 |
* 00_all_0036-CVE-2015-1472-wscanf-allocates-too-little-memory.patch ... |
133 |
[ ok ] |
134 |
* 00_all_0037-sparc-fix-sigaction-for-32bit-builds-BZ-18694.patch ... |
135 |
[ ok ] |
136 |
* Done with patching |
137 |
* Using GNU config files from /usr/share/gnuconfig |
138 |
* Updating scripts/config.sub |
139 |
[ ok ] |
140 |
* Updating scripts/config.guess |
141 |
[ ok ] |
142 |
* Patching to get working PIE binaries on PIE (hardened) platforms |
143 |
* Applying glibc-2.17-hardened-pie.patch ... |
144 |
[ ok ] |
145 |
* Applying glibc-2.20-hardened-inittls-nosysenter.patch ... |
146 |
[ ok ] |
147 |
* Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler |
148 |
* You need to switch to a newer compiler; gcc-4.8.[0-3] and gcc-4.9.0 miscompile |
149 |
* glibc. See https://bugs.gentoo.org/547420 for details. |
150 |
* ERROR: sys-libs/glibc-2.20-r2::gentoo failed (prepare phase): |
151 |
* need to switch compilers #547420 |
152 |
* |
153 |
* Call stack: |
154 |
* ebuild.sh, line 93: Called src_prepare |
155 |
* environment, line 3275: Called eblit-run 'src_prepare' |
156 |
* environment, line 977: Called eblit-run-maybe 'eblit-src_prepare-post' |
157 |
* environment, line 981: Called eblit-src_prepare-post |
158 |
* environment, line 1002: Called die |
159 |
* The specific snippet of code: |
160 |
* die "need to switch compilers #547420" |
161 |
* |
162 |
* If you need support, post the output of `emerge --info '=sys-libs/glibc-2.20-r2::gentoo'`, |
163 |
* the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.20-r2::gentoo'`. |
164 |
* The complete build log is located at '/home/release/tmp/logs/sys-libs:glibc-2.20-r2:20150901-070617.log'. |
165 |
* For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/glibc-2.20-r2/temp/build.log'. |
166 |
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.20-r2/temp/environment'. |
167 |
* Working directory: '/var/tmp/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20' |
168 |
* S: '/var/tmp/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20' |
169 |
|
170 |
* Messages for package sys-libs/glibc-2.20-r2: |
171 |
|
172 |
* You need to switch to a newer compiler; gcc-4.8.[0-3] and gcc-4.9.0 miscompile |
173 |
* glibc. See https://bugs.gentoo.org/547420 for details. |
174 |
* ERROR: sys-libs/glibc-2.20-r2::gentoo failed (prepare phase): |
175 |
* need to switch compilers #547420 |
176 |
* |
177 |
* Call stack: |
178 |
* ebuild.sh, line 93: Called src_prepare |
179 |
* environment, line 3275: Called eblit-run 'src_prepare' |
180 |
* environment, line 977: Called eblit-run-maybe 'eblit-src_prepare-post' |
181 |
* environment, line 981: Called eblit-src_prepare-post |
182 |
* environment, line 1002: Called die |
183 |
* The specific snippet of code: |
184 |
* die "need to switch compilers #547420" |
185 |
* |
186 |
* If you need support, post the output of `emerge --info '=sys-libs/glibc-2.20-r2::gentoo'`, |
187 |
* the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.20-r2::gentoo'`. |
188 |
* The complete build log is located at '/home/release/tmp/logs/sys-libs:glibc-2.20-r2:20150901-070617.log'. |
189 |
* For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/glibc-2.20-r2/temp/build.log'. |
190 |
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.20-r2/temp/environment'. |
191 |
* Working directory: '/var/tmp/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20' |
192 |
* S: '/var/tmp/portage/sys-libs/glibc-2.20-r2/work/glibc-2.20' |
193 |
|
194 |
!!! catalyst: cmd() NON-zero return value from: run script failed. |
195 |
|
196 |
|
197 |
!!! catalyst: Stage build aborting due to error. |
198 |
|
199 |
--- Exeption running action sequence:run_local |
200 |
!!! catalyst: Error encountered during run of target stage1 |
201 |
|
202 |
|
203 |
|
204 |
Full build log at /home/release/tmp/run/catalyst-auto.LEbDpE/log/hardened_stage1-selinux-nomultilib.log |