1 |
echo " `echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" >&2 ; \ |
2 |
tooldir_sysinc=`echo "/usr/lib/gcc/s390x-ibm-linux-gnu/4.9.3/../../../../s390x-ibm-linux-gnu/sys-include" | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \ |
3 |
if test "x`echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" = "x${tooldir_sysinc}"; \ |
4 |
then sleep 1; else exit 1; fi; \ |
5 |
fi; \ |
6 |
/bin/bash /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/../mkinstalldirs ${fix_dir}; \ |
7 |
chmod a+rx ${fix_dir} || true; \ |
8 |
(TARGET_MACHINE='s390x-ibm-linux-gnu'; srcdir=`cd /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc; ${PWDCMD-pwd}`; \ |
9 |
SHELL='/bin/bash'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \ |
10 |
gcc_dir=`${PWDCMD-pwd}` ; \ |
11 |
export TARGET_MACHINE srcdir SHELL MACRO_LIST && \ |
12 |
cd ../build-s390x-ibm-linux-gnu/fixincludes && \ |
13 |
/bin/bash ./fixinc.sh "${gcc_dir}/${fix_dir}" \ |
14 |
`echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta` ); \ |
15 |
rm -f ${fix_dir}/syslimits.h; \ |
16 |
if [ -f ${fix_dir}/limits.h ]; then \ |
17 |
mv ${fix_dir}/limits.h ${fix_dir}/syslimits.h; \ |
18 |
else \ |
19 |
cp /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/gsyslimits.h ${fix_dir}/syslimits.h; \ |
20 |
fi; \ |
21 |
chmod a+r ${fix_dir}/syslimits.h; \ |
22 |
done; \ |
23 |
fi |
24 |
make[4]: Entering directory '/var/tmp/portage/sys-devel/gcc-4.9.3/work/build/prev-gcc' |
25 |
(cd `${PWDCMD-pwd}`/include-fixed ; \ |
26 |
tar -cf - .; exit 0) | (cd /var/tmp/portage/sys-devel/gcc-4.9.3/work/build/prev-gcc/../gcc/./include-fixed; tar xpf - ) |
27 |
make[4]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.9.3/work/build/prev-gcc' |
28 |
echo timestamp > stmp-fixinc |
29 |
if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi |
30 |
if [ -d include-fixed ] ; then true; else mkdir include-fixed; chmod a+rx include-fixed; fi |
31 |
for file in .. /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/float.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/iso646.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/stdarg.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/stdbool.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/stddef.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/varargs.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/stdfix.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/stdnoreturn.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/stdalign.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/stdatomic.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/config/s390/s390intrin.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/config/s390/htmintrin.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/config/s390/htm |
32 |
xlintrin.h; do \ |
33 |
if [ X$file != X.. ]; then \ |
34 |
realfile=`echo $file | sed -e 's|.*/\([^/]*\)$||'`; \ |
35 |
echo timestamp > include/$realfile; \ |
36 |
rm -f include/$realfile; \ |
37 |
cp $file include; \ |
38 |
chmod a+r include/$realfile; \ |
39 |
fi; \ |
40 |
done |
41 |
for file in .. ; do \ |
42 |
if [ X$file != X.. ]; then \ |
43 |
mv include/$file include/x_$file; \ |
44 |
echo "#include_next <$file>" >include/$file; \ |
45 |
cat include/x_$file >>include/$file; \ |
46 |
rm -f include/x_$file; \ |
47 |
chmod a+r include/$file; \ |
48 |
fi; \ |
49 |
done |
50 |
for file in .. ; do \ |
51 |
if [ X$file != X.. ]; then \ |
52 |
echo "#include_next <$file>" >>include/$file; \ |
53 |
chmod a+r include/$file; \ |
54 |
fi; \ |
55 |
done |
56 |
rm -f include/stdint.h |
57 |
if [ wrap = wrap ]; then \ |
58 |
rm -f include/stdint-gcc.h; \ |
59 |
cp /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/stdint-gcc.h include/stdint-gcc.h; \ |
60 |
chmod a+r include/stdint-gcc.h; \ |
61 |
cp /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/stdint-wrap.h include/stdint.h; \ |
62 |
chmod a+r include/stdint.h; \ |
63 |
elif [ wrap = provide ]; then \ |
64 |
cp /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/ginclude/stdint-gcc.h include/stdint.h; \ |
65 |
chmod a+r include/stdint.h; \ |
66 |
fi |
67 |
set -e; for ml in `cat fixinc_list`; do \ |
68 |
sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \ |
69 |
multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \ |
70 |
fix_dir=include-fixed${multi_dir}; \ |
71 |
if [ -f `echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`/limits.h ] ; then \ |
72 |
cat /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/limitx.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/glimits.h /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/limity.h > tmp-xlimits.h; \ |
73 |
else \ |
74 |
cat /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/glimits.h > tmp-xlimits.h; \ |
75 |
fi; \ |
76 |
/bin/bash /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/../mkinstalldirs ${fix_dir}; \ |
77 |
chmod a+rx ${fix_dir} || true; \ |
78 |
/bin/bash /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/../move-if-change \ |
79 |
tmp-xlimits.h tmp-limits.h; \ |
80 |
rm -f ${fix_dir}/limits.h; \ |
81 |
cp -p tmp-limits.h ${fix_dir}/limits.h; \ |
82 |
chmod a+r ${fix_dir}/limits.h; \ |
83 |
done |
84 |
rm -f include-fixed/README |
85 |
cp /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/../fixincludes/README-fixinc include-fixed/README |
86 |
chmod a+r include-fixed/README |
87 |
echo timestamp > stmp-int-hdrs |
88 |
/var/tmp/portage/sys-devel/gcc-4.9.3/work/build/./prev-gcc/xg++ -B/var/tmp/portage/sys-devel/gcc-4.9.3/work/build/./prev-gcc/ -B/usr/s390x-ibm-linux-gnu/bin/ -nostdinc++ -B/var/tmp/portage/sys-devel/gcc-4.9.3/work/build/prev-s390x-ibm-linux-gnu/libstdc++-v3/src/.libs -B/var/tmp/portage/sys-devel/gcc-4.9.3/work/build/prev-s390x-ibm-linux-gnu/libstdc++-v3/libsupc++/.libs -isystem /var/tmp/portage/sys-devel/gcc-4.9.3/work/build/prev-s390x-ibm-linux-gnu/libstdc++-v3/include/s390x-ibm-linux-gnu -isystem /var/tmp/portage/sys-devel/gcc-4.9.3/work/build/prev-s390x-ibm-linux-gnu/libstdc++-v3/include -isystem /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/libstdc++-v3/libsupc++ -L/var/tmp/portage/sys-devel/gcc-4.9.3/work/build/prev-s390x-ibm-linux-gnu/libstdc++-v3/src/.libs -L/var/tmp/portage/sys-devel/gcc-4.9.3/work/build/prev-s390x-ibm-linux-gnu/libstdc++-v3/libsupc++/.libs -O2 -pipe -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowi |
89 |
ng -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o lto1 \ |
90 |
lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o lto/lto-partition.o lto/lto-symtab.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -lmpc -lmpfr -lgmp -rdynamic -ldl -lz libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a |
91 |
collect2: error: ld returned 1 exit status |
92 |
/var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3/gcc/lto/Make-lang.in:71: recipe for target 'lto1' failed |
93 |
make[3]: *** [lto1] Error 1 |
94 |
rm gcc.pod gfortran.pod |
95 |
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.9.3/work/build/gcc' |
96 |
Makefile:4257: recipe for target 'all-stage2-gcc' failed |
97 |
make[2]: *** [all-stage2-gcc] Error 2 |
98 |
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.9.3/work/build' |
99 |
Makefile:17945: recipe for target 'stage2-bubble' failed |
100 |
make[1]: *** [stage2-bubble] Error 2 |
101 |
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.9.3/work/build' |
102 |
Makefile:18159: recipe for target 'bootstrap-lean' failed |
103 |
make: *** [bootstrap-lean] Error 2 |
104 |
* ERROR: sys-devel/gcc-4.9.3::gentoo failed (compile phase): |
105 |
* emake failed |
106 |
* |
107 |
* If you need support, post the output of `emerge --info '=sys-devel/gcc-4.9.3::gentoo'`, |
108 |
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-4.9.3::gentoo'`. |
109 |
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.9.3/temp/build.log'. |
110 |
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.9.3/temp/environment'. |
111 |
* Working directory: '/var/tmp/portage/sys-devel/gcc-4.9.3/work/build' |
112 |
* S: '/var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3' |
113 |
* |
114 |
* Please include /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-build-logs.tar.bz2 in your bug report. |
115 |
* |
116 |
* Messages for package sys-apps/baselayout-2.2: |
117 |
* The following users have non-existent shells! |
118 |
* halt - /sbin/halt |
119 |
* shutdown - /sbin/shutdown |
120 |
* You should reboot the system now to get /run mounted with tmpfs! |
121 |
* Messages for package sys-libs/timezone-data-2016e: |
122 |
* You do not have TIMEZONE set in /etc/timezone. |
123 |
* Skipping auto-update of /etc/localtime. |
124 |
* Messages for package sys-apps/sysvinit-2.88-r7: |
125 |
* The last/lastb/mesg/mountpoint/sulogin/utmpdump/wall tools have been moved to |
126 |
* sys-apps/util-linux. The pidof tool has been moved to sys-process/procps. |
127 |
* Messages for package sys-apps/less-481: |
128 |
* lesspipe offers colorization options. Run 'lesspipe -h' for info. |
129 |
* Messages for package sys-apps/busybox-1.24.1: |
130 |
* Could not locate user configfile, so we will save a default one |
131 |
* Your configuration for sys-apps/busybox-1.24.1 has been saved in |
132 |
* /etc/portage/savedconfig/sys-apps/busybox-1.24.1 for your editing pleasure. |
133 |
* You can edit these files by hand and remerge this package with |
134 |
* USE=savedconfig to customise the configuration. |
135 |
* You can rename this file/directory to one of the following for |
136 |
* its configuration to apply to multiple versions: |
137 |
* ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/ |
138 |
* [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}] |
139 |
* Messages for package sys-apps/coreutils-8.23: |
140 |
* Make sure you run 'hash -r' in your active shells. |
141 |
* You should also re-source your shell settings for LS_COLORS |
142 |
* changes, such as: source /etc/profile |
143 |
* Messages for package sys-libs/glibc-2.22-r4: |
144 |
* Defaulting /etc/host.conf:multi to on |
145 |
* Generating all locales; edit /etc/locale.gen to save time/space |
146 |
* Messages for package sys-devel/gcc-4.9.3: |
147 |
* ERROR: sys-devel/gcc-4.9.3::gentoo failed (compile phase): |
148 |
* emake failed |
149 |
* |
150 |
* If you need support, post the output of `emerge --info '=sys-devel/gcc-4.9.3::gentoo'`, |
151 |
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-4.9.3::gentoo'`. |
152 |
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.9.3/temp/build.log'. |
153 |
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.9.3/temp/environment'. |
154 |
* Working directory: '/var/tmp/portage/sys-devel/gcc-4.9.3/work/build' |
155 |
* S: '/var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-4.9.3' |
156 |
* |
157 |
* Please include /var/tmp/portage/sys-devel/gcc-4.9.3/work/gcc-build-logs.tar.bz2 in your bug report. |
158 |
* |
159 |
|
160 |
|
161 |
|
162 |
|
163 |
|
164 |
|
165 |
|
166 |
|
167 |
|
168 |
|
169 |
|
170 |
|
171 |
|
172 |
|
173 |
|
174 |
|
175 |
|
176 |
!!! catalyst: run script failed. |
177 |
|
178 |
|
179 |
Traceback (most recent call last): |
180 |
File "modules/generic_stage_target.py", line 1244, in run_local |
181 |
"run script failed.",env=self.env) |
182 |
File "/usr/lib64/catalyst/modules/catalyst_support.py", line 541, in cmd |
183 |
raise CatalystError,myexc |
184 |
CatalystError |
185 |
None |
186 |
|
187 |
!!! catalyst: Stage build aborting due to error. |
188 |
|
189 |
Traceback (most recent call last): |
190 |
File "/usr/lib64/catalyst/catalyst", line 218, in build_target |
191 |
mytarget.run() |
192 |
File "modules/generic_stage_target.py", line 1304, in run |
193 |
apply(getattr(self,x)) |
194 |
File "modules/generic_stage_target.py", line 1249, in run_local |
195 |
raise CatalystError,"Stage build aborting due to error." |
196 |
CatalystError |
197 |
!!! catalyst: Error encountered during run of target stage3 |
198 |
Catalyst aborting.... |
199 |
lockfile does not exist '/var/tmp/catalyst/tmp/default/stage3-s390x-20160815/.catalyst_lock' |
200 |
Command exited with non-zero status 1 |
201 |
13836.93user 3785.90system 7:53:38elapsed 62%CPU (0avgtext+0avgdata 1776704maxresident)k |
202 |
0inputs+0outputs (1343major+868714161minor)pagefaults 0swaps |
203 |
|
204 |
|
205 |
|
206 |
Full build log at /tmp/catalyst-auto.20160815.kW3FMC/log/stage3.log |