Gentoo Archives: gentoo-user

From: Alexander Puchmayr <alexander.puchmayr@×××××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Emerge --root= headerfiles taken from / or ROOT?
Date: Fri, 23 Apr 2021 14:05:59
Message-Id: 8480633.LvFx2qVVIh@zeus
1 Hi there,
2
3 I'm just trying setup a small target image with the --root (env SYSROOT), -
4 config-root and --sysroot options, and some builds fail, because the header
5 files as well as cmake include files are not taken from the path specified to
6 root/sysroot, but from /.
7
8 How can I make emerge/ebuild take the headers from the target path?
9
10 The goal is to have a target image, which contains only minimum set of
11 packages and also a minimum set of use flags, just to get it booting and fulfill
12 its purpose. The use flags and the package set are different from the host build
13 system. The architecture is the same, so I'm not cross compiling.
14
15 Thanks
16 Alex