1 |
*** Running command: time catalyst -a -c /etc/catalyst/release/amd64-auto.conf -f hardened/stage2-selinux.spec |
2 |
16 Jul 2019 08:24:13 UTC: NOTICE : Loading configuration file: /etc/catalyst/release/amd64-auto.conf |
3 |
16 Jul 2019 08:24:13 UTC: NOTICE : conf_values[options] = {'preserve_libs', 'autoresume', 'bindist', 'seedcache', 'clear-autoresume', 'snapcache', 'pkgcache'} |
4 |
16 Jul 2019 08:24:13 UTC: NOTICE : Processing spec file: hardened/stage2-selinux.spec |
5 |
16 Jul 2019 08:24:13 UTC: NOTICE : Using target: stage2 |
6 |
16 Jul 2019 08:24:13 UTC: NOTICE : Source file specification matching setting is: loose |
7 |
16 Jul 2019 08:24:13 UTC: NOTICE : Accepted source file extensions search order: ['tar', 'tar.xz', 'tpxz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'tar.gz', 'gz'] |
8 |
16 Jul 2019 08:24:14 UTC: NOTICE : Source path set to /release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux-20190715T232030Z/ |
9 |
16 Jul 2019 08:24:14 UTC: NOTICE : Removing AutoResume Points ... |
10 |
16 Jul 2019 08:24:14 UTC: NOTICE : Emptying directory: /release/buildroot/amd64-dev/tmp/hardened/.autoresume-stage2-amd64-hardened-selinux-20190715T232030Z |
11 |
16 Jul 2019 08:24:14 UTC: NOTICE : --- Running action sequence: unpack |
12 |
16 Jul 2019 08:24:14 UTC: NOTICE : Resume: "seed source" unpack resume point is disabled |
13 |
16 Jul 2019 08:24:14 UTC: NOTICE : Resume: Target chroot is invalid, cleaning up... |
14 |
16 Jul 2019 08:24:14 UTC: NOTICE : Removing AutoResume Points ... |
15 |
16 Jul 2019 08:24:14 UTC: NOTICE : Emptying directory: /release/buildroot/amd64-dev/tmp/hardened/.autoresume-stage2-amd64-hardened-selinux-20190715T232030Z |
16 |
16 Jul 2019 08:24:14 UTC: NOTICE : Clearing the chroot path ... |
17 |
16 Jul 2019 08:24:14 UTC: NOTICE : Emptying directory: /release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190715T232030Z |
18 |
16 Jul 2019 08:24:14 UTC: NOTICE : Starting rsync from /release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux-20190715T232030Z/ |
19 |
16 Jul 2019 08:24:14 UTC: NOTICE : to /release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190715T232030Z (this may take some time) .. |
20 |
16 Jul 2019 08:24:17 UTC: NOTICE : --- Running action sequence: unpack_snapshot |
21 |
16 Jul 2019 08:24:17 UTC: NOTICE : --- Running action sequence: setup_confdir |
22 |
16 Jul 2019 08:24:17 UTC: NOTICE : --- Running action sequence: portage_overlay |
23 |
16 Jul 2019 08:24:17 UTC: NOTICE : --- Running action sequence: base_dirs |
24 |
16 Jul 2019 08:24:17 UTC: NOTICE : --- Running action sequence: bind |
25 |
16 Jul 2019 08:24:17 UTC: NOTICE : --- Running action sequence: chroot_setup |
26 |
16 Jul 2019 08:24:17 UTC: NOTICE : Setting up chroot... |
27 |
16 Jul 2019 08:24:17 UTC: WARNING : Overriding certain env variables may cause catastrophic failure. |
28 |
16 Jul 2019 08:24:17 UTC: WARNING : If your build fails look here first as the possible problem. |
29 |
16 Jul 2019 08:24:17 UTC: WARNING : Catalyst assumes you know what you are doing when setting these variables. |
30 |
16 Jul 2019 08:24:17 UTC: WARNING : Catalyst Maintainers use VERY minimal envscripts, if used at all. |
31 |
16 Jul 2019 08:24:17 UTC: WARNING : You have been warned. |
32 |
16 Jul 2019 08:24:17 UTC: NOTICE : Writing the stage make.conf to: /release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190715T232030Z/etc/portage/make.conf |
33 |
16 Jul 2019 08:24:17 UTC: NOTICE : STICKY-CONFIG is enabled |
34 |
16 Jul 2019 08:24:17 UTC: NOTICE : --- Running action sequence: setup_environment |
35 |
16 Jul 2019 08:24:17 UTC: NOTICE : --- Running action sequence: run_local |
36 |
Copying stage2-chroot.sh to /tmp |
37 |
copying stage2-chroot.sh to /release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190715T232030Z/tmp |
38 |
copying chroot-functions.sh to /release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190715T232030Z/tmp |
39 |
Ensure the file has the executable bit set |
40 |
Running stage2-chroot.sh in chroot: |
41 |
chroot /release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190715T232030Z /tmp/stage2-chroot.sh |
42 |
>>> Regenerating /etc/ld.so.cache... |
43 |
|
44 |
(B[m[1m[32mGentoo Linux; (B[m[1m[34mhttp://www.gentoo.org/(B[m |
45 |
Copyright 1999-$ Gentoo Foundation; Distributed under the GPLv2 |
46 |
------------------------------------------------------------------------------- |
47 |
[[ (0/3) Locating packages ]] |
48 |
(B[m[1m[32m*(B[m Using baselayout : >=sys-apps/baselayout-2 |
49 |
(B[m[1m[32m*(B[m Using portage : portage |
50 |
(B[m[1m[32m*(B[m Using os-headers : >=sys-kernel/linux-headers-4.14-r1 |
51 |
(B[m[1m[32m*(B[m Using binutils : sys-devel/binutils |
52 |
(B[m[1m[32m*(B[m Using gcc : sys-devel/gcc |
53 |
(B[m[1m[32m*(B[m Using gettext : gettext |
54 |
(B[m[1m[32m*(B[m Using libc : virtual/libc |
55 |
(B[m[1m[32m*(B[m Using texinfo : sys-apps/texinfo |
56 |
(B[m[1m[32m*(B[m Using zlib : zlib |
57 |
(B[m[1m[32m*(B[m Using ncurses : ncurses |
58 |
------------------------------------------------------------------------------- |
59 |
[[ (1/3) Configuring environment ]] |
60 |
------------------------------------------------------------------------------- |
61 |
[[ (2/3) Updating portage ]] |
62 |
|
63 |
Performing Global Updates |
64 |
(Could take a couple of minutes if you have a lot of binary packages.) |
65 |
|
66 |
|
67 |
>>> Verifying ebuild manifests |
68 |
>>> Running pre-merge checks for sys-apps/portage-2.3.66-r1 |
69 |
* Determining the location of the kernel source code |
70 |
* Unable to find kernel sources at /usr/src/linux |
71 |
* Please make sure that /usr/src/linux points at your running kernel, |
72 |
* (or the kernel you wish to build against). |
73 |
* Alternatively, set the KERNEL_DIR environment variable to the kernel sources location |
74 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
75 |
* Checking for suitable kernel configuration options... |
76 |
[ ok ] |
77 |
>>> Emerging (1 of 1) sys-apps/portage-2.3.66-r1::gentoo |
78 |
>>> Installing (1 of 1) sys-apps/portage-2.3.66-r1::gentoo |
79 |
* Messages for package sys-apps/portage-2.3.66-r1: |
80 |
* Unable to find kernel sources at /usr/src/linux |
81 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
82 |
* Messages for package sys-apps/portage-2.3.66-r1: |
83 |
* Could not find a UTF-8 locale. This may trigger build failures in |
84 |
* some python packages. Please ensure that a UTF-8 locale is listed in |
85 |
* /etc/locale.gen and run locale-gen. |
86 |
|
87 |
|
88 |
|
89 |
|
90 |
------------------------------------------------------------------------------- |
91 |
[[ (3/3) Emerging packages ]] |
92 |
>>> Running pre-merge checks for sys-devel/gcc-8.3.0-r1 |
93 |
>>> Emerging binary (1 of 12) sys-libs/zlib-1.2.11-r2::gentoo |
94 |
>>> Installing (1 of 12) sys-libs/zlib-1.2.11-r2::gentoo |
95 |
>>> Emerging binary (2 of 12) sys-apps/baselayout-2.6-r1::gentoo |
96 |
>>> Failed to emerge sys-apps/baselayout-2.6-r1 |
97 |
* Messages for package sys-apps/baselayout-2.6-r1: |
98 |
* Converting /lib from a dir to a symlink |
99 |
* ERROR: sys-apps/baselayout-2.6-r1::gentoo failed (setup phase): |
100 |
* non-empty dir found where we needed a symlink: /lib |
101 |
* |
102 |
* Call stack: |
103 |
* ebuild.sh, line 124: Called pkg_setup |
104 |
* environment, line 1458: Called multilib_layout |
105 |
* environment, line 1289: Called die |
106 |
* The specific snippet of code: |
107 |
* die "non-empty dir found where we needed a symlink: ${prefix}lib"; |
108 |
* |
109 |
* If you need support, post the output of `emerge --info '=sys-apps/baselayout-2.6-r1::gentoo'`, |
110 |
* the complete build log and the output of `emerge -pqv '=sys-apps/baselayout-2.6-r1::gentoo'`. |
111 |
* The complete build log is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/build.log'. |
112 |
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/environment'. |
113 |
* Working directory: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/homedir' |
114 |
* S: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/work/baselayout-2.6' |
115 |
|
116 |
|
117 |
16 Jul 2019 08:25:19 UTC: ERROR : CatalystError: cmd(['/usr/share/catalyst/targets/stage2/stage2-controller.sh', 'run']) exited 1 |
118 |
16 Jul 2019 08:25:19 UTC: ERROR : CatalystError: Stage build aborting due to error. |
119 |
16 Jul 2019 08:25:19 UTC: ERROR : Exception running action sequence run_local |
120 |
Traceback (most recent call last): |
121 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1360, in run_local |
122 |
env=self.env) |
123 |
File "/usr/lib64/python3.6/site-packages/catalyst/support.py", line 54, in cmd |
124 |
print_traceback=False) |
125 |
catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/stage2/stage2-controller.sh', 'run']) exited 1 |
126 |
|
127 |
During handling of the above exception, another exception occurred: |
128 |
|
129 |
Traceback (most recent call last): |
130 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1465, in run |
131 |
getattr(self, x)() |
132 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1369, in run_local |
133 |
print_traceback=False) |
134 |
catalyst.support.CatalystError: Stage build aborting due to error. |
135 |
16 Jul 2019 08:25:19 UTC: NOTICE : Cleaning up... Running unbind() |
136 |
Command exited with non-zero status 2 |
137 |
49.29user 18.97system 1:05.94elapsed 103%CPU (0avgtext+0avgdata 54180maxresident)k |
138 |
161496inputs+1397104outputs (1major+2167671minor)pagefaults 0swaps |
139 |
|
140 |
|
141 |
|
142 |
Full build log at /release/tmp/run/catalyst-auto.20190715T232030Z.3BPwpf/log/hardened_stage2-selinux.log |