I'm little bit lost understanding what should we have in a make.conf for crossdev environment when we are switched to 23.0 profile.
On the one hand migration guide for 23 profile (https://www.gentoo.org/support/news-ite ... files.html) says that we should remove CHOST completely from make.conf.
On the other hand when I bootstrap crossdev it provides CHOST in make.conf.
In my case I have following make.conf right after boostraping crossdev:
Code: Select all
# Note: profile variables are set/overridden in profile/ files:
# etc/portage/profile/use.force (overrides kernel_* USE variables)
# etc/portage/profile/make.defaults (overrides ARCH, KERNEL, ELIBC variables)
CHOST=aarch64-unknown-linux-gnu
CBUILD=x86_64-pc-linux-gnu
ROOT=/usr/${CHOST}/
ACCEPT_KEYWORDS="${ARCH} ~${ARCH}"
USE="${ARCH}"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
FEATURES="-collision-protect sandbox buildpkg noman noinfo nodoc"
# Be sure we dont overwrite pkgs from another repo..
PKGDIR=${ROOT}var/cache/binpkgs/
PORTAGE_TMPDIR=${ROOT}tmp/
Code: Select all
[ERROR] code for hash blake2b was not found.
Traceback (most recent call last):
File "/usr/lib/python3.12/hashlib.py", line 245, in <module>
globals()[__func_name] = __get_hash(__func_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/hashlib.py", line 129, in __get_openssl_constructor
return __get_builtin_constructor(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/hashlib.py", line 123, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type blake2b
[ERROR] code for hash blake2s was not found.
Traceback (most recent call last):
File "/usr/lib/python3.12/hashlib.py", line 245, in <module>
globals()[__func_name] = __get_hash(__func_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/hashlib.py", line 129, in __get_openssl_constructor
return __get_builtin_constructor(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/hashlib.py", line 123, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type blake2s
.........................
/bin/bash: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
Code: Select all
# aarch64-unknown-linux-gnu-emerge -vp gcc
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 3.29 s (backtrack: 0/20).
[ebuild N ] sys-libs/zlib-1.3.1-r1:0/1::gentoo to /usr/ USE="-minizip -static-libs -verify-sig" 0 KiB
[ebuild N ] virtual/libintl-0-r2::gentoo to /usr/ 0 KiB
[ebuild N ] virtual/libiconv-0-r2::gentoo to /usr/ 0 KiB
[ebuild N ] sys-libs/zlib-1.3.1-r1:0/1::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="-minizip -static-libs -verify-sig" 0 KiB
[ebuild N ] virtual/libintl-0-r2::gentoo to /usr/aarch64-unknown-linux-gnu/ 0 KiB
[ebuild N ] virtual/libiconv-0-r2::gentoo to /usr/aarch64-unknown-linux-gnu/ 0 KiB
[ebuild N ] dev-libs/gmp-6.3.0-r1:0/10.4::gentoo to /usr/ USE="asm cpudetection cxx -doc -pic -static-libs" 0 KiB
[ebuild N ] app-arch/xz-utils-5.8.1::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="extra-filters nls -doc -pgo -static-libs -verify-sig" CPU_FLAGS_ARM="-crc32" 0 KiB
[ebuild N ] sys-apps/gentoo-functions-1.7.3::gentoo to /usr/ USE="-test" 0 KiB
[ebuild N ] app-arch/xz-utils-5.8.1::gentoo to /usr/ USE="extra-filters nls -doc -pgo -static-libs -verify-sig" CPU_FLAGS_ARM="-crc32" 0 KiB
[ebuild N ] sys-libs/timezone-data-2025b::gentoo to /usr/ USE="nls -leaps-timezone -zic-slim" 0 KiB
[ebuild N ] dev-libs/libunistring-1.3:0/5::gentoo to /usr/ USE="-doc -static-libs" 0 KiB
[ebuild N ] sys-kernel/linux-headers-6.14::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="-headers-only" 0 KiB
[ebuild N ] dev-libs/gmp-6.3.0-r1:0/10.4::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="asm cpudetection cxx -doc -pic -static-libs" 0 KiB
[ebuild N ] dev-libs/libunistring-1.3:0/5::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="-doc -static-libs" 0 KiB
[ebuild N ] sys-libs/timezone-data-2025b::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="nls -leaps-timezone -zic-slim" 0 KiB
[ebuild N ] dev-libs/mpfr-4.2.2:0/6::gentoo to /usr/ USE="-static-libs -verify-sig" 0 KiB
[ebuild N ] virtual/os-headers-0-r2::gentoo to /usr/aarch64-unknown-linux-gnu/ 0 KiB
[ebuild N ] app-arch/zstd-1.5.7-r1:0/1::gentoo to /usr/ USE="lzma zlib -lz4 -static-libs -test" 0 KiB
[ebuild N ] sys-devel/gcc-config-2.12.1::gentoo to /usr/ USE="(cc-wrappers) (native-symlinks)" 0 KiB
[ebuild N ] net-dns/libidn2-2.3.8:0/2::gentoo to /usr/ USE="nls -static-libs -verify-sig" 0 KiB
[ebuild N ] dev-libs/mpfr-4.2.2:0/6::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="-static-libs -verify-sig" 0 KiB
[ebuild N ] app-arch/zstd-1.5.7-r1:0/1::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="lzma zlib -lz4 -static-libs -test" 0 KiB
[ebuild N ] net-dns/libidn2-2.3.8:0/2::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="nls -static-libs -verify-sig" 0 KiB
[ebuild N ] sys-libs/glibc-2.41-r1:2.2::gentoo to /usr/ USE="multiarch ssp (static-libs) -audit -caps (-cet) -compile-locales (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only (-multilib) -multilib-bootstrap -nscd -perl -profile (-selinux) (-stack-realign) -suid -systemd -systemtap -test (-vanilla)" 0 KiB
[ebuild N ] dev-libs/mpc-1.3.1:0/3::gentoo to /usr/ USE="-static-libs" 0 KiB
[ebuild N ] sys-libs/glibc-2.41-r1:2.2::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="multiarch ssp (static-libs) -audit -caps (-cet) -compile-locales (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only (-multilib) -multilib-bootstrap -nscd -perl -profile (-selinux) (-stack-realign) -suid -systemd -systemtap -test (-vanilla)" 0 KiB
[ebuild N ] dev-libs/mpc-1.3.1:0/3::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="-static-libs" 0 KiB
[ebuild N ] sys-libs/libxcrypt-4.4.38:0/1::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="(compat) (system) -headers-only -static-libs -test" 0 KiB
[ebuild N ] virtual/libcrypt-2-r1:0/2::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="-static-libs" 0 KiB
[ebuild N ] sys-devel/gcc-14.2.1_p20250301:14::gentoo to /usr/ USE="(cxx) (default-stack-clash-protection) (default-znow) fortran nls openmp (pie) sanitize ssp zstd -ada (-cet) (-custom-cflags) -d -debug -doc (-fixed-point) -go -graphite -hardened (-ieee-long-double) -jit (-libssp) -lto -modula2 (-multilib) -objc -objc++ -objc-gc (-pch) -pgo -rust -systemtap -test (-time64) -valgrind -vanilla -vtv" 0 KiB
Total: 31 packages (31 new), Size of downloads: 0 KiB
Is it normal? Any advice?
Thanks.

