1 |
May 28, 2019 9:20 PM, "tedheadster" <tedheadster@×××××.com> wrote: |
2 |
|
3 |
> I am having problems trying to rebuild a slave disk with ROOT=/mnt/gentoo. |
4 |
> |
5 |
> While it is _sort_ of working, it does something very unexpected. It |
6 |
> rebuilds 154 packages on the _host_ system. |
7 |
> |
8 |
> Oddly, it does notice that I have different CFLAGS set in |
9 |
> /etc/portage/make.conf and rebuilds the host system packages |
10 |
> correctly. But why does it rebuild them at all? |
11 |
> |
12 |
> Here is a sample of the emerge output: |
13 |
> |
14 |
> [ebuild R ] sys-apps/systemd-241-r1 to /mnt/gentoo/ |
15 |
> [ebuild R ] sys-process/procps-3.3.15-r1 to /mnt/gentoo/ |
16 |
> [ebuild R ] sys-apps/gentoo-systemd-integration-7 to /mnt/gentoo/ |
17 |
> [ebuild R ] virtual/service-manager-0 to /mnt/gentoo/ |
18 |
> [ebuild R ] sys-apps/attr-2.4.47-r2 |
19 |
> [ebuild R ] sys-devel/patch-2.7.6-r3 |
20 |
> [ebuild R ] sys-apps/systemd-241-r1 |
21 |
> [ebuild R ] sys-apps/gentoo-systemd-integration-7 |
22 |
> |
23 |
> Why the heck is the _host_ sys-apps/systemd being recompiled? |
24 |
> |
25 |
> Here is my command: |
26 |
> |
27 |
> export ROOT="/mnt/gentoo" |
28 |
> export DISTDIR="/mnt/gentoo/usr/portage/distfiles" |
29 |
> export PKGDIR="/mnt/gentoo/usr/portage/packages" |
30 |
> export PORTAGE_CONFIGROOT="/mnt/gentoo/" |
31 |
> export PORTAGE_TMPDIR="/var/tmp" |
32 |
> export PORTDIR="/mnt/gentoo/usr/portage" |
33 |
> export EMERGE_LOG_DIR="/mnt/gentoo/var/log" |
34 |
> |
35 |
> emerge --root=/mnt/gentoo --root-deps --color n --ask -e @world |
36 |
> |
37 |
> - Matthew |
38 |
|
39 |
Hi, |
40 |
|
41 |
Are any of them listed as build time dependency perhaps? |
42 |
If there are then they will be built for the host as it the host who's compiling and needs them. |
43 |
|
44 |
Kind regards, |
45 |
Corentin “Nado” Pazdera |