1 |
*** Running command: time catalyst -a -c /etc/catalyst/release/amd64-auto.conf -f hardened/stage1-selinux-nomultilib.spec |
2 |
19 Aug 2019 21:29:29 UTC: NOTICE : Loading configuration file: /etc/catalyst/release/amd64-auto.conf |
3 |
19 Aug 2019 21:29:29 UTC: NOTICE : conf_values[options] = {'snapcache', 'seedcache', 'autoresume', 'bindist', 'clear-autoresume', 'preserve_libs', 'pkgcache'} |
4 |
19 Aug 2019 21:29:29 UTC: NOTICE : Processing spec file: hardened/stage1-selinux-nomultilib.spec |
5 |
19 Aug 2019 21:29:29 UTC: NOTICE : Using target: stage1 |
6 |
19 Aug 2019 21:29:29 UTC: NOTICE : Source file specification matching setting is: loose |
7 |
19 Aug 2019 21:29:29 UTC: NOTICE : Accepted source file extensions search order: ['tar', 'tar.xz', 'tpxz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'tar.gz', 'gz'] |
8 |
19 Aug 2019 21:29:31 UTC: NOTICE : Source path set to /release/buildroot/amd64-dev/builds/hardened/stage3-amd64-hardened-selinux+nomultilib-latest.tar.xz |
9 |
19 Aug 2019 21:29:31 UTC: NOTICE : stage1 stage path is /release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20190818T214502Z/tmp/stage1root |
10 |
19 Aug 2019 21:29:31 UTC: NOTICE : Removing AutoResume Points ... |
11 |
19 Aug 2019 21:29:31 UTC: NOTICE : Emptying directory: /release/buildroot/amd64-dev/tmp/hardened/.autoresume-stage1-amd64-hardened-selinux+nomultilib-20190818T214502Z |
12 |
19 Aug 2019 21:29:31 UTC: NOTICE : --- Running action sequence: unpack |
13 |
19 Aug 2019 21:29:31 UTC: NOTICE : Referenced SEEDCACHE does not appear to be a directory, trying to untar... |
14 |
19 Aug 2019 21:29:31 UTC: NOTICE : Resume: "seed source" unpack resume point is disabled |
15 |
19 Aug 2019 21:29:31 UTC: NOTICE : Resume: Target chroot is invalid, cleaning up... |
16 |
19 Aug 2019 21:29:31 UTC: NOTICE : Removing AutoResume Points ... |
17 |
19 Aug 2019 21:29:31 UTC: NOTICE : Emptying directory: /release/buildroot/amd64-dev/tmp/hardened/.autoresume-stage1-amd64-hardened-selinux+nomultilib-20190818T214502Z |
18 |
19 Aug 2019 21:29:31 UTC: NOTICE : Clearing the chroot path ... |
19 |
19 Aug 2019 21:29:31 UTC: NOTICE : Emptying directory: /release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20190818T214502Z |
20 |
19 Aug 2019 21:29:31 UTC: NOTICE : Starting auto from /release/buildroot/amd64-dev/builds/hardened/stage3-amd64-hardened-selinux+nomultilib-latest.tar.xz |
21 |
19 Aug 2019 21:29:31 UTC: NOTICE : to /release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20190818T214502Z (this may take some time) .. |
22 |
19 Aug 2019 21:29:38 UTC: NOTICE : --- Running action sequence: unpack_snapshot |
23 |
19 Aug 2019 21:29:38 UTC: NOTICE : --- Running action sequence: setup_confdir |
24 |
19 Aug 2019 21:29:38 UTC: NOTICE : --- Running action sequence: portage_overlay |
25 |
19 Aug 2019 21:29:38 UTC: NOTICE : --- Running action sequence: base_dirs |
26 |
19 Aug 2019 21:29:38 UTC: NOTICE : --- Running action sequence: bind |
27 |
19 Aug 2019 21:29:38 UTC: NOTICE : --- Running action sequence: chroot_setup |
28 |
19 Aug 2019 21:29:38 UTC: NOTICE : Setting up chroot... |
29 |
19 Aug 2019 21:29:38 UTC: WARNING : Overriding certain env variables may cause catastrophic failure. |
30 |
19 Aug 2019 21:29:38 UTC: WARNING : If your build fails look here first as the possible problem. |
31 |
19 Aug 2019 21:29:38 UTC: WARNING : Catalyst assumes you know what you are doing when setting these variables. |
32 |
19 Aug 2019 21:29:38 UTC: WARNING : Catalyst Maintainers use VERY minimal envscripts, if used at all. |
33 |
19 Aug 2019 21:29:38 UTC: WARNING : You have been warned. |
34 |
19 Aug 2019 21:29:38 UTC: NOTICE : Writing the stage make.conf to: /release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20190818T214502Z/etc/portage/make.conf |
35 |
19 Aug 2019 21:29:38 UTC: NOTICE : STICKY-CONFIG is enabled |
36 |
19 Aug 2019 21:29:38 UTC: NOTICE : --- Running action sequence: setup_environment |
37 |
19 Aug 2019 21:29:38 UTC: NOTICE : --- Running action sequence: run_local |
38 |
copying make.conf to /release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20190818T214502Z/tmp/stage1root/etc/portage |
39 |
Copying stage1-chroot.sh to /tmp |
40 |
copying stage1-chroot.sh to /release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20190818T214502Z/tmp |
41 |
copying chroot-functions.sh to /release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20190818T214502Z/tmp |
42 |
Ensure the file has the executable bit set |
43 |
Running stage1-chroot.sh in chroot: |
44 |
chroot /release/buildroot/amd64-dev/tmp/hardened/stage1-amd64-hardened-selinux+nomultilib-20190818T214502Z /tmp/stage1-chroot.sh |
45 |
>>> Regenerating /etc/ld.so.cache... |
46 |
Adding USE="${USE} build" to make.conf for portage build |
47 |
emerge --quiet --oneshot --update --newuse sys-apps/portage |
48 |
>>> Verifying ebuild manifests |
49 |
>>> Running pre-merge checks for sys-apps/portage-2.3.69 |
50 |
* Determining the location of the kernel source code |
51 |
* Unable to find kernel sources at /usr/src/linux |
52 |
* Please make sure that /usr/src/linux points at your running kernel, |
53 |
* (or the kernel you wish to build against). |
54 |
* Alternatively, set the KERNEL_DIR environment variable to the kernel sources location |
55 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
56 |
* Checking for suitable kernel configuration options... |
57 |
[ ok ] |
58 |
>>> Emerging (1 of 1) sys-apps/portage-2.3.69::gentoo |
59 |
>>> Installing (1 of 1) sys-apps/portage-2.3.69::gentoo |
60 |
* Messages for package sys-apps/portage-2.3.69: |
61 |
* Unable to find kernel sources at /usr/src/linux |
62 |
* Unable to calculate Linux Kernel version for build, attempting to use running version |
63 |
|
64 |
|
65 |
Updating seed stage... |
66 |
emerge --quiet --buildpkg=n --update --deep @world |
67 |
>>> Verifying ebuild manifests |
68 |
>>> Emerging (1 of 11) sys-libs/libsepol-2.9::gentoo |
69 |
>>> Installing (1 of 11) sys-libs/libsepol-2.9::gentoo |
70 |
>>> Emerging (2 of 11) sys-apps/semodule-utils-2.9::gentoo |
71 |
>>> Emerging (3 of 11) sys-devel/patch-2.7.6-r4::gentoo |
72 |
>>> Installing (2 of 11) sys-apps/semodule-utils-2.9::gentoo |
73 |
>>> Installing (3 of 11) sys-devel/patch-2.7.6-r4::gentoo |
74 |
>>> Emerging (4 of 11) sys-libs/libselinux-2.9::gentoo |
75 |
>>> Installing (4 of 11) sys-libs/libselinux-2.9::gentoo |
76 |
>>> Emerging (5 of 11) sys-libs/libsemanage-2.9::gentoo |
77 |
>>> Emerging (6 of 11) dev-python/cython-0.29.4::gentoo |
78 |
>>> Emerging (7 of 11) sys-apps/help2man-1.47.10::gentoo |
79 |
>>> Installing (7 of 11) sys-apps/help2man-1.47.10::gentoo |
80 |
>>> Installing (6 of 11) dev-python/cython-0.29.4::gentoo |
81 |
>>> Installing (5 of 11) sys-libs/libsemanage-2.9::gentoo |
82 |
>>> Emerging (8 of 11) sys-apps/checkpolicy-2.9::gentoo |
83 |
>>> Emerging (9 of 11) app-admin/setools-4.2.1::gentoo |
84 |
>>> Failed to emerge app-admin/setools-4.2.1 |
85 |
>>> Installing (8 of 11) sys-apps/checkpolicy-2.9::gentoo |
86 |
* Messages for package app-admin/setools-4.2.1: |
87 |
* ERROR: app-admin/setools-4.2.1::gentoo failed (prepare phase): |
88 |
* patch -p1 failed with /var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch |
89 |
* |
90 |
* Call stack: |
91 |
* ebuild.sh, line 125: Called src_prepare |
92 |
* environment, line 2719: Called distutils-r1_src_prepare |
93 |
* environment, line 937: Called python_prepare_all |
94 |
* environment, line 2552: Called distutils-r1_python_prepare_all |
95 |
* environment, line 842: Called default |
96 |
* phase-functions.sh, line 872: Called default_src_prepare |
97 |
* phase-functions.sh, line 937: Called __eapi6_src_prepare |
98 |
* environment, line 290: Called eapply '/var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch' |
99 |
* environment, line 1080: Called _eapply_patch '/var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch' |
100 |
* environment, line 1018: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/app-admin/setools-4.2.1/files/setools-4.2.0-remove-gui.patch' |
101 |
* isolated-functions.sh, line 119: Called die |
102 |
* The specific snippet of code: |
103 |
* die "$@" |
104 |
* |
105 |
* If you need support, post the output of `emerge --info '=app-admin/setools-4.2.1::gentoo'`, |
106 |
* the complete build log and the output of `emerge -pqv '=app-admin/setools-4.2.1::gentoo'`. |
107 |
* The complete build log is located at '/var/tmp/portage/app-admin/setools-4.2.1/temp/build.log'. |
108 |
* The ebuild environment file is located at '/var/tmp/portage/app-admin/setools-4.2.1/temp/environment'. |
109 |
* Working directory: '/var/tmp/portage/app-admin/setools-4.2.1/work/setools-4.2.1' |
110 |
* S: '/var/tmp/portage/app-admin/setools-4.2.1/work/setools-4.2.1' |
111 |
|
112 |
|
113 |
19 Aug 2019 21:35:15 UTC: ERROR : CatalystError: cmd(['/usr/share/catalyst/targets/stage1/stage1-controller.sh', 'run']) exited 1 |
114 |
19 Aug 2019 21:35:16 UTC: ERROR : CatalystError: Stage build aborting due to error. |
115 |
19 Aug 2019 21:35:16 UTC: ERROR : Exception running action sequence run_local |
116 |
Traceback (most recent call last): |
117 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1360, in run_local |
118 |
env=self.env) |
119 |
File "/usr/lib64/python3.6/site-packages/catalyst/support.py", line 54, in cmd |
120 |
print_traceback=False) |
121 |
catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/stage1/stage1-controller.sh', 'run']) exited 1 |
122 |
|
123 |
During handling of the above exception, another exception occurred: |
124 |
|
125 |
Traceback (most recent call last): |
126 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1465, in run |
127 |
getattr(self, x)() |
128 |
File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1369, in run_local |
129 |
print_traceback=False) |
130 |
catalyst.support.CatalystError: Stage build aborting due to error. |
131 |
19 Aug 2019 21:35:16 UTC: NOTICE : Cleaning up... Running unbind() |
132 |
Command exited with non-zero status 2 |
133 |
457.96user 114.19system 5:46.99elapsed 164%CPU (0avgtext+0avgdata 359064maxresident)k |
134 |
531448inputs+3856376outputs (0major+17951128minor)pagefaults 0swaps |
135 |
|
136 |
|
137 |
|
138 |
Full build log at /release/tmp/run/catalyst-auto.20190818T214502Z.mY0uYx/log/hardened_stage1-selinux-nomultilib.log |