Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Understanding portage: emerge to another ROOT
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: 901

PostPosted: Mon Apr 22, 2024 4:49 pm    Post subject: Understanding portage: emerge to another ROOT Reply with quote

Hi,

I'd like to understand how emerge installs packages and resolves dependencies when ROOT or --root are specified.

Suppose /tmp/tinysys is empty, and I run the following:

Code:
# ROOT=/tmp/tinysys emerge -pv syslinux


Code:
Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 12.30 s (backtrack: 0/20).

[binary  N     ] virtual/libintl-0-r2-1::gentoo to /tmp/tinysys/ ABI_X86="(64) -32 (-x32)" 30 KiB
[ebuild  N     ] sys-libs/ncurses-6.4_p20230401:0/6::gentoo to /tmp/tinysys/ USE="cxx stack-realign (tinfo) -ada -debug -doc -gpm -minimal -profile (-split-usr) -static-libs -test -trace -verify-sig" ABI_X86="(64) -32 (-x32)" 4.377 KiB
[binary  N     ] virtual/libiconv-0-r2-1::gentoo to /tmp/tinysys/ ABI_X86="(64) -32 (-x32)" 30 KiB
[binary  N     ] sec-keys/openpgp-keys-gentoo-release-20230329-1::gentoo to /tmp/tinysys/ USE="-test" 40 KiB
[binary  N     ] app-misc/ca-certificates-20230311.3.97-1::gentoo to /tmp/tinysys/ USE="-cacert" 170 KiB
[binary  N     ] sys-apps/baselayout-2.14-r2-1::gentoo to /tmp/tinysys/ USE="-build (-split-usr)" 60 KiB
[binary  N     ] sys-kernel/linux-headers-6.6-r1-1::gentoo to /tmp/tinysys/ USE="-headers-only" 1.280 KiB
[binary  N     ] dev-lang/python-exec-conf-2.4.6-1:2::gentoo to /tmp/tinysys/ PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 30 KiB
[ebuild  N     ] dev-libs/libffi-3.4.4-r4:0/8::gentoo to /tmp/tinysys/ USE="-debug -exec-static-trampoline -pax-kernel -static-libs -test" ABI_X86="(64) -32 (-x32)" 1.331 KiB
[binary  N     ] dev-python/gentoo-common-1-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] app-misc/mime-types-2.1.54-1::gentoo to /tmp/tinysys/ USE="-nginx" 40 KiB
[binary  N     ] dev-python/ensurepip-pip-24.0-1::gentoo to /tmp/tinysys/ 2.030 KiB
[binary  N     ] dev-python/ensurepip-setuptools-69.2.0-1::gentoo to /tmp/tinysys/ 730 KiB
[ebuild  N     ] acct-group/ldap-0-r2::gentoo  0 KiB
[ebuild  N     ] sys-apps/install-xattr-0.8-r1::gentoo to /tmp/tinysys/ 16 KiB
[ebuild  N     ] dev-db/lmdb-0.9.31:0/0.9.31::gentoo to /tmp/tinysys/ USE="-static-libs" ABI_X86="(64) -32 (-x32)" 142 KiB
[ebuild  N     ] net-dns/c-ares-1.26.0:0/2::gentoo to /tmp/tinysys/ USE="-static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 1.268 KiB
[binary  N     ] acct-group/portage-0-r2-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/audio-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/cdrom-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/dialout-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/disk-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/floppy-0-r1-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/input-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/kmem-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/kvm-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/lp-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/render-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/sgx-0-r2-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/tape-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/tty-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/usb-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] acct-group/video-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[ebuild  N     ] sys-libs/zlib-1.3-r4:0/1::gentoo to /tmp/tinysys/ USE="-minizip -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 1.266 KiB
[ebuild  N     ] dev-libs/openssl-3.0.13-r2:0/3::gentoo to /tmp/tinysys/ USE="asm -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -weak-ssl-ciphers" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 14.937 KiB
[ebuild  N     ] dev-libs/gmp-6.3.0-r1:0/10.4::gentoo to /tmp/tinysys/ USE="asm cpudetection cxx -doc -pic -static-libs" ABI_X86="(64) -32 (-x32)" 2.046 KiB
[ebuild  N     ] sys-apps/attr-2.5.2-r1::gentoo to /tmp/tinysys/ USE="nls -debug -static-libs" ABI_X86="(64) -32 (-x32)" 327 KiB
[ebuild  N     ] dev-libs/libunistring-1.2:0/5::gentoo to /tmp/tinysys/ USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 2.444 KiB
[ebuild  N     ] app-arch/xz-utils-5.4.2::gentoo to /tmp/tinysys/ USE="extra-filters nls -doc -pgo -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 2.734 KiB
[ebuild  N     ] dev-lang/python-exec-2.4.10:2::gentoo to /tmp/tinysys/ USE="(native-symlinks) -test" PYTHON_TARGETS="(pypy3) (python3_10) (python3_11) (python3_12)" 83 KiB
[ebuild  N     ] sys-apps/findutils-4.9.0-r2::gentoo to /tmp/tinysys/ USE="nls (-selinux) -static -test -verify-sig" 1.999 KiB
[ebuild  N     ] dev-libs/expat-2.5.0::gentoo to /tmp/tinysys/ USE="unicode -examples -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] dev-libs/popt-1.19-r1::gentoo to /tmp/tinysys/ USE="nls -static-libs" ABI_X86="(64) -32 (-x32)" 583 KiB
[ebuild  N     ] sys-libs/timezone-data-2024a-r1::gentoo to /tmp/tinysys/ USE="nls -leaps-timezone -zic-slim" 736 KiB
[binary  N     ] dev-python/ensurepip-wheels-100-1::gentoo to /tmp/tinysys/ 20 KiB
[ebuild  N     ] dev-libs/libgpg-error-1.47-r1::gentoo to /tmp/tinysys/ USE="nls -common-lisp -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 997 KiB
[binary  N     ] dev-libs/libltdl-2.4.7-r1-1::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 50 KiB
[binary  N     ] dev-db/lmdb-0.9.31-1:0/0.9.31::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 120 KiB
[ebuild  N     ] acct-user/ldap-0-r2::gentoo  0 KiB
[ebuild  N     ] dev-libs/libltdl-2.4.7-r1::gentoo to /tmp/tinysys/ USE="-static-libs" ABI_X86="(64) -32 (-x32)" 993 KiB
[ebuild  N     ] sys-fs/mtools-4.0.43::gentoo to /tmp/tinysys/ USE="-gui" 434 KiB
[ebuild  N     ] sys-fs/mtools-4.0.43::gentoo  USE="-gui" 0 KiB
[ebuild  N     ] dev-perl/Crypt-PasswdMD5-1.420.0::gentoo  USE="-test" 14 KiB
[binary  N     ] dev-lang/nasm-2.16.01-r1-2::gentoo  USE="-doc" 340 KiB
[binary  N     ] acct-user/portage-0-r3-1::gentoo to /tmp/tinysys/ 20 KiB
[ebuild  N     ] sys-apps/sandbox-2.38::gentoo to /tmp/tinysys/ USE="nnp" ABI_X86="(32) (64) (-x32)" 450 KiB
[ebuild  N     ] dev-libs/npth-1.6-r1::gentoo to /tmp/tinysys/ USE="-test" 294 KiB
[ebuild  N     ] dev-libs/libtasn1-4.19.0:0/6::gentoo to /tmp/tinysys/ USE="-static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 1.745 KiB
[binary  N     ] net-libs/nghttp2-1.61.0-3:0/1.14::gentoo  USE="-debug -hpack-tools -jemalloc -static-libs -systemd -test -utils -xml" ABI_X86="(64) -32 (-x32)" 190 KiB
[ebuild  N     ] dev-python/pyelftools-0.31::gentoo  PYTHON_TARGETS="python3_11 -python3_10 -python3_12" 13.872 KiB
[binary  N     ] dev-lang/swig-4.1.1-r1-2::gentoo  USE="pcre -ccache -doc -test" 1.270 KiB
[ebuild  N     ] sys-apps/keyutils-1.6.3-r1:0/1.9::gentoo to /tmp/tinysys/ USE="-static -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] dev-libs/libev-4.33::gentoo to /tmp/tinysys/ USE="-static-libs" ABI_X86="(64) -32 (-x32)" 557 KiB
[binary  N     ] virtual/perl-Digest-1.200.0-r1-1::gentoo  20 KiB
[ebuild  N     ] sys-libs/readline-8.1_p2-r2:0/8::gentoo to /tmp/tinysys/ USE="(unicode) -static-libs -utils -verify-sig" ABI_X86="(64) -32 (-x32)" 2.927 KiB
[ebuild  N     ] app-arch/zstd-1.5.5-r1:0/1::gentoo to /tmp/tinysys/ USE="lzma zlib -lz4 -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] sys-apps/acl-2.3.2-r1::gentoo to /tmp/tinysys/ USE="nls -static-libs" ABI_X86="(64) -32 (-x32)" 363 KiB
[ebuild  N     ] net-dns/libidn2-2.3.7:0/2::gentoo to /tmp/tinysys/ USE="nls -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 2.105 KiB
[ebuild  N     ] sys-apps/gentoo-functions-0.19::gentoo to /tmp/tinysys/ 12 KiB
[ebuild  N     ] dev-libs/mpfr-4.2.1:0/6::gentoo to /tmp/tinysys/ USE="-static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 1.459 KiB
[ebuild  N     ] dev-libs/libassuan-2.5.6::gentoo to /tmp/tinysys/ USE="-verify-sig" 564 KiB
[binary  N     ] dev-db/unixODBC-2.3.12-2::gentoo  USE="minimal unicode -odbcmanual -static-libs" ABI_X86="(64) -32 (-x32)" 290 KiB
[ebuild  N     ] dev-perl/Digest-SHA1-2.130.0-r2::gentoo  39 KiB
[ebuild  N     ] dev-libs/libksba-1.6.6::gentoo to /tmp/tinysys/ USE="-static-libs -verify-sig" 692 KiB
[ebuild  N     ] dev-libs/nettle-3.9.1:0/8-6::gentoo to /tmp/tinysys/ USE="asm gmp -doc -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes -pclmul -sha" 2.341 KiB
[ebuild  N     ] net-libs/nghttp2-1.61.0:0/1.14::gentoo to /tmp/tinysys/ USE="-debug -hpack-tools -jemalloc -static-libs -systemd -test -utils -xml" ABI_X86="(64) -32 (-x32)" 1.608 KiB
[ebuild  N     ] dev-libs/libverto-0.3.2::gentoo to /tmp/tinysys/ USE="libev threads -glib -libevent" ABI_X86="(64) -32 (-x32)" 375 KiB
[binary  N     ] virtual/acl-0-r2-1::gentoo to /tmp/tinysys/ USE="-static-libs" ABI_X86="(64) -32 (-x32)" 30 KiB
[ebuild  N     ] sys-libs/glibc-2.38-r11:2.2::gentoo to /tmp/tinysys/ USE="cet multiarch (multilib) ssp stack-realign (static-libs) -audit -caps -compile-locales (-crypt) (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -perl -profile (-selinux) -suid -systemd -systemtap -test (-vanilla)" 18.537 KiB
[ebuild  N     ] sys-libs/gdbm-1.23:0/6::gentoo to /tmp/tinysys/ USE="berkdb nls readline -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 1.090 KiB
[ebuild  N     ] app-shells/bash-5.1_p16-r6::gentoo to /tmp/tinysys/ USE="net nls (readline) -afs -bashlogger -examples -mem-scramble -plugins -verify-sig" 10.250 KiB
[ebuild  N     ] sys-apps/coreutils-9.4-r1::gentoo to /tmp/tinysys/ USE="acl nls openssl xattr -caps -gmp -hostname -kill -multicall (-selinux) (-split-usr) -static -test -vanilla -verify-sig" 5.846 KiB
[ebuild  N     ] dev-db/sqlite-3.45.1-r1:3::gentoo to /tmp/tinysys/ USE="readline -debug -doc -icu -secure-delete -static-libs -tcl -test -tools" ABI_X86="(64) -32 (-x32)" 13.821 KiB
[ebuild  N     ] dev-libs/mpc-1.3.1:0/3::gentoo to /tmp/tinysys/ USE="-static-libs" ABI_X86="(64) -32 (-x32)" 756 KiB
[binary  N     ] sys-devel/gcc-config-2.11-1::gentoo to /tmp/tinysys/ USE="(cc-wrappers) (native-symlinks)" 30 KiB
[ebuild  N     ] net-nds/openldap-2.6.4-r1:0/2.6::gentoo  USE="cleartext crypt ipv6 kerberos odbc samba ssl syslog -argon2 -autoca -cxx -debug -experimental -gnutls -iodbc -kinit -minimal -overlays -pbkdf2 -perl -sasl (-selinux) -sha2 -smbkrb5passwd -static-libs -systemd -tcpd -test" ABI_X86="(64) -32 (-x32)" 4.938 KiB
[ebuild  N     ] net-libs/gnutls-3.8.0:0/30.30::gentoo to /tmp/tinysys/ USE="cxx idn nls openssl seccomp tls-heartbeat zlib -brotli -dane -doc -examples -pkcs11 (-sslv2) (-sslv3) -static-libs -test (-test-full) -tools -verify-sig -zstd" ABI_X86="(64) -32 (-x32)" 6.229 KiB
[ebuild  N     ] dev-db/unixODBC-2.3.12::gentoo to /tmp/tinysys/ USE="minimal unicode -odbcmanual -static-libs" ABI_X86="(64) -32 (-x32)" 1.713 KiB
[ebuild  N     ] net-libs/libpsl-0.21.5::gentoo to /tmp/tinysys/ USE="idn -icu -test" ABI_X86="(64) -32 (-x32)" 7.446 KiB
[ebuild  N     ] sys-apps/sed-4.9::gentoo to /tmp/tinysys/ USE="acl nls (-selinux) -static -verify-sig" 1.365 KiB
[ebuild  N     ] sys-devel/gcc-13.2.1_p20240210:13::gentoo to /tmp/tinysys/ USE="cet (cxx) (default-stack-clash-protection) (default-znow) fortran (multilib) nls openmp (pie) sanitize ssp zstd -ada (-custom-cflags) -d -debug -doc (-fixed-point) -go -graphite -hardened (-ieee-long-double) -jit (-libssp) -lto -modula2 -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv" 82.429 KiB
[ebuild  N     ] net-misc/rsync-3.2.7-r4::gentoo to /tmp/tinysys/ USE="acl iconv ssl xattr -examples -lz4 -rrsync -stunnel -system-zlib -verify-sig -xxhash -zstd" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 1.123 KiB
[ebuild  N     ] sys-libs/libxcrypt-4.4.36-r3:0/1::gentoo to /tmp/tinysys/ USE="(compat) (system) -headers-only -static-libs -test" ABI_X86="32 (64) (-x32)" 611 KiB
[ebuild  N     ] dev-libs/libgcrypt-1.10.3-r1:0/20::gentoo to /tmp/tinysys/ USE="asm getentropy -doc -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes -avx -avx2 -padlock -sha -sse4_1" 3.696 KiB
[binary  N     ] virtual/libcrypt-2-r1-1:0/2::gentoo to /tmp/tinysys/ USE="-static-libs" ABI_X86="32 (64) (-x32)" 30 KiB
[ebuild  N     ] app-crypt/libb2-0.98.1-r3::gentoo to /tmp/tinysys/ USE="openmp -native-cflags -static-libs" ABI_X86="(64) -32 (-x32)" 275 KiB
[ebuild  N     ] app-crypt/pinentry-1.2.1-r4::gentoo to /tmp/tinysys/ USE="ncurses -X -caps -efl -emacs -gtk -keyring -qt5 -verify-sig -wayland" 535 KiB
[ebuild  N     ] app-arch/bzip2-1.0.8-r5:0/1::gentoo to /tmp/tinysys/ USE="-static -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 792 KiB
[binary  N     ] app-alternatives/bzip2-1-1::gentoo to /tmp/tinysys/ USE="reference -lbzip2 -pbzip2 (-split-usr)" 20 KiB
[ebuild  N     ] dev-libs/libpcre2-10.42-r2:0/3::gentoo to /tmp/tinysys/ USE="bzip2 jit pcre16 pcre32 readline unicode zlib -libedit -static-libs -valgrind -verify-sig" ABI_X86="(64) -32 (-x32)" 1.758 KiB
[ebuild  N     ] sys-libs/pam-1.5.3-r1::gentoo to /tmp/tinysys/ USE="filecaps -audit -berkdb -debug -nis (-selinux)" ABI_X86="(64) -32 (-x32)" 1.452 KiB
[ebuild  N     ] sys-auth/passwdqc-2.0.3-r1::gentoo to /tmp/tinysys/ 88 KiB
[binary  N     ] sys-auth/pambase-20240128-4::gentoo to /tmp/tinysys/ USE="nullok passwdqc sha512 -caps -debug -elogind -gnome-keyring -homed -minimal -mktemp -pam_krb5 (-pam_ssh) -pwhistory -pwquality -securetty (-selinux) -sssd -systemd -yescrypt" 40 KiB
[ebuild  N     ] sys-libs/libcap-2.69-r1::gentoo to /tmp/tinysys/ USE="pam -static-libs -tools" ABI_X86="(64) -32 (-x32)" 185 KiB
[ebuild  N     ] app-arch/tar-1.35::gentoo to /tmp/tinysys/ USE="acl nls xattr -minimal (-selinux) -verify-sig" 2.263 KiB
[binary  N     ] app-alternatives/tar-0-1::gentoo to /tmp/tinysys/ USE="gnu -libarchive (-split-usr)" 20 KiB
[ebuild  N     ] dev-lang/perl-5.38.2-r2:0/5.38::gentoo to /tmp/tinysys/ USE="gdbm -berkdb -debug -doc -ithreads -minimal -quadmath" 13.502 KiB
[binary  N     ] virtual/perl-CPAN-2.360.0-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] virtual/perl-Test-Harness-3.440.0-r1-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] virtual/perl-Encode-3.190.0-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] virtual/perl-Data-Dumper-2.188.0-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] perl-core/File-Temp-0.231.100-1::gentoo to /tmp/tinysys/ 60 KiB
[binary  N     ] virtual/perl-File-Temp-0.231.100-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] virtual/perl-Digest-MD5-2.580.100_rc-1::gentoo to /tmp/tinysys/ 0 KiB
[ebuild  N     ] dev-perl/Crypt-PasswdMD5-1.420.0::gentoo to /tmp/tinysys/ USE="-test" 0 KiB
[binary  N     ] virtual/perl-Math-BigInt-FastCalc-0.501.300-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] virtual/perl-bignum-0.660.0-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] virtual/perl-Math-BigRat-0.262.400-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] virtual/perl-Carp-1.540.0-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] virtual/perl-Math-Complex-1.620.0-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] perl-core/Math-BigInt-1.999.842-1::gentoo to /tmp/tinysys/ USE="-examples -test" 160 KiB
[binary  N     ] virtual/perl-Math-BigInt-1.999.842-1::gentoo to /tmp/tinysys/ 20 KiB
[binary  N     ] virtual/perl-Digest-1.200.0-r1-1::gentoo to /tmp/tinysys/ 0 KiB
[ebuild  N     ] dev-perl/Digest-SHA1-2.130.0-r2::gentoo to /tmp/tinysys/ 0 KiB
[ebuild  N     ] dev-lang/python-3.11.8_p1:3.11::gentoo to /tmp/tinysys/ USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debug -examples -libedit -pgo -test -tk -valgrind -verify-sig" 19.581 KiB
[ebuild  N     ] sys-apps/util-linux-2.39.3-r7::gentoo to /tmp/tinysys/ USE="cramfs hardlink logger ncurses nls pam python readline su suid (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic (-rtas) (-selinux) -slang -static-libs -systemd -test -tty-helpers -udev -verify-sig" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" 8.327 KiB
[ebuild  N     ] sys-libs/libseccomp-2.5.5-r1::gentoo to /tmp/tinysys/ USE="python -debug (-experimental-loong) -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" 628 KiB
[ebuild  N     ] sys-apps/file-5.45-r4::gentoo to /tmp/tinysys/ USE="bzip2 python seccomp zlib -lzip -lzma -static-libs -verify-sig -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_11 -python3_10" 1.218 KiB
[binary  N     ] app-admin/eselect-1.4.27-r1-1::gentoo to /tmp/tinysys/ USE="-doc -emacs -vim-syntax" 100 KiB
[ebuild  N     ] sys-fs/e2fsprogs-1.47.0-r3::gentoo to /tmp/tinysys/ USE="nls tools -cron -fuse -static-libs -test" ABI_X86="(64) -32 (-x32)" 6.894 KiB
[ebuild  N     ] sys-apps/kmod-31::gentoo to /tmp/tinysys/ USE="lzma python (tools) zlib zstd -debug -doc -pkcs7 -static-libs" PYTHON_TARGETS="python3_11 -python3_10" 558 KiB
[binary  N     ] dev-python/certifi-3021.3.16-r4-2::gentoo to /tmp/tinysys/ USE="-test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 60 KiB
[binary  N     ] dev-python/charset-normalizer-3.3.2-2::gentoo to /tmp/tinysys/ USE="-test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 130 KiB
[binary  N     ] dev-python/idna-3.7-1::gentoo to /tmp/tinysys/ USE="-test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 130 KiB
[binary  N     ] dev-python/PySocks-1.7.1-r2-2::gentoo to /tmp/tinysys/ PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 80 KiB
[binary  N     ] dev-python/urllib3-2.2.1-3::gentoo to /tmp/tinysys/ USE="-brotli -http2 -test -zstd" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 260 KiB
[binary  N     ] dev-python/requests-2.31.0-2::gentoo to /tmp/tinysys/ USE="(test-rust) -socks5 -test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 160 KiB
[ebuild  N     ] dev-python/pyelftools-0.31::gentoo to /tmp/tinysys/ PYTHON_TARGETS="python3_11 -python3_10 -python3_12" 0 KiB
[ebuild  N     ] app-misc/pax-utils-1.3.7::gentoo to /tmp/tinysys/ USE="python -caps -man (-seccomp) -test" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 112 KiB
[ebuild  N     ] dev-libs/libxml2-2.12.5:2::gentoo to /tmp/tinysys/ USE="ftp python readline -debug -examples -icu -lzma -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" 2.582 KiB
[ebuild  N     ] sys-devel/gettext-0.22.4::gentoo to /tmp/tinysys/ USE="acl cxx ncurses nls openmp (xattr) -doc -emacs -git -java -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 10.016 KiB
[ebuild  N     ] app-crypt/mit-krb5-1.21.2::gentoo to /tmp/tinysys/ USE="keyutils nls pkinit threads -doc -lmdb -openldap (-selinux) -test -xinetd" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" 8.421 KiB
[binary  N     ] virtual/krb5-0-r1-1::gentoo to /tmp/tinysys/ ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] sys-boot/syslinux-6.04_pre1-r5::gentoo to /tmp/tinysys/ USE="bios uefi -secureboot" ABI_X86="(64) -32" 5.160 KiB
[ebuild  N     ] sys-apps/systemd-utils-254.10-r1::gentoo to /tmp/tinysys/ USE="acl kmod tmpfiles udev -boot -kernel-install -secureboot (-selinux) (-split-usr) -sysusers -test -ukify" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 14.091 KiB
[binary  N     ] virtual/udev-217-r7-2::gentoo to /tmp/tinysys/ USE="-systemd" 20 KiB
[binary  N     ] sys-fs/udev-init-scripts-35-1::gentoo to /tmp/tinysys/ 0 KiB
[binary  N     ] virtual/tmpfiles-0-r5-2::gentoo to /tmp/tinysys/ USE="-systemd" 20 KiB
[ebuild  N     ] net-nds/openldap-2.6.4-r1:0/2.6::gentoo to /tmp/tinysys/ USE="cleartext crypt ipv6 kerberos odbc samba ssl syslog -argon2 -autoca -cxx -debug -experimental -gnutls -iodbc -kinit -minimal -overlays -pbkdf2 -perl -sasl (-selinux) -sha2 -smbkrb5passwd -static-libs -systemd -tcpd -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] net-misc/curl-8.7.1-r1::gentoo to /tmp/tinysys/ USE="adns alt-svc ftp hsts http2 imap kerberos ldap openssl pop3 progress-meter psl samba smtp ssl tftp -brotli -gnutls -gopher -idn -mbedtls (-nghttp3) -rtmp (-rustls) -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -mbedtls (-rustls)" 2.644 KiB
[ebuild  N     ] app-crypt/gnupg-2.4.4-r1::gentoo to /tmp/tinysys/ USE="bzip2 ldap nls readline smartcard ssl tofu -doc (-selinux) -test -tools -tpm -usb -user-socket -verify-sig -wks-server" 7.702 KiB
[binary  N     ] app-portage/getuto-1.10.2-1::gentoo to /tmp/tinysys/ USE="-test" 20 KiB
[binary  N     ] app-portage/gemato-20.5-1::gentoo to /tmp/tinysys/ USE="gpg -pretty-log -test -tools" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 150 KiB
[ebuild  N     ] sys-apps/portage-3.0.61-r1::gentoo to /tmp/tinysys/ USE="(ipc) native-extensions rsync-verify xattr -apidoc -build -doc -gentoo-dev (-selinux) -test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 1.151 KiB
[ebuild  N     ] app-crypt/gpgme-1.23.2:1/11.6.15.2::gentoo to /tmp/tinysys/ USE="cxx python -common-lisp -debug -qt5 -qt6 -static-libs -test -verify-sig" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" 1.794 KiB
[ebuild  N     ] app-portage/portage-utils-0.96.1::gentoo to /tmp/tinysys/ USE="openmp qmanifest qtegrity -static" 1.765 KiB
[binary  N     ] app-admin/perl-cleaner-2.31-1::gentoo to /tmp/tinysys/ USE="-pkgcore" 30 KiB

