1 |
07 Mar 2017 10:32:30 UTC: WARNING : Catalyst assumes you know what you are doing when setting these variables. |
2 |
07 Mar 2017 10:32:30 UTC: WARNING : Catalyst Maintainers use VERY minimal envscripts, if used at all. |
3 |
07 Mar 2017 10:32:30 UTC: WARNING : You have been warned. |
4 |
07 Mar 2017 10:32:30 UTC: NOTICE : --- Running action sequence: setup_environment |
5 |
07 Mar 2017 10:32:30 UTC: NOTICE : --- Running action sequence: run_local |
6 |
07 Mar 2017 10:32:30 UTC: NOTICE : --- Running action sequence: build_kernel |
7 |
Copying pre-kmerge.sh to /tmp |
8 |
copying pre-kmerge.sh to /home/release/buildroot/amd64-dev/tmp/hardened/livecd-stage2-amd64-20170306/tmp |
9 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/livecd-stage2-amd64-20170306/tmp |
10 |
Ensure the file has the executable bit set |
11 |
Running pre-kmerge.sh in chroot: |
12 |
chroot /home/release/buildroot/amd64-dev/tmp/hardened/livecd-stage2-amd64-20170306 /tmp/pre-kmerge.sh |
13 |
>>> Regenerating /etc/ld.so.cache... |
14 |
emerge --quiet --usepkg --buildpkg --newuse --oneshot genkernel |
15 |
>>> Verifying ebuild manifests |
16 |
>>> Running pre-merge checks for sys-kernel/genkernel-3.4.52.4-r2 |
17 |
>>> Emerging (1 of 1) sys-kernel/genkernel-3.4.52.4-r2::gentoo |
18 |
>>> Installing (1 of 1) sys-kernel/genkernel-3.4.52.4-r2::gentoo |
19 |
* Messages for package sys-kernel/genkernel-3.4.52.4-r2: |
20 |
* Documentation is available in the genkernel manual page |
21 |
* as well as the following URL: |
22 |
* https://www.gentoo.org/doc/en/genkernel.xml |
23 |
* This package is known to not work with reiser4. If you are running |
24 |
* reiser4 and have a problem, do not file a bug. We know it does not |
25 |
* work and we don't plan on fixing it since reiser4 is the one that is |
26 |
* broken in this regard. Try using a sane filesystem like ext4. |
27 |
* The LUKS support has changed from versions prior to 3.4.4. Now, |
28 |
* you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah. |
29 |
|
30 |
|
31 |
removing /home/release/buildroot/amd64-dev/tmp/hardened/livecd-stage2-amd64-20170306/tmp/pre-kmerge.sh from the chroot |
32 |
removing /home/release/buildroot/amd64-dev/tmp/hardened/livecd-stage2-amd64-20170306/tmp/chroot-functions.sh from the chroot |
33 |
Copying kmerge.sh to /tmp |
34 |
copying kmerge.sh to /home/release/buildroot/amd64-dev/tmp/hardened/livecd-stage2-amd64-20170306/tmp |
35 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/livecd-stage2-amd64-20170306/tmp |
36 |
Ensure the file has the executable bit set |
37 |
Running kmerge.sh in chroot: |
38 |
chroot /home/release/buildroot/amd64-dev/tmp/hardened/livecd-stage2-amd64-20170306 /tmp/kmerge.sh |
39 |
>>> Regenerating /etc/ld.so.cache... |
40 |
Genkernel version 3.4.52.4 found ... OK |
41 |
emerge --quiet --usepkg --buildpkg --newuse hardened-sources |
42 |
>>> Verifying ebuild manifests |
43 |
>>> Emerging (1 of 2) sys-devel/bc-1.06.95-r1::gentoo |
44 |
>>> Installing (1 of 2) sys-devel/bc-1.06.95-r1::gentoo |
45 |
>>> Emerging (2 of 2) sys-kernel/hardened-sources-4.8.17-r2::gentoo |
46 |
>>> Installing (2 of 2) sys-kernel/hardened-sources-4.8.17-r2::gentoo |
47 |
>>> Recording sys-kernel/hardened-sources in "world" favorites file... |
48 |
* Messages for package sys-kernel/hardened-sources-4.8.17-r2: |
49 |
* If you are upgrading from a previous kernel, you may be interested |
50 |
* in the following document: |
51 |
* - General upgrade guide: https://wiki.gentoo.org/wiki/Kernel/Upgrade |
52 |
* |
53 |
* Users of grsecurity's RBAC system must ensure they are using |
54 |
* sys-apps/gradm-3.1*, which is compatible with hardened-sources-4.8.17-r2. |
55 |
* It is strongly recommended that the following command is issued |
56 |
* prior to booting a hardened-sources-4.8.17-r2 kernel for the first time: |
57 |
* |
58 |
* emerge -na =sys-apps/gradm-3.1* |
59 |
* |
60 |
|
61 |
|
62 |
Adjusting /usr/src/linux to point to /usr/src/linux-4.8.17-hardened-r2 |
63 |
[32;01m*[0m CMD_LOGLEVEL: 5 |
64 |
[32;01m*[0m CACHE_DIR: /tmp/kerncache/gentoo-genkernel_cache-20170306 |
65 |
[32;01m*[0m CMD_MOUNTBOOT: 0 |
66 |
[32;01m*[0m CMD_KERNEL_DIR: /usr/src/linux |
67 |
[32;01m*[0m MODULESPACKAGE: /tmp/kerncache/gentoo-modules-20170306.tar.bz2 |
68 |
[32;01m*[0m MINKERNPACKAGE: /tmp/kerncache/gentoo-kernel-initrd-20170306.tar.bz2 |
69 |
[32;01m*[0m CMD_KERNEL_CONFIG: /var/tmp/gentoo.config |
70 |
[32;01m*[32;01m Gentoo Linux Genkernel; Version 3.4.52.4[0m |
71 |
[32;01m*[0m Running with options: --callback=emerge -qN app-accessibility/espeakup media-libs/alsa-oss media-sound/alsa-utils net-dialup/globespan-adsl sys-apps/pcmciautils sys-kernel/linux-firmware --lvm --dmraid --mdadm --makeopts=-j8 --loglevel=5 --cachedir=/tmp/kerncache/gentoo-genkernel_cache-20170306 --no-mountboot --kerneldir=/usr/src/linux --modulespackage=/tmp/kerncache/gentoo-modules-20170306.tar.bz2 --minkernpackage=/tmp/kerncache/gentoo-kernel-initrd-20170306.tar.bz2 all --kernel-config=/var/tmp/gentoo.config |
72 |
|
73 |
[32;01m*[0m Using genkernel.conf from /etc/genkernel.conf |
74 |
[32;01m*[0m Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh .. |
75 |
[32;01m*[0m Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load .. |
76 |
|
77 |
[32;01m*[0m Resolving config file, command line, and arch default settings. |
78 |
[32;01m*[0m LOGFILE set in config file to "/var/log/genkernel.log". |
79 |
[32;01m*[0m KERNEL_DIR set on command line to "/usr/src/linux". |
80 |
[32;01m*[0m KERNEL_SOURCES defaulted to "yes". |
81 |
[32;01m*[0m KNAME defaulted to "genkernel". |
82 |
[32;01m*[0m COMPRESS_INITRD defaulted to "yes". |
83 |
[32;01m*[0m COMPRESS_INITRD_TYPE defaulted to "best". |
84 |
[32;01m*[0m MAKEOPTS overridden on command line to "-j8". |
85 |
[32;01m*[0m KERNEL_MAKE defaulted to "make". |
86 |
[32;01m*[0m UTILS_MAKE defaulted to "make". |
87 |
[32;01m*[0m KERNEL_CC defaulted to "gcc". |
88 |
[32;01m*[0m KERNEL_LD defaulted to "ld". |
89 |
[32;01m*[0m KERNEL_AS defaulted to "as". |
90 |
[32;01m*[0m UTILS_CC defaulted to "gcc". |
91 |
[32;01m*[0m UTILS_LD defaulted to "ld". |
92 |
[32;01m*[0m UTILS_AS defaulted to "as". |
93 |
[32;01m*[0m KERNEL_CROSS_COMPILE not set. |
94 |
[32;01m*[0m UTILS_CROSS_COMPILE not set. |
95 |
[32;01m*[0m BOOTDIR defaulted to "/boot". |
96 |
[32;01m*[0m KERNEL_OUTPUTDIR defaulted to "/usr/src/linux". |
97 |
[32;01m*[0m MODPROBEDIR defaulted to "/etc/modprobe.d". |
98 |
[32;01m*[0m SPLASH not set. |
99 |
[32;01m*[0m POSTCLEAR not set. |
100 |
[32;01m*[0m MRPROPER set in config file to "yes". |
101 |
[32;01m*[0m MENUCONFIG set in config file to "no". |
102 |
[32;01m*[0m CLEAN set in config file to "yes". |
103 |
[32;01m*[0m MINKERNPACKAGE set on command line to "/tmp/kerncache/gentoo-kernel-initrd-20170306.tar.bz2". |
104 |
[32;01m*[0m MODULESPACKAGE set on command line to "/tmp/kerncache/gentoo-modules-20170306.tar.bz2". |
105 |
[32;01m*[0m KERNCACHE not set. |
106 |
[32;01m*[0m RAMDISKMODULES defaulted to "yes". |
107 |
[32;01m*[0m ALLRAMDISKMODULES not set. |
108 |
[32;01m*[0m INITRAMFS_OVERLAY not set. |
109 |
[32;01m*[0m MOUNTBOOT overridden on command line to "0". |
110 |
[32;01m*[0m BUILD_STATIC not set. |
111 |
[32;01m*[0m SAVE_CONFIG set in config file to "yes". |
112 |
[32;01m*[0m SYMLINK not set. |
113 |
[32;01m*[0m INSTALL_MOD_PATH not set. |
114 |
[32;01m*[0m OLDCONFIG set in config file to "yes". |
115 |
[32;01m*[0m LVM set on command line to "1". |
116 |
[32;01m*[0m DMRAID set on command line to "1". |
117 |
[32;01m*[0m ISCSI not set. |
118 |
[32;01m*[0m BUSYBOX defaulted to "yes". |
119 |
[32;01m*[0m UNIONFS not set. |
120 |
[32;01m*[0m NETBOOT not set. |
121 |
[32;01m*[0m REAL_ROOT not set. |
122 |
[32;01m*[0m DISKLABEL set in config file to "yes". |
123 |
[32;01m*[0m LUKS not set. |
124 |
[32;01m*[0m GPG not set. |
125 |
[32;01m*[0m MDADM set on command line to "1". |
126 |
[32;01m*[0m MDADM_CONFIG not set. |
127 |
[32;01m*[0m E2FSPROGS defaulted to "no". |
128 |
[32;01m*[0m ZFS defaulted to "no". |
129 |
[32;01m*[0m BTRFS defaulted to "no". |
130 |
[32;01m*[0m VIRTIO defaulted to "no". |
131 |
[32;01m*[0m MULTIPATH not set. |
132 |
[32;01m*[0m FIRMWARE not set. |
133 |
[32;01m*[0m FIRMWARE_DIR defaulted to "/lib/firmware". |
134 |
[32;01m*[0m FIRMWARE_FILES not set. |
135 |
[32;01m*[0m INTEGRATED_INITRAMFS not set. |
136 |
[32;01m*[0m WRAP_INITRD not set. |
137 |
[32;01m*[0m GENZIMAGE not set. |
138 |
[32;01m*[0m KEYMAP defaulted to "yes". |
139 |
[32;01m*[0m DOKEYMAPAUTO not set. |
140 |
[32;01m*[0m BUSYBOX_CONFIG not set. |
141 |
[32;01m*[0m INSTALL defaulted to "yes". |
142 |
[32;01m*[0m DEBUGCLEANUP defaulted to "yes". |
143 |
[32;01m*[0m KERNEL_ARCH=x86 |
144 |
[32;01m*[0;01m Linux Kernel [0;01m4.8.17-hardened-r2[0m for [0;01mx86_64[0m... |
145 |
[32;01m*[0m .. with config file /var/tmp/gentoo.config |
146 |
[31;01m*[0m ERROR: /boot is not a directory |
147 |
[31;01m*[0m |
148 |
[31;01m*[0m -- Grepping log... -- |
149 |
[31;01m*[0m |
150 |
[31;01m*[0m BUSYBOX_CONFIG not set. |
151 |
[31;01m*[0m INSTALL defaulted to "yes". |
152 |
[31;01m*[0m DEBUGCLEANUP defaulted to "yes". |
153 |
[31;01m*[0m KERNEL_ARCH=x86 |
154 |
[31;01m*[0m |
155 |
[31;01m*[0m [1m[KERROR:[m[K /boot is not a directory |
156 |
[31;01m*[0m |
157 |
[31;01m*[0m -- End log... -- |
158 |
[31;01m*[0m |
159 |
[31;01m*[0m Please consult /var/log/genkernel.log for more information and any |
160 |
[31;01m*[0m errors that were reported above. |
161 |
[31;01m*[0m |
162 |
[31;01m*[0m Report any genkernel bugs to bugs.gentoo.org and |
163 |
[31;01m*[0m assign your bug to genkernel@g.o. Please include |
164 |
[31;01m*[0m as much information as you can in your bug report; attaching |
165 |
[31;01m*[0m /var/log/genkernel.log so that your issue can be dealt with effectively. |
166 |
[31;01m*[0m |
167 |
[31;01m*[0m Please do *not* report compilation failures as genkernel bugs! |
168 |
[31;01m*[0m |
169 |
07 Mar 2017 10:35:33 UTC: ERROR : CatalystError: cmd(['/usr/share/catalyst/targets/livecd-stage2/livecd-stage2-controller.sh', 'kernel', 'gentoo']) exited 1 |
170 |
07 Mar 2017 10:35:33 UTC: ERROR : CatalystError: build aborting due to kernel build error. |
171 |
Traceback (most recent call last): |
172 |
File "/usr/lib64/python3.4/site-packages/catalyst/base/stagebase.py", line 1532, in build_kernel |
173 |
self._build_kernel(kname = kname) |
174 |
File "/usr/lib64/python3.4/site-packages/catalyst/base/stagebase.py", line 1569, in _build_kernel |
175 |
env=self.env) |
176 |
File "/usr/lib64/python3.4/site-packages/catalyst/support.py", line 54, in cmd |
177 |
print_traceback=False) |
178 |
catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/livecd-stage2/livecd-stage2-controller.sh', 'kernel', 'gentoo']) exited 1 |
179 |
07 Mar 2017 10:35:33 UTC: ERROR : Exception running action sequence build_kernel |
180 |
Traceback (most recent call last): |
181 |
File "/usr/lib64/python3.4/site-packages/catalyst/base/stagebase.py", line 1532, in build_kernel |
182 |
self._build_kernel(kname = kname) |
183 |
File "/usr/lib64/python3.4/site-packages/catalyst/base/stagebase.py", line 1569, in _build_kernel |
184 |
env=self.env) |
185 |
File "/usr/lib64/python3.4/site-packages/catalyst/support.py", line 54, in cmd |
186 |
print_traceback=False) |
187 |
catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/livecd-stage2/livecd-stage2-controller.sh', 'kernel', 'gentoo']) exited 1 |
188 |
|
189 |
During handling of the above exception, another exception occurred: |
190 |
|
191 |
Traceback (most recent call last): |
192 |
File "/usr/lib64/python3.4/site-packages/catalyst/base/stagebase.py", line 1412, in run |
193 |
getattr(self, x)() |
194 |
File "/usr/lib64/python3.4/site-packages/catalyst/base/stagebase.py", line 1538, in build_kernel |
195 |
print_traceback=True) |
196 |
catalyst.support.CatalystError: build aborting due to kernel build error. |
197 |
07 Mar 2017 10:35:33 UTC: NOTICE : Cleaning up... Running unbind() |
198 |
Command exited with non-zero status 2 |
199 |
147.64user 41.64system 3:36.89elapsed 87%CPU (0avgtext+0avgdata 450260maxresident)k |
200 |
248inputs+8062264outputs (0major+4843802minor)pagefaults 0swaps |
201 |
|
202 |
|
203 |
|
204 |
Full build log at /home/release/tmp/run/catalyst-auto.20170306.aTrQky/log/hardened_admincd-stage2.log |