From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 04 Jun 2024 08:30:47 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sENh1-001Dod-0F for lore@lore.pengutronix.de; Tue, 04 Jun 2024 08:30:47 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sENh0-0002Lq-OG; Tue, 04 Jun 2024 08:30:46 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sENgd-0002Lh-60 for ptxdist@pengutronix.de; Tue, 04 Jun 2024 08:30:23 +0200 Received: from [2a0a:edc0:0:1101:1d::28] (helo=dude02.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1sENgc-000Air-Og for ptxdist@pengutronix.de; Tue, 04 Jun 2024 08:30:22 +0200 From: Lucas Stach To: ptxdist@pengutronix.de Date: Tue, 4 Jun 2024 08:30:22 +0200 Message-Id: <20240604063022.3272904-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] set install-lib path for host-system-python package installation X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false When only the prefix is set, different packages have different ideas about were the libs should be installed (lib vs lib64) on multilib systems. This causes issues later on when the package content is copied into the sysroot, as it may be attempted to copy a directory over a symlink. Set the lib install path explicitly, so all packages maintain a consistent view. Signed-off-by: Lucas Stach --- rules/pre/Rules.make | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index f6b1900500b8..651660d78bea 100644 --- a/rules/pre/Rules.make +++ b/rules/pre/Rules.make @@ -254,7 +254,10 @@ CROSS_QMAKE_OPT := \ CROSS_PYTHON_INSTALL := install --prefix=/usr HOST_PYTHON_INSTALL := install --prefix=/usr -HOST_SYSTEM_PYTHON_INSTALL := install --prefix=/usr/lib/system-python3 +HOST_SYSTEM_PYTHON_INSTALL := \ + install \ + --prefix=/usr/lib/system-python3 \ + --install-lib=/usr/lib/system-python3/lib CROSS_MESON_USR := \ --cross-file '${PTXDIST_MESON_CROSS_FILE}' \ -- 2.39.2