Total: 157 packages (157 new, 71 binaries), Size of downloads: 348.308 KiB


I guess syslinux/isolinux cannot be installed without Perl, right?

However, why is python pulled in?
What about openldap?
And portage?

Are all of those packages pulled in because of syslinux's ebuild DEPEND vars?

Code:
RDEPEND="
   sys-apps/util-linux
   sys-fs/mtools
   dev-perl/Crypt-PasswdMD5
   dev-perl/Digest-SHA1
"
DEPEND="${RDEPEND}
   virtual/os-headers
"


I never would have thought syslinux or grub pulled in so many dependencies.

For instance, if I run:

Code:
# equery files grub


I don't see why portage needs to pull in python or openssl when emerging grub.
Do the grub files and binaries listed by equery really need python or openssl?

Likewise, does syslinux actually need openldap or portage?

Thanks
Back to top
View user's profile Send private message
freke
Veteran
Veteran


Joined: 23 Jan 2003
Posts: 1029
Location: Somewhere in Denmark

PostPosted: Mon Apr 22, 2024 6:55 pm    Post subject: Reply with quote

sys-apps/util-linux and others are pulled in with USE=python - so that's one thing that will pull in python for sure.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3848

PostPosted: Mon Apr 22, 2024 8:37 pm    Post subject: Re: Understanding portage: emerge to another ROOT Reply with quote

