Skip to content

Instantly share code, notes, and snippets.

@rorybolt
Created January 7, 2022 19:53
Show Gist options
  • Save rorybolt/839a43c22753180853d7db375ea50eff to your computer and use it in GitHub Desktop.
Save rorybolt/839a43c22753180853d7db375ea50eff to your computer and use it in GitHub Desktop.
stage2.log
07 Jan 2022 11:52:33 PST: INFO : Catalyst 3.0.18
07 Jan 2022 11:52:33 PST: INFO : extended version info unavailable
07 Jan 2022 11:52:33 PST: INFO : Copyright 2003-2022 Gentoo Foundation
07 Jan 2022 11:52:33 PST: INFO : Copyright 2008-2012 various authors
07 Jan 2022 11:52:33 PST: INFO : Distributed under the GNU General Public License version 2.1
07 Jan 2022 11:52:33 PST: NOTICE : Loading configuration file: /etc/catalyst/catalyst.conf
07 Jan 2022 11:52:33 PST: INFO : Package cache support enabled.
07 Jan 2022 11:52:33 PST: INFO : Seed cache support enabled.
07 Jan 2022 11:52:33 PST: INFO : Kernel cache support enabled.
07 Jan 2022 11:52:33 PST: INFO : Envscript support enabled.
07 Jan 2022 11:52:33 PST: NOTICE : conf_values[options] = {'bindist', 'pkgcache', 'seedcache', 'kerncache'}
07 Jan 2022 11:52:33 PST: NOTICE : Processing spec file: stage2.spec
07 Jan 2022 11:52:33 PST: NOTICE : Using target: stage2
07 Jan 2022 11:52:33 PST: INFO : Building natively for arm64
07 Jan 2022 11:52:33 PST: NOTICE : Source file specification matching setting is: strict
07 Jan 2022 11:52:33 PST: NOTICE : Accepted source file extensions search order: ['tar.xz', 'tpxz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'squashfs', 'sfs', 'tar.gz', 'gz', 'tar']
07 Jan 2022 11:52:33 PST: INFO : SNAPSHOT_PATH set to: /var/tmp/catalyst/snapshots/gentoo-2022.01.07.tar.bz2
07 Jan 2022 11:52:33 PST: INFO : # CRC32 HASH (gentoo-2022.01.07.tar.bz2) = # CRC32 HASH
07 Jan 2022 11:52:33 PST: INFO : 9259ce0f gentoo-2022.01.07.tar.bz2
07 Jan 2022 11:52:33 PST: NOTICE : Source path set to /var/tmp/catalyst/tmp/default/stage1-aarch64_be-2022.01.07/
07 Jan 2022 11:52:33 PST: INFO : Location of the package cache is /var/tmp/catalyst/packages/default/stage2-aarch64_be/
07 Jan 2022 11:52:33 PST: INFO : Location of the kerncache is /var/tmp/catalyst/kerncache/default/stage2-aarch64_be/
07 Jan 2022 11:52:33 PST: INFO : Checking for processes running in chroot and killing them.
07 Jan 2022 11:52:34 PST: NOTICE : --- Running action sequence: unpack
07 Jan 2022 11:52:34 PST: NOTICE : Clearing the chroot path ...
07 Jan 2022 11:52:34 PST: NOTICE : Emptying directory: /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07
07 Jan 2022 11:52:47 PST: NOTICE : Starting rsync from /var/tmp/catalyst/tmp/default/stage1-aarch64_be-2022.01.07/
07 Jan 2022 11:52:47 PST: NOTICE : to /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07 (this may take some time) ..
07 Jan 2022 11:52:55 PST: NOTICE : --- Running action sequence: unpack_snapshot
07 Jan 2022 11:52:55 PST: INFO : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07
07 Jan 2022 11:52:55 PST: INFO : unpack_snapshot(), target_portdir = /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/var/db/repos/gentoo
07 Jan 2022 11:52:55 PST: NOTICE : Unpacking portage tree (this can take a long time) ...
07 Jan 2022 11:53:11 PST: INFO : Setting snapshot autoresume point
07 Jan 2022 11:53:11 PST: NOTICE : --- Running action sequence: setup_confdir
07 Jan 2022 11:53:11 PST: NOTICE : --- Running action sequence: portage_overlay
07 Jan 2022 11:53:11 PST: NOTICE : --- Running action sequence: base_dirs
07 Jan 2022 11:53:11 PST: NOTICE : --- Running action sequence: bind
07 Jan 2022 11:53:11 PST: NOTICE : --- Running action sequence: chroot_setup
07 Jan 2022 11:53:11 PST: NOTICE : Setting up chroot...
07 Jan 2022 11:53:11 PST: WARNING : Overriding certain env variables may cause catastrophic failure.
07 Jan 2022 11:53:11 PST: WARNING : If your build fails look here first as the possible problem.
07 Jan 2022 11:53:11 PST: WARNING : Catalyst assumes you know what you are doing when setting these variables.
07 Jan 2022 11:53:11 PST: WARNING : Catalyst Maintainers use VERY minimal envscripts, if used at all.
07 Jan 2022 11:53:11 PST: WARNING : You have been warned.
07 Jan 2022 11:53:11 PST: NOTICE : Writing the stage make.conf to: /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/etc/portage/make.conf
07 Jan 2022 11:53:11 PST: NOTICE : STICKY-CONFIG is enabled
07 Jan 2022 11:53:11 PST: NOTICE : --- Running action sequence: setup_environment
07 Jan 2022 11:53:11 PST: NOTICE : --- Running action sequence: run_local
07 Jan 2022 11:53:11 PST: INFO : run_local() starting controller script...
Copying stage2-chroot.sh to /tmp
copying stage2-chroot.sh to /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/tmp
copying chroot-functions.sh to /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/tmp
Ensure the file has the executable bit set
Running stage2-chroot.sh in chroot:
chroot /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07 /tmp/stage2-chroot.sh
clst_repo_basedir = /var/db/repos
clst_repo_name = gentoo
clst_target_rofile = default/linux/arm64/17.0/big-endian
eselect 1.4.17
Copyright (c) 2005-2020 Gentoo Authors.
Distributed under the terms of the GNU GPL version 2 or later.
running default functions
(BGentoo Linux; (Bhttp://www.gentoo.org/(B
Copyright 1999-2021 Gentoo Authors; Distributed under the GPLv2
Starting Bootstrap of base system ...
-------------------------------------------------------------------------------
[[ (0/3) Locating packages ]]
(B*(B Using baselayout : >=
(B*(B Using portage : sys-apps/portage
(B*(B Using os-headers :
(B*(B Using binutils : sys-devel/binutils
(B*(B Using gcc : sys-devel/gcc
(B*(B Using libc :
(B*(B Using texinfo : sys-apps/texinfo
(B*(B Using zlib : sys-libs/zlib
(B*(B Using ncurses : sys-libs/ncurses
-------------------------------------------------------------------------------
[[ (1/3) Configuring environment ]]
-------------------------------------------------------------------------------
[[ (2/3) Updating portage ]]
(B*(B Executing: USE=-* build bootstrap emerge --oneshot -v --usepkg --buildpkg sys-apps/portage
07 Jan 2022 11:53:18 PST: ERROR : CatalystError: cmd(['/usr/share/catalyst/targets/stage2/stage2-controller.sh', 'run']) exited 1
07 Jan 2022 11:53:18 PST: NOTICE : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/var/tmp/portage is not a mount point. Skipping
07 Jan 2022 11:53:18 PST: ERROR : CatalystError: Stage build aborting due to error.
07 Jan 2022 11:53:18 PST: ERROR : Exception running action sequence run_local
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/catalyst/base/stagebase.py", line 1409, in run_local
cmd([self.settings['controller_file'], 'run'],
File "/usr/lib/python3.9/site-packages/catalyst/support.py", line 53, in cmd
raise CatalystError('cmd(%r) exited %s' % (args, ret),
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/lib/python3.9/site-packages/catalyst/base/stagebase.py", line 1515, in run
getattr(self, x)()
File "/usr/lib/python3.9/site-packages/catalyst/base/stagebase.py", line 1418, in run_local
raise CatalystError("Stage build aborting due to error.",
catalyst.support.CatalystError: Stage build aborting due to error.
07 Jan 2022 11:53:18 PST: NOTICE : Cleaning up... Running unbind()
07 Jan 2022 11:53:18 PST: NOTICE : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/tmp/kerncache is not a mount point. Skipping
07 Jan 2022 11:53:18 PST: NOTICE : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/var/cache/binpkgs is not a mount point. Skipping
07 Jan 2022 11:53:18 PST: NOTICE : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/run is not a mount point. Skipping
07 Jan 2022 11:53:18 PST: NOTICE : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/dev/shm does not exist. Skipping
07 Jan 2022 11:53:18 PST: NOTICE : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/dev/pts does not exist. Skipping
07 Jan 2022 11:53:18 PST: NOTICE : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/var/tmp/portage is not a mount point. Skipping
07 Jan 2022 11:53:18 PST: NOTICE : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/var/cache/distfiles is not a mount point. Skipping
07 Jan 2022 11:53:18 PST: NOTICE : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/dev is not a mount point. Skipping
07 Jan 2022 11:53:18 PST: NOTICE : /var/tmp/catalyst/tmp/default/stage2-aarch64_be-2022.01.07/proc is not a mount point. Skipping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment