Date   

QA notification for completed autobuilder build (yocto-4.0.1.rc1)

Richard Purdie
 

A build flagged for QA (yocto-4.0.1.rc1) was completed on the
autobuilder and is available at:


https://autobuilder.yocto.io/pub/releases/yocto-4.0.1.rc1


Build hash information:

bitbake: 59c16ae6c55c607c56efd2287537a1b97ba2bf52
meta-agl: ba35313c0852ebaf924a9b71d87a4e3f5e90ac9b
meta-arm: b838d40efe06c839d58cf39b785175d0ba7518c6
meta-aws: b07a769a4347b9f425cf8c6106d3191634791f8c
meta-gplv2: d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
meta-intel: fb23bc3e661685383edd3026e21ca25825c48bc4
meta-mingw: a90614a6498c3345704e9611f2842eb933dc51c1
meta-openembedded: 5357c7a40eaf8d1bcf7ff58edbba8e9527e40c7d
meta-virtualization: c578929ca3910e78a2b5876c70749520791124ee
oecore: cb8647c08959abb1d6b7c2b3a34b4b415f66d7ee
poky: 8c489602f218bcf21de0d3c9f8cf620ea5f06430



This is an automated message from the Yocto Project Autobuilder
Git: git://git.yoctoproject.org/yocto-autobuilder2
Email: richard.purdie@...


[meta-zephyr][PATCH 10/10] python3-pyocd: remove, unused

Ross Burton
 

This recipe was added to meta-zephyr in de73bdba but nothing uses it.

Signed-off-by: Ross Burton <ross.burton@...>
---
.../python/python3-pyocd_0.32.0.bb | 14 --------------
1 file changed, 14 deletions(-)
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-pyoc=
d_0.32.0.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-pyocd_0.32.=
0.bb b/meta-zephyr-core/recipes-devtools/python/python3-pyocd_0.32.0.bb
deleted file mode 100644
index bbdae6a..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-pyocd_0.32.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY =3D "Python pyocd"
-HOMEPAGE =3D "https://pypi.org/project/pyocd"
-LICENSE =3D "MIT"
-LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D421492e27872cb498685e9d7649f6=
3a2"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE =3D "pyocd"
-SRC_URI[md5sum] =3D "25153f563a629bb2be7560e2dc23c0a8"
-SRC_URI[sha256sum] =3D "d5aa498130f251373ac50724be73dc2f8cf60b03c9547bdd=
f3c140fa6555ead1"
-BBCLASSEXTEND =3D "native nativesdk"
--=20
2.25.1


[meta-zephyr][PATCH 09/10] python3-lpc-checksum: remove, unused

Ross Burton
 

This recipe was added to meta-zephyr in dde88ba4 but nothing uses it.

Signed-off-by: Ross Burton <ross.burton@...>
---
.../python/python3-lpc-checksum_2.2.0.bb | 14 --------------
1 file changed, 14 deletions(-)
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-lpc-=
checksum_2.2.0.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-lpc-checksu=
m_2.2.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-lpc-checksu=
m_2.2.0.bb
deleted file mode 100644
index 503f7ca..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-lpc-checksum_2.2.0=
.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY =3D "Python lpc_checksum"
-HOMEPAGE =3D "https://pypi.org/project/lpc_checksum"
-LICENSE =3D "MIT"
-LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D85c86965b0249c221935f585c0313=
d60"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE =3D "lpc_checksum"
-SRC_URI[md5sum] =3D "eef81888414a111e1fd5992b8614b6cb"
-SRC_URI[sha256sum] =3D "1f2fb198483cc718141f1aa0ed4717fd188e29874d7db040=
9d1ed04358b64185"
-BBCLASSEXTEND =3D "native nativesdk"
--=20
2.25.1


[meta-zephyr][PATCH 08/10] python3-pygithub: remove, unused

Ross Burton
 

This recipe was added to meta-zephyr in de73bdba but nothing uses it.

Signed-off-by: Ross Burton <ross.burton@...>
---
.../python/python3-pygithub_1.55.bb | 14 --------------
1 file changed, 14 deletions(-)
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-pygi=
thub_1.55.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-pygithub_1.=
55.bb b/meta-zephyr-core/recipes-devtools/python/python3-pygithub_1.55.bb
deleted file mode 100644
index 268d2b7..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-pygithub_1.55.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY =3D "Python PyGithub"
-HOMEPAGE =3D "https://pypi.org/project/PyGithub"
-LICENSE =3D "MIT"
-LIC_FILES_CHKSUM =3D "file://MANIFEST.in;md5=3Dc5e8b6057f82b73046c24a308=
09903bd"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE =3D "PyGithub"
-SRC_URI[md5sum] =3D "03e5883a8d4358b0786a0db84ad56a22"
-SRC_URI[sha256sum] =3D "1bbfff9372047ff3f21d5cd8e07720f3dbfdaf6462fcaed9=
d815f528f1ba7283"
-BBCLASSEXTEND =3D "native nativesdk"
--=20
2.25.1


[meta-zephyr][PATCH 07/10] python3-junitparser: remove, unused

Ross Burton
 

This recipe was added to meta-zephyr in de73bdba but nothing uses it.

Signed-off-by: Ross Burton <ross.burton@...>
---
.../python/python3-junitparser_2.1.1.bb | 14 --------------
1 file changed, 14 deletions(-)
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-juni=
tparser_2.1.1.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-junitparser=
_2.1.1.bb b/meta-zephyr-core/recipes-devtools/python/python3-junitparser_=
2.1.1.bb
deleted file mode 100644
index 5932e66..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-junitparser_2.1.1.=
bb
+++ /dev/null
@@ -1,14 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY =3D "Python junitparser"
-HOMEPAGE =3D "https://pypi.org/project/junitparser"
-LICENSE =3D "MIT"
-LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D2d00702cde917dd61c41041bc3013=
6dd"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE =3D "junitparser"
-SRC_URI[md5sum] =3D "f8704c2b18e6f4d482c62b33e141a0cb"
-SRC_URI[sha256sum] =3D "d54d0eaa2b15ee2efab0220ce0ab31448d26dcb78170d566=
7453d7755b9f1480"
-BBCLASSEXTEND =3D "native nativesdk"
--=20
2.25.1


[meta-zephyr][PATCH 06/10] python3-junithtml: remove, unused

Ross Burton
 

This recipe was added to meta-zephyr in de73bdba but nothing uses it.

Signed-off-by: Ross Burton <ross.burton@...>
---
.../python/python3-junithtml_30.0.4.bb | 14 --------------
1 file changed, 14 deletions(-)
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-juni=
thtml_30.0.4.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-junithtml_3=
0.0.4.bb b/meta-zephyr-core/recipes-devtools/python/python3-junithtml_30.=
0.4.bb
deleted file mode 100644
index ddc34aa..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-junithtml_30.0.4.b=
b
+++ /dev/null
@@ -1,14 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY =3D "Python junit2html"
-HOMEPAGE =3D "https://pypi.org/project/junit2html"
-LICENSE =3D "MIT"
-LIC_FILES_CHKSUM =3D "file://MANIFEST.in;md5=3D899c50bccc6c8221c8ca0a9c7=
633b5b8"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE =3D "junit2html"
-SRC_URI[md5sum] =3D "a816cf502da0a8905f24aefab0739206"
-SRC_URI[sha256sum] =3D "9b3967c92142abd5fb94e2cbb938c51cc6c2689ec1c7fd34=
8c6ba4ddab92da14"
-BBCLASSEXTEND =3D "native nativesdk"
--=20
2.25.1