Vieri wrote:
I never would have thought syslinux or grub pulled in so many dependencies.

For instance, if I run:

Code:
# equery files grub
Maybe you meant
Code:
equery depends grub
which here returns:
Code:
equery depends sys-boot/grub
 * These packages depend on sys-boot/grub:
sys-boot/os-prober-1.81 (sys-boot/grub:2[mount])
sys-boot/woeusb-5.2.4 (sys-boot/grub:2[grub_platforms_pc])
sys-kernel/installkernel-28 (grub ? sys-boot/grub)
sys-libs/efivar-38 (test ? sys-boot/grub:2)

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 652

PostPosted: Mon Apr 22, 2024 10:22 pm    Post subject: Re: Understanding portage: emerge to another ROOT Reply with quote

CaptainBlood wrote:
Maybe you meant
Code:
equery depends grub

I think he meant
Code:
equery depgraph =sys-boot/grub-2.12-r4

If you run that with --depth=2 it shows that enabling zfs or fuse support will pull in python as a dep.

If you run it with --depth=0 grub has a possible 4610 dependencies - the consequence of equery not reading use flags.
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 493

PostPosted: Tue Apr 23, 2024 4:43 am    Post subject: Reply with quote

It's probably pulling in the whole system set. The system set is basically set by the profile. You can manually override it like all other profile parts, but if something breaks you get to keep the pieces

/etc/portage/profile/packages
-*sys-apps/portage


You should start by setting up a quick portage config including profile symlink in the target root, then USE="build" emerge -1 baselayout --root=/foo --config-root=/foo to properly setup some basics like the merged usr symbolic links if using a merged usr profile that aren't triggered without that useflag ( it's basically just used internally to build fresh stages, but that's sorta what you're going for)


Last edited by Phoenix591 on Tue Apr 23, 2024 9:46 am; edited 1 time in total
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 652

PostPosted: Tue Apr 23, 2024 5:28 am    Post subject: Reply with quote

Phoenix591 wrote:
if something breaks you get to keep the pieces

On a similar subject; I can see off label use of package.provided helping out Vieri later down this road.
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1720
Location: Germany

PostPosted: Tue Apr 23, 2024 5:29 am    Post subject: Reply with quote

Also, the different and empty root leads to all the packages which are needed to build. Some are needed that portage does work, others for building and others are direct build dependencies for the requested package. This is how portage and gentoo works.
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9608
Location: beyond the rim

PostPosted: Tue Apr 23, 2024 10:14 am    Post subject: Reply with quote

The --tree option of emerge might provide some insights.
Back to top
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 901

PostPosted: Thu Apr 25, 2024 9:19 am    Post subject: Reply with quote

Quote:
USE="build":
properly setup some basics like the merged usr symbolic links if using a merged usr profile that aren't triggered without that useflag


So I understand setting this flag is a "good idea" when installing on a target chroot with emerge --root ---config-root to eventually create an embedded system?

What does USE="-*" do?
Does it mean that it disables every single USE flag when passed to emerge?

When is emerge --nodeps really useful?

Thanks
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 493

PostPosted: Thu Apr 25, 2024 9:30 am    Post subject: Reply with quote

Vieri wrote:
Quote:
USE="build":
properly setup some basics like the merged usr symbolic links if using a merged usr profile that aren't triggered without that useflag


So I understand setting this flag is a "good idea" when installing on a target chroot with emerge --root ---config-root to eventually create an embedded system?

