public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: ralfconn <mentadent47@yahoo.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] crossdev wants to install apache on _host_
Date: Mon, 16 Sep 2024 19:16:49 +0200	[thread overview]
Message-ID: <fb2a05bc-6281-40d1-a9a1-1ad238f23b18@yahoo.com> (raw)
In-Reply-To: <CAG1=SYTEN0fg4eOyb7jhbpP3m6B+w5QGj=2zDWSwr9WNN6f1Tw@mail.gmail.com>

Il 16/09/24 10:42, Mickaël Bucas ha scritto:
> Le sam. 14 sept. 2024 à 21:40, ralfconn <mentadent47@yahoo.com> a écrit :

(snip)

>> 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
>>

(snip)

>>
>> 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="apache2
>> fpm" 54 KiB
> 
> Do you install "dev-lang/php" on the target or the host or both ?
> 

php is not on the Host:
# eix -I php apache
No matches found

It is on the Target, as a dependency of www-apps/pihole-admin-lte 
(tatsh-overlay) while apache is a dependency of php with USE=apache2. 
All as expected.

Looking at the pihole-admin-lte ebuild I find this:

BDEPEND="app-misc/jq app-portage/portage-utils"
RDEPEND="app-admin/sudo
	dev-lang/php[fileinfo,filter,gd,intl,session,sqlite,tokenizer]
	net-dns/pihole
	virtual/httpd-php"

Humm, interesting, jq is another package that crossdev wants to install 
on the Host. BDEPEND are build-time dependencies and it is correctly 
cross-built on Host but for some reason crossdev wants to build it also 
for the Host.

Could it be an issue with the pihole-admin-lte ebuild rather than 
apache's? I'd need to understand ebuilds, easier said than done...

raf


      reply	other threads:[~2024-09-16 17:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5176d8dd-2a73-4d64-b5a6-c00742c5f79b.ref@yahoo.com>
2024-09-14 19:40 ` [gentoo-user] crossdev wants to install apache on _host_ ralfconn
2024-09-16  8:42   ` Mickaël Bucas
2024-09-16 17:16     ` ralfconn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb2a05bc-6281-40d1-a9a1-1ad238f23b18@yahoo.com \
    --to=mentadent47@yahoo.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox