<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/cargo/cargo.inc, branch scarthgap</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=scarthgap'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2022-12-28T23:59:56+00:00</updated>
<entry>
<title>cargo: Merge .inc into .bb</title>
<updated>2022-12-28T23:59:56+00:00</updated>
<author>
<name>Alex Kiernan</name>
<email>alex.kiernan@gmail.com</email>
</author>
<published>2022-12-28T15:23:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fd552bfcfaa5c339c8ffe7c21d73d2b12c7b3393'/>
<id>urn:sha1:fd552bfcfaa5c339c8ffe7c21d73d2b12c7b3393</id>
<content type='text'>
(From OE-Core rev: 15170dbc0579f57436730b1fc1c2f471aa0dea54)

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: Remove unneeded RUST_TARGETGENS settings</title>
<updated>2022-08-12T10:46:26+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-08-10T20:46:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=83e7f668ae6b697bfb89eaee80609bd8d509ba71'/>
<id>urn:sha1:83e7f668ae6b697bfb89eaee80609bd8d509ba71</id>
<content type='text'>
These match the default from the class so drop them. We then always
generate all targets so remove the configuration from the class.

(From OE-Core rev: e4d56256936c55bab2bf2934ccbde9157ef7dc57)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cargo: Work around host system library conflicts</title>
<updated>2022-08-09T21:42:04+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-08-08T14:33:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7275846f45db90bdb35c75eec83e7e4c62f8ad0d'/>
<id>urn:sha1:7275846f45db90bdb35c75eec83e7e4c62f8ad0d</id>
<content type='text'>
cargo ends up running target-rust-ccld with LD_LIBRARY_PATH set to libdir but not
base_libdir which breaks the SDK. You see errors like:

/bin/sh: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

On such a system, this would fail:

LD_LIBRARY_PATH="&lt;path&gt;/testimage-sdk/sysroots/x86_64-pokysdk-linux/usr/lib" cargo build

but this would work:

LD_LIBRARY_PATH="&lt;path&gt;/testimage-sdk/sysroots/x86_64-pokysdk-linux/usr/lib:&lt;path&gt;/testimage-sdk/sysroots/x86_64-pokysdk-linux/lib" cargo build

so wrap cargo with both paths in LD_LIBRARY_PATH.

The error depends on the versions of the host system, it reproduced on tumbleweed-ty-3.

(From OE-Core rev: 388e7cac9f90e79ce8c3c1683d8ee0f4df1bc907)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cargo: Drop cross-canadian variant and fix/use nativesdk</title>
<updated>2022-08-08T14:44:20+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-08-05T12:39:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=251f55374d26b5c24d8833aa87c95432be8b81b2'/>
<id>urn:sha1:251f55374d26b5c24d8833aa87c95432be8b81b2</id>
<content type='text'>
The cargo-cross-candian variant made no sense as one version of cargo in
the SDK can work for all targets. Replace it with nativesdk-cargo instead.

Move the SDK env to rust-cross-canadian.

(From OE-Core rev: 6d6d135924eff5993736ee58ba8cc5d00ca635f3)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: Generate per recipe target configuration files</title>
<updated>2022-08-08T14:44:20+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-08-05T12:15:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b1d8d2a3bfe40d83a651448bcd0eeb01434b7ad1'/>
<id>urn:sha1:b1d8d2a3bfe40d83a651448bcd0eeb01434b7ad1</id>
<content type='text'>
Instead of generating target configuration files centrally and often getting
it wrong, or having trouble finding the right set, generate them dynamically
from the bbclass into WORKDIR per recipe.

(From OE-Core rev: 9160e4a37561d8ac882057450a818621bec13bed)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust/cargo: exclude UNINATIVE_LOADER from task signature</title>
<updated>2021-10-14T10:48:45+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex.kanavin@gmail.com</email>
</author>
<published>2021-10-10T19:10:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=bcab6dd34ff3bf045fae474e883423015469482e'/>
<id>urn:sha1:bcab6dd34ff3bf045fae474e883423015469482e</id>
<content type='text'>
(From OE-Core rev: 8915dfa2034d939b504f134e83811ed2ba18a6f1)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>recipes: Add missing pkgconfig inherit</title>
<updated>2021-09-21T22:44:08+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-09-19T17:04:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=596cbbf615fc1729e32c812ba23e738d7f850a5a'/>
<id>urn:sha1:596cbbf615fc1729e32c812ba23e738d7f850a5a</id>
<content type='text'>
Various recipes were missing a pkgconfig inherit or pkgconfig-native
dependency despite using pkgconfig.

Add the inherit to igt-gpu-tools/gdb/libmodulemd/libwpe/xwayland/waffle
shaderc/iputils/wpebackend-fdo/lttng-ust/cargo.

(From OE-Core rev: 777d9744570c2dc119dc5d04985896bbb1da5885)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cargo: Apply uninative fix to snapshot as with rust</title>
<updated>2021-09-02T20:22:54+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-09-01T10:37:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=640136a72b3bb6f832b08ca0e12f774c925d36c8'/>
<id>urn:sha1:640136a72b3bb6f832b08ca0e12f774c925d36c8</id>
<content type='text'>
Also add the interpreter relocation trick from uninative to the prebuilt
cargo binary to match rust-native, just in case that causes other problems
later too.

(From OE-Core rev: e3cb3958cc14672feef5d4d8953131f55db68573)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cargo: Ensure cargo-cross-canadian doesn't have native/nativesdk versions</title>
<updated>2021-08-26T21:09:44+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2021-08-23T12:54:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cfc8d6dd641f3c0fb080cccbc2577d0a65858913'/>
<id>urn:sha1:cfc8d6dd641f3c0fb080cccbc2577d0a65858913</id>
<content type='text'>
native/nativesdk variants of a cross-canadian recipe don't make any
sense so avoid these recipe variants.

(From OE-Core rev: 4ba7fb0b6a5021bca73aade4af390e8e017b491a)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>cargo/rust/rustfmt: exclude from world</title>
<updated>2021-08-26T21:09:43+00:00</updated>
<author>
<name>Randy MacLeod</name>
<email>randy.macleod@windriver.com</email>
</author>
<published>2021-02-25T01:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=284f0b11a5d2f030c78c66adf01c0fcdc809ede1'/>
<id>urn:sha1:284f0b11a5d2f030c78c66adf01c0fcdc809ede1</id>
<content type='text'>
cargo, rust, and rustfmt can't be built for the targets yet
so exclude them from world builds.

(From OE-Core rev: 3ade1015b5bbd6aac9dd9974a6a5712958a5f5ed)

Signed-off-by: Randy MacLeod &lt;Randy.MacLeod@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
