1 |
setarch linux32 chroot /home/release/buildroot/x86-dev/tmp/hardened/livecd-stage1-x86-20151230 /tmp/livecd-stage1-chroot.sh |
2 |
>>> Regenerating /etc/ld.so.cache... |
3 |
emerge --quiet --usepkg --buildpkg --newuse --oneshot --update --newuse sys-apps/portage |
4 |
emerge --quiet --usepkg --buildpkg --newuse --update --deep --newuse app-accessibility/brltty app-admin/hddtemp app-admin/passook app-admin/pwgen app-admin/syslog-ng app-admin/sysstat app-admin/testdisk app-arch/bzip2 app-arch/cpio app-arch/dpkg app-arch/gzip app-arch/mt-st app-arch/p7zip app-arch/pbzip2 app-arch/rar app-arch/tar app-arch/unrar app-arch/unzip app-backup/duplicity app-benchmarks/bonnie app-benchmarks/bonnie++ app-benchmarks/dbench app-benchmarks/iozone app-benchmarks/piozone app-benchmarks/stress app-benchmarks/tiobench app-crypt/bcwipe app-crypt/gnupg app-crypt/pinentry app-editors/emacs app-editors/hexcurse app-editors/hexedit app-editors/mg app-editors/vim app-emacs/ebuild-mode app-emulation/cloud-init app-emulation/xen-tools app-misc/colordiff app-misc/mc app-misc/pax-utils app-misc/screen app-misc/tmux app-misc/vlock app-portage/eix app-portage/gentoolkit app-portage/mirrorselect app-portage/portage-utils app-shells/bash-completion app-shells/gentoo-bashcomp app- |
5 |
shells/zsh app-text/tree app-text/dos2unix app-text/wgetpaste app-vim/gentoo-syntax dev-lang/perl dev-lang/python dev-vcs/git media-gfx/fbgrab net-analyzer/gnu-netcat net-analyzer/iptraf-ng net-analyzer/netcat6 net-analyzer/tcptraceroute net-analyzer/traceroute net-analyzer/traceroute-nanog net-analyzer/tcpdump net-analyzer/nmap net-dialup/mingetty net-dialup/minicom net-dialup/pptpclient net-dialup/rp-pppoe net-dns/bind-tools net-fs/cifs-utils net-fs/nfs-utils net-ftp/ftp net-ftp/ncftp net-irc/irssi net-misc/curl net-misc/dhcpcd net-misc/iputils net-misc/ndisc6 net-misc/ntp net-misc/openssh net-misc/openvpn net-misc/rdate net-misc/rsync net-misc/telnet-bsd net-misc/vconfig net-misc/wget net-misc/whois net-proxy/dante net-proxy/ntlmaps net-proxy/tsocks net-wireless/b43-fwcutter net-wireless/iw net-wireless/rfkill net-wireless/wireless-tools net-wireless/wpa_supplicant sys-apps/apmd sys-apps/arrayprobe sys-apps/acl sys-apps/attr sys-apps/busybox sys-apps/cciss_vol_status sys-apps/chn |
6 |
ame sys-apps/coreutils sys-apps/dcfldd sys-apps/diffutils sys-apps/dmidecode sys-apps/dstat sys-apps/ethtool sys-apps/file sys-apps/findutils sys-apps/flashrom sys-apps/fxload sys-apps/gawk sys-apps/gptfdisk sys-apps/grep sys-apps/hdparm sys-apps/hwsetup sys-apps/ipmitool sys-apps/iproute2 sys-apps/less sys-apps/man sys-apps/man-pages sys-apps/man-pages-posix sys-apps/memtester sys-apps/mlocate sys-apps/netplug sys-apps/pciutils sys-apps/sdparm sys-apps/sed sys-apps/setserial sys-apps/sg3_utils sys-apps/smartmontools sys-apps/usbutils sys-apps/which sys-apps/x86info sys-block/aoetools sys-block/fio sys-block/mtx sys-block/open-iscsi sys-block/parted sys-block/partimage sys-block/tw_cli sys-boot/grub sys-fs/btrfs-progs sys-fs/cryptsetup sys-fs/ddrescue sys-fs/dmraid sys-fs/dosfstools sys-fs/e2fsprogs sys-fs/ext3grep sys-fs/extundelete sys-fs/f2fs-tools sys-fs/jfsutils sys-fs/lsscsi sys-fs/lvm2 sys-fs/mac-fdisk sys-fs/mdadm sys-fs/multipath-tools sys-fs/ntfs3g sys-fs/reiserfsprogs sys |
7 |
-fs/xfsprogs sys-libs/gpm sys-libs/libsmbios sys-power/acpid sys-process/htop sys-process/lsof sys-process/iotop sys-process/procps sys-process/psmisc www-client/links app-misc/livecd-tools |
8 |
>>> Recording app-arch/unzip in "world" favorites file... |
9 |
>>> Recording app-misc/pax-utils in "world" favorites file... |
10 |
>>> Recording app-portage/portage-utils in "world" favorites file... |
11 |
>>> Recording dev-lang/perl in "world" favorites file... |
12 |
>>> Recording dev-lang/python in "world" favorites file... |
13 |
>>> Recording dev-lang/python:2.7 in "world" favorites file... |
14 |
>>> Recording net-misc/openssh in "world" favorites file... |
15 |
>>> Recording sys-apps/man-pages-posix in "world" favorites file... |
16 |
>>> Verifying ebuild manifests |
17 |
>>> Running pre-merge checks for sys-power/acpid-2.0.23 |
18 |
* Determining the location of the kernel source code |
19 |
* Unable to find kernel sources at /usr/src/linux |
20 |
* Please make sure that /usr/src/linux points at your running kernel, |
21 |
* (or the kernel you wish to build against). |
22 |
* Alternatively, set the KERNEL_DIR environment variable to the kernel sources location |
23 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
24 |
* Checking for suitable kernel configuration options... |
25 |
[ ok ] |
26 |
>>> Running pre-merge checks for sys-boot/grub-2.02_beta2-r8 |
27 |
* To avoid automounting and auto(un)installing with /boot, |
28 |
* just export the DONT_MOUNT_BOOT variable. |
29 |
|
30 |
* Assuming you do not have a separate /boot partition. |
31 |
>>> Running pre-merge checks for net-fs/samba-3.6.25 |
32 |
>>> Emerging (1 of 334) sys-libs/zlib-1.2.8-r1::gentoo |
33 |
>>> Failed to emerge sys-libs/zlib-1.2.8-r1, Log file: |
34 |
>>> '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/temp/build.log' |
35 |
* Package: sys-libs/zlib-1.2.8-r1 |
36 |
* Repository: gentoo |
37 |
* Maintainer: base-system@g.o |
38 |
* USE: abi_x86_32 elibc_glibc kernel_linux pie ssp static-libs userland_GNU x86 |
39 |
* FEATURES: preserve-libs sandbox userpriv usersandbox |
40 |
* Will copy sources from /var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8 |
41 |
* abi_x86_32.x86: copying to /var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8-abi_x86_32.x86 |
42 |
* abi_x86_32.x86: running multilib-minimal_abi_src_configure |
43 |
./configure --shared --prefix=/usr --libdir=/usr/lib --uname=linux |
44 |
Using ar |
45 |
Checking for i386-pc-linux-gnu-gcc... |
46 |
Checking for shared library support... |
47 |
Building shared library libz.so.1.2.8 with cc. |
48 |
Checking for off64_t... Yes. |
49 |
Checking for fseeko... Yes. |
50 |
Checking for strerror... Yes. |
51 |
Checking for unistd.h... Yes. |
52 |
Checking for stdarg.h... Yes. |
53 |
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). |
54 |
Checking for vsnprintf() in stdio.h... Yes. |
55 |
Checking for return value of vsnprintf()... Yes. |
56 |
* abi_x86_32.x86: running multilib-minimal_abi_src_compile |
57 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -I. -c -o example.o test/example.c |
58 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o trees.o trees.c |
59 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o zutil.o zutil.c |
60 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o compress.o compress.c |
61 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o uncompr.o uncompr.c |
62 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o gzclose.o gzclose.c |
63 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o gzlib.o gzlib.c |
64 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o gzread.o gzread.c |
65 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o gzwrite.o gzwrite.c |
66 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -I. -c -o minigzip.o test/minigzip.c |
67 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/adler32.o adler32.c |
68 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/crc32.o crc32.c |
69 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/deflate.o deflate.c |
70 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/infback.o infback.c |
71 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/inffast.o inffast.c |
72 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/inflate.o inflate.c |
73 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/inftrees.o inftrees.c |
74 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/trees.o trees.c |
75 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/zutil.o zutil.c |
76 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/compress.o compress.c |
77 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/uncompr.o uncompr.c |
78 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/gzclose.o gzclose.c |
79 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/gzlib.o gzlib.c |
80 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/gzread.o gzread.c |
81 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -DPIC -c -o objs/gzwrite.o gzwrite.c |
82 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c |
83 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c |
84 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o inftrees.o inftrees.c |
85 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o inflate.o inflate.c |
86 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o inffast.o inffast.c |
87 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o infback.o infback.c |
88 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o deflate.o deflate.c |
89 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o crc32.o crc32.c |
90 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -c -o adler32.o adler32.c |
91 |
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o |
92 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -o example example.o -L. libz.a |
93 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -o minigzip64 minigzip64.o -L. libz.a |
94 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -o example64 example64.o -L. libz.a |
95 |
cc -shared -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -o libz.so.1.2.8 adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo zutil.lo compress.lo uncompr.lo gzclose.lo gzlib.lo gzread.lo gzwrite.lo -lc -Wl,-O1 -Wl,--as-needed |
96 |
/usr/lib/gcc/i686-pc-linux-gnu/4.9.3/../../../../i686-pc-linux-gnu/bin/ld: gzwrite.lo: warning: relocation against `gzvprintf' in readonly section `.text'. |
97 |
/usr/lib/gcc/i686-pc-linux-gnu/4.9.3/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. |
98 |
rm -f libz.so libz.so.1 |
99 |
ln -s libz.so.1.2.8 libz.so |
100 |
ln -s libz.so.1.2.8 libz.so.1 |
101 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -o minigzip minigzip.o -L. libz.a |
102 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -o minigzipsh minigzip.o -L. libz.so.1.2.8 |
103 |
cc -O2 -march=i686 -pipe -D_LARGEFILE64_SOURCE=1 -o examplesh example.o -L. libz.so.1.2.8 |
104 |
* abi_x86_32.x86: running multilib-minimal_abi_src_install |
105 |
cp libz.a /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/lib |
106 |
chmod 644 /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/lib/libz.a |
107 |
cp libz.so.1.2.8 /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/lib |
108 |
chmod 755 /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/lib/libz.so.1.2.8 |
109 |
cp zlib.3 /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/share/man/man3 |
110 |
chmod 644 /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/share/man/man3/zlib.3 |
111 |
cp zlib.pc /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/lib/pkgconfig |
112 |
chmod 644 /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/lib/pkgconfig/zlib.pc |
113 |
cp zlib.h zconf.h /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/include |
114 |
chmod 644 /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/include/zlib.h /var/tmp/portage/sys-libs/zlib-1.2.8-r1/image//usr/include/zconf.h |
115 |
* ERROR: sys-libs/zlib-1.2.8-r1::gentoo failed (install phase): |
116 |
* unable to read SONAME from libz.so |
117 |
* |
118 |
* Call stack: |
119 |
* ebuild.sh, line 90: Called src_install |
120 |
* environment, line 3226: Called multilib-minimal_src_install |
121 |
* environment, line 2501: Called multilib_foreach_abi 'multilib-minimal_abi_src_install' |
122 |
* environment, line 2695: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' |
123 |
* environment, line 2388: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' |
124 |
* environment, line 2386: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install' |
125 |
* environment, line 537: Called multilib-minimal_abi_src_install |
126 |
* environment, line 2491: Called multilib_src_install |
127 |
* environment, line 2944: Called gen_usr_ldscript '-a' 'z' |
128 |
* environment, line 1813: Called die |
129 |
* The specific snippet of code: |
130 |
* [[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}"; |
131 |
* |
132 |
* If you need support, post the output of `emerge --info '=sys-libs/zlib-1.2.8-r1::gentoo'`, |
133 |
* the complete build log and the output of `emerge -pqv '=sys-libs/zlib-1.2.8-r1::gentoo'`. |
134 |
* The complete build log is located at '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/temp/build.log'. |
135 |
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/temp/environment'. |
136 |
* Working directory: '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8-abi_x86_32.x86' |
137 |
* S: '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8' |
138 |
* Messages for package sys-power/acpid-2.0.23: |
139 |
* Unable to find kernel sources at /usr/src/linux |
140 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
141 |
* Messages for package sys-boot/grub-2.02_beta2-r8: |
142 |
* To avoid automounting and auto(un)installing with /boot, |
143 |
* just export the DONT_MOUNT_BOOT variable. |
144 |
* Messages for package sys-libs/zlib-1.2.8-r1: |
145 |
* ERROR: sys-libs/zlib-1.2.8-r1::gentoo failed (install phase): |
146 |
* unable to read SONAME from libz.so |
147 |
* |
148 |
* Call stack: |
149 |
* ebuild.sh, line 90: Called src_install |
150 |
* environment, line 3226: Called multilib-minimal_src_install |
151 |
* environment, line 2501: Called multilib_foreach_abi 'multilib-minimal_abi_src_install' |
152 |
* environment, line 2695: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' |
153 |
* environment, line 2388: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install' |
154 |
* environment, line 2386: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install' |
155 |
* environment, line 537: Called multilib-minimal_abi_src_install |
156 |
* environment, line 2491: Called multilib_src_install |
157 |
* environment, line 2944: Called gen_usr_ldscript '-a' 'z' |
158 |
* environment, line 1813: Called die |
159 |
* The specific snippet of code: |
160 |
* [[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}"; |
161 |
* |
162 |
* If you need support, post the output of `emerge --info '=sys-libs/zlib-1.2.8-r1::gentoo'`, |
163 |
* the complete build log and the output of `emerge -pqv '=sys-libs/zlib-1.2.8-r1::gentoo'`. |
164 |
* The complete build log is located at '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/temp/build.log'. |
165 |
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/temp/environment'. |
166 |
* Working directory: '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8-abi_x86_32.x86' |
167 |
* S: '/var/tmp/portage/sys-libs/zlib-1.2.8-r1/work/zlib-1.2.8' |
168 |
|
169 |
|
170 |
|
171 |
|
172 |
|
173 |
|
174 |
31 Dec 2015 00:30:28 UTC: ERROR : CatalystError: cmd() NON-zero return value from: Error in attempt to build packages |
175 |
umount: /home/release/buildroot/x86-dev/tmp/hardened/livecd-stage1-x86-20151230/usr/portage/distfiles: target is busy |
176 |
(In some cases useful info about processes that |
177 |
use the device is found by lsof(8) or fuser(1).) |
178 |
31 Dec 2015 00:30:28 UTC: WARNING : First attempt to unmount failed: /home/release/buildroot/x86-dev/tmp/hardened/livecd-stage1-x86-20151230/usr/portage/distfiles |
179 |
31 Dec 2015 00:30:28 UTC: WARNING : Killing any pids still running in the chroot |
180 |
umount: /home/release/buildroot/x86-dev/tmp/hardened/livecd-stage1-x86-20151230/usr/portage/distfiles: target is busy |
181 |
(In some cases useful info about processes that |
182 |
use the device is found by lsof(8) or fuser(1).) |
183 |
31 Dec 2015 00:30:28 UTC: WARNING : Couldn't umount bind mount: /home/release/buildroot/x86-dev/tmp/hardened/livecd-stage1-x86-20151230/usr/portage/distfiles |
184 |
umount: /home/release/buildroot/x86-dev/tmp/hardened/livecd-stage1-x86-20151230/dev: target is busy |
185 |
(In some cases useful info about processes that |
186 |
use the device is found by lsof(8) or fuser(1).) |
187 |
31 Dec 2015 00:30:28 UTC: WARNING : First attempt to unmount failed: /home/release/buildroot/x86-dev/tmp/hardened/livecd-stage1-x86-20151230/dev |
188 |
31 Dec 2015 00:30:28 UTC: WARNING : Killing any pids still running in the chroot |
189 |
umount: /home/release/buildroot/x86-dev/tmp/hardened/livecd-stage1-x86-20151230/dev: target is busy |
190 |
(In some cases useful info about processes that |
191 |
use the device is found by lsof(8) or fuser(1).) |
192 |
31 Dec 2015 00:30:28 UTC: WARNING : Couldn't umount bind mount: /home/release/buildroot/x86-dev/tmp/hardened/livecd-stage1-x86-20151230/dev |
193 |
31 Dec 2015 00:30:28 UTC: ERROR : CatalystError: Couldn't umount one or more bind-mounts; aborting for safety. |
194 |
31 Dec 2015 00:30:28 UTC: ERROR : Exception running action sequence build_packages |
195 |
Traceback (most recent call last): |
196 |
File "/usr/lib64/python2.7/site-packages/catalyst/base/stagebase.py", line 1413, in run |
197 |
getattr(self, x)() |
198 |
File "/usr/lib64/python2.7/site-packages/catalyst/base/stagebase.py", line 1522, in build_packages |
199 |
self.unbind() |
200 |
File "/usr/lib64/python2.7/site-packages/catalyst/base/stagebase.py", line 1012, in unbind |
201 |
"Couldn't umount one or more bind-mounts; aborting for safety.") |
202 |
CatalystError |
203 |
31 Dec 2015 00:30:28 UTC: NOTICE : Cleaning up... Running unbind() |
204 |
|
205 |
|
206 |
|
207 |
Full build log at /home/release/tmp/run/catalyst-auto.u2xuPK/log/hardened_admincd-stage1.log |