[meta-zephyr][PATCH 05/10] python3-canopen: remove, unused

Ross Burton
 

This recipe was added to meta-zephyr in de73bdba but nothing uses it.

Signed-off-by: Ross Burton <ross.burton@...>
---
.../python/python3-canopen_1.2.1.bb | 17 -----------------
1 file changed, 17 deletions(-)
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-cano=
pen_1.2.1.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-canopen_1.2=
.1.bb b/meta-zephyr-core/recipes-devtools/python/python3-canopen_1.2.1.bb
deleted file mode 100644
index 0608199..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-canopen_1.2.1.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY =3D "Python canopen"
-DESCRIPTION =3D "A Python implementation of the CANopen standard. The ai=
m of \
- the project is to support the most common parts of the Ci=
A \
- 301 standard in a simple Pythonic interface."
-HOMEPAGE =3D "https://pypi.org/project/canopen"
-LICENSE =3D "MIT"
-LIC_FILES_CHKSUM =3D "file://LICENSE.txt;md5=3D97f135a6ee6f800c377b55121=
22c7a8d"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE =3D "canopen"
-SRC_URI[md5sum] =3D "da37dcf725e774385f05f05e04ca54a0"
-SRC_URI[sha256sum] =3D "18d01d56ff0023795cb336cafd4810a76cf402b98b42139b=
201fa8c5d4ba8c06"
-BBCLASSEXTEND =3D "native nativesdk"
--=20
2.25.1


[meta-zephyr][PATCH 04/10] python3-breathe: remove, unused

Ross Burton
 

This recipe was added to meta-zephyr in de73bdba but nothing uses it.

Signed-off-by: Ross Burton <ross.burton@...>
---
.../python/python3-breathe_4.31.0.bb | 17 -----------------
1 file changed, 17 deletions(-)
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-brea=
the_4.31.0.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-breathe_4.3=
1.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-breathe_4.31.0.=
bb
deleted file mode 100644
index 4389d20..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-breathe_4.31.0.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY =3D "Python breathe"
-DESCRIPTION =3D "Breathe is an extension to reStructuredText and Sphinx =
to be \
- able to read and render Doxygen xml output."
-HOMEPAGE =3D "https://pypi.org/project/breathe"
-LICENSE =3D "MIT"
-LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D9e49eecf36fc015de7c61a0247df7=
5d6"
-
-inherit pypi setuptools3
-=20
-DEPENDS =3D "python3-sphinx-native python3-docutils-native python3-pygme=
nts-native python3-babel-native python3-jinja2-native python3-distro-nati=
ve"
-PYPI_PACKAGE =3D "breathe"
-SRC_URI[md5sum] =3D "33a86368215dbcb59e5c71687f6b228b"
-SRC_URI[sha256sum] =3D "925eeff96c6640cd857e4ddeae6f75464a1d5e2e08ee56dc=
cce4043583ae2050"
-BBCLASSEXTEND =3D "native nativesdk"
--=20
2.25.1


[meta-zephyr][PATCH 03/10] python3-anytree: remove, unused

Ross Burton
 

This recipe was added to meta-zephyr in de73bdba but nothing uses it.

Signed-off-by: Ross Burton <ross.burton@...>
---
.../python/python3-anytree_2.8.0.bb | 14 --------------
1 file changed, 14 deletions(-)
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-anyt=
ree_2.8.0.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-anytree_2.8=
.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-anytree_2.8.0.bb
deleted file mode 100644
index a19c998..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-anytree_2.8.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY =3D "Python anytree"
-DESCRIPTION =3D "Powerful and Lightweight Python Tree Data Structure"
-HOMEPAGE =3D "https://pypi.org/project/anytree"
-LICENSE =3D "Apache-2.0"
-LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3De3fc50a88d0a364313df4b21ef20c=
29e"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE =3D "anytree"
-SRC_URI[md5sum] =3D "25ef3e656ad16a2a6b6c187807da7e5f"
-BBCLASSEXTEND =3D "native nativesdk"
--=20
2.25.1


[meta-zephyr][PATCH 02/10] python3-gitlint: remove, unused

Ross Burton
 

This recipe was added to meta-zephyr in de73bdba but nothing uses it.

Signed-off-by: Ross Burton <ross.burton@...>
---
.../python/python3-gitlint_0.15.1.bb | 14 --------------
1 file changed, 14 deletions(-)
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-gitl=
int_0.15.1.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-gitlint_0.1=
5.1.bb b/meta-zephyr-core/recipes-devtools/python/python3-gitlint_0.15.1.=
bb
deleted file mode 100644
index 143e2cb..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-gitlint_0.15.1.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY =3D "Python gitlint"
-HOMEPAGE =3D "https://pypi.org/project/gitlint"
-LICENSE =3D "MIT"
-LIC_FILES_CHKSUM =3D "file://LICENSE;md5=3D2ddf75221dde30f107af8595a43b4=
009"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE =3D "gitlint"
-SRC_URI[md5sum] =3D "4835bedc50129934a47cf099d906d2ca"
-SRC_URI[sha256sum] =3D "4b22916dcbdca381244aee6cb8d8743756cfd98f27e7d1f0=
2e78733f07c3c21c"
-BBCLASSEXTEND =3D "native nativesdk"
--=20
2.25.1


[meta-zephyr][PATCH 01/10] python3-cbor: remove, unused and obsolete

Ross Burton
 

Nothing in meta-zephyr uses python3-cbor, and as it hasn't had a release
since 2016 everyone using it should move to cbor2.

Signed-off-by: Ross Burton <ross.burton@...>
---
.../python/python3-cbor_1.0.0.bb | 19 -------------------
1 file changed, 19 deletions(-)
delete mode 100644 meta-zephyr-core/recipes-devtools/python/python3-cbor_1.0.0.bb

diff --git a/meta-zephyr-core/recipes-devtools/python/python3-cbor_1.0.0.bb b/meta-zephyr-core/recipes-devtools/python/python3-cbor_1.0.0.bb
deleted file mode 100644
index 9e240f0..0000000
--- a/meta-zephyr-core/recipes-devtools/python/python3-cbor_1.0.0.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-# SPDX-FileCopyrightText: Huawei Inc.
-# SPDX-License-Identifier: Apache-2.0
-
-SUMMARY = "Python cbor"
-DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object \
- Representation (CBOR). \
- CBOR is comparable to JSON, has a superset of JSON’s ability, \
- but serializes to a binary format which is smaller and faster \
- to generate and parse."
-HOMEPAGE = "https://pypi.org/project/cbor"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://setup.cfg;md5=d86758afb08a60bc589dc67bfea670b2"
-
-inherit pypi setuptools3
-
-PYPI_PACKAGE = "cbor"
-SRC_URI[md5sum] = "22b03b59784fd78cb6c27aa498af0db6"
-SRC_URI[sha256sum] = "13225a262ddf5615cbd9fd55a76a0d53069d18b07d2e9f19c39e6acb8609bbb6"
-BBCLASSEXTEND = "native nativesdk"
--
2.25.1


