Mailing List Archive

[gentoo-ser] Re: Why IDEPEND's context is BHOST?
Thanks, Ionen!
 
> then amd64 will need deps to run pkg_postinst
 
 
Why? Why does build participate on installation?
 
Is «cross emerge» cross building?
 
Sincerely,
Alexander Kurakin.
 
 
Re: [gentoo-ser] Re: Why IDEPEND's context is BHOST? [ In reply to ]
On Fri, Sep 02, 2022 at 11:03:21AM +0300, Alexander Kurakin wrote:
>
> Thanks, Ionen!
>  
> > then amd64 will need deps to run pkg_postinst
>  
>  
> Why? Why does build participate on installation?

Maybe it's terminology confusion? CBUILD just means the machine from
which the package is being handled, not necessarily just "built".

Like amd64 builds the package, then installs it to
/usr/aarch64-pc-linux-gnu. That ROOT directory can either be used by
qemu, copied to a real aarch64 system, or used to make binpkgs.

> Is «cross emerge» cross building?

Yes, and it wouldn't work without any installation given e.g. need
to install cross libraries to link with it.

IDEPEND is fairly rarely needed anyhow, at most may have a eselect
module in there.

--
ionen