What does USE="-*" do?
Does it mean that it disables every single USE flag when passed to emerge?

When is emerge --nodeps really useful?

Thanks


I'd only set it temporarily and only for baselayout. Didn't really need to set it on anything else when I made a chroot via --root recently.

Yes, it turns off everything including python targets etc.. generally not a great idea imo, the default useflags on a basic profile are pretty sensible and minimal.

Didn't need that when making my own chroot.
Back to top
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 901

PostPosted: Thu Apr 25, 2024 10:18 am    Post subject: Reply with quote

Phoenix591 wrote:
start by setting up a quick portage config including profile symlink in the target root


I want a different make.conf, so I was thinking of rsync'ing /etc/portage and /var/db/repos/gentoo/profiles to the chroot target dir, and then make my changes to make.conf (in target) before calling emerge with --config-root=target.
Is that all I need as far as portage/emerge is concerned?

What if the host is amd64 with standard stage3 (glibc) and I want to create a target with amd64 musl? Do I absolutely need a "musl host" (with musl stage3), or can I somehow cross-compile with the same emerge --root --config-root method?
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 493

PostPosted: Thu Apr 25, 2024 11:11 am    Post subject: Reply with quote

Vieri wrote:
Phoenix591 wrote:
start by setting up a quick portage config including profile symlink in the target root


I want a different make.conf, so I was thinking of rsync'ing /etc/portage and /var/db/repos/gentoo/profiles to the chroot target dir, and then make my changes to make.conf (in target) before calling emerge with --config-root=target.
Is that all I need as far as portage/emerge is concerned?

What if the host is amd64 with standard stage3 (glibc) and I want to create a target with amd64 musl? Do I absolutely need a "musl host" (with musl stage3), or can I somehow cross-compile with the same emerge --root --config-root method?

Don't forget distfiles too.

I'd just start from a stage 3 if going for a different libc like that rather than mess around. There's probably some combo of settings and order of building things that could get it done ( crossdev does after all), but idk
Back to top
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 901

PostPosted: Thu Apr 25, 2024 12:04 pm    Post subject: Reply with quote

Phoenix591 wrote:
Don't forget distfiles too.


Why do the distfiles need to be copied to the target chroot if emerge is run from the root host?
Isn't emerge going to look for them in / even if --config-root=target?

So with this method (emerge --root=) it isn't trivial to install for another lib yet alone another arch. eg. installing from an amd64 gibc to an arm64 musl chroot target.
I'd have to go the Gentoo Catalyst route and try to trim down the system removing dirs and uninstalling unwanted packages (much more tedious).
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9608
Location: beyond the rim

PostPosted: Thu Apr 25, 2024 1:47 pm    Post subject: Reply with quote

Vieri wrote:
What if the host is amd64 with standard stage3 (glibc) and I want to create a target with amd64 musl? Do I absolutely need a "musl host" (with musl stage3), or can I somehow cross-compile with the same emerge --root --config-root method?


In theory a musl-cross-toolchain should be sufficient. How to properly set the system up for that is a different story.

Vieri wrote:
Phoenix591 wrote:
Don't forget distfiles too.


Why do the distfiles need to be copied to the target chroot if emerge is run from the root host?

If the target system is not supposed to use portage itself then there should be no need. Similar there should also be no need to copy the profiles directory from the repository, you just need to adjust the link within the target root (of course it would then be broken if you actually chroot to the target).
In general think twice about copying files from host to target that will not be needed for using the target system. Copied files tend to become outdated and forgotten over time which can lead to subtle errors.
Back to top
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 901

PostPosted: Thu Apr 25, 2024 2:56 pm    Post subject: Reply with quote

Genone wrote:
In theory a musl-cross-toolchain should be sufficient. How to properly set the system up for that is a different story.


The only official documentation I've found so far is here:

Code:
https://wiki.gentoo.org/wiki/Crossdev
https://wiki.gentoo.org/wiki/Embedded_Handbook/General/Cross-compiling_with_Portage


Problem is, as I read both recently updated pages I'm already confused as how to call the crossdev emerge script as the first URL talks about an emerge-ARCH command but the second mentions ARCH-emerge.
Either I'm misunderstanding something or the *emerge* script names have been renamed at some point in time and one of the docs is outdated.

I guess I'll have to try it out.

[EDIT]

When running this command:

Code:
FEATURES="-nostrip" USE="-python -pcsc-lite -cups -ldap -ads -cluster" emerge --root=/tinysys --config-root=/tinysys  --autounmask-write -avD --usepkg freeradius --tree


I don't get what I was expecting, eg. samba is being pulled in with the ads, ldap and cluster USE flags.
Could it be that the USE flags defined in -config-root prevail on the values I define on the above command line? Same for FEATURES?

[EDIT 2]

OK, I'm lost again. I don't quite understand why the following emerge pulls in samba with ads and ldap USE flags, just to give an example. Why are python and portage also pulled in? I made sure the target chroot's USE flags also included -python -ads -cluster.

Code:
# FEATURES="-nostrip" USE="-python -pcsc-lite -cups -ldap -ads -cluster" emerge --root=/tinysys --config-root=/tinysys  --autounmask-write -avD --usepkg freeradius --tree
 
 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


Local copy of remote index is up-to-date and will be used.

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
Dependency resolution took 14.17 s (backtrack: 0/20).

[ebuild  N     ] net-dialup/freeradius-3.2.2::gentoo to /tinysys/ USE="kerberos odbc pam readline samba ssl -debug (-firebird) -iodbc -ldap -memcached -mongodb -mysql -oracle -postgres -python -redis (-selinux) -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 3.339 KiB
[nomerge       ]  dev-lang/perl-5.38.2-r2:0/5.38::gentoo to /tinysys/ USE="gdbm -berkdb -debug -doc -ithreads -minimal -quadmath"
[binary  N     ]   app-admin/perl-cleaner-2.31-1::gentoo to /tinysys/ USE="-pkgcore" 30 KiB
[ebuild  N     ]    app-portage/portage-utils-0.96.1::gentoo to /tinysys/ USE="openmp qmanifest qtegrity -static" 1.765 KiB
[ebuild  N     ]     app-crypt/gpgme-1.23.2:1/11.6.15.2::gentoo to /tinysys/ USE="cxx -common-lisp -debug -python -qt5 -qt6 -static-libs -test -verify-sig" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" 1.794 KiB
[ebuild  N     ]    sys-apps/portage-3.0.61-r1::gentoo to /tinysys/ USE="(ipc) native-extensions rsync-verify xattr -apidoc -build -doc -gentoo-dev (-selinux) -test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 1.151 KiB
[binary  N     ]     app-portage/gemato-20.5-1::gentoo to /tinysys/ USE="gpg -pretty-log -test -tools" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 150 KiB
[binary  N     ]     app-portage/getuto-1.10.2-1::gentoo to /tinysys/ USE="-test" 20 KiB
[ebuild  N     ]     app-misc/pax-utils-1.3.7::gentoo to /tinysys/ USE="-caps -man -python (-seccomp) -test" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 112 KiB
[ebuild  N     ]     app-crypt/gnupg-2.4.4-r1::gentoo to /tinysys/ USE="bzip2 nls readline smartcard ssl tofu -doc -ldap (-selinux) -test -tools -tpm -usb -user-socket -verify-sig -wks-server" 7.702 KiB
[ebuild  N     ]      net-misc/curl-8.7.1-r1::gentoo to /tinysys/ USE="adns alt-svc ftp hsts http2 imap kerberos openssl pop3 progress-meter psl samba smtp ssl tftp -brotli -gnutls -gopher -idn -ldap -mbedtls (-nghttp3) -rtmp (-rustls) -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -mbedtls (-rustls)" 2.644 KiB
[ebuild  N     ]       net-libs/libpsl-0.21.5::gentoo to /tinysys/ USE="idn -icu -test" ABI_X86="(64) -32 (-x32)" 7.446 KiB
[ebuild  N     ]       net-libs/nghttp2-1.61.0:0/1.14::gentoo to /tinysys/ USE="-debug -hpack-tools -jemalloc -static-libs -systemd -test -utils -xml" ABI_X86="(64) -32 (-x32)" 1.608 KiB
[ebuild  N     ]  dev-libs/json-c-0.17:0/5::gentoo to /tinysys/ USE="-static-libs -threads" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-rdrand" 381 KiB
[ebuild  N     ]  net-fs/samba-4.18.9::gentoo  USE="acl ads cluster ldap pam python regedit system-mitkrb5 winbind -addc -ceph -client -cups -debug (-fam) -glusterfs -gpg -iprint -json -llvm-libunwind -profiling-data -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 40.365 KiB
[ebuild  N     ]  net-fs/samba-4.18.9::gentoo to /tinysys/ USE="acl pam regedit system-mitkrb5 winbind -addc -ads -ceph -client -cluster -cups -debug (-fam) -glusterfs -gpg -iprint -json -ldap -llvm-libunwind -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB
[ebuild  N     ]   sys-libs/ldb-2.7.2:0/2.7.2::gentoo  USE="ldap lmdb python -doc -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 1.698 KiB
[ebuild  N     ]    net-nds/openldap-2.6.4-r1:0/2.6::gentoo  USE="cleartext crypt ipv6 kerberos odbc samba ssl syslog -argon2 -autoca -cxx -debug -experimental -gnutls -iodbc -kinit -minimal -overlays -pbkdf2 -perl -sasl (-selinux) -sha2 -smbkrb5passwd -static-libs -systemd -tcpd -test" ABI_X86="(64) -32 (-x32)" 4.938 KiB
[nomerge       ] app-portage/gemato-20.5-1::gentoo to /tinysys/ USE="gpg -pretty-log -test -tools" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12"
[nomerge       ]  app-crypt/gnupg-2.4.4-r1::gentoo to /tinysys/ USE="bzip2 nls readline smartcard ssl tofu -doc -ldap (-selinux) -test -tools -tpm -usb -user-socket -verify-sig -wks-server"
[ebuild  N     ]   dev-libs/libksba-1.6.6::gentoo to /tinysys/ USE="-static-libs -verify-sig" 692 KiB
[binary  N     ]  dev-python/requests-2.31.0-2::gentoo to /tinysys/ USE="(test-rust) -socks5 -test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 160 KiB
[binary  N     ]   dev-python/urllib3-2.2.1-3::gentoo to /tinysys/ USE="-brotli -http2 -test -zstd" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 260 KiB
[binary  N     ]    dev-python/PySocks-1.7.1-r2-2::gentoo to /tinysys/ PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 80 KiB
[binary  N     ]   dev-python/idna-3.7-1::gentoo to /tinysys/ USE="-test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 130 KiB
[binary  N     ]   dev-python/charset-normalizer-3.3.2-2::gentoo to /tinysys/ USE="-test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 130 KiB
[binary  N     ]   dev-python/certifi-3021.3.16-r4-2::gentoo to /tinysys/ USE="-test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 60 KiB
[nomerge       ] net-dialup/freeradius-3.2.2::gentoo to /tinysys/ USE="kerberos odbc pam readline samba ssl -debug (-firebird) -iodbc -ldap -memcached -mongodb -mysql -oracle -postgres -python -redis (-selinux) -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[ebuild  N     ]  net-libs/libpcap-1.10.4::gentoo  USE="-bluetooth -dbus -netlink -rdma -remote -static-libs -test -usb -verify-sig -yydebug" ABI_X86="(64) -32 (-x32)" 930 KiB
[ebuild  N     ]  dev-db/unixODBC-2.3.12::gentoo to /tinysys/ USE="minimal unicode -odbcmanual -static-libs" ABI_X86="(64) -32 (-x32)" 1.713 KiB
[ebuild  N     ]  net-libs/libpcap-1.10.4::gentoo to /tinysys/ USE="-bluetooth -dbus -netlink -rdma -remote -static-libs -test -usb -verify-sig -yydebug" ABI_X86="(64) -32 (-x32)" 0 KiB
[binary  N     ]  virtual/krb5-0-r1-1::gentoo to /tinysys/ ABI_X86="(64) -32 (-x32)" 0 KiB
[nomerge       ] sys-apps/portage-3.0.61-r1::gentoo to /tinysys/ USE="(ipc) native-extensions rsync-verify xattr -apidoc -build -doc -gentoo-dev (-selinux) -test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12"
[ebuild  N     ]  dev-lang/python-3.11.8_p1:3.11::gentoo to /tinysys/ USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debug -examples -libedit -pgo -test -tk -valgrind -verify-sig" 19.581 KiB
[ebuild  N     ]   app-crypt/libb2-0.98.1-r3::gentoo to /tinysys/ USE="openmp -native-cflags -static-libs" ABI_X86="(64) -32 (-x32)" 275 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo to /tinysys/ USE="acl pam regedit system-mitkrb5 winbind -addc -ads -ceph -client -cluster -cups -debug (-fam) -glusterfs -gpg -iprint -json -ldap -llvm-libunwind -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[ebuild  N     ]  app-crypt/mit-krb5-1.21.2::gentoo to /tinysys/ USE="keyutils nls pkinit threads -doc -lmdb -openldap (-selinux) -test -xinetd" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" 8.421 KiB
[ebuild  N     ]  net-libs/gnutls-3.8.0:0/30.30::gentoo to /tinysys/ USE="cxx idn nls openssl seccomp tls-heartbeat zlib -brotli -dane -doc -examples -pkcs11 (-sslv2) (-sslv3) -static-libs -test (-test-full) -tools -verify-sig -zstd" ABI_X86="(64) -32 (-x32)" 6.229 KiB
[ebuild  N     ]   dev-libs/libtasn1-4.19.0:0/6::gentoo to /tinysys/ USE="-static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 1.745 KiB
[ebuild  N     ] sys-devel/gcc-13.2.1_p20240210:13::gentoo to /tinysys/ USE="cet (cxx) (default-stack-clash-protection) (default-znow) fortran (multilib) nls openmp (pie) sanitize ssp zstd -ada (-custom-cflags) -d -debug -doc (-fixed-point) -go -graphite -hardened (-ieee-long-double) -jit (-libssp) -lto -modula2 -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv" 82.429 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo to /tinysys/ USE="acl pam regedit system-mitkrb5 winbind -addc -ads -ceph -client -cluster -cups -debug (-fam) -glusterfs -gpg -iprint -json -ldap -llvm-libunwind -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[nomerge       ]  dev-lang/perl-5.38.2-r2:0/5.38::gentoo to /tinysys/ USE="gdbm -berkdb -debug -doc -ithreads -minimal -quadmath"
[binary  N     ]   virtual/perl-Math-BigInt-1.999.842-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]    perl-core/Math-BigInt-1.999.842-1::gentoo to /tinysys/ USE="-examples -test" 160 KiB
[binary  N     ]     virtual/perl-Math-Complex-1.620.0-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]     virtual/perl-Carp-1.540.0-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]     virtual/perl-Math-BigRat-0.262.400-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]     virtual/perl-bignum-0.660.0-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]     virtual/perl-Math-BigInt-FastCalc-0.501.300-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]  dev-perl/Parse-Yapp-1.210.0-r1-1::gentoo to /tinysys/ USE="-examples -test" 130 KiB
[nomerge       ] dev-perl/Parse-Yapp-1.210.0-r1-1::gentoo to /tinysys/ USE="-examples -test"
[nomerge       ]  dev-lang/perl-5.38.2-r2:0/5.38::gentoo to /tinysys/ USE="gdbm -berkdb -debug -doc -ithreads -minimal -quadmath"
[binary  N     ]   virtual/perl-File-Temp-0.231.100-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]    perl-core/File-Temp-0.231.100-1::gentoo to /tinysys/ 60 KiB
[binary  N     ]   virtual/perl-Encode-3.190.0-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]   virtual/perl-Test-Harness-3.440.0-r1-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]   virtual/perl-Data-Dumper-2.188.0-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]   virtual/perl-CPAN-2.360.0-1::gentoo to /tinysys/ 20 KiB
[ebuild  N     ]    dev-lang/perl-5.38.2-r2:0/5.38::gentoo to /tinysys/ USE="gdbm -berkdb -debug -doc -ithreads -minimal -quadmath" 13.502 KiB
[nomerge       ] net-dialup/freeradius-3.2.2::gentoo to /tinysys/ USE="kerberos odbc pam readline samba ssl -debug (-firebird) -iodbc -ldap -memcached -mongodb -mysql -oracle -postgres -python -redis (-selinux) -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[nomerge       ]  net-misc/curl-8.7.1-r1::gentoo to /tinysys/ USE="adns alt-svc ftp hsts http2 imap kerberos openssl pop3 progress-meter psl samba smtp ssl tftp -brotli -gnutls -gopher -idn -ldap -mbedtls (-nghttp3) -rtmp (-rustls) -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -mbedtls (-rustls)"
[nomerge       ]   virtual/krb5-0-r1-1::gentoo to /tinysys/ ABI_X86="(64) -32 (-x32)"
[nomerge       ]    app-crypt/mit-krb5-1.21.2::gentoo to /tinysys/ USE="keyutils nls pkinit threads -doc -lmdb -openldap (-selinux) -test -xinetd" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes"
[ebuild  N     ]     dev-libs/libverto-0.3.2::gentoo to /tinysys/ USE="libev threads -glib -libevent" ABI_X86="(64) -32 (-x32)" 375 KiB
[ebuild  N     ]      dev-libs/libev-4.33::gentoo to /tinysys/ USE="-static-libs" ABI_X86="(64) -32 (-x32)" 557 KiB
[ebuild  N     ]     sys-fs/e2fsprogs-1.47.0-r3::gentoo to /tinysys/ USE="nls tools -cron -fuse -static-libs -test" ABI_X86="(64) -32 (-x32)" 6.894 KiB
[nomerge       ] app-portage/getuto-1.10.2-1::gentoo to /tinysys/ USE="-test"
[nomerge       ]  app-crypt/gnupg-2.4.4-r1::gentoo to /tinysys/ USE="bzip2 nls readline smartcard ssl tofu -doc -ldap (-selinux) -test -tools -tpm -usb -user-socket -verify-sig -wks-server"
[ebuild  N     ]   app-crypt/pinentry-1.2.1-r4::gentoo to /tinysys/ USE="ncurses -X -caps -efl -emacs -gtk -keyring -qt5 -verify-sig -wayland" 535 KiB
[ebuild  N     ]   dev-libs/npth-1.6-r1::gentoo to /tinysys/ USE="-test" 294 KiB
[nomerge       ] app-crypt/mit-krb5-1.21.2::gentoo to /tinysys/ USE="keyutils nls pkinit threads -doc -lmdb -openldap (-selinux) -test -xinetd" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes"
[ebuild  N     ]  sys-devel/gettext-0.22.4::gentoo to /tinysys/ USE="acl cxx ncurses nls openmp (xattr) -doc -emacs -git -java -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 10.016 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo to /tinysys/ USE="acl pam regedit system-mitkrb5 winbind -addc -ads -ceph -client -cluster -cups -debug (-fam) -glusterfs -gpg -iprint -json -ldap -llvm-libunwind -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[ebuild  N     ]  dev-libs/icu-74.2:0/74.1::gentoo to /tinysys/ USE="-debug -doc -examples -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 25.908 KiB
[ebuild  N     ]  app-arch/libarchive-3.7.2-r3:0/13::gentoo to /tinysys/ USE="acl bzip2 e2fsprogs iconv lzma xattr zstd -blake2 -expat -lz4 -lzo -nettle -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 0 KiB
[binary  N     ]  dev-perl/JSON-4.100.0-1::gentoo  USE="xs -examples -test" 80 KiB
[binary  N     ]   dev-perl/JSON-XS-4.30.0-1::gentoo  USE="-examples -test" 110 KiB
[binary  N     ]    dev-perl/Types-Serialiser-1.10.0-1::gentoo  USE="-test" 40 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo  USE="acl ads cluster ldap pam python regedit system-mitkrb5 winbind -addc -ceph -client -cups -debug (-fam) -glusterfs -gpg -iprint -json -llvm-libunwind -profiling-data -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[ebuild  N     ]  net-dns/bind-tools-9.16.48::gentoo  USE="caps gssapi readline -doc -idn -libedit -test -verify-sig -xml" 5.011 KiB
[nomerge       ] net-dialup/freeradius-3.2.2::gentoo to /tinysys/ USE="kerberos odbc pam readline samba ssl -debug (-firebird) -iodbc -ldap -memcached -mongodb -mysql -oracle -postgres -python -redis (-selinux) -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[ebuild  N     ]  dev-libs/libpcre-8.45-r3:3::gentoo to /tinysys/ USE="bzip2 cxx jit readline (unicode) zlib -libedit -pcre16 -pcre32 -static-libs -valgrind" ABI_X86="(64) -32 (-x32)" 1.542 KiB
[nomerge       ] app-crypt/gpgme-1.23.2:1/11.6.15.2::gentoo to /tinysys/ USE="cxx -common-lisp -debug -python -qt5 -qt6 -static-libs -test -verify-sig" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
[nomerge       ]  app-crypt/gnupg-2.4.4-r1::gentoo to /tinysys/ USE="bzip2 nls readline smartcard ssl tofu -doc -ldap (-selinux) -test -tools -tpm -usb -user-socket -verify-sig -wks-server"
[ebuild  N     ]   dev-db/sqlite-3.45.1-r1:3::gentoo to /tinysys/ USE="readline -debug -doc -icu -secure-delete -static-libs -tcl -test -tools" ABI_X86="(64) -32 (-x32)" 13.821 KiB
[ebuild  N     ]   dev-libs/libgcrypt-1.10.3-r1:0/20::gentoo to /tinysys/ USE="asm getentropy -doc -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes -avx -avx2 -padlock -sha -sse4_1" 3.696 KiB
[nomerge       ] sys-devel/gettext-0.22.4::gentoo to /tinysys/ USE="acl cxx ncurses nls openmp (xattr) -doc -emacs -git -java -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ]  dev-libs/expat-2.5.0::gentoo to /tinysys/ USE="unicode -examples -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[nomerge       ] dev-perl/JSON-XS-4.30.0-1::gentoo  USE="-examples -test"
[binary  N     ]  dev-perl/common-sense-3.750.0-1::gentoo  50 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo  USE="acl ads cluster ldap pam python regedit system-mitkrb5 winbind -addc -ceph -client -cups -debug (-fam) -glusterfs -gpg -iprint -json -llvm-libunwind -profiling-data -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[binary  N     ]  dev-perl/Parse-Yapp-1.210.0-r1-1::gentoo  USE="-examples -test" 0 KiB
[nomerge       ] app-crypt/gnupg-2.4.4-r1::gentoo to /tinysys/ USE="bzip2 nls readline smartcard ssl tofu -doc -ldap (-selinux) -test -tools -tpm -usb -user-socket -verify-sig -wks-server"
[ebuild  N     ]  dev-libs/libassuan-2.5.6::gentoo to /tinysys/ USE="-verify-sig" 564 KiB
[ebuild  N     ]   dev-libs/libgpg-error-1.47-r1::gentoo to /tinysys/ USE="nls -common-lisp -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 997 KiB
[ebuild  N     ] net-misc/rsync-3.2.7-r4::gentoo to /tinysys/ USE="acl iconv ssl xattr -examples -lz4 -rrsync -stunnel -system-zlib -verify-sig -xxhash -zstd" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 1.123 KiB
[binary  N     ] app-admin/eselect-1.4.27-r1-1::gentoo to /tinysys/ USE="-doc -emacs -vim-syntax" 100 KiB
[ebuild  N     ]  sys-apps/file-5.45-r4::gentoo to /tinysys/ USE="bzip2 seccomp zlib -lzip -lzma -python -static-libs -verify-sig -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_11 -python3_10" 1.218 KiB
[ebuild  N     ]  sys-apps/coreutils-9.4-r1::gentoo to /tinysys/ USE="acl nls openssl xattr -caps -gmp -hostname -kill -multicall (-selinux) (-split-usr) -static -test -vanilla -verify-sig" 5.846 KiB
[ebuild  N     ]   dev-libs/openssl-3.0.13-r2:0/3::gentoo to /tinysys/ USE="asm -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -weak-ssl-ciphers" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 14.937 KiB
[binary  N     ] app-alternatives/tar-0-1::gentoo to /tinysys/ USE="gnu -libarchive (-split-usr)" 20 KiB
[ebuild  N     ]  app-arch/tar-1.35::gentoo to /tinysys/ USE="acl nls xattr -minimal (-selinux) -verify-sig" 2.263 KiB
[nomerge       ] app-crypt/gnupg-2.4.4-r1::gentoo to /tinysys/ USE="bzip2 nls readline smartcard ssl tofu -doc -ldap (-selinux) -test -tools -tpm -usb -user-socket -verify-sig -wks-server"
[nomerge       ]  net-libs/gnutls-3.8.0:0/30.30::gentoo to /tinysys/ USE="cxx idn nls openssl seccomp tls-heartbeat zlib -brotli -dane -doc -examples -pkcs11 (-sslv2) (-sslv3) -static-libs -test (-test-full) -tools -verify-sig -zstd" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ]   dev-libs/nettle-3.9.1:0/8-6::gentoo to /tinysys/ USE="asm gmp -doc -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes -pclmul -sha" 2.341 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo to /tinysys/ USE="acl pam regedit system-mitkrb5 winbind -addc -ads -ceph -client -cluster -cups -debug (-fam) -glusterfs -gpg -iprint -json -ldap -llvm-libunwind -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[ebuild  N     ]  sys-libs/ldb-2.7.2:0/2.7.2::gentoo to /tinysys/ USE="lmdb -doc -ldap -python -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo  USE="acl ads cluster ldap pam python regedit system-mitkrb5 winbind -addc -ceph -client -cups -debug (-fam) -glusterfs -gpg -iprint -json -llvm-libunwind -profiling-data -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[binary  N     ]  dev-python/dnspython-2.6.1-2::gentoo  USE="-dnssec -examples -test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 520 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo to /tinysys/ USE="acl pam regedit system-mitkrb5 winbind -addc -ads -ceph -client -cluster -cups -debug (-fam) -glusterfs -gpg -iprint -json -ldap -llvm-libunwind -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[ebuild  N     ]  sys-libs/tevent-0.14.1::gentoo to /tinysys/ USE="-python -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 862 KiB
[ebuild  N     ]  sys-libs/tdb-1.4.8::gentoo to /tinysys/ USE="-python" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 726 KiB
[ebuild  N     ]  sys-libs/tdb-1.4.8::gentoo  USE="python" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 0 KiB
[ebuild  N     ]  sys-libs/tevent-0.14.1::gentoo  USE="python -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10" 0 KiB
[ebuild  N     ]  sys-libs/talloc-2.4.0::gentoo to /tinysys/ USE="-compat -python -valgrind" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 661 KiB
[ebuild  N     ]  dev-libs/popt-1.19-r1::gentoo to /tinysys/ USE="nls -static-libs" ABI_X86="(64) -32 (-x32)" 583 KiB
[binary  N     ]  sys-libs/talloc-2.4.0-2::gentoo  USE="python -compat -valgrind" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 80 KiB
[nomerge       ] sys-devel/gettext-0.22.4::gentoo to /tinysys/ USE="acl cxx ncurses nls openmp (xattr) -doc -emacs -git -java -static-libs -verify-sig" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ]  dev-libs/libxml2-2.12.5:2::gentoo to /tinysys/ USE="ftp readline -debug -examples -icu -lzma -python -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" 2.582 KiB
[nomerge       ] app-portage/gemato-20.5-1::gentoo to /tinysys/ USE="gpg -pretty-log -test -tools" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12"
[nomerge       ]  dev-lang/python-3.11.8_p1:3.11::gentoo to /tinysys/ USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debug -examples -libedit -pgo -test -tk -valgrind -verify-sig"
[binary  N     ]   dev-python/ensurepip-wheels-100-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]    dev-python/ensurepip-setuptools-69.2.0-1::gentoo to /tinysys/ 730 KiB
[binary  N     ]    dev-python/ensurepip-pip-24.0-1::gentoo to /tinysys/ 2.030 KiB
[binary  N     ]   app-misc/mime-types-2.1.54-1::gentoo to /tinysys/ USE="-nginx" 40 KiB
[binary  N     ]   dev-python/gentoo-common-1-1::gentoo to /tinysys/ 20 KiB
[ebuild  N     ]   dev-libs/libffi-3.4.4-r4:0/8::gentoo to /tinysys/ USE="-debug -exec-static-trampoline -pax-kernel -static-libs -test" ABI_X86="(64) -32 (-x32)" 1.331 KiB
[nomerge       ] sys-apps/portage-3.0.61-r1::gentoo to /tinysys/ USE="(ipc) native-extensions rsync-verify xattr -apidoc -build -doc -gentoo-dev (-selinux) -test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12"
[binary  N     ]  acct-user/portage-0-r3-1::gentoo to /tinysys/ 20 KiB
[binary  N     ]   acct-group/portage-0-r2-1::gentoo to /tinysys/ 20 KiB
[ebuild  N     ]  dev-lang/python-exec-2.4.10:2::gentoo to /tinysys/ USE="(native-symlinks) -test" PYTHON_TARGETS="(pypy3) (python3_10) (python3_11) (python3_12)" 83 KiB
[binary  N     ]   dev-lang/python-exec-conf-2.4.6-1:2::gentoo to /tinysys/ PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12" 30 KiB
[nomerge       ] sys-apps/file-5.45-r4::gentoo to /tinysys/ USE="bzip2 seccomp zlib -lzip -lzma -python -static-libs -verify-sig -zstd" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_11 -python3_10"
[ebuild  N     ]  sys-libs/libseccomp-2.5.5-r1::gentoo to /tinysys/ USE="-debug (-experimental-loong) -python -static-libs -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_11 -python3_10 -python3_12" 628 KiB
[nomerge       ] sys-apps/portage-3.0.61-r1::gentoo to /tinysys/ USE="(ipc) native-extensions rsync-verify xattr -apidoc -build -doc -gentoo-dev (-selinux) -test" PYTHON_TARGETS="python3_11 (-pypy3) -python3_10 -python3_12"
[ebuild  N     ]  sys-apps/install-xattr-0.8-r1::gentoo to /tinysys/ 16 KiB
[ebuild  N     ]  sys-apps/sandbox-2.38::gentoo to /tinysys/ USE="nnp" ABI_X86="(32) (64) (-x32)" 450 KiB
[nomerge       ] net-misc/curl-8.7.1-r1::gentoo to /tinysys/ USE="adns alt-svc ftp hsts http2 imap kerberos openssl pop3 progress-meter psl samba smtp ssl tftp -brotli -gnutls -gopher -idn -ldap -mbedtls (-nghttp3) -rtmp (-rustls) -ssh (-sslv3) -static-libs -telnet -test -verify-sig -websockets -zstd" ABI_X86="(64) -32 (-x32)" CURL_SSL="openssl -gnutls -mbedtls (-rustls)"
[binary  N     ]  net-libs/nghttp2-1.61.0-3:0/1.14::gentoo  USE="-debug -hpack-tools -jemalloc -static-libs -systemd -test -utils -xml" ABI_X86="(64) -32 (-x32)" 190 KiB
[ebuild  N     ]  net-dns/c-ares-1.26.0:0/2::gentoo to /tinysys/ USE="-static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 1.268 KiB
[nomerge       ] sys-libs/ldb-2.7.2:0/2.7.2::gentoo to /tinysys/ USE="lmdb -doc -ldap -python -test" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[ebuild  N     ]  dev-db/lmdb-0.9.31:0/0.9.31::gentoo to /tinysys/ USE="-static-libs" ABI_X86="(64) -32 (-x32)" 142 KiB
[nomerge       ] app-crypt/mit-krb5-1.21.2::gentoo to /tinysys/ USE="keyutils nls pkinit threads -doc -lmdb -openldap (-selinux) -test -xinetd" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes"
[ebuild  N     ]  sys-apps/keyutils-1.6.3-r1:0/1.9::gentoo to /tinysys/ USE="-static -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo to /tinysys/ USE="acl pam regedit system-mitkrb5 winbind -addc -ads -ceph -client -cluster -cups -debug (-fam) -glusterfs -gpg -iprint -json -ldap -llvm-libunwind -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[ebuild  N     ]  sys-libs/liburing-2.3-r4:0/2::gentoo to /tinysys/ USE="-examples -static-libs -test" ABI_X86="(64) -32 (-x32)" 194 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo  USE="acl ads cluster ldap pam python regedit system-mitkrb5 winbind -addc -ceph -client -cups -debug (-fam) -glusterfs -gpg -iprint -json -llvm-libunwind -profiling-data -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[nomerge       ]  net-nds/openldap-2.6.4-r1:0/2.6::gentoo  USE="cleartext crypt ipv6 kerberos odbc samba ssl syslog -argon2 -autoca -cxx -debug -experimental -gnutls -iodbc -kinit -minimal -overlays -pbkdf2 -perl -sasl (-selinux) -sha2 -smbkrb5passwd -static-libs -systemd -tcpd -test" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ]   acct-user/ldap-0-r2::gentoo  0 KiB
[nomerge       ] net-dialup/freeradius-3.2.2::gentoo to /tinysys/ USE="kerberos odbc pam readline samba ssl -debug (-firebird) -iodbc -ldap -memcached -mongodb -mysql -oracle -postgres -python -redis (-selinux) -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[binary  N     ]  dev-libs/json-c-0.17-1:0/5::gentoo  USE="-static-libs -threads" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-rdrand" 200 KiB
[ebuild  N     ]  acct-user/radius-0-r3::gentoo  0 KiB
[ebuild  N     ]  acct-user/radius-0-r3::gentoo to /tinysys/ 0 KiB
[nomerge       ] net-nds/openldap-2.6.4-r1:0/2.6::gentoo  USE="cleartext crypt ipv6 kerberos odbc samba ssl syslog -argon2 -autoca -cxx -debug -experimental -gnutls -iodbc -kinit -minimal -overlays -pbkdf2 -perl -sasl (-selinux) -sha2 -smbkrb5passwd -static-libs -systemd -tcpd -test" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ]  acct-group/ldap-0-r2::gentoo  0 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo  USE="acl ads cluster ldap pam python regedit system-mitkrb5 winbind -addc -ceph -client -cups -debug (-fam) -glusterfs -gpg -iprint -json -llvm-libunwind -profiling-data -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[binary  N     ]  sys-libs/liburing-2.3-r4-1:0/2::gentoo  USE="-examples -static-libs -test" ABI_X86="(64) -32 (-x32)" 170 KiB
[binary  N     ]  dev-libs/icu-74.2-3:0/74.1::gentoo  USE="-debug -doc -examples -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 10.090 KiB
[nomerge       ] net-dialup/freeradius-3.2.2::gentoo to /tinysys/ USE="kerberos odbc pam readline samba ssl -debug (-firebird) -iodbc -ldap -memcached -mongodb -mysql -oracle -postgres -python -redis (-selinux) -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[binary  N     ]  dev-db/unixODBC-2.3.12-2::gentoo  USE="minimal unicode -odbcmanual -static-libs" ABI_X86="(64) -32 (-x32)" 290 KiB
[ebuild  N     ]  acct-group/radius-0-r3::gentoo  0 KiB
[ebuild  N     ]  dev-libs/libltdl-2.4.7-r1::gentoo to /tinysys/ USE="-static-libs" ABI_X86="(64) -32 (-x32)" 993 KiB
[ebuild  N     ]  acct-group/radius-0-r3::gentoo to /tinysys/ 0 KiB
[nomerge       ] net-nds/openldap-2.6.4-r1:0/2.6::gentoo  USE="cleartext crypt ipv6 kerberos odbc samba ssl syslog -argon2 -autoca -cxx -debug -experimental -gnutls -iodbc -kinit -minimal -overlays -pbkdf2 -perl -sasl (-selinux) -sha2 -smbkrb5passwd -static-libs -systemd -tcpd -test" ABI_X86="(64) -32 (-x32)"
[binary  N     ]  dev-db/lmdb-0.9.31-1:0/0.9.31::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 120 KiB
[nomerge       ] net-dialup/freeradius-3.2.2::gentoo to /tinysys/ USE="kerberos odbc pam readline samba ssl -debug (-firebird) -iodbc -ldap -memcached -mongodb -mysql -oracle -postgres -python -redis (-selinux) -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[ebuild  N     ]  sys-libs/gdbm-1.23:0/6::gentoo to /tinysys/ USE="berkdb nls readline -static-libs -test -verify-sig" ABI_X86="(64) -32 (-x32)" 1.090 KiB
[nomerge       ] net-fs/samba-4.18.9::gentoo  USE="acl ads cluster ldap pam python regedit system-mitkrb5 winbind -addc -ceph -client -cups -debug (-fam) -glusterfs -gpg -iprint -json -llvm-libunwind -profiling-data -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) -systemd (-test) -unwind -zeroconf" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="-aes" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[binary  N     ]  net-libs/rpcsvc-proto-1.4.4-1::gentoo  80 KiB
[nomerge       ] net-dialup/freeradius-3.2.2::gentoo to /tinysys/ USE="kerberos odbc pam readline samba ssl -debug (-firebird) -iodbc -ldap -memcached -mongodb -mysql -oracle -postgres -python -redis (-selinux) -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[binary  N     ]  dev-libs/libltdl-2.4.7-r1-1::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 50 KiB
[nomerge       ] sys-devel/gcc-13.2.1_p20240210:13::gentoo to /tinysys/ USE="cet (cxx) (default-stack-clash-protection) (default-znow) fortran (multilib) nls openmp (pie) sanitize ssp zstd -ada (-custom-cflags) -d -debug -doc (-fixed-point) -go -graphite -hardened (-ieee-long-double) -jit (-libssp) -lto -modula2 -objc -objc++ -objc-gc (-pch) -pgo -systemtap -test -valgrind -vanilla -vtv"
[binary  N     ]  sys-devel/gcc-config-2.11-1::gentoo to /tinysys/ USE="(cc-wrappers) (native-symlinks)" 30 KiB
[ebuild  N     ]  dev-libs/mpc-1.3.1:0/3::gentoo to /tinysys/ USE="-static-libs" ABI_X86="(64) -32 (-x32)" 756 KiB
[ebuild  N     ]   dev-libs/mpfr-4.2.1:0/6::gentoo to /tinysys/ USE="-static-libs -verify-sig" ABI_X86="(64) -32 (-x32)" 1.459 KiB
[binary  N     ] sec-keys/openpgp-keys-gentoo-release-20230329-1::gentoo to /tinysys/ USE="-test" 40 KiB
[nomerge       ] sys-libs/liburing-2.3-r4:0/2::gentoo to /tinysys/ USE="-examples -static-libs -test" ABI_X86="(64) -32 (-x32)"
[binary  N     ]  sys-kernel/linux-headers-6.6-r1-1::gentoo to /tinysys/ USE="-headers-only" 1.280 KiB
[nomerge       ] net-dialup/freeradius-3.2.2::gentoo to /tinysys/ USE="kerberos odbc pam readline samba ssl -debug (-firebird) -iodbc -ldap -memcached -mongodb -mysql -oracle -postgres -python -redis (-selinux) -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[nomerge       ]  dev-libs/openssl-3.0.13-r2:0/3::gentoo to /tinysys/ USE="asm -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -weak-ssl-ciphers" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)"
[binary  N     ]   app-misc/ca-certificates-20230311.3.97-1::gentoo to /tinysys/ USE="-cacert" 170 KiB
[nomerge       ] net-dialup/freeradius-3.2.2::gentoo to /tinysys/ USE="kerberos odbc pam readline samba ssl -debug (-firebird) -iodbc -ldap -memcached -mongodb -mysql -oracle -postgres -python -redis (-selinux) -sqlite -systemd" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
[nomerge       ]  sys-libs/talloc-2.4.0-2::gentoo  USE="python -compat -valgrind" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
[binary     U  ]   sys-libs/glibc-2.38-r12-3:2.2::gentoo [2.38-r11:2.2::gentoo] USE="cet multiarch (multilib) ssp stack-realign (static-libs) -audit -caps -compile-locales (-crypt) (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -perl -profile (-selinux) -suid -systemd -systemtap -test (-vanilla)" 15.190 KiB

Total: 127 packages (1 upgrade, 126 new, 54 binaries), Size of downloads: 355.596 KiB
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9608
Location: beyond the rim

PostPosted: Fri Apr 26, 2024 10:49 am    Post subject: Reply with quote

Vieri wrote:
OK, I'm lost again. I don't quite understand why the following emerge pulls in samba with ads and ldap USE flags, just to give an example. Why are python and portage also pulled in? I made sure the target chroot's USE flags also included -python -ads -cluster.

Code:
# FEATURES="-nostrip" USE="-python -pcsc-lite -cups -ldap -ads -cluster" emerge --root=/tinysys --config-root=/tinysys  --autounmask-write -avD --usepkg freeradius --tree

You need to look closely: The samba instance with those flags enabled is pulled into / (build dependency), the instance that will go to /tinysys has those flags disabled (runtime dependency). Specifying USE= on the commandline will only affect the configuration of the target root, not the build root.

python is pulled in by portage, which is pulled in by perl-cleaner, which is pulled in by perl, which is pulled in by freeradius (all unconditional). Can't avoid that with standard mechanisms.
Back to top
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 901

PostPosted: Fri Apr 26, 2024 12:58 pm    Post subject: Reply with quote

Genone wrote:

python is pulled in by portage, which is pulled in by perl-cleaner, which is pulled in by perl, which is pulled in by freeradius