Re: Problems with recipe for our Rust-Software

Felix Knorr
 

Hey,

thanks for the great explanation!


Re: Problems with recipe for our Rust-Software

Quentin Schulz
 

Hi Felix,

On 5/13/22 11:25, Felix Knorr wrote:
Hey,
thanks for your help, it's working now. But could you explain, why
adding pkgconf to DEPENDS didn't work?
Sure!

pkgconf-native very likely would have worked, so I'll not talk about pkgconf vs pkgconfig (also because I don't know much about them :) ).

There are multiple "flavors" for recipes. The two most common ones are target and host, in Yocto terms, "normal" recipes (or target recipe) and native recipes.

The difference between both is fundamental. Target recipes are going to be built so that they can be run on the target hardware (usually an embedded device, which very often differs from the CPU architecture used to compile the image).
Native recipes are going to be built so their outcome can be used on the CPU architecture used by your building machine (aka host). This is called native because the architecture used to compile something is the same as the architecture of this something after being built.
Target recipes are built on your build machine, therefore, you need software compiled for your host architecture to be able to cross-compile for the target (Yocto build system is running on your machine, but the result is supposed to run on a different machine). This means that target recipes depend on native recipes.

For example, if you have a cmake-based project you want to use on your target, you need to run cmake on your build machine. This means cmake needs to be compiled for your build machine. Therefore, your cmake-based project recipe will require cmake-native as dependency.

Any non-target recipe will not make it to the target filesystem and will only be used during compilation for binaries **EXECUTED during compilation**.

By the way, just use inherit pkgconfig instead of adding the dependency manually, it's what is done in poky for all recipes :) (it's doing the same thing, but cleaner, and if some modifications are required later on to fix some issues with pkgconfig, you'll not need to do it yourself and will get the fixes when updating your yocto version).

Let me know if I should rephrase some parts,
Cheers,
Quentin

On 13.05.22 10:03, Quentin Schulz wrote:
Hi Felix,

On 5/13/22 09:56, Felix Knorr wrote:
Hey,

I'm now using the latest cargo-bitbake (thanks for the tip), but I'm
still having problems. One of the dependencies needs pkg-config to
build, and the error implies that it couldn't be found. To verify
this, I added the following do_compile function:

do_compile() {
         bbnote "pkg-config: $(which pkg-config)"
}



and checked the log.do_compile  file after running which just says


DEBUG: Executing shell function do_compile
NOTE: pkg-config:
DEBUG: Shell function do_compile finished


so it's definitely not there. I added DEPENDS += " dbus (>= 1.6)
pkgconf" to the recipe, but that didn't help.
Because it's supposed to be pkgconfig-native in DEPENDS, which can be
done by just adding:
inherit pkgconfig
to your recipe.

Cheers,
Quentin

On 12.05.22 15:28, Alex Kiernan wrote:

On Thu, May 12, 2022 at 2:09 PM Felix Knorr
<fknorr@...><mailto:fknorr@...> wrote:



Hey,

I'm struggling with a recipe to build our rust project.

I cannot use cargo-bitbake because we use the 2021 edition. Also the
project is quite complex. We have one repository with 4 different
crates, some of them are linking c code. I'm trying to create a
recipe by hand.




The HEAD of cargo-bitbake works fine for 2021 for us.



When I run bitbake for the recipe, it will error out with the
following error message:

ERROR: serve-1.0.0-r0 do_compile:
ExecutionError('/home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/temp/run.do_compile.400923',
101, None, None)
ERROR: Logfile of failure stored in:
/home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/temp/log.do_compile.400923
Log data follows:
| DEBUG: Executing shell function do_compile
|     Updating crates.io index
| warning: spurious network error (2 tries remaining): failed to
resolve address for github.com: Name or service not known; class=Net
(12)
| warning: spurious network error (1 tries remaining): failed to
resolve address for github.com: Name or service not known; class=Net
(12)
| error: failed to get `anyhow` as a dependency of package `nlprog
v0.1.0
(/home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/tmp/baroloop/programmer-rust/nlprog)`
|
| Caused by:
|   failed to fetch
`https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rust-2Dlang_crates.io-2Dindex&d=DwIGaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=KVxrF11PIYLER0S0KZ5nJTg8Ut1pYlTpWVAglebyRABm3CAb_QrF6YGl4ooo6kcf&s=vjlTVOHFeWmwaLHUilCKAh_c4dOX92W-oBIEor_tiR8&e=
`
|
| Caused by:
|   network failure seems to have happened
|   if a proxy or similar is necessary `net.git-fetch-with-cli` may
help here
|
https://urldefense.proofpoint.com/v2/url?u=https-3A__doc.rust-2Dlang.org_cargo_reference_config.html-23netgit-2Dfetch-2Dwith-2Dcli&d=DwIGaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=KVxrF11PIYLER0S0KZ5nJTg8Ut1pYlTpWVAglebyRABm3CAb_QrF6YGl4ooo6kcf&s=aaYEIIOtHpjY7BkTDEi5V9-gt8kNkmRnhhAIUBrpOPI&e=
|
| Caused by:
|   failed to resolve address for github.com: Name or service not
known; class=Net (12)
| WARNING: exit code 101 from a shell command.
ERROR: Task
(/home/felix/git/baroloop/programmer-tablet/layers/meta-main/recipes-core/programmer/serve_1.0.0.bb:do_compile)
failed with exit code '1'

However, if I run the devshell for the recipe and run cargo, it will
at least be able to do the fetching. (It will currently fail in the
linker step, but I assume thats because I haven't executed
oe_cargo_fix_env)

if I don't remove the http.multiplexing=false from the cargo config,
it will just hang forever in the devshell (but not error out).

If I set export CARGO_NET_GIT_FETCH_WITH_CLI=true the error is
slightly different, but the git call that is then displayed also
works in the devshell. Also using a crate://-fetcher doesn't work,
which is why I added the CARGO_DISABLE_BITBAKE_VENDORING = "1" I've
been fighting this for hours and can't come up with anything. I hope
you can help me.

PS: I'm using kirkstone, and I'm not having any url sections in my
.gitconfig

This is the recipe:

cargo

SUMMARY = "Copy prebuild programmer serve into the image"
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""

SRC_URI="\
     file://${bl_path}/programmer-ui/dist \
     file://${config_path}/files/session \
     file:///tmp/baroloop \
"
#   crate://crates.io/tokio/1 \
#   crate://crates.io/war/0.3 \
#   crate://crates.io/byte/1 \
#   crate://crates.io/log/0.4.8 \
#   crate://crates.io/serde_json/1.0.75 \
#   crate://crates.io/serde/1.0.133 \
#   crate://crates.io/docopt/1.1.0 \
#   crate://crates.io/colored/1.9.3 \
#   crate://crates.io/chrono/0.4.11 \
#   crate://crates.io/battery/0.7.7 \
#   crate://crates.io/uuid/0.8.2 \
#   crate://crates.io/thiserror/1.0 \
#   crate://crates.io/anyhow/1 \
#   crate://crates.io/clap/3.0 \
#   crate://crates.io/futures/0.3 \
#   crate://crates.io/wry/0.6.1
S = "${WORKDIR}"

RDEPENDS:${PN} = "\
     eudev \
     dbus \
"

DEPENDS = "\
     eudev \
     dbus \
"

# INSANE_SKIP:${PN} += "file-rdeps"

FILES:${PN} = "\
     /home/neuro/serve \
     /home/neuro/dist/** \
     ${sysconfdir}/mini_x/session \
"

CARGO_DISABLE_BITBAKE_VENDORING = "1"

do_compile() {
     oe_cargo_fix_env

     sed -i '/multiplexing = false/d' $CARGO_HOME/config
     sed -i '/\[http\]/d' $CARGO_HOME/config
     sed -i '/cainfo/d' $CARGO_HOME/config

     export RUSTFLAGS="${RUSTFLAGS}"
     export RUST_TARGET_PATH="${RUST_TARGET_PATH}"

     export CARGO_NET_GIT_FETCH_WITH_CLI=true
     cd ${S}/tmp/baroloop/programmer-rust/
     cargo build --release --bin serve
}

do_install() {
     # this isn_t reached anyway
# ...
}

--
Mit freundlichen Grüßen neuroloop GmbH
i.A. Felix Knorr
Senior Software Developer
--------------------------------------
neuroloop GmbH
Engesserstr. 4, 79108 Freiburg, Germany

Amtsgericht Freiburg HRB 713935

Geschäftsführer: Dr. Michael Lauk, Dr. Dennis Plachta



The information contained in this communication is confidential, may
be attorney-client privileged, may constitute inside information, and
is intended only for the use of the addressee. It is the property of
the company of the sender of this e-mail. Unauthorized use,
disclosure, or copying of this communication or any part thereof is
strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us immediately by return e-mail
and destroy this communication and all copies thereof, including all
attachments.











--
Mit freundlichen Grüßen neuroloop GmbH
i.A. Felix Knorr
Senior Software Developer
--------------------------------------
neuroloop GmbH
Engesserstr. 4, 79108 Freiburg, Germany

Amtsgericht Freiburg HRB 713935

Geschäftsführer: Dr. Michael Lauk, Dr. Dennis Plachta



The information contained in this communication is confidential, may
be attorney-client privileged, may constitute inside information, and
is intended only for the use of the addressee. It is the property of
the company of the sender of this e-mail. Unauthorized use,
disclosure, or copying of this communication or any part thereof is
strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us immediately by return e-mail
and destroy this communication and all copies thereof, including all
attachments.




Re: Problems with recipe for our Rust-Software

Felix Knorr
 

Hey,
thanks for your help, it's working now. But could you explain, why
adding pkgconf to DEPENDS didn't work?

On 13.05.22 10:03, Quentin Schulz wrote:
Hi Felix,

On 5/13/22 09:56, Felix Knorr wrote:
Hey,

I'm now using the latest cargo-bitbake (thanks for the tip), but I'm
still having problems. One of the dependencies needs pkg-config to
build, and the error implies that it couldn't be found. To verify
this, I added the following do_compile function:

do_compile() {
         bbnote "pkg-config: $(which pkg-config)"
}



and checked the log.do_compile  file after running which just says


DEBUG: Executing shell function do_compile
NOTE: pkg-config:
DEBUG: Shell function do_compile finished


so it's definitely not there. I added DEPENDS += " dbus (>= 1.6)
pkgconf" to the recipe, but that didn't help.
Because it's supposed to be pkgconfig-native in DEPENDS, which can be
done by just adding:
inherit pkgconfig
to your recipe.

Cheers,
Quentin

On 12.05.22 15:28, Alex Kiernan wrote:

On Thu, May 12, 2022 at 2:09 PM Felix Knorr
<fknorr@...><mailto:fknorr@...> wrote:



Hey,

I'm struggling with a recipe to build our rust project.

I cannot use cargo-bitbake because we use the 2021 edition. Also the
project is quite complex. We have one repository with 4 different
crates, some of them are linking c code. I'm trying to create a
recipe by hand.




The HEAD of cargo-bitbake works fine for 2021 for us.



When I run bitbake for the recipe, it will error out with the
following error message:

ERROR: serve-1.0.0-r0 do_compile:
ExecutionError('/home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/temp/run.do_compile.400923',
101, None, None)
ERROR: Logfile of failure stored in:
/home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/temp/log.do_compile.400923
Log data follows:
| DEBUG: Executing shell function do_compile
|     Updating crates.io index
| warning: spurious network error (2 tries remaining): failed to
resolve address for github.com: Name or service not known; class=Net
(12)
| warning: spurious network error (1 tries remaining): failed to
resolve address for github.com: Name or service not known; class=Net
(12)
| error: failed to get `anyhow` as a dependency of package `nlprog
v0.1.0
(/home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/tmp/baroloop/programmer-rust/nlprog)`
|
| Caused by:
|   failed to fetch
`https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rust-2Dlang_crates.io-2Dindex&d=DwIGaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=KVxrF11PIYLER0S0KZ5nJTg8Ut1pYlTpWVAglebyRABm3CAb_QrF6YGl4ooo6kcf&s=vjlTVOHFeWmwaLHUilCKAh_c4dOX92W-oBIEor_tiR8&e=
`
|
| Caused by:
|   network failure seems to have happened
|   if a proxy or similar is necessary `net.git-fetch-with-cli` may
help here
|
https://urldefense.proofpoint.com/v2/url?u=https-3A__doc.rust-2Dlang.org_cargo_reference_config.html-23netgit-2Dfetch-2Dwith-2Dcli&d=DwIGaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=KVxrF11PIYLER0S0KZ5nJTg8Ut1pYlTpWVAglebyRABm3CAb_QrF6YGl4ooo6kcf&s=aaYEIIOtHpjY7BkTDEi5V9-gt8kNkmRnhhAIUBrpOPI&e=
|
| Caused by:
|   failed to resolve address for github.com: Name or service not
known; class=Net (12)
| WARNING: exit code 101 from a shell command.
ERROR: Task
(/home/felix/git/baroloop/programmer-tablet/layers/meta-main/recipes-core/programmer/serve_1.0.0.bb:do_compile)
failed with exit code '1'

However, if I run the devshell for the recipe and run cargo, it will
at least be able to do the fetching. (It will currently fail in the
linker step, but I assume thats because I haven't executed
oe_cargo_fix_env)

if I don't remove the http.multiplexing=false from the cargo config,
it will just hang forever in the devshell (but not error out).

If I set export CARGO_NET_GIT_FETCH_WITH_CLI=true the error is
slightly different, but the git call that is then displayed also
works in the devshell. Also using a crate://-fetcher doesn't work,
which is why I added the CARGO_DISABLE_BITBAKE_VENDORING = "1" I've
been fighting this for hours and can't come up with anything. I hope
you can help me.

PS: I'm using kirkstone, and I'm not having any url sections in my
.gitconfig

This is the recipe:

cargo

SUMMARY = "Copy prebuild programmer serve into the image"
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""

SRC_URI="\
     file://${bl_path}/programmer-ui/dist \
     file://${config_path}/files/session \
     file:///tmp/baroloop \
"
#   crate://crates.io/tokio/1 \
#   crate://crates.io/war/0.3 \
#   crate://crates.io/byte/1 \
#   crate://crates.io/log/0.4.8 \
#   crate://crates.io/serde_json/1.0.75 \
#   crate://crates.io/serde/1.0.133 \
#   crate://crates.io/docopt/1.1.0 \
#   crate://crates.io/colored/1.9.3 \
#   crate://crates.io/chrono/0.4.11 \
#   crate://crates.io/battery/0.7.7 \
#   crate://crates.io/uuid/0.8.2 \
#   crate://crates.io/thiserror/1.0 \
#   crate://crates.io/anyhow/1 \
#   crate://crates.io/clap/3.0 \
#   crate://crates.io/futures/0.3 \
#   crate://crates.io/wry/0.6.1
S = "${WORKDIR}"

RDEPENDS:${PN} = "\
     eudev \
     dbus \
"

DEPENDS = "\
     eudev \
     dbus \
"

# INSANE_SKIP:${PN} += "file-rdeps"

FILES:${PN} = "\
     /home/neuro/serve \
     /home/neuro/dist/** \
     ${sysconfdir}/mini_x/session \
"

CARGO_DISABLE_BITBAKE_VENDORING = "1"

do_compile() {
     oe_cargo_fix_env

     sed -i '/multiplexing = false/d' $CARGO_HOME/config
     sed -i '/\[http\]/d' $CARGO_HOME/config
     sed -i '/cainfo/d' $CARGO_HOME/config

     export RUSTFLAGS="${RUSTFLAGS}"
     export RUST_TARGET_PATH="${RUST_TARGET_PATH}"

     export CARGO_NET_GIT_FETCH_WITH_CLI=true
     cd ${S}/tmp/baroloop/programmer-rust/
     cargo build --release --bin serve
}

do_install() {
     # this isn_t reached anyway
# ...
}

--
Mit freundlichen Grüßen neuroloop GmbH
i.A. Felix Knorr
Senior Software Developer
--------------------------------------
neuroloop GmbH
Engesserstr. 4, 79108 Freiburg, Germany

Amtsgericht Freiburg HRB 713935

Geschäftsführer: Dr. Michael Lauk, Dr. Dennis Plachta



The information contained in this communication is confidential, may
be attorney-client privileged, may constitute inside information, and
is intended only for the use of the addressee. It is the property of
the company of the sender of this e-mail. Unauthorized use,
disclosure, or copying of this communication or any part thereof is
strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us immediately by return e-mail
and destroy this communication and all copies thereof, including all
attachments.











--
Mit freundlichen Grüßen neuroloop GmbH
i.A. Felix Knorr
Senior Software Developer
--------------------------------------
neuroloop GmbH
Engesserstr. 4, 79108 Freiburg, Germany

Amtsgericht Freiburg HRB 713935

Geschäftsführer: Dr. Michael Lauk, Dr. Dennis Plachta



The information contained in this communication is confidential, may
be attorney-client privileged, may constitute inside information, and
is intended only for the use of the addressee. It is the property of
the company of the sender of this e-mail. Unauthorized use,
disclosure, or copying of this communication or any part thereof is
strictly prohibited and may be unlawful. If you have received this
communication in error, please notify us immediately by return e-mail
and destroy this communication and all copies thereof, including all
attachments.




--
Mit freundlichen Grüßen neuroloop GmbH
i.A. Felix Knorr
Senior Software Developer
--------------------------------------
neuroloop GmbH
Engesserstr. 4, 79108 Freiburg, Germany

Amtsgericht Freiburg HRB 713935

Geschäftsführer: Dr. Michael Lauk, Dr. Dennis Plachta



The information contained in this communication is confidential, may be attorney-client privileged, may constitute inside information, and is intended only for the use of the addressee. It is the property of the company of the sender of this e-mail. Unauthorized use, disclosure, or copying of this communication or any part thereof is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by return e-mail and destroy this communication and all copies thereof, including all attachments.


[ANNOUNCEMENT] Yocto Project 3.4.4 is Released

Lee Chee Yang
 

Hello

We are pleased to announce the Yocto Project 3.4.4 Release is now available for download.

http://downloads.yoctoproject.org/releases/yocto/yocto-3.4.4/poky-780eeec8851950ee6ac07a2a398ba937206bd2e4.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.4.4/poky-780eeec8851950ee6ac07a2a398ba937206bd2e4.tar.bz2

 

A gpg signed version of these release notes is available at:

 

http://downloads.yoctoproject.org/releases/yocto/yocto-3.4.4/RELEASENOTES

 

Full Test Report:

 

http://downloads.yoctoproject.org/releases/yocto/yocto-3.4.4/testreport.txt

 

Thank you for everyone's contributions to this release.

 

Chee Yang Lee

chee.yang.lee@...

Yocto Project Build and Release

 

 

 

- --------------------------

yocto-3.4.4 Release Notes

- --------------------------

 

 

- --------------------------

Repositories/Downloads

- --------------------------

 

Repository Name: poky

Repository Location: https://git.yoctoproject.org/git/poky

Branch: honister

Tag: yocto-3.4.4

Git Revision: 780eeec8851950ee6ac07a2a398ba937206bd2e4

Release Artefact: poky-780eeec8851950ee6ac07a2a398ba937206bd2e4

sha: 09558927064454ec2492da376156b716d9fd14aae57196435d742db7bfdb4b95

Download Locations:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.4.4/poky-780eeec8851950ee6ac07a2a398ba937206bd2e4.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.4.4/poky-780eeec8851950ee6ac07a2a398ba937206bd2e4.tar.bz2

 

Repository Name: openembedded-core

Repository Location: https://git.openembedded.org/openembedded-core

Branch: honister

Tag: yocto-3.4.4

Git Revision: 1a6f5e27249afb6fb4d47c523b62b5dd2482a69d

Release Artefact: oecore-1a6f5e27249afb6fb4d47c523b62b5dd2482a69d

sha: b8354ca457756384139a579b9e51f1ba854013c99add90c0c4c6ef68421fede5

Download Locations:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.4.4/oecore-1a6f5e27249afb6fb4d47c523b62b5dd2482a69d.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.4.4/oecore-1a6f5e27249afb6fb4d47c523b62b5dd2482a69d.tar.bz2

 

Repository Name: meta-mingw

Repository Location: https://git.yoctoproject.org/git/meta-mingw

Branch: honister

Tag: yocto-3.4.4

Git Revision: f5d761cbd5c957e4405c5d40b0c236d263c916a8

Release Artefact: meta-mingw-f5d761cbd5c957e4405c5d40b0c236d263c916a8

sha: d4305d638ef80948584526c8ca386a8cf77933dffb8a3b8da98d26a5c40fcc11

Download Locations:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.4.4/meta-mingw-f5d761cbd5c957e4405c5d40b0c236d263c916a8.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.4.4/meta-mingw-f5d761cbd5c957e4405c5d40b0c236d263c916a8.tar.bz2

 

Repository Name: meta-gplv2

Repository Location: https://git.yoctoproject.org/git/meta-gplv2

Branch: honister

Tag: yocto-3.4.4

