From: Taruntej Kanakamalla <tarun@centricular.com>
To: openembedded-core@lists.openembedded.org
Cc: sebastian@centricular.com, nirbheek@centricular.com,
Taruntej Kanakamalla <tarun@centricular.com>
Subject: [PATCH v5 1/2] cargo_c.bbclass: pass --libdir to cargo cinstall
Date: Tue, 14 Jul 2026 16:25:40 +0530 [thread overview]
Message-ID: <20260714105541.2812170-1-tarun@centricular.com> (raw)
In-Reply-To: <20260707081701.1525114-1-tarun@centricular.com>
cargo-cinstall defaults its libdir to <prefix>/lib since the class does
not pass --libdir. On configurations where ${libdir} is not
<prefix>/lib (e.g. multilib builds where baselib is lib64), the libraries
and pkg-config files get installed into <prefix>/lib, causing do_package
QA failures (installed-vs-shipped).
Pass --libdir ${libdir} explicitly so cargo-cinstall installs the files
into the correct directory.
Signed-off-by: Taruntej Kanakamalla <tarun@centricular.com>
---
meta/classes-recipe/cargo_c.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes-recipe/cargo_c.bbclass b/meta/classes-recipe/cargo_c.bbclass
index ef431634a2..e91ee1d9fc 100644
--- a/meta/classes-recipe/cargo_c.bbclass
+++ b/meta/classes-recipe/cargo_c.bbclass
@@ -35,6 +35,7 @@ cargo_c_do_install() {
"${CARGO_C_INSTALL}" cinstall ${CARGO_BUILD_FLAGS} \
--destdir ${D} \
--prefix ${prefix} \
+ --libdir ${libdir} \
--library-type cdylib
}
next prev parent reply other threads:[~2026-07-14 12:21 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-11 13:34 [PATCH] gstreamer1.0-plugins-rs: add new package Taruntej Kanakamalla
2026-05-12 10:30 ` [OE-core] " Mathieu Dubois-Briand
2026-05-13 7:14 ` Taruntej Kanakamalla
2026-05-12 19:28 ` Peter Kjellerstedt
2026-05-13 7:25 ` Taruntej Kanakamalla
2026-05-13 7:56 ` Peter Kjellerstedt
2026-05-24 2:02 ` Taruntej Kanakamalla
2026-05-13 7:11 ` [PATCH v2] " Taruntej Kanakamalla
2026-05-13 10:19 ` [OE-core] " Alexander Kanavin
2026-05-13 11:23 ` Nirbheek Chauhan
2026-05-13 11:45 ` Alexander Kanavin
2026-05-13 12:02 ` Nirbheek Chauhan
2026-05-13 12:15 ` Alexander Kanavin
2026-05-13 13:10 ` Nirbheek Chauhan
2026-05-24 1:51 ` Taruntej Kanakamalla
2026-05-24 1:23 ` [PATCH v3] " Taruntej Kanakamalla
2026-05-24 10:12 ` [OE-core] " Alexander Kanavin
2026-05-25 17:06 ` Peter Kjellerstedt
2026-07-07 8:21 ` Taruntej Kanakamalla
2026-05-29 13:57 ` Taruntej Kanakamalla
2026-07-07 8:17 ` [PATCH v4] " Taruntej Kanakamalla
2026-07-08 6:20 ` [OE-core] " Richard Purdie
[not found] ` <18C03C30DCBC1651.550146@lists.openembedded.org>
2026-07-08 6:24 ` Richard Purdie
2026-07-14 10:55 ` Taruntej Kanakamalla [this message]
2026-07-14 10:55 ` [PATCH v5 2/2] " Taruntej Kanakamalla
2026-07-15 11:37 ` [OE-core] " Mathieu Dubois-Briand
2026-07-15 13:50 ` Mathieu Dubois-Briand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260714105541.2812170-1-tarun@centricular.com \
--to=tarun@centricular.com \
--cc=nirbheek@centricular.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=sebastian@centricular.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox