Skip to content

Instantly share code, notes, and snippets.

@rorybolt
Created January 6, 2022 19:57
Show Gist options
  • Save rorybolt/ed5c02a54a069fd42f37353e84ad1f61 to your computer and use it in GitHub Desktop.
Save rorybolt/ed5c02a54a069fd42f37353e84ad1f61 to your computer and use it in GitHub Desktop.
foo
RockPro64_be ~ # catalyst -f stage3.spec
06 Jan 2022 11:49:33 PST: NOTICE : Loading configuration file: /etc/catalyst/catalyst.conf
06 Jan 2022 11:49:33 PST: NOTICE : conf_values[options] = {'seedcache', 'kerncache', 'pkgcache', 'snapcache', 'bindist', 'autoresume'}
06 Jan 2022 11:49:33 PST: NOTICE : Processing spec file: stage3.spec
06 Jan 2022 11:49:33 PST: NOTICE : Using target: stage3
06 Jan 2022 11:49:33 PST: NOTICE : Source file specification matching setting is: strict
06 Jan 2022 11:49:33 PST: NOTICE : Accepted source file extensions search order: ['tar.xz', 'tpxz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'squashfs', 'sfs', 'tar.gz', 'gz', 'tar']
06 Jan 2022 11:49:34 PST: NOTICE : Source path set to /var/tmp/catalyst/tmp/default/stage1-aarch64_be-2022.01.04/
06 Jan 2022 11:49:34 PST: NOTICE : Resume point detected, skipping target path setup operation...
06 Jan 2022 11:49:34 PST: NOTICE : --- Running action sequence: unpack
06 Jan 2022 11:49:34 PST: NOTICE : Resume: "chroot" is valid...
06 Jan 2022 11:49:34 PST: NOTICE : Resume: Valid resume point detected, skipping seed unpack operation...
06 Jan 2022 11:49:34 PST: NOTICE : --- Running action sequence: unpack_snapshot
06 Jan 2022 11:49:34 PST: NOTICE : --- Running action sequence: setup_confdir
06 Jan 2022 11:49:34 PST: NOTICE : --- Running action sequence: portage_overlay
06 Jan 2022 11:49:34 PST: NOTICE : --- Running action sequence: base_dirs
06 Jan 2022 11:49:34 PST: NOTICE : --- Running action sequence: bind
06 Jan 2022 11:49:34 PST: NOTICE : --- Running action sequence: chroot_setup
06 Jan 2022 11:49:34 PST: NOTICE : Resume point detected, skipping chroot_setup operation...
NOTICE:catalyst:Resume point detected, skipping chroot_setup operation...
06 Jan 2022 11:49:34 PST: NOTICE : --- Running action sequence: setup_environment
NOTICE:catalyst:--- Running action sequence: setup_environment
06 Jan 2022 11:49:34 PST: NOTICE : --- Running action sequence: run_local
NOTICE:catalyst:--- Running action sequence: run_local
Copying stage3-chroot.sh to /tmp
copying stage3-chroot.sh to /var/tmp/catalyst/tmp/default/stage3-aarch64_be-2022.01.04/tmp
copying chroot-functions.sh to /var/tmp/catalyst/tmp/default/stage3-aarch64_be-2022.01.04/tmp
Ensure the file has the executable bit set
Running stage3-chroot.sh in chroot:
chroot /var/tmp/catalyst/tmp/default/stage3-aarch64_be-2022.01.04 /tmp/stage3-chroot.sh
clst_SEEDCACHE=true
clst_packagedir=/var/gentoo/packages
clst_decomp_opt=
clst_root_path=
clst_iso_volume_id=catalyst 2022.01.04
clst_digests=blake2 sha512
clst_subarch=aarch64_be
clst_stage_path=/var/tmp/catalyst/tmp/default/stage3-aarch64_be-2022.01.04
clst_snapshot_path_hash=# CRC32 HASH
74679446 gentoo-2022.01.04.tar.bz2
clst_source_matching=strict
clst_target_distdir=/var/cache/distfiles
clst_use=
clst_KERNCACHE=true
clst_pkgcache_path=/var/tmp/catalyst/packages/default/stage3-aarch64_be
clst_target_path=/var/tmp/catalyst/builds/default/stage3-aarch64_be-2022.01.04
clst_storedir=/var/tmp/catalyst
clst_target=stage3
clst_SNAPCACHE=true
clst_target_profile=default/linux/arm64/17.0/big-endian
clst_target_pkgdir=/var/cache/binpkgs
clst_packages=
clst_port_conf=/etc/portage
clst_crosscompile=false
PWD=/
clst_CHOST=aarch64_be-unknown-linux-gnu
clst_kerncache_path=/var/tmp/catalyst/kerncache/default/stage3-aarch64_be
clst_make_conf=/etc/portage/make.conf
clst_compressor_options=--xattrs --xattrs-include=security.capability --xattrs-include=user.pax.flags
_=/usr/bin/printenv
clst_envscript=/etc/catalyst/catalystrc
clst_PythonDir=/usr/lib/python3.9/site-packages/catalyst
clst_list_xattrs_opt=--xattrs
clst_repo_name=gentoo
clst_snapshot_path=/var/tmp/catalyst/snapshots/gentoo-2022.01.04.tar.bz2
clst_target_subpath=default/stage3-aarch64_be-2022.01.04
clst_cleanables=/etc/machine-id /etc/resolv.conf /var/tmp/* /tmp/* /var/db/repos/gentoo
clst_BINDIST=true
clst_CXXFLAGS=-O2 -pipe
clst_VERBOSE=false
clst_archdir=/usr/lib/python3.9/site-packages/catalyst/arch
clst_PKGCACHE=true
clst_snapshot_cache_path=/var/tmp/catalyst/snapshot_cache/2022.01.04
clst_profile=default/linux/arm64/17.0/big-endian
clst_FFLAGS=-O2 -pipe
clst_controller_file=/usr/share/catalyst/targets/stage3/stage3-controller.sh
clst_comp_prog=-I
clst_icecream=/var/cache/icecream
clst_CHROOT=chroot
TERM=xterm
clst_catalyst_use=bindist
clst_hash_function=crc32
clst_DEBUG=false
clst_portdir=/var/db/repos/gentoo
clst_distdir=/var/cache/distfiles
clst_FCFLAGS=-O2 -pipe
SHLVL=2
BASH_ENV=/etc/spork/is/not/valid/profile.env
clst_CFLAGS=-O2 -pipe
clst_decompressor_search_order=pixz lbzip2 squashfs gzip xz bzip2 tar
clst_repo_basedir=/var/db/repos
clst_local_overlay=/var/gentoo/repos/local
clst_action_sequence=unpack unpack_snapshot setup_confdir portage_overlay base_dirs bind chroot_setup setup_environment run_local preclean unbind clean capture remove_autoresume
clst_port_tmpdir=/var/tmp/portage
clst_destpath=/var/tmp/catalyst/tmp/default/stage3-aarch64_be-2022.01.04
clst_snapshot_cache=/var/tmp/catalyst/snapshot_cache
clst_COMMON_FLAGS=-O2 -pipe
clst_compression_mode=pixz
clst_buildarch=arm64
clst_snapshot=2022.01.04
clst_sharedir=/usr/share/catalyst
clst_snapshot_name=gentoo-
clst_hostarch=arm64
clst_spec_prefix=stage3
clst_target_subpath_unversioned=default/stage3-aarch64_be
clst_source_path=/var/tmp/catalyst/tmp/default/stage1-aarch64_be-2022.01.04
clst_fstype=normal
clst_AUTORESUME=true
clst_contents=auto
PATH=/bin:/sbin:/usr/bin:/usr/sbin
clst_shdir=/usr/share/catalyst/targets
clst_source_subpath=default/stage1-aarch64_be-2022.01.04
clst_autoresume_path=/var/tmp/catalyst/tmp/default/.autoresume-stage3-aarch64_be-2022.01.04
clst_rel_type=default
clst_chroot_path=/var/tmp/catalyst/tmp/default/stage3-aarch64_be-2022.01.04
clst_sed=/bin/sed
clst_version_stamp=2022.01.04
/usr/bin/eselect
Current /etc/portage/make.profile symlink:
!!! Error: get_repos failed
exiting
!!! Error: get_repos failed
!!! Error: Failed to get a list of valid profiles
exiting
!!! Error: get_repo_path failed
exiting
running default functions
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.9/env-update", line 33, in <module>
portage.env_update(makelinks)
File "/usr/lib/python3.9/site-packages/portage/proxy/objectproxy.py", line 30, in __call__
result = object.__getattribute__(self, "_get_target")()
File "/usr/lib/python3.9/site-packages/portage/proxy/lazyimport.py", line 133, in _get_target
__import__(name)
File "/usr/lib/python3.9/site-packages/portage/util/env_update.py", line 28, in <module>
from portage.package.ebuild.config import config
File "/usr/lib/python3.9/site-packages/portage/package/ebuild/config.py", line 68, in <module>
from portage.repository.config import (
File "/usr/lib/python3.9/site-packages/portage/repository/config.py", line 37, in <module>
import portage.sync
File "/usr/lib/python3.9/site-packages/portage/sync/__init__.py", line 9, in <module>
from portage.sync.controller import SyncManager
File "/usr/lib/python3.9/site-packages/portage/sync/controller.py", line 21, in <module>
from portage.package.ebuild.doebuild import _check_temp_dir
File "/usr/lib/python3.9/site-packages/portage/package/ebuild/doebuild.py", line 116, in <module>
from portage.util.compression_probe import _compressors
File "/usr/lib/python3.9/site-packages/portage/util/compression_probe.py", line 4, in <module>
import ctypes
File "/usr/lib/python3.9/ctypes/__init__.py", line 8, in <module>
from _ctypes import Union, Structure, Array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment