From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C0BF158083 for ; Mon, 16 Sep 2024 08:43:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9E09CE29B4; Mon, 16 Sep 2024 08:43:10 +0000 (UTC) Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45F2CE29AC for ; Mon, 16 Sep 2024 08:43:10 +0000 (UTC) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-6dbc9a60480so23803857b3.0 for ; Mon, 16 Sep 2024 01:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726476189; x=1727080989; darn=lists.gentoo.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=aovY3JI22AjQyvFa1FrykviyPMox6HAwN9T8XKnOaJ0=; b=a3Qu8sNKX2N6kHihYGshOpVRXSEH0IAArWuYfmB1ORhVTuejSBgEkDDu5Id4UMz+at ZxRXI7UN5amqKrmDOVZ0wOutvH+ts919/olkLMSFvEuljT5CJClmwzm9NwUzi4CNGAFX addGdj3xRYyhXjngFI5llbkQrP5J1sgfbHszmuWr6sAkObLP/yq4Jg4StAmedCqH6WEq eBj9Gg7sya+FmOKvYSAq2jwj+ZPkbuL1iWrVmHu+7/KrWkkMNS8ZA8VzaFA+WKm13rkF kIboybSW38RPkkF7SzU1Yl8LDvqEHHokbTzq+1bBiHANz9Y1dZ3UuvXo8gI1L0LA/0UW uvqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726476189; x=1727080989; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aovY3JI22AjQyvFa1FrykviyPMox6HAwN9T8XKnOaJ0=; b=iWee0m5Wwe6Nq8ivJovX8fFgiNeiYiwBdJtEh0o7MkHDPu9jY/u42Kq7U/v2Gfb3yD D/AlWprty8omPFbMXXRwNhQlg2Qq/tHXz4eJqKa2urbKc3A41GMkt5e8tc4+2hWDZo6C IXzVCIRkwpmxYfawOBSpqz3R3lULOxUgA8CAK3BfOWwSmJOwSOvaAye1amp0c4Dbs/Hi yxB9VPr1gJvFt7kUMrlQbpwOYMs4HQai9ygSF+q6N/xMqud87BRuxmXbXnacxMY0Fdz3 1DG/CAUdel0IYnpmH0XMToz6Wy7lFArYjK1jsW9ue6eygsErrGEabMH9w4qkx69e2Epg dbMg== X-Gm-Message-State: AOJu0YyT6CRhh1cpUCWw904JjkJ5P//UM9vYsvm8tG89T0NiBQz3CkmU Z+/Z/ay/osSiOFveCmegCgit/67+gaJ+GSm4tuNGG8erE4305KuTXMk9Y1QvbMwZJyFw5Km7XX6 7dqG8NOg1yaV4VbBc3GzqQMumeW7i0Wdt X-Google-Smtp-Source: AGHT+IHnuFTxUaIVDsjlF2f8uvBIl98eRTmnV5vvAhyt7vHyGZUyAa4FepvEDO4GmZuBHo1qxCzJJ6ywTxleI6No2VM= X-Received: by 2002:a05:690c:f8b:b0:6dd:cdd7:ce5a with SMTP id 00721157ae682-6ddcdd7d531mr10454667b3.18.1726476189020; Mon, 16 Sep 2024 01:43:09 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <5176d8dd-2a73-4d64-b5a6-c00742c5f79b.ref@yahoo.com> <5176d8dd-2a73-4d64-b5a6-c00742c5f79b@yahoo.com> In-Reply-To: <5176d8dd-2a73-4d64-b5a6-c00742c5f79b@yahoo.com> From: =?UTF-8?Q?Micka=C3=ABl_Bucas?= Date: Mon, 16 Sep 2024 10:42:57 +0200 Message-ID: Subject: Re: [gentoo-user] crossdev wants to install apache on _host_ To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 162225a6-1ed9-4aea-8421-fdd52c846c26 X-Archives-Hash: 72a37669fcc988c13ad2e060ebdbbd97 Le sam. 14 sept. 2024 =C3=A0 21:40, ralfconn a =C3= =A9crit : > > Hello, > > I have a RaspberryPi with gentoo, I use crossdev to update it. I have > NFS server and client on both the Host and the Target so that I can mount= : > > on the Target, the Host's > /usr/aarch64-unknown-linux-gnu/var/cache/binpkgs > /usr/aarch64-unknown-linux-gnu/var/db/repos > > and on the Host, the Target's > /var/db/pkg > > I copy the Target's world file manually from Target to Host's > /usr/aarch64-unknown-linux-gnu/var/lib/portage/ > > All works fine, I cross-build on Host binary packages and then 'emerge > --usepkg' on the Target. > > Well, almost all... On the Target I have apache, on the Host not because > I don't need it. Sometimes the update wants to install apache also on > the Host. > > For example, today I have: > > # emerge-aarch64-unknown-linux-gnu -uDvNa @world > > [ebuild N ] acct-group/apache-0-r3::gentoo 0 KiB > [ebuild N ] acct-group/named-0-r3::gentoo to > /usr/aarch64-unknown-linux-gnu/ 0 KiB > [ebuild N ] dev-libs/oniguruma-6.9.9:0/5::gentoo > USE=3D"-crnl-as-line-terminator -static-libs" 936 KiB > [ebuild N ] acct-user/apache-0-r3::gentoo 0 KiB > [ebuild N ] acct-user/named-0-r3::gentoo to > /usr/aarch64-unknown-linux-gnu/ 0 KiB > [ebuild N ] dev-libs/apr-1.7.5:1/1.7::gentoo USE=3D"urandom -doc > -old-kernel (-selinux) -static-libs -valgrind" 878 KiB > [ebuild U ] dev-libs/expat-2.6.3::gentoo [2.6.2::gentoo] to > /usr/aarch64-unknown-linux-gnu/ USE=3D"unicode -examples -static-libs > -test" 475 KiB > [ebuild U ] net-misc/curl-8.10.0::gentoo [8.9.1-r1::gentoo] to > /usr/aarch64-unknown-linux-gnu/ USE=3D"adns alt-svc ftp hsts http2 http3 > imap openssl pop3 progress-meter psl quic smtp ssl tftp websockets* > -brotli -debug -gnutls -gopher -idn -kerberos -ldap -mbedtls -rtmp > (-rustls) -samba -ssh (-sslv3) -static-libs -telnet -test -verify-sig > -zstd" CURL_QUIC=3D"openssl -ngtcp2" CURL_SSL=3D"openssl -gnutls -mbedtls > (-rustls)" 2666 KiB > [ebuild N ] dev-libs/apr-util-1.6.3:1::gentoo USE=3D"gdbm -berkdb > -doc -ldap -mysql -nss -odbc -openssl -postgres -sqlite -static-libs" > 423 KiB > [ebuild N ] app-admin/apache-tools-2.4.62::gentoo USE=3D"ssl" 7346 = KiB > [ebuild N ] www-servers/apache-2.4.62:2::gentoo USE=3D"gdbm ssl > suexec-caps -debug -doc -ldap (-selinux) -static -suexec -suexec-syslog > -systemd -threads" APACHE2_MODULES=3D"actions alias auth_basic authn_anon > authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile > authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs > dav_lock deflate dir env expires ext_filter file_cache filter headers > http2 include info log_config logio mime mime_magic negotiation rewrite > setenvif socache_shmcb speling status unique_id unixd userdir usertrack > vhost_alias -access_compat -allowmethods -asis -auth_digest -auth_form > -authn_dbd -authn_socache -authz_dbd -brotli -cache_disk -cache_socache > -cern_meta -charset_lite -dbd -dumpio -ident -imagemap > -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic > -lbmethod_heartbeat -log_forensic (-lua) -macro -md -proxy -proxy_ajp > -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_hcheck > -proxy_html -proxy_http -proxy_http2 -proxy_scgi -proxy_uwsgi > -proxy_wstunnel -ratelimit -remoteip -reqtimeout -session > -session_cookie -session_crypto -session_dbd -slotmem_shm > -socache_memcache -substitute -tls -version -watchdog -xml2enc" > APACHE2_MPMS=3D"-event -prefork -worker" LUA_SINGLE_TARGET=3D"lua5-1 -lua= 5-3 > -lua5-4" 26 KiB > [ebuild N ] app-eselect/eselect-php-0.9.9::gentoo USE=3D"apache2 > fpm" 54 KiB > [ebuild N ] dev-libs/json-c-0.17:0/5::gentoo to > /usr/aarch64-unknown-linux-gnu/ USE=3D"-static-libs -threads" 381 KiB > [ebuild U ] sys-libs/glibc-2.40-r3:2.2::gentoo [2.40:2.2::gentoo] > to /usr/aarch64-unknown-linux-gnu/ USE=3D"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)" 18368 KiB > [ebuild U ] app-crypt/gpgme-1.23.2-r2:1/11.6.15.2::gentoo > [1.23.2:1/11.6.15.2::gentoo] to /usr/aarch64-unknown-linux-gnu/ USE=3D"cx= x > -common-lisp -debug -python -qt5 -qt6 -static-libs -test -verify-sig" > PYTHON_TARGETS=3D"python3_12 -python3_10 -python3_11 -python3_13" 1794 Ki= B > [ebuild U ] dev-lang/python-3.12.6:3.12::gentoo > [3.12.5_p1:3.12::gentoo] to /usr/aarch64-unknown-linux-gnu/ > USE=3D"ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -debu= g > -examples -libedit -pgo -test -tk -valgrind -verify-sig" 19962 KiB > [ebuild U ] dev-python/urllib3-2.2.3::gentoo [2.2.2::gentoo] to > /usr/aarch64-unknown-linux-gnu/ USE=3D"-brotli -http2 -test -zstd" > PYTHON_TARGETS=3D"python3_12 -pypy3 -python3_10 -python3_11 -python3_13" > 294 KiB > [ebuild U ] sys-apps/portage-3.0.66::gentoo [3.0.65-r1::gentoo] to > /usr/aarch64-unknown-linux-gnu/ USE=3D"(ipc) native-extensions > rsync-verify xattr -apidoc -build -doc -gentoo-dev (-selinux) -test" > PYTHON_TARGETS=3D"python3_12 -pypy3 -python3_10 -python3_11 -python3_13" > 1171 KiB > [ebuild N ] app-misc/jq-1.7.1::gentoo USE=3D"oniguruma -static-libs > -test" 1293 KiB > [ebuild U ] app-portage/gentoolkit-0.6.8::gentoo [0.6.7::gentoo] to > /usr/aarch64-unknown-linux-gnu/ USE=3D"-test" PYTHON_TARGETS=3D"python3_1= 2 > -pypy3 -python3_10 -python3_11 -python3_13" 3116 KiB > [ebuild U ] sys-apps/openrc-0.55::gentoo [0.54.2::gentoo] to > /usr/aarch64-unknown-linux-gnu/ USE=3D"netifrc pam sysvinit unicode -audi= t > -bash -caps -debug -newnet (-s6) (-selinux) -sysv-utils" 245 KiB > [ebuild N ] net-dns/bind-9.18.29-r2::gentoo to > /usr/aarch64-unknown-linux-gnu/ USE=3D"caps -dnsrps -dnstap -doc -doh > -fixed-rrset -geoip -gssapi -idn (-jemalloc) -lmdb (-selinux) > -static-libs -test -xml" 5433 KiB > [ebuild U ] net-dns/bind-tools-9.18.0::gentoo [9.16.48::gentoo] to > /usr/aarch64-unknown-linux-gnu/ USE=3D"caps readline -doc -gssapi -idn > -libedit -xml (-test%) (-verify-sig%)" 0 KiB > [blocks b ] (" > Note the lines without 'to /usr/aarch64-unknown-linux-gnu/", these > packages will be installed on Host. > > Any ideas why? > > thanks > > raf > Hi Ralf One possible explanation is that "www-servers/apache" could be a build dependency of some other package. However I don't see in the list of updates any package with this kind of dependency on "www-servers/apache". The only one that seems to depend on it is "app-eselect/eselect-php", but it'd be installed on the host. > [ebuild N ] app-eselect/eselect-php-0.9.9::gentoo USE=3D"apache2 > fpm" 54 KiB Do you install "dev-lang/php" on the target or the host or both ? Best regards Micka=C3=ABl Bucas