From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3723A138334 for ; Tue, 16 Jul 2019 18:40:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59CAEE0802; Tue, 16 Jul 2019 18:40:16 +0000 (UTC) Received: from thor.jmbsvicetto.name (thor.jmbsvicetto.name [136.243.173.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23ADDE0802 for ; Tue, 16 Jul 2019 18:40:15 +0000 (UTC) Received: by thor.jmbsvicetto.name (Postfix, from userid 0) id 677CA601CE; Tue, 16 Jul 2019 18:40:13 +0000 (UTC) From: catalyst@thor.jmbsvicetto.name To: jmbsvicetto@gmail.com,gentoo-releng-autobuilds@lists.gentoo.org Subject: [gentoo-releng-autobuilds] [amd64-auto] Catalyst fatal build error - hardened/stage2-selinux.spec Message-Id: <20190716184013.677CA601CE@thor.jmbsvicetto.name> Date: Tue, 16 Jul 2019 18:40:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Release Engineering Autobuilds X-BeenThere: gentoo-releng-autobuilds@gentoo.org X-BeenThere: gentoo-releng-autobuilds@lists.gentoo.org Reply-To: gentoo-releng-autobuilds@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 65e956e7-172e-4eb0-b86a-b088881d0ee9 X-Archives-Hash: 56a3de4d4c701f92de445d20818ecf48 *** Running command: time catalyst -a -c /etc/catalyst/release/amd64-auto.conf -f hardened/stage2-selinux.spec 16 Jul 2019 18:39:14 UTC: NOTICE : Loading configuration file: /etc/catalyst/release/amd64-auto.conf 16 Jul 2019 18:39:14 UTC: NOTICE : conf_values[options] = {'pkgcache', 'preserve_libs', 'bindist', 'clear-autoresume'} 16 Jul 2019 18:39:14 UTC: NOTICE : Processing spec file: hardened/stage2-selinux.spec 16 Jul 2019 18:39:14 UTC: NOTICE : Using target: stage2 16 Jul 2019 18:39:14 UTC: NOTICE : Source file specification matching setting is: loose 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'] 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 16 Jul 2019 18:39:15 UTC: NOTICE : --- Running action sequence: unpack 16 Jul 2019 18:39:15 UTC: NOTICE : Clearing the chroot path ... 16 Jul 2019 18:39:15 UTC: NOTICE : Emptying directory: /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190716T102132Z 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 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) .. 16 Jul 2019 18:39:16 UTC: NOTICE : --- Running action sequence: unpack_snapshot 16 Jul 2019 18:39:16 UTC: NOTICE : Unpacking portage tree (this can take a long time) ... 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: setup_confdir 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: portage_overlay 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: base_dirs 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: bind 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: chroot_setup 16 Jul 2019 18:39:28 UTC: NOTICE : Setting up chroot... 16 Jul 2019 18:39:28 UTC: WARNING : Overriding certain env variables may cause catastrophic failure. 16 Jul 2019 18:39:28 UTC: WARNING : If your build fails look here first as the possible problem. 16 Jul 2019 18:39:28 UTC: WARNING : Catalyst assumes you know what you are doing when setting these variables. 16 Jul 2019 18:39:28 UTC: WARNING : Catalyst Maintainers use VERY minimal envscripts, if used at all. 16 Jul 2019 18:39:28 UTC: WARNING : You have been warned. 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 16 Jul 2019 18:39:28 UTC: NOTICE : STICKY-CONFIG is enabled 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: setup_environment 16 Jul 2019 18:39:28 UTC: NOTICE : --- Running action sequence: run_local Copying stage2-chroot.sh to /tmp copying stage2-chroot.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190716T102132Z/tmp copying chroot-functions.sh to /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190716T102132Z/tmp Ensure the file has the executable bit set Running stage2-chroot.sh in chroot: chroot /home/release/buildroot/amd64-dev/tmp/hardened/stage2-amd64-hardened-selinux-20190716T102132Z /tmp/stage2-chroot.sh >>> Regenerating /etc/ld.so.cache... Gentoo Linux; http://www.gentoo.org/(B Copyright 1999-$ Gentoo Foundation; Distributed under the GPLv2 ------------------------------------------------------------------------------- [[ (0/3) Locating packages ]] *(B Using baselayout : >=sys-apps/baselayout-2 *(B Using portage : portage *(B Using os-headers : >=sys-kernel/linux-headers-4.14-r1 *(B Using binutils : sys-devel/binutils *(B Using gcc : sys-devel/gcc *(B Using gettext : gettext *(B Using libc : virtual/libc *(B Using texinfo : sys-apps/texinfo *(B Using zlib : zlib *(B Using ncurses : ncurses ------------------------------------------------------------------------------- [[ (1/3) Configuring environment ]] ------------------------------------------------------------------------------- [[ (2/3) Updating portage ]] Performing Global Updates (Could take a couple of minutes if you have a lot of binary packages.) >>> Verifying ebuild manifests >>> Running pre-merge checks for sys-apps/portage-2.3.66-r1 * Determining the location of the kernel source code * Unable to find kernel sources at /usr/src/linux * Please make sure that /usr/src/linux points at your running kernel, * (or the kernel you wish to build against). * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location * Unable to calculate Linux Kernel version for build, attempting to use running version * Checking for suitable kernel configuration options... [ ok ] >>> Emerging (1 of 1) sys-apps/portage-2.3.66-r1::gentoo >>> Installing (1 of 1) sys-apps/portage-2.3.66-r1::gentoo * Messages for package sys-apps/portage-2.3.66-r1: * Log file: /home/release/tmp/logs/sys-apps:portage-2.3.66-r1:20190716-183932.log * Unable to find kernel sources at /usr/src/linux * Unable to calculate Linux Kernel version for build, attempting to use running version * Messages for package sys-apps/portage-2.3.66-r1: * Log file: /home/release/tmp/logs/sys-apps:portage-2.3.66-r1:20190716-183933.log * Could not find a UTF-8 locale. This may trigger build failures in * some python packages. Please ensure that a UTF-8 locale is listed in * /etc/locale.gen and run locale-gen. ------------------------------------------------------------------------------- [[ (3/3) Emerging packages ]] >>> Verifying ebuild manifests >>> Running pre-merge checks for sys-devel/gcc-8.3.0-r1 >>> Emerging binary (1 of 13) sys-libs/zlib-1.2.11-r2::gentoo >>> Installing (1 of 13) sys-libs/zlib-1.2.11-r2::gentoo >>> Emerging binary (2 of 13) sys-apps/baselayout-2.6-r1::gentoo >>> Failed to emerge sys-apps/baselayout-2.6-r1, Log file: >>> '/home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-184012.log' >>> Extracting info * Package: sys-apps/baselayout-2.6-r1 * Repository: gentoo * USE: amd64 split-usr abi_x86_64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox selinux sesandbox userpriv usersandbox * Converting /lib from a dir to a symlink * ERROR: sys-apps/baselayout-2.6-r1::gentoo failed (setup phase): * non-empty dir found where we needed a symlink: /lib * * Call stack: * ebuild.sh, line 124: Called pkg_setup * environment, line 1455: Called multilib_layout * environment, line 1286: Called die * The specific snippet of code: * die "non-empty dir found where we needed a symlink: ${prefix}lib"; * * If you need support, post the output of `emerge --info '=sys-apps/baselayout-2.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/baselayout-2.6-r1::gentoo'`. * The complete build log is located at '/home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-184012.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/homedir' * S: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/work/baselayout-2.6' * Messages for package sys-apps/baselayout-2.6-r1: * Log file: /home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-184012.log * Converting /lib from a dir to a symlink * ERROR: sys-apps/baselayout-2.6-r1::gentoo failed (setup phase): * non-empty dir found where we needed a symlink: /lib * * Call stack: * ebuild.sh, line 124: Called pkg_setup * environment, line 1455: Called multilib_layout * environment, line 1286: Called die * The specific snippet of code: * die "non-empty dir found where we needed a symlink: ${prefix}lib"; * * If you need support, post the output of `emerge --info '=sys-apps/baselayout-2.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/baselayout-2.6-r1::gentoo'`. * The complete build log is located at '/home/release/tmp/logs/sys-apps:baselayout-2.6-r1:20190716-184012.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/baselayout-2.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/homedir' * S: '/var/tmp/portage/sys-apps/baselayout-2.6-r1/work/baselayout-2.6' 16 Jul 2019 18:40:13 UTC: ERROR : CatalystError: cmd(['/usr/share/catalyst/targets/stage2/stage2-controller.sh', 'run']) exited 1 16 Jul 2019 18:40:13 UTC: ERROR : CatalystError: Stage build aborting due to error. 16 Jul 2019 18:40:13 UTC: ERROR : Exception running action sequence run_local Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1360, in run_local env=self.env) File "/usr/lib64/python3.6/site-packages/catalyst/support.py", line 54, in cmd print_traceback=False) catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/stage2/stage2-controller.sh', 'run']) exited 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1465, in run getattr(self, x)() File "/usr/lib64/python3.6/site-packages/catalyst/base/stagebase.py", line 1369, in run_local print_traceback=False) catalyst.support.CatalystError: Stage build aborting due to error. 16 Jul 2019 18:40:13 UTC: NOTICE : Cleaning up... Running unbind() Command exited with non-zero status 2 41.17user 7.54system 0:58.87elapsed 82%CPU (0avgtext+0avgdata 329276maxresident)k 24inputs+2606200outputs (0major+2394562minor)pagefaults 0swaps Full build log at /home/release/tmp/run/catalyst-auto.20190716T102132Z.ae9vp0/log/hardened_stage2-selinux.log