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-nomultilib.spec
Date: Tue, 16 Jul 2019 19:25:11
Message-Id: 20190716192508.8B129601A3@thor.jmbsvicetto.name
1 *** Running command: time catalyst -a -c /etc/catalyst/release/amd64-auto.conf -f hardened/stage2-selinux-nomultilib.spec
2 16 Jul 2019 19:24:26 UTC: NOTICE : Loading configuration file: /etc/catalyst/release/amd64-auto.conf
3 16 Jul 2019 19:24:26 UTC: NOTICE : conf_values[options] = {'bindist', 'clear-autoresume', 'pkgcache', 'preserve_libs'}
4 16 Jul 2019 19:24:26 UTC: NOTICE : Processing spec file: hardened/stage2-selinux-nomultilib.spec
5 16 Jul 2019 19:24:27 UTC: NOTICE : Using target: stage2
6 16 Jul 2019 19:24:27 UTC: NOTICE : Source file specification matching setting is: loose
7 16 Jul 2019 19:24:27 UTC: NOTICE : Accepted source file extensions search order: ['tar', 'tar.xz', 'tpxz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'tar.gz', 'gz']
8 16 Jul 2019 19:24:27 UTC: NOTICE : Source path set to /home/release/buildroot/amd64-dev/builds/hardened/stage1-amd64-hardened-selinux+nomultilib-20190716T102132Z.tar.xz
9 16 Jul 2019 19:24:27 UTC: NOTICE : --- Running action sequence: unpack
10 16 Jul 2019 19:24:27 UTC: NOTICE : Clearing the chroot path ...
11 16 Jul 2019 19:24:27 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux+nomultilib-20190716T102132Z
12 16 Jul 2019 19:24:27 UTC: NOTICE : Starting auto from /home/release/buildroot/amd64-dev/builds/hardened/stage1-amd64-hardened-selinux+nomultilib-20190716T102132Z.tar.xz
13 16 Jul 2019 19:24:27 UTC: NOTICE : to /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux+nomultilib-20190716T102132Z (this may take some time) ..
14 16 Jul 2019 19:24:29 UTC: NOTICE : --- Running action sequence: unpack_snapshot
15 16 Jul 2019 19:24:29 UTC: NOTICE : Unpacking portage tree (this can take a long time) ...
16 16 Jul 2019 19:24:38 UTC: NOTICE : --- Running action sequence: setup_confdir
17 16 Jul 2019 19:24:38 UTC: NOTICE : --- Running action sequence: portage_overlay
18 16 Jul 2019 19:24:38 UTC: NOTICE : --- Running action sequence: base_dirs
19 16 Jul 2019 19:24:38 UTC: NOTICE : --- Running action sequence: bind
20 16 Jul 2019 19:24:38 UTC: NOTICE : --- Running action sequence: chroot_setup
21 16 Jul 2019 19:24:38 UTC: NOTICE : Setting up chroot...
22 16 Jul 2019 19:24:38 UTC: WARNING : Overriding certain env variables may cause catastrophic failure.
23 16 Jul 2019 19:24:38 UTC: WARNING : If your build fails look here first as the possible problem.
24 16 Jul 2019 19:24:38 UTC: WARNING : Catalyst assumes you know what you are doing when setting these variables.
25 16 Jul 2019 19:24:38 UTC: WARNING : Catalyst Maintainers use VERY minimal envscripts, if used at all.
26 16 Jul 2019 19:24:38 UTC: WARNING : You have been warned.
27 16 Jul 2019 19:24:38 UTC: NOTICE : Writing the stage make.conf to: /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux+nomultilib-20190716T102132Z/etc/portage/make.conf
28 16 Jul 2019 19:24:38 UTC: NOTICE : STICKY-CONFIG is enabled
29 16 Jul 2019 19:24:38 UTC: NOTICE : --- Running action sequence: setup_environment
30 16 Jul 2019 19:24:38 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+nomultilib-20190716T102132Z/tmp
33 copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux+nomultilib-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+nomultilib-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 >>> Running pre-merge checks for sys-apps/portage-2.3.66-r1
63 * Determining the location of the kernel source code
64 * Unable to find kernel sources at /usr/src/linux
65 * Please make sure that /usr/src/linux points at your running kernel,
66 * (or the kernel you wish to build against).
67 * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location
68 * Unable to calculate Linux Kernel version for build, attempting to use running version
69 * Checking for suitable kernel configuration options...
70 [ ok ]
71 >>> Emerging binary (1 of 1) sys-apps/portage-2.3.66-r1::gentoo
72 >>> Installing (1 of 1) sys-apps/portage-2.3.66-r1::gentoo
73 * Messages for package sys-apps/portage-2.3.66-r1:
74 * Log file: /home/release/tmp/logs/sys-apps:portage-2.3.66-r1:20190716-192443.log
75 * Unable to find kernel sources at /usr/src/linux
76 * Unable to calculate Linux Kernel version for build, attempting to use running version
77
78
79 -------------------------------------------------------------------------------
80 [[ (3/3) Emerging packages ]]
81 >>> Running pre-merge checks for sys-devel/gcc-8.3.0-r1
82 >>> Emerging binary (1 of 12) sys-libs/zlib-1.2.11-r2::gentoo
83 >>> Installing (1 of 12) sys-libs/zlib-1.2.11-r2::gentoo
84 >>> Emerging binary (2 of 12) sys-apps/baselayout-2.6-r1::gentoo
85 >>> Failed to emerge sys-apps/baselayout-2.6-r1, Log file:
86 >>> '/home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-192507.log'
87 >>> Extracting info
88 * Package: sys-apps/baselayout-2.6-r1
89 * Repository: gentoo
90 * USE: split-usr elibc_glibc abi_x86_64 kernel_linux userland_GNU amd64
91 * FEATURES: network-sandbox preserve-libs sandbox selinux sesandbox userpriv usersandbox
92 * Converting /lib from a dir to a symlink
93 * ERROR: sys-apps/baselayout-2.6-r1::gentoo failed (setup phase):
94 * non-empty dir found where we needed a symlink: /lib
95 *
96 * Call stack:
97 * ebuild.sh, line 124: Called pkg_setup
98 * environment, line 1455: Called multilib_layout
99 * environment, line 1286: Called die
100 * The specific snippet of code:
101 * die "non-empty dir found where we needed a symlink: ${prefix}lib";
102 *
103 * If you need support, post the output of `emerge --info '=sys-apps/baselayout-2.6-r1::gentoo'`,
104 * the complete build log and the output of `emerge -pqv '=sys-apps/baselayout-2.6-r1::gentoo'`.
105 * The complete build log is located at '/home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-192507.log'.
106 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/build.log'.
107 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/environment'.
108 * Working directory: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/homedir'
109 * S: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/work/baselayout-2.6'
110 * Messages for package sys-apps/baselayout-2.6-r1:
111 * Log file: /home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-192507.log
112 * Converting /lib from a dir to a symlink
113 * ERROR: sys-apps/baselayout-2.6-r1::gentoo failed (setup phase):
114 * non-empty dir found where we needed a symlink: /lib
115 *
116 * Call stack:
117 * ebuild.sh, line 124: Called pkg_setup
118 * environment, line 1455: Called multilib_layout
119 * environment, line 1286: Called die
120 * The specific snippet of code:
121 * die "non-empty dir found where we needed a symlink: ${prefix}lib";
122 *
123 * If you need support, post the output of `emerge --info '=sys-apps/baselayout-2.6-r1::gentoo'`,
124 * the complete build log and the output of `emerge -pqv '=sys-apps/baselayout-2.6-r1::gentoo'`.
125 * The complete build log is located at '/home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-192507.log'.
126 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/build.log'.
127 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/environment'.
128 * Working directory: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/homedir'
129 * S: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/work/baselayout-2.6'
130
131
132 16 Jul 2019 19:25:08 UTC: ERROR : CatalystError: cmd(['/usr/share/catalyst/targets/stage2/stage2-controller.sh', 'run']) exited 1
133 16 Jul 2019 19:25:08 UTC: ERROR : CatalystError: Stage build aborting due to error.
134 16 Jul 2019 19:25:08 UTC: ERROR : Exception running action sequence run_local
135 Traceback (most recent call last):
136 File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1360, in run_local
137 env=self.env)
138 File "/usr/lib64/python3.6/site-packages/catalyst/support.py", line 54, in cmd
139 print_traceback=False)
140 catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/stage2/stage2-controller.sh', 'run']) exited 1
141
142 During handling of the above exception, another exception occurred:
143
144 Traceback (most recent call last):
145 File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1465, in run
146 getattr(self, x)()
147 File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1369, in run_local
148 print_traceback=False)
149 catalyst.support.CatalystError: Stage build aborting due to error.
150 16 Jul 2019 19:25:08 UTC: NOTICE : Cleaning up... Running unbind()
151 Command exited with non-zero status 2
152 29.48user 4.64system 0:41.68elapsed 81%CPU (0avgtext+0avgdata 328632maxresident)k
153 8inputs+2353600outputs (0major+977994minor)pagefaults 0swaps
154
155
156
157 Full build log at /home/release/tmp/run/catalyst-auto.20190716T102132Z.ae9vp0/log/hardened_stage2-selinux-nomultilib.log