Gentoo Archives: gentoo-user

From: Ionen Wolkens <ionen@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [gentoo-ser] Re: Why IDEPEND's context is BHOST?
Date: Fri, 02 Sep 2022 19:19:15
Message-Id: YxJXKnVou2vTH0jy@eversor
In Reply to: [gentoo-user] [gentoo-ser] Re: Why IDEPEND's context is BHOST? by Alexander Kurakin
1 On Fri, Sep 02, 2022 at 11:03:21AM +0300, Alexander Kurakin wrote:
2 >
3 > Thanks, Ionen!
4 >  
5 > > then amd64 will need deps to run pkg_postinst
6 >  
7 >  
8 > Why? Why does build participate on installation?
9
10 Maybe it's terminology confusion? CBUILD just means the machine from
11 which the package is being handled, not necessarily just "built".
12
13 Like amd64 builds the package, then installs it to
14 /usr/aarch64-pc-linux-gnu. That ROOT directory can either be used by
15 qemu, copied to a real aarch64 system, or used to make binpkgs.
16
17 > Is «cross emerge» cross building?
18
19 Yes, and it wouldn't work without any installation given e.g. need
20 to install cross libraries to link with it.
21
22 IDEPEND is fairly rarely needed anyhow, at most may have a eselect
23 module in there.
24
25 --
26 ionen

Attachments

File name MIME type
signature.asc application/pgp-signature