1 |
*** Running command: time catalyst -a -c /etc/catalyst/release/amd64-auto.conf -f hardened/stage1-selinux.spec |
2 |
19 Aug 2019 16:48:26 UTC: NOTICE : Loading configuration file: /etc/catalyst/release/amd64-auto.conf |
3 |
19 Aug 2019 16:48:26 UTC: NOTICE : conf_values[options] = {'preserve_libs', 'pkgcache', 'bindist', 'clear-autoresume'} |
4 |
19 Aug 2019 16:48:26 UTC: NOTICE : Processing spec file: hardened/stage1-selinux.spec |
5 |
19 Aug 2019 16:48:26 UTC: NOTICE : Using target: stage1 |
6 |
19 Aug 2019 16:48:26 UTC: NOTICE : Source file specification matching setting is: loose |
7 |
19 Aug 2019 16:48:26 UTC: NOTICE : Accepted source file extensions search order: ['tar', 'tar.xz', 'tpxz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'tar.gz', 'gz'] |
8 |
19 Aug 2019 16:48:27 UTC: NOTICE : Source path set to /home/release/buildroot/amd64-dev/builds/hardened/stage3-amd64-hardened-selinux-latest.tar.xz |
9 |
19 Aug 2019 16:48:27 UTC: NOTICE : stage1 stage path is /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux-20190819T030003Z/tmp/stage1root |
10 |
19 Aug 2019 16:48:27 UTC: NOTICE : --- Running action sequence: unpack |
11 |
19 Aug 2019 16:48:27 UTC: NOTICE : Clearing the chroot path ... |
12 |
19 Aug 2019 16:48:27 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux-20190819T030003Z |
13 |
19 Aug 2019 16:48:27 UTC: NOTICE : Starting auto from /home/release/buildroot/amd64-dev/builds/hardened/stage3-amd64-hardened-selinux-latest.tar.xz |
14 |
19 Aug 2019 16:48:27 UTC: NOTICE : to /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux-20190819T030003Z (this may take some time) .. |
15 |
19 Aug 2019 16:48:31 UTC: NOTICE : --- Running action sequence: unpack_snapshot |
16 |
19 Aug 2019 16:48:31 UTC: NOTICE : Unpacking portage tree (this can take a long time) ... |
17 |
19 Aug 2019 16:48:59 UTC: NOTICE : --- Running action sequence: setup_confdir |
18 |
19 Aug 2019 16:48:59 UTC: NOTICE : --- Running action sequence: portage_overlay |
19 |
19 Aug 2019 16:48:59 UTC: NOTICE : --- Running action sequence: base_dirs |
20 |
19 Aug 2019 16:48:59 UTC: NOTICE : --- Running action sequence: bind |
21 |
19 Aug 2019 16:48:59 UTC: NOTICE : --- Running action sequence: chroot_setup |
22 |
19 Aug 2019 16:48:59 UTC: NOTICE : Setting up chroot... |
23 |
19 Aug 2019 16:48:59 UTC: WARNING : Overriding certain env variables may cause catastrophic failure. |
24 |
19 Aug 2019 16:48:59 UTC: WARNING : If your build fails look here first as the possible problem. |
25 |
19 Aug 2019 16:48:59 UTC: WARNING : Catalyst assumes you know what you are doing when setting these variables. |
26 |
19 Aug 2019 16:48:59 UTC: WARNING : Catalyst Maintainers use VERY minimal envscripts, if used at all. |
27 |
19 Aug 2019 16:48:59 UTC: WARNING : You have been warned. |
28 |
19 Aug 2019 16:48:59 UTC: NOTICE : Writing the stage make.conf to: /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux-20190819T030003Z/etc/portage/make.conf |
29 |
19 Aug 2019 16:48:59 UTC: NOTICE : STICKY-CONFIG is enabled |
30 |
19 Aug 2019 16:48:59 UTC: NOTICE : --- Running action sequence: setup_environment |
31 |
19 Aug 2019 16:48:59 UTC: NOTICE : --- Running action sequence: run_local |
32 |
copying make.conf to /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux-20190819T030003Z/tmp/stage1root/etc/portage |
33 |
Copying stage1-chroot.sh to /tmp |
34 |
copying stage1-chroot.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux-20190819T030003Z/tmp |
35 |
copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux-20190819T030003Z/tmp |
36 |
Ensure the file has the executable bit set |
37 |
Running stage1-chroot.sh in chroot: |
38 |
chroot /home/release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux-20190819T030003Z /tmp/stage1-chroot.sh |
39 |
>>> Regenerating /etc/ld.so.cache... |
40 |
Adding USE="${USE} build" to make.conf for portage build |
41 |
emerge --quiet --oneshot --update --newuse sys-apps/portage |
42 |
>>> Verifying ebuild manifests |
43 |
>>> Running pre-merge checks for sys-apps/portage-2.3.69 |
44 |
* Determining the location of the kernel source code |
45 |
* Unable to find kernel sources at /usr/src/linux |
46 |
* Please make sure that /usr/src/linux points at your running kernel, |
47 |
* (or the kernel you wish to build against). |
48 |
* Alternatively, set the KERNEL_DIR environment variable to the kernel sources location |
49 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
50 |
* Checking for suitable kernel configuration options... |
51 |
[ ok ] |
52 |
>>> Emerging (1 of 1) sys-apps/portage-2.3.69::gentoo |
53 |
>>> Installing (1 of 1) sys-apps/portage-2.3.69::gentoo |
54 |
* Messages for package sys-apps/portage-2.3.69: |
55 |
* Unable to find kernel sources at /usr/src/linux |
56 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
57 |
|
58 |
|
59 |
Updating seed stage... |
60 |
emerge --quiet --buildpkg=n --update --deep @world |
61 |
>>> Verifying ebuild manifests |
62 |
>>> Running pre-merge checks for net-misc/openssh-8.0_p1-r2 |
63 |
>>> Emerging (1 of 13) dev-lang/python-exec-2.4.6-r1::gentoo |
64 |
>>> Installing (1 of 13) dev-lang/python-exec-2.4.6-r1::gentoo |
65 |
>>> Emerging (2 of 13) sys-libs/libsepol-2.9::gentoo |
66 |
>>> Installing (2 of 13) sys-libs/libsepol-2.9::gentoo |
67 |
>>> Emerging (3 of 13) sys-apps/semodule-utils-2.9::gentoo |
68 |
>>> Installing (3 of 13) sys-apps/semodule-utils-2.9::gentoo |
69 |
>>> Emerging (4 of 13) sys-devel/patch-2.7.6-r4::gentoo |
70 |
>>> Installing (4 of 13) sys-devel/patch-2.7.6-r4::gentoo |
71 |
>>> Emerging (5 of 13) sys-libs/libselinux-2.9::gentoo |
72 |
>>> Installing (5 of 13) sys-libs/libselinux-2.9::gentoo |
73 |
>>> Emerging (6 of 13) sys-libs/libsemanage-2.9::gentoo |
74 |
>>> Installing (6 of 13) sys-libs/libsemanage-2.9::gentoo |
75 |
>>> Emerging (7 of 13) sys-apps/checkpolicy-2.9::gentoo |
76 |
>>> Installing (7 of 13) sys-apps/checkpolicy-2.9::gentoo |
77 |
>>> Emerging (8 of 13) dev-python/cython-0.29.4::gentoo |
78 |
>>> Installing (8 of 13) dev-python/cython-0.29.4::gentoo |
79 |
>>> Emerging (9 of 13) app-admin/setools-4.2.1::gentoo |
80 |
>>> Failed to emerge app-admin/setools-4.2.1, Log file: |
81 |
>>> '/var/tmp/portage/app-admin/setools-4.2.1/temp/build.log' |
82 |
* Package: app-admin/setools-4.2.1 |
83 |
* Repository: gentoo |
84 |
* Maintainer: selinux@g.o |
85 |
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_6 userland_GNU |
86 |
* FEATURES: network-sandbox preserve-libs sandbox selinux sesandbox userpriv usersandbox |
87 |
* Applying setools-4.2.0-remove-gui.patch ... |
88 |
1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej |
89 |
[ !! ] |
90 |
* ERROR: app-admin/setools-4.2.1::gentoo failed (prepare phase): |
91 |
* patch -p1 failed with /var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch |
92 |
* |
93 |
* Call stack: |
94 |
* ebuild.sh, line 125: Called src_prepare |
95 |
* environment, line 2716: Called distutils-r1_src_prepare |
96 |
* environment, line 934: Called python_prepare_all |
97 |
* environment, line 2549: Called distutils-r1_python_prepare_all |
98 |
* environment, line 839: Called default |
99 |
* phase-functions.sh, line 872: Called default_src_prepare |
100 |
* phase-functions.sh, line 937: Called __eapi6_src_prepare |
101 |
* environment, line 287: Called eapply '/var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch' |
102 |
* environment, line 1077: Called _eapply_patch '/var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch' |
103 |
* environment, line 1015: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch' |
104 |
* isolated-functions.sh, line 119: Called die |
105 |
* The specific snippet of code: |
106 |
* die "$@" |
107 |
* |
108 |
* If you need support, post the output of `emerge --info '=app-admin/setools-4.2.1::gentoo'`, |
109 |
* the complete build log and the output of `emerge -pqv '=app-admin/setools-4.2.1::gentoo'`. |
110 |
* The complete build log is located at '/var/tmp/portage/app-admin/setools-4.2.1/temp/build.log'. |
111 |
* The ebuild environment file is located at '/var/tmp/portage/app-admin/setools-4.2.1/temp/environment'. |
112 |
* Working directory: '/var/tmp/portage/app-admin/setools-4.2.1/work/setools-4.2.1' |
113 |
* S: '/var/tmp/portage/app-admin/setools-4.2.1/work/setools-4.2.1' |
114 |
* Messages for package app-admin/setools-4.2.1: |
115 |
* ERROR: app-admin/setools-4.2.1::gentoo failed (prepare phase): |
116 |
* patch -p1 failed with /var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch |
117 |
* |
118 |
* Call stack: |
119 |
* ebuild.sh, line 125: Called src_prepare |
120 |
* environment, line 2716: Called distutils-r1_src_prepare |
121 |
* environment, line 934: Called python_prepare_all |
122 |
* environment, line 2549: Called distutils-r1_python_prepare_all |
123 |
* environment, line 839: Called default |
124 |
* phase-functions.sh, line 872: Called default_src_prepare |
125 |
* phase-functions.sh, line 937: Called __eapi6_src_prepare |
126 |
* environment, line 287: Called eapply '/var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch' |
127 |
* environment, line 1077: Called _eapply_patch '/var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch' |
128 |
* environment, line 1015: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch' |
129 |
* isolated-functions.sh, line 119: Called die |
130 |
* The specific snippet of code: |
131 |
* die "$@" |
132 |
* |
133 |
* If you need support, post the output of `emerge --info '=app-admin/setools-4.2.1::gentoo'`, |
134 |
* the complete build log and the output of `emerge -pqv '=app-admin/setools-4.2.1::gentoo'`. |
135 |
* The complete build log is located at '/var/tmp/portage/app-admin/setools-4.2.1/temp/build.log'. |
136 |
* The ebuild environment file is located at '/var/tmp/portage/app-admin/setools-4.2.1/temp/environment'. |
137 |
* Working directory: '/var/tmp/portage/app-admin/setools-4.2.1/work/setools-4.2.1' |
138 |
* S: '/var/tmp/portage/app-admin/setools-4.2.1/work/setools-4.2.1' |
139 |
|
140 |
|
141 |
19 Aug 2019 16:52:26 UTC: ERROR : CatalystError: cmd(['/usr/share/catalyst/targets/stage1/stage1-controller.sh', 'run']) exited 1 |
142 |
19 Aug 2019 16:52:26 UTC: ERROR : CatalystError: Stage build aborting due to error. |
143 |
19 Aug 2019 16:52:26 UTC: ERROR : Exception running action sequence run_local |
144 |
Traceback (most recent call last): |
145 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1360, in run_local |
146 |
env=self.env) |
147 |
File "/usr/lib64/python3.6/site-packages/catalyst/support.py", line 54, in cmd |
148 |
print_traceback=False) |
149 |
catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/stage1/stage1-controller.sh', 'run']) exited 1 |
150 |
|
151 |
During handling of the above exception, another exception occurred: |
152 |
|
153 |
Traceback (most recent call last): |
154 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1465, in run |
155 |
getattr(self, x)() |
156 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1369, in run_local |
157 |
print_traceback=False) |
158 |
catalyst.support.CatalystError: Stage build aborting due to error. |
159 |
19 Aug 2019 16:52:26 UTC: NOTICE : Cleaning up... Running unbind() |
160 |
Command exited with non-zero status 2 |
161 |
279.01user 28.17system 4:00.62elapsed 127%CPU (0avgtext+0avgdata 358072maxresident)k |
162 |
40inputs+5279864outputs (0major+18139409minor)pagefaults 0swaps |
163 |
|
164 |
|
165 |
|
166 |
Full build log at /home/release/tmp/run/catalyst-auto.20190819T030003Z.7hv5af/log/hardened_stage1-selinux.log |