Git Revision: f04e4369bf9dd3385165281b9fa2ed1043b0e400

Release Artefact: meta-gplv2-f04e4369bf9dd3385165281b9fa2ed1043b0e400

sha: ef8e2b1ec1fb43dbee4ff6990ac736315c7bc2d8c8e79249e1d337558657d3fe

Download Locations:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.4.4/meta-gplv2-f04e4369bf9dd3385165281b9fa2ed1043b0e400.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.4.4/meta-gplv2-f04e4369bf9dd3385165281b9fa2ed1043b0e400.tar.bz2

 

Repository Name: bitbake

Repository Location: https://git.openembedded.org/bitbake

Branch: honister

Tag: yocto-3.4.4

Git Revision: c2d8f9b2137bd4a98eb0f51519493131773e7517

Release Artefact: bitbake-c2d8f9b2137bd4a98eb0f51519493131773e7517

sha: a8b6217f2d63975bbf49f430e11046608023ee2827faa893b15d9a0d702cf833

Download Locations:

http://downloads.yoctoproject.org/releases/yocto/yocto-3.4.4/bitbake-c2d8f9b2137bd4a98eb0f51519493131773e7517.tar.bz2

http://mirrors.kernel.org/yocto/yocto/yocto-3.4.4/bitbake-c2d8f9b2137bd4a98eb0f51519493131773e7517.tar.bz2

 

Repository Name: yocto-docs

Repository Location: https://git.yoctoproject.org/git/yocto-docs

Branch: honister

Tag: yocto-3.4.4

Git Revision: 5ead7d39aaf9044078dff27f462e29a8e31d89e4

 

 

- ---------------

Contributors

- ---------------

Alexandre Belloni

Anuj Mittal

Bruce Ashfield

Chee Yang Lee

Dmitry Baryshkov

Joe Slater

Konrad Weihmann

Martin Jansa

Michael Opdenacker

Minjae Kim

Peter Kjellerstedt

Ralph Siemsen

Richard Purdie

Ross Burton

Tim Orling

wangmy

zhengruoqin

 

 

- ---------------

Known Issues

- ---------------

There were a couple of known autobuilder intermittent bugs that occurred during release testing but these are not regressions in the release.

 

 

- ---------------

Security Fixes

- ---------------

tiff: fix CVE-2022-0865 CVE-2022-0891 CVE-2022-0907 CVE-2022-0908 CVE-2022-0909 CVE-2022-0924

xz: fix CVE-2022-1271

unzip: fix CVE-2021-4217

zlib: fix CVE-2018-25032

grub: ignore CVE-2021-46705

 

 

- ---------------

Fixes

- ---------------

alsa-tools: Ensure we install correctly

bitbake.conf: mark all directories as safe for git to read

bitbake: knotty: display active tasks when printing keepAlive() message

bitbake: knotty: reduce keep-alive timeout from 5000s (83 minutes) to 10 minutes

bitbake: server/process: Disable gc around critical section

bitbake: server/xmlrpcserver: Add missing xmlrpcclient import

bitbake: toaster: Fix IMAGE_INSTALL issues with _append vs :append

bitbake: toaster: fixtures replace gatesgarth

build-appliance-image: Update to honister head revision

conf.py/poky.yaml: Move version information to poky.yaml and read in conf.py

conf/machine: fix QEMU x86 sound options

devupstream: fix handling of SRC_URI

documentation: update for 3.4.4 release

externalsrc/devtool: Fix to work with fixed export funcition flags handling

gmp: add missing COPYINGv3

gnu-config: update SRC_URI

libxml2: fix CVE-2022-23308 regression

libxml2: move to gitlab.gnome.org

libxml2: update to 2.9.13

libxshmfence: Correct LICENSE to HPND

license_image.bbclass: close package.manifest file

linux-firmware: correct license for ar3k firmware

linux-firmware: upgrade 20220310 -> 20220411

linux-yocto-rt/5.10: update to -rt61

linux-yocto/5.10: cfg/debug: add configs for kcsan

linux-yocto/5.10: split vtpm for more granular inclusion

linux-yocto/5.10: update to v5.10.109

linux-yocto: nohz_full boot arg fix

oe-pkgdata-util: Adapt to the new variable override syntax

oeqa/selftest/devtool: ensure Git username is set before upgrade tests

poky.conf: bump version for 3.4.4 release

pseudo: Add patch to workaround paths with crazy lengths

pseudo: Fix handling of absolute links

sanity: Add warning for local hasheqiv server with remote sstate mirrors

scripts/runqemu: Fix memory limits for qemux86-64

shadow-native: Simplify and fix syslog disable patch

tiff: Add marker for CVE-2022-1056 being fixed

toaster: Fix broken overrides usage

u-boot: Inherit pkgconfig

uninative: Upgrade to 3.6 with gcc 12 support

vim: Upgrade 8.2.4524 -> 8.2.4681

virglrenderer: update SRC_URI

webkitgtk: update to 2.32.4

wireless-regdb: upgrade 2022.02.18 -> 2022.04.08

 


Re: Problems with recipe for our Rust-Software

Quentin Schulz
 

Hi Felix,

On 5/13/22 09:56, Felix Knorr wrote:
Hey,
I'm now using the latest cargo-bitbake (thanks for the tip), but I'm still having problems. One of the dependencies needs pkg-config to build, and the error implies that it couldn't be found. To verify this, I added the following do_compile function:
do_compile() {
bbnote "pkg-config: $(which pkg-config)"
}
and checked the log.do_compile file after running which just says
DEBUG: Executing shell function do_compile
NOTE: pkg-config:
DEBUG: Shell function do_compile finished
so it's definitely not there. I added DEPENDS += " dbus (>= 1.6) pkgconf" to the recipe, but that didn't help.
Because it's supposed to be pkgconfig-native in DEPENDS, which can be done by just adding:
inherit pkgconfig
to your recipe.

Cheers,
Quentin

On 12.05.22 15:28, Alex Kiernan wrote:
On Thu, May 12, 2022 at 2:09 PM Felix Knorr <fknorr@...><mailto:fknorr@...> wrote:
Hey,
I'm struggling with a recipe to build our rust project.
I cannot use cargo-bitbake because we use the 2021 edition. Also the project is quite complex. We have one repository with 4 different crates, some of them are linking c code. I'm trying to create a recipe by hand.
The HEAD of cargo-bitbake works fine for 2021 for us.
When I run bitbake for the recipe, it will error out with the following error message:
ERROR: serve-1.0.0-r0 do_compile: ExecutionError('/home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/temp/run.do_compile.400923', 101, None, None)
ERROR: Logfile of failure stored in: /home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/temp/log.do_compile.400923
Log data follows:
| DEBUG: Executing shell function do_compile
| Updating crates.io index
| warning: spurious network error (2 tries remaining): failed to resolve address for github.com: Name or service not known; class=Net (12)
| warning: spurious network error (1 tries remaining): failed to resolve address for github.com: Name or service not known; class=Net (12)
| error: failed to get `anyhow` as a dependency of package `nlprog v0.1.0 (/home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/tmp/baroloop/programmer-rust/nlprog)`
|
| Caused by:
| failed to fetch `https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_rust-2Dlang_crates.io-2Dindex&d=DwIGaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=KVxrF11PIYLER0S0KZ5nJTg8Ut1pYlTpWVAglebyRABm3CAb_QrF6YGl4ooo6kcf&s=vjlTVOHFeWmwaLHUilCKAh_c4dOX92W-oBIEor_tiR8&e= `
|
| Caused by:
| network failure seems to have happened
| if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
| https://urldefense.proofpoint.com/v2/url?u=https-3A__doc.rust-2Dlang.org_cargo_reference_config.html-23netgit-2Dfetch-2Dwith-2Dcli&d=DwIGaQ&c=_sEr5x9kUWhuk4_nFwjJtA&r=LYjLexDn7rXIzVmkNPvw5ymA1XTSqHGq8yBP6m6qZZ4njZguQhZhkI_-172IIy1t&m=KVxrF11PIYLER0S0KZ5nJTg8Ut1pYlTpWVAglebyRABm3CAb_QrF6YGl4ooo6kcf&s=aaYEIIOtHpjY7BkTDEi5V9-gt8kNkmRnhhAIUBrpOPI&e=
|
| Caused by:
| failed to resolve address for github.com: Name or service not known; class=Net (12)
| WARNING: exit code 101 from a shell command.
ERROR: Task (/home/felix/git/baroloop/programmer-tablet/layers/meta-main/recipes-core/programmer/serve_1.0.0.bb:do_compile) failed with exit code '1'
However, if I run the devshell for the recipe and run cargo, it will at least be able to do the fetching. (It will currently fail in the linker step, but I assume thats because I haven't executed oe_cargo_fix_env)
if I don't remove the http.multiplexing=false from the cargo config, it will just hang forever in the devshell (but not error out).
If I set export CARGO_NET_GIT_FETCH_WITH_CLI=true the error is slightly different, but the git call that is then displayed also works in the devshell. Also using a crate://-fetcher doesn't work, which is why I added the CARGO_DISABLE_BITBAKE_VENDORING = "1" I've been fighting this for hours and can't come up with anything. I hope you can help me.
PS: I'm using kirkstone, and I'm not having any url sections in my .gitconfig
This is the recipe:
cargo
SUMMARY = "Copy prebuild programmer serve into the image"
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""
SRC_URI="\
file://${bl_path}/programmer-ui/dist \
file://${config_path}/files/session \
file:///tmp/baroloop \
"
# crate://crates.io/tokio/1 \
# crate://crates.io/war/0.3 \
# crate://crates.io/byte/1 \
# crate://crates.io/log/0.4.8 \
# crate://crates.io/serde_json/1.0.75 \
# crate://crates.io/serde/1.0.133 \
# crate://crates.io/docopt/1.1.0 \
# crate://crates.io/colored/1.9.3 \
# crate://crates.io/chrono/0.4.11 \
# crate://crates.io/battery/0.7.7 \
# crate://crates.io/uuid/0.8.2 \
# crate://crates.io/thiserror/1.0 \
# crate://crates.io/anyhow/1 \
# crate://crates.io/clap/3.0 \
# crate://crates.io/futures/0.3 \
# crate://crates.io/wry/0.6.1
S = "${WORKDIR}"
RDEPENDS:${PN} = "\
eudev \
dbus \
"
DEPENDS = "\
eudev \
dbus \
"
# INSANE_SKIP:${PN} += "file-rdeps"
FILES:${PN} = "\
/home/neuro/serve \
/home/neuro/dist/** \
${sysconfdir}/mini_x/session \
"
CARGO_DISABLE_BITBAKE_VENDORING = "1"
do_compile() {
oe_cargo_fix_env
sed -i '/multiplexing = false/d' $CARGO_HOME/config
sed -i '/\[http\]/d' $CARGO_HOME/config
sed -i '/cainfo/d' $CARGO_HOME/config
export RUSTFLAGS="${RUSTFLAGS}"
export RUST_TARGET_PATH="${RUST_TARGET_PATH}"
export CARGO_NET_GIT_FETCH_WITH_CLI=true
cd ${S}/tmp/baroloop/programmer-rust/
cargo build --release --bin serve
}
do_install() {
# this isn_t reached anyway
# ...
}
--
Mit freundlichen Grüßen neuroloop GmbH
i.A. Felix Knorr
Senior Software Developer
--------------------------------------
neuroloop GmbH
Engesserstr. 4, 79108 Freiburg, Germany
Amtsgericht Freiburg HRB 713935
Geschäftsführer: Dr. Michael Lauk, Dr. Dennis Plachta
The information contained in this communication is confidential, may be attorney-client privileged, may constitute inside information, and is intended only for the use of the addressee. It is the property of the company of the sender of this e-mail. Unauthorized use, disclosure, or copying of this communication or any part thereof is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by return e-mail and destroy this communication and all copies thereof, including all attachments.
--
Mit freundlichen Grüßen neuroloop GmbH
i.A. Felix Knorr
Senior Software Developer
--------------------------------------
neuroloop GmbH
Engesserstr. 4, 79108 Freiburg, Germany
Amtsgericht Freiburg HRB 713935
Geschäftsführer: Dr. Michael Lauk, Dr. Dennis Plachta
The information contained in this communication is confidential, may be attorney-client privileged, may constitute inside information, and is intended only for the use of the addressee. It is the property of the company of the sender of this e-mail. Unauthorized use, disclosure, or copying of this communication or any part thereof is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by return e-mail and destroy this communication and all copies thereof, including all attachments.


Re: Problems with recipe for our Rust-Software

Felix Knorr
 

Hey,

I'm now using the latest cargo-bitbake (thanks for the tip), but I'm still having problems. One of the dependencies needs pkg-config to build, and the error implies that it couldn't be found. To verify this, I added the following do_compile function:

do_compile() {
	bbnote "pkg-config: $(which pkg-config)"
}

and checked the log.do_compile  file after running which just says

DEBUG: Executing shell function do_compile
NOTE: pkg-config: 
DEBUG: Shell function do_compile finished
so it's definitely not there. I added DEPENDS += " dbus (>= 1.6) pkgconf" to the recipe, but that didn't help.

On 12.05.22 15:28, Alex Kiernan wrote:
On Thu, May 12, 2022 at 2:09 PM Felix Knorr <fknorr@...> wrote:
Hey,

I'm struggling with a recipe to build our rust project.

I cannot use cargo-bitbake because we use the 2021 edition. Also the project is quite complex. We have one repository with 4 different crates, some of them are linking c code. I'm trying to create a recipe by hand.

The HEAD of cargo-bitbake works fine for 2021 for us.

When I run bitbake for the recipe, it will error out with the following error message:

ERROR: serve-1.0.0-r0 do_compile: ExecutionError('/home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/temp/run.do_compile.400923', 101, None, None)
ERROR: Logfile of failure stored in: /home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/temp/log.do_compile.400923
Log data follows:
| DEBUG: Executing shell function do_compile
|     Updating crates.io index
| warning: spurious network error (2 tries remaining): failed to resolve address for github.com: Name or service not known; class=Net (12)
| warning: spurious network error (1 tries remaining): failed to resolve address for github.com: Name or service not known; class=Net (12)
| error: failed to get `anyhow` as a dependency of package `nlprog v0.1.0 (/home/felix/git/poky/build/tmp/work/core2-64-poky-linux/serve/1.0.0-r0/tmp/baroloop/programmer-rust/nlprog)`
|
| Caused by:
|   failed to fetch `https://github.com/rust-lang/crates.io-index`
|
| Caused by:
|   network failure seems to have happened
|   if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
|   https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
|
| Caused by:
|   failed to resolve address for github.com: Name or service not known; class=Net (12)
| WARNING: exit code 101 from a shell command.
ERROR: Task (/home/felix/git/baroloop/programmer-tablet/layers/meta-main/recipes-core/programmer/serve_1.0.0.bb:do_compile) failed with exit code '1'

However, if I run the devshell for the recipe and run cargo, it will at least be able to do the fetching. (It will currently fail in the linker step, but I assume thats because I haven't executed oe_cargo_fix_env)

if I don't remove the http.multiplexing=false from the cargo config, it will just hang forever in the devshell (but not error out).

If I set export CARGO_NET_GIT_FETCH_WITH_CLI=true the error is slightly different, but the git call that is then displayed also works in the devshell. Also using a crate://-fetcher doesn't work, which is why I added the CARGO_DISABLE_BITBAKE_VENDORING = "1" I've been fighting this for hours and can't come up with anything. I hope you can help me.

PS: I'm using kirkstone, and I'm not having any url sections in my .gitconfig

This is the recipe:

cargo

SUMMARY = "Copy prebuild programmer serve into the image"
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""

SRC_URI="\
    file://${bl_path}/programmer-ui/dist \
    file://${config_path}/files/session \
    file:///tmp/baroloop \
"
#   crate://crates.io/tokio/1 \
#   crate://crates.io/war/0.3 \
#   crate://crates.io/byte/1 \
#   crate://crates.io/log/0.4.8 \
#   crate://crates.io/serde_json/1.0.75 \
#   crate://crates.io/serde/1.0.133 \
#   crate://crates.io/docopt/1.1.0 \
#   crate://crates.io/colored/1.9.3 \
#   crate://crates.io/chrono/0.4.11 \
#   crate://crates.io/battery/0.7.7 \
#   crate://crates.io/uuid/0.8.2 \
#   crate://crates.io/thiserror/1.0 \
#   crate://crates.io/anyhow/1 \
#   crate://crates.io/clap/3.0 \
#   crate://crates.io/futures/0.3 \
#   crate://crates.io/wry/0.6.1
S = "${WORKDIR}"

RDEPENDS:${PN} = "\
    eudev \
    dbus \
"

DEPENDS = "\
    eudev \
    dbus \
"

# INSANE_SKIP:${PN} += "file-rdeps"

FILES:${PN} = "\
    /home/neuro/serve \
    /home/neuro/dist/** \
    ${sysconfdir}/mini_x/session \
"

CARGO_DISABLE_BITBAKE_VENDORING = "1"

do_compile() {
    oe_cargo_fix_env

    sed -i '/multiplexing = false/d' $CARGO_HOME/config
    sed -i '/\[http\]/d' $CARGO_HOME/config
    sed -i '/cainfo/d' $CARGO_HOME/config

    export RUSTFLAGS="${RUSTFLAGS}"
    export RUST_TARGET_PATH="${RUST_TARGET_PATH}"

    export CARGO_NET_GIT_FETCH_WITH_CLI=true
    cd ${S}/tmp/baroloop/programmer-rust/
    cargo build --release --bin serve
}

do_install() {
    # this isn_t reached anyway
# ...
}

--
Mit freundlichen Grüßen neuroloop GmbH
i.A. Felix Knorr
Senior Software Developer
--------------------------------------
neuroloop GmbH
Engesserstr. 4, 79108 Freiburg, Germany

Amtsgericht Freiburg HRB 713935

Geschäftsführer: Dr. Michael Lauk, Dr. Dennis Plachta



The information contained in this communication is confidential, may be attorney-client privileged, may constitute inside information, and is intended only for the use of the addressee. It is the property of the company of the sender of this e-mail. Unauthorized use, disclosure, or copying of this communication or any part thereof is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by return e-mail and destroy this communication and all copies thereof, including all attachments.






-- 
Mit freundlichen Grüßen neuroloop GmbH
i.A. Felix Knorr
Senior Software Developer
--------------------------------------
neuroloop GmbH
Engesserstr. 4, 79108 Freiburg, Germany

Amtsgericht Freiburg HRB 713935

Geschäftsführer: Dr. Michael Lauk, Dr. Dennis Plachta

 

The information contained in this communication is confidential, may be attorney-client privileged, may constitute inside information, and is intended only for the use of the addressee. It is the property of the company of the sender of this e-mail. Unauthorized use, disclosure, or copying of this communication or any part thereof is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by return e-mail and destroy this communication and all copies thereof, including all attachments.


[yocto-autobuilder-helper][dunfell] config.json: add missing configuration for meta-virt Xen for qemux86-64 test

Steve Sakoman
 

Signed-off-by: Steve Sakoman <steve@...>
---
config.json | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/config.json b/config.json
index 6cceaa4..fe65440 100644
--- a/config.json
+++ b/config.json
@@ -825,7 +825,12 @@
"step1" : {
"shortname": "Xen for qemux86-64",
"MACHINE": "qemux86-64",
- "BBTARGETS" : "xen-image-minimal"
+ "BBTARGETS" : "xen-image-minimal",
+ "extravars" : [
+ "require conf/multilib.conf",
+ "MULTILIBS = 'multilib:lib32'",
+ "DEFAULTTUNE_virtclass-multilib-lib32 = 'x86'"
+ ]
},
"step2" : {
"shortname": "Xen for qemuarm64",
--
2.25.1


Re: are there any plans for meta-riscv support for StarFive VisionFive?

Armin Kuster
 

On 5/12/22 02:00, Robert P. J. Day wrote:
https://shop.allnetchina.cn/products/starfive-visionfive-ai-single-board-computer?variant=39522167783526
You may want to contact  the Maintainer listed in the README.

-armin

rday


[RFC][WIP]{honister] kernel-lab manual

Tim Orling
 

I have the restructured text conversion far enough along for the 'kernel-lab' to share it now. Because I was last working on this for Yocto Project Summit 2021.11, the current qemux86 base is on 'honister' (although I am upgrading it to honister-3.4.4 tag).

Please realize there is a lot of history to this material and some of it was done by folks that have left this mortal coil and some respect for that posterity is included in this work. We can change and morph in the future, once it has been captured close to what it is here.

I also have a separate workflow going for the Yocto Project Summit 2022.05 which is in Google Slides and is qemuarm64 based ('kirkstone'). Eventually I will find the time to update the kernel-lab manual to follow suit, but our collective discussion may impact that.

You can take a look at YP Summit 2021.11 to see a preview of what is coming for YP Summit 2022.05 (once I figure out the pesky printk/pr_info issue):


And the accompanying metadata training materials:

The intent is that for a given release of the docs, we would have exercises for  LTS, Stable and Mainline (really this means current-stable, not -dev). Currently, LTS would be 5.10, Stable would be 5.15 and Mainline would be 5.17.

--Tim

1621 - 1640 of 58675