So, am I right or wrong if I read it the other way just for the sake of redundant clarity? ie.:

1) freeradius requires perl
2) perl requires perl-cleaner
3) perl-cleaner requires portage
4) portage requires python

I understand 1 and 4.
I might also understand 2 (not sure though -- is perl-cleaner *necessary* or is it just a convenience tool?).
However, I don't see why 3 has to be true.

In any case, if this is how portage dependencies are then I guess the emerge --root --config-root is not the best approach to create a minimal system.
Minimal as in "I strictly want just the files that will do a specific task" (eg. radius host, period - no package management, nothing else, except for maybe sshd).

I guess I could let emerge do its work then unmerge portage, perl-cleaner and python, but that sounds inefficient.

Thanks for clearing that up for me (how to read the --tree output).

[EDIT]

According to freeradius documentation:

Quote:
The mandatory dependencies must be installed before FreeRADIUS can be built. These dependencies are libtalloc and libkqueue, which FreeRADIUS uses for memory management, and platform-independent event handling.
Per-module dependencies that enable support for external services such as LDAP, SQL, etc, are optional. They must be installed for any modules that are to be used.


So 1) should not even be a requirement but a strong recommendation.

[EDIT2]

In fact, I think Perl is used for generating docs and if one wishes to use the rlm_perl module. It is totally optional.
So I'm not sure the freeradius ebuild should force-install perl.

