Gentoo Archives: gentoo-releng-autobuilds

From: catalyst@××××××××××××××××.name
To: jmbsvicetto@×××××.com, gentoo-releng-autobuilds@l.g.o
Subject: [gentoo-releng-autobuilds] [amd64-auto] Catalyst fatal build error - hardened/stage2-selinux.spec
Date: Tue, 16 Jul 2019 18:40:17
Message-Id: 20190716184013.677CA601CE@thor.jmbsvicetto.name
1 *** Running command: time catalyst -a -c /etc/catalyst/release/amd64-auto.conf -f hardened/stage2-selinux.spec
2 16 Jul 2019 18:39:14 UTC: NOTICE : Loading configuration file: /etc/catalyst/release/amd64-auto.conf
3 16 Jul 2019 18:39:14 UTC: NOTICE : conf_values[options] = {'pkgcache', 'preserve_libs', 'bindist', 'clear-autoresume'}
4 16 Jul 2019 18:39:14 UTC: NOTICE : Processing spec file: hardened/stage2-selinux.spec
5 16 Jul 2019 18:39:14 UTC: NOTICE : Using target: stage2
6 16 Jul 2019 18:39:14 UTC: NOTICE : Source file specification matching setting is: loose
7 16 Jul 2019 18:39:14 UTC: NOTICE : Accepted source file extensions search order: ['tar', 'tar.xz', 'tpxz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'tar.gz', 'gz']
8 16 Jul 2019 18:39:15 UTC: NOTICE : Source path set to /home/release/buildroot/amd64-dev/builds/hardened/stage1-amd64-hardened-selinux-20190716T102132Z.tar.xz
9 16 Jul 2019 18:39:15 UTC: NOTICE : --- Running action sequence: unpack
10 16 Jul 2019 18:39:15 UTC: NOTICE : Clearing the chroot path ...
11 16 Jul 2019 18:39:15 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190716T102132Z
12 16 Jul 2019 18:39:15 UTC: NOTICE : Starting auto from /home/release/buildroot/amd64-dev/builds/hardened/stage1-amd64-hardened-selinux-20190716T102132Z.tar.xz
13 16 Jul 2019 18:39:15 UTC: NOTICE : to /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190716T102132Z (this may take some time) ..
14 16 Jul 2019 18:39:16 UTC: NOTICE : --- Running action sequence: unpack_snapshot
15 16 Jul 2019 18:39:16 UTC: NOTICE : Unpacking portage tree (this can take a long time) ...
16 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: setup_confdir
17 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: portage_overlay
18 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: base_dirs
19 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: bind
20 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: chroot_setup
21 16 Jul 2019 18:39:28 UTC: NOTICE : Setting up chroot...
22 16 Jul 2019 18:39:28 UTC: WARNING : Overriding certain env variables may cause catastrophic failure.
23 16 Jul 2019 18:39:28 UTC: WARNING : If your build fails look here first as the possible problem.
24 16 Jul 2019 18:39:28 UTC: WARNING : Catalyst assumes you know what you are doing when setting these variables.
25 16 Jul 2019 18:39:28 UTC: WARNING : Catalyst Maintainers use VERY minimal envscripts, if used at all.
26 16 Jul 2019 18:39:28 UTC: WARNING : You have been warned.
27 16 Jul 2019 18:39:28 UTC: NOTICE : Writing the stage make.conf to: /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190716T102132Z/etc/portage/make.conf
28 16 Jul 2019 18:39:28 UTC: NOTICE : STICKY-CONFIG is enabled
29 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: setup_environment
30 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: run_local
31 Copying stage2-chroot.sh to /tmp
32 copying stage2-chroot.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190716T102132Z/tmp
33 copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190716T102132Z/tmp
34 Ensure the file has the executable bit set
35 Running stage2-chroot.sh in chroot:
36 chroot /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190716T102132Z /tmp/stage2-chroot.sh
37 >>> Regenerating /etc/ld.so.cache...
38
39 (BGentoo Linux; (Bhttp://www.gentoo.org/(B
40 Copyright 1999-$ Gentoo Foundation; Distributed under the GPLv2
41 -------------------------------------------------------------------------------
42 [[ (0/3) Locating packages ]]
43 (B*(B Using baselayout : >=sys-apps/baselayout-2
44 (B*(B Using portage : portage
45 (B*(B Using os-headers : >=sys-kernel/linux-headers-4.14-r1
46 (B*(B Using binutils : sys-devel/binutils
47 (B*(B Using gcc : sys-devel/gcc
48 (B*(B Using gettext : gettext
49 (B*(B Using libc : virtual/libc
50 (B*(B Using texinfo : sys-apps/texinfo
51 (B*(B Using zlib : zlib
52 (B*(B Using ncurses : ncurses
53 -------------------------------------------------------------------------------
54 [[ (1/3) Configuring environment ]]
55 -------------------------------------------------------------------------------
56 [[ (2/3) Updating portage ]]
57
58 Performing Global Updates
59 (Could take a couple of minutes if you have a lot of binary packages.)
60
61
62 >>> Verifying ebuild manifests
63 >>> Running pre-merge checks for sys-apps/portage-2.3.66-r1
64 * Determining the location of the kernel source code
65 * Unable to find kernel sources at /usr/src/linux
66 * Please make sure that /usr/src/linux points at your running kernel,
67 * (or the kernel you wish to build against).
68 * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location
69 * Unable to calculate Linux Kernel version for build, attempting to use running version
70 * Checking for suitable kernel configuration options...
71 [ ok ]
72 >>> Emerging (1 of 1) sys-apps/portage-2.3.66-r1::gentoo
73 >>> Installing (1 of 1) sys-apps/portage-2.3.66-r1::gentoo
74 * Messages for package sys-apps/portage-2.3.66-r1:
75 * Log file: /home/release/tmp/logs/sys-apps:portage-2.3.66-r1:20190716-183932.log
76 * Unable to find kernel sources at /usr/src/linux
77 * Unable to calculate Linux Kernel version for build, attempting to use running version
78 * Messages for package sys-apps/portage-2.3.66-r1:
79 * Log file: /home/release/tmp/logs/sys-apps:portage-2.3.66-r1:20190716-183933.log
80 * Could not find a UTF-8 locale. This may trigger build failures in
81 * some python packages. Please ensure that a UTF-8 locale is listed in
82 * /etc/locale.gen and run locale-gen.
83
84
85
86
87 -------------------------------------------------------------------------------
88 [[ (3/3) Emerging packages ]]
89 >>> Verifying ebuild manifests
90 >>> Running pre-merge checks for sys-devel/gcc-8.3.0-r1
91 >>> Emerging binary (1 of 13) sys-libs/zlib-1.2.11-r2::gentoo
92 >>> Installing (1 of 13) sys-libs/zlib-1.2.11-r2::gentoo
93 >>> Emerging binary (2 of 13) sys-apps/baselayout-2.6-r1::gentoo
94 >>> Failed to emerge sys-apps/baselayout-2.6-r1, Log file:
95 >>> '/home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-184012.log'
96 >>> Extracting info
97 * Package: sys-apps/baselayout-2.6-r1
98 * Repository: gentoo
99 * USE: amd64 split-usr abi_x86_64 elibc_glibc kernel_linux userland_GNU
100 * FEATURES: network-sandbox preserve-libs sandbox selinux sesandbox userpriv usersandbox
101 * Converting /lib from a dir to a symlink
102 * ERROR: sys-apps/baselayout-2.6-r1::gentoo failed (setup phase):
103 * non-empty dir found where we needed a symlink: /lib
104 *
105 * Call stack:
106 * ebuild.sh, line 124: Called pkg_setup
107 * environment, line 1455: Called multilib_layout
108 * environment, line 1286: Called die
109 * The specific snippet of code:
110 * die "non-empty dir found where we needed a symlink: ${prefix}lib";
111 *
112 * If you need support, post the output of `emerge --info '=sys-apps/baselayout-2.6-r1::gentoo'`,
113 * the complete build log and the output of `emerge -pqv '=sys-apps/baselayout-2.6-r1::gentoo'`.
114 * The complete build log is located at '/home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-184012.log'.
115 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/build.log'.
116 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/environment'.
117 * Working directory: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/homedir'
118 * S: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/work/baselayout-2.6'
119 * Messages for package sys-apps/baselayout-2.6-r1:
120 * Log file: /home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-184012.log
121 * Converting /lib from a dir to a symlink
122 * ERROR: sys-apps/baselayout-2.6-r1::gentoo failed (setup phase):
123 * non-empty dir found where we needed a symlink: /lib
124 *
125 * Call stack:
126 * ebuild.sh, line 124: Called pkg_setup
127 * environment, line 1455: Called multilib_layout
128 * environment, line 1286: Called die
129 * The specific snippet of code:
130 * die "non-empty dir found where we needed a symlink: ${prefix}lib";
131 *
132 * If you need support, post the output of `emerge --info '=sys-apps/baselayout-2.6-r1::gentoo'`,
133 * the complete build log and the output of `emerge -pqv '=sys-apps/baselayout-2.6-r1::gentoo'`.
134 * The complete build log is located at '/home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-184012.log'.
135 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/build.log'.
136 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/environment'.
137 * Working directory: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/homedir'
138 * S: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/work/baselayout-2.6'
139
140
141 16 Jul 2019 18:40:13 UTC: ERROR : CatalystError: cmd(['/usr/share/catalyst/targets/stage2/stage2-controller.sh', 'run']) exited 1
142 16 Jul 2019 18:40:13 UTC: ERROR : CatalystError: Stage build aborting due to error.
143 16 Jul 2019 18:40:13 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/stage2/stage2-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 16 Jul 2019 18:40:13 UTC: NOTICE : Cleaning up... Running unbind()
160 Command exited with non-zero status 2
161 41.17user 7.54system 0:58.87elapsed 82%CPU (0avgtext+0avgdata 329276maxresident)k
162 24inputs+2606200outputs (0major+2394562minor)pagefaults 0swaps
163
164
165
166 Full build log at /home/release/tmp/run/catalyst-auto.20190716T102132Z.ae9vp0/log/hardened_stage2-selinux.log