1 |
*** Running command: time catalyst -a -c /etc/catalyst/release/amd64-auto.conf -f hardened/stage4-nomultilib-minimal.spec |
2 |
27 May 2019 14:04:01 UTC: NOTICE : Loading configuration file: /etc/catalyst/release/amd64-auto.conf |
3 |
27 May 2019 14:04:01 UTC: NOTICE : conf_values[options] = {'clear-autoresume', 'pkgcache', 'bindist', 'preserve_libs'} |
4 |
27 May 2019 14:04:01 UTC: NOTICE : Processing spec file: hardened/stage4-nomultilib-minimal.spec |
5 |
27 May 2019 14:04:01 UTC: NOTICE : Using target: stage4 |
6 |
27 May 2019 14:04:01 UTC: NOTICE : Source file specification matching setting is: loose |
7 |
27 May 2019 14:04:01 UTC: NOTICE : Accepted source file extensions search order: ['tar.xz', 'tpxz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'squashfs', 'sfs', 'tar.gz', 'gz', 'tar'] |
8 |
27 May 2019 14:04:02 UTC: NOTICE : Source path set to /home/release/buildroot/amd64-dev/builds/hardened/stage3-amd64-hardened+nomultilib-latest.tar.xz |
9 |
27 May 2019 14:04:02 UTC: NOTICE : --- Running action sequence: unpack |
10 |
27 May 2019 14:04:02 UTC: NOTICE : Clearing the chroot path ... |
11 |
27 May 2019 14:04:02 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z |
12 |
27 May 2019 14:04:02 UTC: NOTICE : Starting auto from /home/release/buildroot/amd64-dev/builds/hardened/stage3-amd64-hardened+nomultilib-latest.tar.xz |
13 |
27 May 2019 14:04:02 UTC: NOTICE : to /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z (this may take some time) .. |
14 |
27 May 2019 14:04:05 UTC: NOTICE : --- Running action sequence: unpack_snapshot |
15 |
27 May 2019 14:04:05 UTC: NOTICE : Unpacking portage tree (this can take a long time) ... |
16 |
27 May 2019 14:04:15 UTC: NOTICE : --- Running action sequence: config_profile_link |
17 |
27 May 2019 14:04:15 UTC: NOTICE : --- Running action sequence: setup_confdir |
18 |
27 May 2019 14:04:15 UTC: NOTICE : --- Running action sequence: portage_overlay |
19 |
27 May 2019 14:04:15 UTC: NOTICE : --- Running action sequence: bind |
20 |
27 May 2019 14:04:15 UTC: NOTICE : --- Running action sequence: chroot_setup |
21 |
27 May 2019 14:04:15 UTC: NOTICE : Setting up chroot... |
22 |
27 May 2019 14:04:15 UTC: WARNING : Overriding certain env variables may cause catastrophic failure. |
23 |
27 May 2019 14:04:15 UTC: WARNING : If your build fails look here first as the possible problem. |
24 |
27 May 2019 14:04:15 UTC: WARNING : Catalyst assumes you know what you are doing when setting these variables. |
25 |
27 May 2019 14:04:15 UTC: WARNING : Catalyst Maintainers use VERY minimal envscripts, if used at all. |
26 |
27 May 2019 14:04:15 UTC: WARNING : You have been warned. |
27 |
27 May 2019 14:04:15 UTC: NOTICE : Writing the stage make.conf to: /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z/etc/portage/make.conf |
28 |
27 May 2019 14:04:15 UTC: NOTICE : STICKY-CONFIG is enabled |
29 |
27 May 2019 14:04:15 UTC: NOTICE : --- Running action sequence: setup_environment |
30 |
27 May 2019 14:04:15 UTC: NOTICE : --- Running action sequence: build_packages |
31 |
Copying stage4-chroot.sh to /tmp |
32 |
copying stage4-chroot.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z/tmp |
33 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z/tmp |
34 |
Ensure the file has the executable bit set |
35 |
Running stage4-chroot.sh in chroot: |
36 |
chroot /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z /tmp/stage4-chroot.sh |
37 |
>>> Regenerating /etc/ld.so.cache... |
38 |
emerge --quiet --usepkg --buildpkg --binpkg-respect-use=y --newuse --oneshot --update --newuse sys-apps/portage |
39 |
>>> Running pre-merge checks for sys-apps/portage-2.3.66-r1 |
40 |
* Determining the location of the kernel source code |
41 |
* Unable to find kernel sources at /usr/src/linux |
42 |
* Please make sure that /usr/src/linux points at your running kernel, |
43 |
* (or the kernel you wish to build against). |
44 |
* Alternatively, set the KERNEL_DIR environment variable to the kernel sources location |
45 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
46 |
* Checking for suitable kernel configuration options... |
47 |
[ ok ] |
48 |
>>> Emerging binary (1 of 1) sys-apps/portage-2.3.66-r1::gentoo |
49 |
>>> Installing (1 of 1) sys-apps/portage-2.3.66-r1::gentoo |
50 |
* Messages for package sys-apps/portage-2.3.66-r1: |
51 |
* Unable to find kernel sources at /usr/src/linux |
52 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
53 |
|
54 |
|
55 |
Bringing system up to date using profile specific use flags |
56 |
emerge --quiet --usepkg --buildpkg --binpkg-respect-use=y --newuse -u @system |
57 |
>>> Emerging binary (1 of 3) sys-apps/busybox-1.29.3::gentoo |
58 |
>>> Installing (1 of 3) sys-apps/busybox-1.29.3::gentoo |
59 |
>>> Emerging binary (2 of 3) net-misc/iputils-20180629::gentoo |
60 |
>>> Installing (2 of 3) net-misc/iputils-20180629::gentoo |
61 |
>>> Emerging binary (3 of 3) sys-apps/util-linux-2.33-r1::gentoo |
62 |
>>> Installing (3 of 3) sys-apps/util-linux-2.33-r1::gentoo |
63 |
* Messages for package net-misc/iputils-20180629: |
64 |
* Could not find cap utils; make sure libcap or libcap-ng is available. |
65 |
* Messages for package sys-apps/util-linux-2.33-r1: |
66 |
* The mesg/wall/write tools have been disabled due to USE=-tty-helpers. |
67 |
|
68 |
|
69 |
|
70 |
|
71 |
Emerging packages using stage4 use flags |
72 |
emerge --quiet --usepkg --buildpkg --binpkg-respect-use=y --newuse net-misc/dhcp net-misc/iputils sys-boot/grub sys-apps/gptfdisk sys-apps/iproute2 sys-devel/bc sys-power/acpid app-crypt/gentoo-keys |
73 |
>>> Running pre-merge checks for sys-power/acpid-2.0.31 |
74 |
* Determining the location of the kernel source code |
75 |
* Unable to find kernel sources at /usr/src/linux |
76 |
* Please make sure that /usr/src/linux points at your running kernel, |
77 |
* (or the kernel you wish to build against). |
78 |
* Alternatively, set the KERNEL_DIR environment variable to the kernel sources location |
79 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
80 |
* Checking for suitable kernel configuration options... |
81 |
[ ok ] |
82 |
>>> Emerging binary (1 of 10) sys-power/acpid-2.0.31::gentoo |
83 |
>>> Installing (1 of 10) sys-power/acpid-2.0.31::gentoo |
84 |
>>> Recording sys-power/acpid in "world" favorites file... |
85 |
>>> Emerging binary (2 of 10) app-crypt/gentoo-keys-201901130136::gentoo |
86 |
>>> Installing (2 of 10) app-crypt/gentoo-keys-201901130136::gentoo |
87 |
>>> Recording app-crypt/gentoo-keys in "world" favorites file... |
88 |
>>> Emerging binary (3 of 10) sys-libs/efivar-37::gentoo |
89 |
>>> Installing (3 of 10) sys-libs/efivar-37::gentoo |
90 |
>>> Emerging binary (4 of 10) virtual/libudev-232::gentoo |
91 |
>>> Installing (4 of 10) virtual/libudev-232::gentoo |
92 |
>>> Emerging binary (5 of 10) net-misc/dhcp-4.4.1::gentoo |
93 |
>>> Installing (5 of 10) net-misc/dhcp-4.4.1::gentoo |
94 |
>>> Recording net-misc/dhcp in "world" favorites file... |
95 |
>>> Emerging binary (6 of 10) sys-apps/gptfdisk-1.0.3::gentoo |
96 |
>>> Installing (6 of 10) sys-apps/gptfdisk-1.0.3::gentoo |
97 |
>>> Recording sys-apps/gptfdisk in "world" favorites file... |
98 |
>>> Emerging binary (7 of 10) sys-devel/bc-1.06.95-r2::gentoo |
99 |
>>> Installing (7 of 10) sys-devel/bc-1.06.95-r2::gentoo |
100 |
>>> Recording sys-devel/bc in "world" favorites file... |
101 |
>>> Emerging binary (8 of 10) sys-apps/pciutils-3.5.6::gentoo |
102 |
>>> Installing (8 of 10) sys-apps/pciutils-3.5.6::gentoo |
103 |
>>> Emerging binary (9 of 10) sys-boot/efibootmgr-16::gentoo |
104 |
>>> Installing (9 of 10) sys-boot/efibootmgr-16::gentoo |
105 |
>>> Emerging binary (10 of 10) sys-boot/grub-2.02-r3::gentoo |
106 |
>>> Installing (10 of 10) sys-boot/grub-2.02-r3::gentoo |
107 |
>>> Recording sys-boot/grub in "world" favorites file... |
108 |
* Messages for package sys-power/acpid-2.0.31: |
109 |
* Unable to find kernel sources at /usr/src/linux |
110 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
111 |
* Messages for package sys-power/acpid-2.0.31: |
112 |
* |
113 |
* You may wish to read the Gentoo Linux Power Management Guide, |
114 |
* which can be found online at: |
115 |
* https://wiki.gentoo.org/wiki/Power_management/Guide |
116 |
* |
117 |
* You should reboot the system now to get /run mounted with tmpfs! |
118 |
* Messages for package sys-boot/grub-2.02-r3: |
119 |
* For information on how to configure GRUB2 please refer to the guide: |
120 |
* https://wiki.gentoo.org/wiki/GRUB2_Quick_Start |
121 |
* |
122 |
* You may consider installing the following optional packages: |
123 |
* sys-boot/os-prober for Detect other operating systems (grub-mkconfig) |
124 |
* dev-libs/libisoburn for Create rescue media (grub-mkrescue) |
125 |
* sys-fs/mdadm for Enable RAID device detection |
126 |
|
127 |
|
128 |
|
129 |
|
130 |
|
131 |
|
132 |
removing /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z/tmp/stage4-chroot.sh from the chroot |
133 |
removing /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z/tmp/chroot-functions.sh from the chroot |
134 |
27 May 2019 14:05:45 UTC: NOTICE : --- Running action sequence: build_kernel |
135 |
Copying pre-kmerge.sh to /tmp |
136 |
copying pre-kmerge.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z/tmp |
137 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z/tmp |
138 |
Ensure the file has the executable bit set |
139 |
Running pre-kmerge.sh in chroot: |
140 |
chroot /home/release/buildroot/amd64-dev/tmp/hardened/stage4-amd64-hardened+minimal-nomultilib-20190527T030004Z /tmp/pre-kmerge.sh |
141 |
>>> Regenerating /etc/ld.so.cache... |
142 |
emerge --quiet --usepkg --buildpkg --binpkg-respect-use=y --newuse --oneshot genkernel |
143 |
[binary N ] app-arch/cpio-2.12-r1 |
144 |
[binary N ] sys-kernel/linux-firmware-20190514 |
145 |
[binary N ] sys-kernel/genkernel-3.5.3.3 |
146 |
|
147 |
The following license changes are necessary to proceed: |
148 |
(see "package.license" in the portage(5) man page for more details) |
149 |
# required by sys-kernel/genkernel-3.5.3.3::gentoo |
150 |
# required by genkernel (argument) |
151 |
=sys-kernel/linux-firmware-20190514 linux-fw-redistributable no-source-code |
152 |
|
153 |
Use --autounmask-write to write changes to config files (honoring |
154 |
CONFIG_PROTECT). Carefully examine the list of proposed changes, |
155 |
paying special attention to mask or keyword changes that may expose |
156 |
experimental or unstable packages. |
157 |
27 May 2019 14:05:47 UTC: ERROR : CatalystError: cmd(['/usr/share/catalyst/targets/stage4/stage4-controller.sh', 'pre-kmerge']) exited 1 |
158 |
27 May 2019 14:05:47 UTC: ERROR : CatalystError: build aborting due to kernel build error. |
159 |
Traceback (most recent call last): |
160 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1583, in build_kernel |
161 |
env=self.env) |
162 |
File "/usr/lib64/python3.6/site-packages/catalyst/support.py", line 54, in cmd |
163 |
print_traceback=False) |
164 |
catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/stage4/stage4-controller.sh', 'pre-kmerge']) exited 1 |
165 |
27 May 2019 14:05:47 UTC: ERROR : Exception running action sequence build_kernel |
166 |
Traceback (most recent call last): |
167 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1583, in build_kernel |
168 |
env=self.env) |
169 |
File "/usr/lib64/python3.6/site-packages/catalyst/support.py", line 54, in cmd |
170 |
print_traceback=False) |
171 |
catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/stage4/stage4-controller.sh', 'pre-kmerge']) exited 1 |
172 |
|
173 |
During handling of the above exception, another exception occurred: |
174 |
|
175 |
Traceback (most recent call last): |
176 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1465, in run |
177 |
getattr(self, x)() |
178 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1591, in build_kernel |
179 |
print_traceback=True) |
180 |
catalyst.support.CatalystError: build aborting due to kernel build error. |
181 |
27 May 2019 14:05:47 UTC: NOTICE : Cleaning up... Running unbind() |
182 |
Command exited with non-zero status 2 |
183 |
68.36user 8.71system 1:45.97elapsed 72%CPU (0avgtext+0avgdata 351680maxresident)k |
184 |
8inputs+4016640outputs (0major+3424872minor)pagefaults 0swaps |
185 |
|
186 |
|
187 |
|
188 |
Full build log at /home/release/tmp/run/catalyst-auto.20190527T030004Z.z5DXxh/log/hardened_stage4-nomultilib-minimal.log |