Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Catalyst stage4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 887

PostPosted: Tue Apr 30, 2024 2:32 pm    Post subject: Gentoo Catalyst stage4 Reply with quote

Hi,

Is it possible to create an amd64-hardened-musl stage4 on an amd64 glibc system?

I'm getting an error when trying to create stage1 (no special custom settings).

Code:
# catalyst -f stage1-23.spec
30 Apr 2024 12:01:17 CEST: NOTICE  : Loading configuration file: /etc/catalyst/catalyst.conf
NOTICE:catalyst:Loading configuration file: /etc/catalyst/catalyst.conf
30 Apr 2024 12:01:17 CEST: NOTICE  : conf_values[options] = ['autoresume', 'bindist', 'kerncache', 'pkgcache', 'seedcache']
NOTICE:catalyst:conf_values[options] = ['autoresume', 'bindist', 'kerncache', 'pkgcache', 'seedcache']
30 Apr 2024 12:01:17 CEST: NOTICE  : Processing spec file: stage1-23.spec
NOTICE:catalyst:Processing spec file: stage1-23.spec
30 Apr 2024 12:01:17 CEST: NOTICE  : Using target: stage1
NOTICE:catalyst:Using target: stage1
30 Apr 2024 12:01:17 CEST: NOTICE  : Accepted source file extensions search order: ['tar.xz', 'tpxz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'squashfs', 'sfs', 'tar.gz', 'gz', 'tar']
NOTICE:catalyst:Accepted source file extensions search order: ['tar.xz', 'tpxz', 'xz', 'tar.bz2', 'bz2', 'tbz2', 'squashfs', 'sfs', 'tar.gz', 'gz', 'tar']
30 Apr 2024 12:01:19 CEST: NOTICE  : Source path set to /var/tmp/catalyst/builds/23.0-musl-hardened/stage3-amd64-musl-hardened-latest.tar.xz
NOTICE:catalyst:Source path set to /var/tmp/catalyst/builds/23.0-musl-hardened/stage3-amd64-musl-hardened-latest.tar.xz
30 Apr 2024 12:01:19 CEST: NOTICE  : --- Running action sequence: unpack
NOTICE:catalyst:--- Running action sequence: unpack
30 Apr 2024 12:01:19 CEST: NOTICE  : Referenced SEEDCACHE does not appear to be a directory, trying to untar...
NOTICE:catalyst:Referenced SEEDCACHE does not appear to be a directory, trying to untar...
30 Apr 2024 12:01:19 CEST: NOTICE  : Resume: Target chroot is invalid, cleaning up...
NOTICE:catalyst:Resume: Target chroot is invalid, cleaning up...
30 Apr 2024 12:01:19 CEST: NOTICE  : Removing AutoResume Points ...
NOTICE:catalyst:Removing AutoResume Points ...
30 Apr 2024 12:01:19 CEST: NOTICE  : Emptying directory: /var/tmp/catalyst/tmp/23.0-musl-hardened/.autoresume-stage1-amd64-musl-hardened-2014.1
NOTICE:catalyst:Emptying directory: /var/tmp/catalyst/tmp/23.0-musl-hardened/.autoresume-stage1-amd64-musl-hardened-2014.1
30 Apr 2024 12:01:19 CEST: NOTICE  : Clearing the chroot path ...
NOTICE:catalyst:Clearing the chroot path ...
30 Apr 2024 12:01:19 CEST: NOTICE  : Starting auto from /var/tmp/catalyst/builds/23.0-musl-hardened/stage3-amd64-musl-hardened-latest.tar.xz
NOTICE:catalyst:Starting auto from /var/tmp/catalyst/builds/23.0-musl-hardened/stage3-amd64-musl-hardened-latest.tar.xz
30 Apr 2024 12:01:19 CEST: NOTICE  : to /var/tmp/catalyst/tmp/23.0-musl-hardened/stage1-amd64-musl-hardened-2014.1 (this may take some time) ..
NOTICE:catalyst:to /var/tmp/catalyst/tmp/23.0-musl-hardened/stage1-amd64-musl-hardened-2014.1 (this may take some time) ..
30 Apr 2024 12:01:59 CEST: NOTICE  : --- Running action sequence: config_profile_link
NOTICE:catalyst:--- Running action sequence: config_profile_link
30 Apr 2024 12:01:59 CEST: NOTICE  : --- Running action sequence: setup_confdir
NOTICE:catalyst:--- Running action sequence: setup_confdir
30 Apr 2024 12:02:00 CEST: NOTICE  : --- Running action sequence: process_repos
NOTICE:catalyst:--- Running action sequence: process_repos
30 Apr 2024 12:02:00 CEST: NOTICE  : --- Running action sequence: bind
NOTICE:catalyst:--- Running action sequence: bind
30 Apr 2024 12:02:00 CEST: NOTICE  : --- Running action sequence: chroot_setup
NOTICE:catalyst:--- Running action sequence: chroot_setup
30 Apr 2024 12:02:00 CEST: NOTICE  : Setting up chroot...
NOTICE:catalyst:Setting up chroot...
30 Apr 2024 12:02:00 CEST: WARNING : env variables in catalystrc may cause catastrophic failure.
WARNING:catalyst:env variables in catalystrc may cause catastrophic failure.
30 Apr 2024 12:02:00 CEST: WARNING : If your build fails look here first as the possible problem.
WARNING:catalyst:If your build fails look here first as the possible problem.
30 Apr 2024 12:02:00 CEST: NOTICE  : Writing the stage make.conf to: /var/tmp/catalyst/tmp/23.0-musl-hardened/stage1-amd64-musl-hardened-2014.1/etc/portage/make.conf
NOTICE:catalyst:Writing the stage make.conf to: /var/tmp/catalyst/tmp/23.0-musl-hardened/stage1-amd64-musl-hardened-2014.1/etc/portage/make.conf
30 Apr 2024 12:02:00 CEST: NOTICE  : STICKY-CONFIG is enabled
NOTICE:catalyst:STICKY-CONFIG is enabled
30 Apr 2024 12:02:00 CEST: NOTICE  : --- Running action sequence: setup_environment
NOTICE:catalyst:--- Running action sequence: setup_environment
30 Apr 2024 12:02:00 CEST: NOTICE  : --- Running action sequence: run_local
NOTICE:catalyst:--- Running action sequence: run_local
Running chroot.sh in chroot:
    chroot /var/tmp/catalyst/tmp/23.0-musl-hardened/stage1-amd64-musl-hardened-2014.1 /tmp/chroot.sh
>>> Regenerating /etc/ld.so.cache...
Updating seed stage...
emerge --quiet --buildpkg=n --update --deep --newuse @world

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-devel/gettext-0.22.4
>>> Running pre-merge checks for app-crypt/libb2-0.98.1-r3
>>> Emerging (1 of 26) dev-util/pkgconf-2.2.0::gentoo
>>> Installing (1 of 26) dev-util/pkgconf-2.2.0::gentoo
>>> Completed (1 of 26) dev-util/pkgconf-2.2.0::gentoo
>>> Emerging (2 of 26) sys-apps/sysvinit-3.09::gentoo
>>> Installing (2 of 26) sys-apps/sysvinit-3.09::gentoo
>>> Completed (2 of 26) sys-apps/sysvinit-3.09::gentoo
>>> Emerging (3 of 26) app-portage/elt-patches-20240324::gentoo
>>> Installing (3 of 26) app-portage/elt-patches-20240324::gentoo
>>> Completed (3 of 26) app-portage/elt-patches-20240324::gentoo
>>> Emerging (4 of 26) sys-libs/zlib-1.3.1-r1::gentoo
>>> Installing (4 of 26) sys-libs/zlib-1.3.1-r1::gentoo
>>> Completed (4 of 26) sys-libs/zlib-1.3.1-r1::gentoo
>>> Emerging (5 of 26) dev-libs/libpcre2-10.43::gentoo
>>> Installing (5 of 26) dev-libs/libpcre2-10.43::gentoo
>>> Completed (5 of 26) dev-libs/libpcre2-10.43::gentoo
>>> Emerging (6 of 26) dev-db/sqlite-3.45.3::gentoo
>>> Installing (6 of 26) dev-db/sqlite-3.45.3::gentoo
>>> Completed (6 of 26) dev-db/sqlite-3.45.3::gentoo
>>> Emerging (7 of 26) app-arch/zstd-1.5.6::gentoo
>>> Installing (7 of 26) app-arch/zstd-1.5.6::gentoo
>>> Completed (7 of 26) app-arch/zstd-1.5.6::gentoo
>>> Emerging (8 of 26) dev-libs/libxml2-2.12.6::gentoo
>>> Installing (8 of 26) dev-libs/libxml2-2.12.6::gentoo
>>> Completed (8 of 26) dev-libs/libxml2-2.12.6::gentoo
>>> Emerging (9 of 26) sys-devel/gettext-0.22.4::gentoo
>>> Installing (9 of 26) sys-devel/gettext-0.22.4::gentoo
>>> Completed (9 of 26) sys-devel/gettext-0.22.4::gentoo
>>> Emerging (10 of 26) app-crypt/libb2-0.98.1-r3::gentoo
>>> Installing (10 of 26) app-crypt/libb2-0.98.1-r3::gentoo
>>> Completed (10 of 26) app-crypt/libb2-0.98.1-r3::gentoo
>>> Emerging (11 of 26) sys-apps/kmod-32-r1::gentoo
>>> Installing (11 of 26) sys-apps/kmod-32-r1::gentoo
>>> Completed (11 of 26) sys-apps/kmod-32-r1::gentoo
>>> Emerging (12 of 26) sys-process/psmisc-23.7::gentoo
>>> Installing (12 of 26) sys-process/psmisc-23.7::gentoo
>>> Completed (12 of 26) sys-process/psmisc-23.7::gentoo
>>> Emerging (13 of 26) sys-apps/grep-3.11-r1::gentoo
>>> Installing (13 of 26) sys-apps/grep-3.11-r1::gentoo
>>> Completed (13 of 26) sys-apps/grep-3.11-r1::gentoo
>>> Emerging (14 of 26) dev-libs/libgpg-error-1.48::gentoo
>>> Installing (14 of 26) dev-libs/libgpg-error-1.48::gentoo
>>> Completed (14 of 26) dev-libs/libgpg-error-1.48::gentoo
>>> Emerging (15 of 26) app-arch/libarchive-3.7.3::gentoo
>>> Installing (15 of 26) app-arch/libarchive-3.7.3::gentoo
>>> Completed (15 of 26) app-arch/libarchive-3.7.3::gentoo
>>> Emerging (16 of 26) app-crypt/rhash-1.4.3::gentoo
>>> Installing (16 of 26) app-crypt/rhash-1.4.3::gentoo
>>> Completed (16 of 26) app-crypt/rhash-1.4.3::gentoo
>>> Emerging (17 of 26) dev-libs/libuv-1.48.0::gentoo
>>> Installing (17 of 26) dev-libs/libuv-1.48.0::gentoo
>>> Completed (17 of 26) dev-libs/libuv-1.48.0::gentoo
>>> Emerging (18 of 26) app-misc/ca-certificates-20240203.3.98::gentoo
>>> Installing (18 of 26) app-misc/ca-certificates-20240203.3.98::gentoo
>>> Completed (18 of 26) app-misc/ca-certificates-20240203.3.98::gentoo
>>> Emerging (19 of 26) dev-libs/libassuan-2.5.7::gentoo
>>> Installing (19 of 26) dev-libs/libassuan-2.5.7::gentoo
>>> Completed (19 of 26) dev-libs/libassuan-2.5.7::gentoo
>>> Emerging (20 of 26) dev-libs/jsoncpp-1.9.5::gentoo
>>> Installing (20 of 26) dev-libs/jsoncpp-1.9.5::gentoo
>>> Completed (20 of 26) dev-libs/jsoncpp-1.9.5::gentoo
>>> Emerging (21 of 26) net-misc/iputils-20240117::gentoo
>>> Installing (21 of 26) net-misc/iputils-20240117::gentoo
>>> Completed (21 of 26) net-misc/iputils-20240117::gentoo
>>> Emerging (22 of 26) app-portage/portage-utils-0.96.1::gentoo
>>> Installing (22 of 26) app-portage/portage-utils-0.96.1::gentoo
>>> Completed (22 of 26) app-portage/portage-utils-0.96.1::gentoo
>>> Emerging (23 of 26) dev-build/cmake-3.28.3::gentoo
>>> Installing (23 of 26) dev-build/cmake-3.28.3::gentoo
>>> Completed (23 of 26) dev-build/cmake-3.28.3::gentoo
>>> Emerging (24 of 26) net-libs/nghttp2-1.61.0::gentoo
>>> Installing (24 of 26) net-libs/nghttp2-1.61.0::gentoo
>>> Completed (24 of 26) net-libs/nghttp2-1.61.0::gentoo
>>> Emerging (25 of 26) net-misc/curl-8.7.1-r4::gentoo
>>> Installing (25 of 26) net-misc/curl-8.7.1-r4::gentoo
>>> Completed (25 of 26) net-misc/curl-8.7.1-r4::gentoo
>>> Emerging (26 of 26) app-crypt/gnupg-2.4.5::gentoo
>>> Installing (26 of 26) app-crypt/gnupg-2.4.5::gentoo
>>> Completed (26 of 26) app-crypt/gnupg-2.4.5::gentoo

 * Messages for package sys-apps/sysvinit-3.09:

 * The last/lastb/mesg/mountpoint/sulogin/utmpdump/wall tools have been moved to
 * sys-apps/util-linux. The pidof tool has been moved to sys-process/procps.
emerge --quiet --usepkg --buildpkg --binpkg-respect-use=y --newuse --oneshot --nodeps sys-apps/baselayout
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-apps/baselayout-2.14-r2::gentoo for /tmp/stage1root/
>>> Installing (1 of 1) sys-apps/baselayout-2.14-r2::gentoo to /tmp/stage1root/
>>> Completed (1 of 1) sys-apps/baselayout-2.14-r2::gentoo to /tmp/stage1root/

 * Messages for package sys-apps/baselayout-2.14-r2 merged to /tmp/stage1root/:

 * The following users have non-existent shells!
 * adm - /bin/false
 * bin - /bin/false
 * daemon - /bin/false
 * halt - /sbin/halt
 * lp - /bin/false
 * news - /bin/false
 * nobody - /bin/false
 * operator - /sbin/nologin
 * portage - /bin/false
 * root - /bin/bash
 * shutdown - /sbin/shutdown
 * sync - /bin/sync
 * uucp - /bin/false
 * You should reboot now to get /run mounted with tmpfs!
emerge --quiet --usepkg --buildpkg --binpkg-respect-use=y --newuse --implicit-system-deps=n --oneshot app-admin/eselect app-arch/bzip2 app-arch/gzip app-arch/xz-utils app-arch/tar app-shells/bash:0 dev-build/autoconf dev-build/automake dev-build/libtool dev-build/make net-misc/rsync net-misc/wget sys-apps/baselayout sys-apps/coreutils sys-apps/diffutils sys-apps/file sys-apps/findutils sys-apps/gawk sys-apps/grep sys-apps/less sys-apps/net-tools sys-apps/portage sys-apps/sed sys-apps/shadow sys-devel/binutils sys-devel/bison sys-devel/flex sys-devel/gcc sys-devel/gettext sys-devel/gnuconfig sys-devel/patch virtual/editor virtual/libc virtual/os-headers virtual/pkgconfig dev-util/pkgconf sys-apps/attr sys-apps/sandbox dev-python/pyxattr

emerge: there are no ebuilds built with USE flags to satisfy "sys-libs/libxcrypt[system]" for /tmp/stage1root/.
!!! One of the following packages is required to complete your request:
- sys-libs/libxcrypt-4.4.36-r3::gentoo (Change USE: +system)
(dependency required by "sys-libs/musl-1.2.4-r1::gentoo[-crypt]" [ebuild])
(dependency required by "virtual/libc-1-r1::gentoo" [ebuild])
(dependency required by "virtual/libc" [argument])
30 Apr 2024 14:59:16 CEST: ERROR   : CatalystError: cmd(['/usr/share/catalyst/targets/stage1/controller.sh', 'run']) exited 1
ERROR:catalyst:CatalystError: cmd(['/usr/share/catalyst/targets/stage1/controller.sh', 'run']) exited 1
30 Apr 2024 14:59:17 CEST: ERROR   : Exception running action sequence run_local
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/catalyst/base/stagebase.py", line 38, in run_sequence
    func()
  File "/usr/lib/python3.11/site-packages/catalyst/base/stagebase.py", line 1415, in run_local
    cmd([self.settings['controller_file'], 'run'],
  File "/usr/lib/python3.11/site-packages/catalyst/support.py", line 66, in cmd
    raise CatalystError('cmd(%r) exited %s' % (args, ret),
catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/stage1/controller.sh', 'run']) exited 1
ERROR:catalyst:Exception running action sequence run_local
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/catalyst/base/stagebase.py", line 38, in run_sequence
    func()
  File "/usr/lib/python3.11/site-packages/catalyst/base/stagebase.py", line 1415, in run_local
    cmd([self.settings['controller_file'], 'run'],
  File "/usr/lib/python3.11/site-packages/catalyst/support.py", line 66, in cmd
    raise CatalystError('cmd(%r) exited %s' % (args, ret),
catalyst.support.CatalystError: cmd(['/usr/share/catalyst/targets/stage1/controller.sh', 'run']) exited 1



What should I do with sys-libs/libxcrypt?
Is there a missing "system" USE flag somewhere?

Code:
# grep -v ^# /var/tmp/catalyst/tmp/23.0-musl-hardened/stage1-amd64-musl-hardened-2014.1/etc/portage/make.conf
COMMON_FLAGS="-O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

CHOST="x86_64-pc-linux-musl"

USE="bindist"

LC_MESSAGES=C.utf8
CATALYST_USE="-* build bindist "
USE="${CATALYST_USE}  unicode internal-glib pkg-config split-usr xml python_targets_python3_11 python_single_target_python3_11 multilib zstd cet -berkdb -gdbm hardened pic xtpax -jit -orc "


Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum