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