[EDIT3]

Genone wrote:

The samba instance with those flags enabled is pulled into / (build dependency), the instance that will go to /tinysys has those flags disabled (runtime dependency)


Does that mean that Portage will build twice? Once for / and another for /tinysys? Will it build *and* install on both / and /tinysys with different USE flags - hence features?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9608
Location: beyond the rim

PostPosted: Sun Apr 28, 2024 5:55 pm    Post subject: Reply with quote

Vieri wrote:
I might also understand 2 (not sure though -- is perl-cleaner *necessary* or is it just a convenience tool?).
However, I don't see why 3 has to be true.
...
According to freeradius documentation:

Quote:
The mandatory dependencies must be installed before FreeRADIUS can be built. These dependencies are libtalloc and libkqueue, which FreeRADIUS uses for memory management, and platform-independent event handling.
Per-module dependencies that enable support for external services such as LDAP, SQL, etc, are optional. They must be installed for any modules that are to be used.


So 1) should not even be a requirement but a strong recommendation.

[EDIT2]

In fact, I think Perl is used for generating docs and if one wishes to use the rlm_perl module. It is totally optional.
So I'm not sure the freeradius ebuild should force-install perl.


You'd have to take that up with the package maintainers, I don't have any knowledge about freeradius or perl stuff. Gentoo packages in general however are not supposed to be just the bare minimum, but usually try to stick reasonably close with what a default install (like "make && make install" ) should look like.

Quote:
In any case, if this is how portage dependencies are then I guess the emerge --root --config-root is not the best approach to create a minimal system.

Doesn't really have anything to do with --config-root, but with the repository used for building packages.

Quote:
Minimal as in "I strictly want just the files that will do a specific task" (eg. radius host, period - no package management, nothing else, except for maybe sshd).

Well, Gentoo packages aren't really optimized for that use case. Might want to look into docker containers instead.

Quote:
Genone wrote:

The samba instance with those flags enabled is pulled into / (build dependency), the instance that will go to /tinysys has those flags disabled (runtime dependency)


Does that mean that Portage will build twice? Once for / and another for /tinysys? Will it build *and* install on both / and /tinysys with different USE flags - hence features?

Yes. Build-dependencies need to be installed in the build root so the build process can find everything it needs (headers, libraries, build tools, ...). In theory there are ways around that, but actually implementing them in a generic way would be a huge PITA. Keep in mind that buildhost and target could potentially even use different architectures, so you can't just build once, install twice. Often if you want to use --config-root you'd first setup a regular chroot dedicated just for building your target so you don't mess up your actual live system.
Back to top
View user's profile Send private message
Jimmy Jazz
Guru
Guru


Joined: 04 Oct 2004
Posts: 333
Location: Strasbourg

PostPosted: Sun Apr 28, 2024 11:52 pm    Post subject: Reply with quote

I'm using a little script to build my own initramfs but there is a catch, portage read /etc/portage even with --config-root. Some packages with no dependencies in your new environment can be declared in $PORTAGE_CONFIGROOT/profile/package.provided if necessary.

the script just works so don't expect too much from it and be careful not to alter your own root system.

Code:
#!/bin/sh -x

umask 022

PORTAGE_CONFIGROOT=${PWD}
ROOT=${PWD}/native
SYSROOT=${PWD}/native

# XXX export is ineffective. Only emerge's options are working.
export ROOT SYSROOT EPREFIX PORTAGE_CONFIGROOT

mkdir -p ${SYSROOT}/etc

CONFIG_SITE=${SYSROOT}/etc/config.site

if ! test -s "${CONFIG_SITE}"; then
   cat > ${CONFIG_SITE} <<-EOF
   #with_sysroot="${SYSROOT}"
   libc_cv_gcc_builtin_redirection=yes
   EOF
fi
export CONFIG_SITE

/usr/bin/emerge --root=${ROOT} --root-deps=rdeps --sysroot=${SYSROOT} --config-root ${PORTAGE_CONFIGROOT} $* &&
/usr/bin/emerge --root=${ROOT} --root-deps=rdeps --sysroot=${SYSROOT} --config-root ${PORTAGE_CONFIGROOT} -av @preserved-rebuild


if you have finally a minimal portage/shell environment ready it is time to try to chroot or migrate to a unshare namespace to jail the installation.

PORTAGE_CONFIGROOT contains etc/portage tree
_________________
« La seule condition au triomphe du mal, c'est l'inaction des gens de bien » E.Burke
Code:

+----+----+----+
|    |::::|    |
|    |::::|    |
+----+----+----+

motto: WeLCRO
WritE Less Code, Repeat Often
Back to top
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 901

PostPosted: Mon Apr 29, 2024 8:14 am    Post subject: Reply with quote

Genone wrote:
Gentoo packages in general however are not supposed to be just the bare minimum, but usually try to stick reasonably close with what a default install (like "make && make install" ) should look like.


Yes, but a "make && make install" on a system where the user did not previously install Perl (intentionally) will not create the non-crucial code when installing freeradius from source.
So freeradius will compile/install just fine with whatever features according to what its configure script picks up in the system.
With the plethora of USE flags in Gentoo one would expect more flexibility in this case, but I agree that this may be off-topic as it only depends on how the ebuild was created.

The fact that the Perl package also requires perl-cleaner pulls in portage which I believe makes it impossible to install perl without portage (in the target chroot, that is). So unmerging packages from the target chroot becomes a must in these cases.

Genone wrote:
Well, Gentoo packages aren't really optimized for that use case. Might want to look into docker containers instead.


I want full VMs to be used in environments such as vmware vcenter, virtualbox, etc. I don't want docker systems that could make the host kernel panic (for instance).

Genone wrote:
Often if you want to use --config-root you'd first setup a regular chroot dedicated just for building your target so you don't mess up your actual live system.


Yes, but it shouldn't really "mess up much" the live system apart from maybe installing and reinstalling packages over and over, right?
In the latter case of samba, it would be installed with a set of USE flags to / and another set of USE flags to /tinysys. If another target were to be created, probably nothing would be emerged to the live system, but another samba build would be installed to, say, /tinysys2 if the target had different USE flags or were for another arch. Is that right?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9608
Location: beyond the rim

PostPosted: Mon Apr 29, 2024 8:54 am    Post subject: Reply with quote

Vieri wrote:
Genone wrote:
Often if you want to use --config-root you'd first setup a regular chroot dedicated just for building your target so you don't mess up your actual live system.


Yes, but it shouldn't really "mess up much" the live system apart from maybe installing and reinstalling packages over and over, right?

Which can be considered "mess up" already as you'd suddenly have packages installed that you didn't intentionally install. In some cases this might also break stuff when reinstalling packages that are currently in use.
Back to top
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 901

PostPosted: Mon Apr 29, 2024 9:09 am    Post subject: Reply with quote

Jimmy Jazz wrote:
I'm using a little script


From man page:
Code:
If the rdeps argument is given then discard all build-time dependencies of packages for ROOT.


So that sounds OK when installing to a target --root, right (as we don't really need the build-time dependencies in ROOT)?

From man page:
Code:
Use SYSROOT to specify the target root filesystem to be used for merging the build dependencies satisfied by DEPEND.


On a target system, I only need "runtime dependencies", not "build dependencies", right?

So should SYSROOT be / or /target?
In any case, I'm reading from the emerge man page that PORTAGE_CONFIGROOT or --config-root are honored only if it's value is the same as SYSROOT or ROOT=/.
So if one runs emerge --config-root=/tinysys --sysroot=/ --root=/tinysys then --config-root is ignored.

Why is the script setting /etc/config.site for autoconf?
What is the advantage of setting CONFIG_SITE?
Back to top
View user's profile Send private message
Vieri
l33t
l33t


Joined: 18 Dec 2005
Posts: 901

PostPosted: Mon Apr 29, 2024 9:12 am    Post subject: Reply with quote

Genone wrote:
In some cases this might also break stuff when reinstalling packages that are currently in use.


Maybe Gentoo Catalyst is a "cleaner" way to go even if one has to trim down the target system by unmerging and even removing files and dirs manually...

Thanks for all the useful feedback.
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