summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ltp: remove open-posix-testsuite build logsRoss Burton2022-07-091-0/+3
| | | | | | | | | | | We don't need to package the open-posix-testsuite build logs. Typically these are just lines of "SUCCESS" but sometimes there will be compile warnings, which will include build paths. (From OE-Core rev: dc5141b86cfcad0daa56d4b0cac9fd57e83b515a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Remove -mfpmath=sse on x86Khem Raj2022-07-091-0/+1
| | | | | | | | | | Fixes build errors seen with clang error: the 'sse' unit is not supported with this instruction set (From OE-Core rev: 643e40ceaf520f995f6f38449a072e98e26da3b5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* releases: include 4.0.2Michael Halstead2022-07-081-0/+1
| | | | | | | (From yocto-docs rev: 6bf5d28b3dd107d4cd268dd0250673d3b2fb1071) Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libmodule-build-perl: Use env utility to find perl interpreterKhem Raj2022-07-081-0/+1
| | | | | | | | | | | Fixes ERROR: QA Issue: : /work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/sysroot-destdir/work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/recipe-sysroot-native/usr/bin/config_data maximum shebang size exceeded, the maximum size is 128. [shebang-size] (From OE-Core rev: 54ecb2d3f2523293383103cbe590ebdd037ee483) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/bbtests: Update message lookup for test_git_unpack_nonetwork_failAlexandre Belloni2022-07-081-1/+1
| | | | | | | | | bitbake's output changed, update the test (From OE-Core rev: 7e64b63f96dd1d71e263e7bbbe6591e51e98395a) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vala: Fix on target wrapper buildpaths issueRichard Purdie2022-07-081-0/+6
| | | | | | | | | | The on target wrapper contains paths from the host build. Remove them. (From OE-Core rev: 10980ae59f18679413f2d3fd428a9386e4d6fc3a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lua: Fix multilib buildpath reproducibility issuesRichard Purdie2022-07-082-4/+3
| | | | | | | | | | | | | | | The .pc we install ourselves for lua has hardcoded /lib assumptions in it which means in a multilib environment, full build paths end up in users like rpm's configuration. Fix the .pc file to use a correct includedir and libdir to resolve those reproducibility issues. (From OE-Core rev: 93bee5c74b8d181adf93de4b4101e25d24780603) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: update 1.20.0 -> 1.21.0Alexander Kanavin2022-07-082-30/+2
| | | | | | | | | | | Drop the patch, as it is no longer necessary (genereated .pc defines everything as relative to the .pc path). (From OE-Core rev: e525db4eb9556979c67f6a908f6646363154cd06) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: mark upstream version as unknownAlexander Kanavin2022-07-081-0/+1
| | | | | | | | | | | This is to avoid check-version reporting a broken current version (6.3+nnnn sorts higher than 6.3 and isn't tagged in upstream git). (From OE-Core rev: 25668027b105144598a367797076818c9cf9b373) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* procps: restrict version check to 3.xAlexander Kanavin2022-07-081-1/+5
| | | | | | | | (From OE-Core rev: bda284fd31786417c8169cebfca05e5c18e232ef) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xcb-proto: upgrade 1.15 -> 1.15.2Alexander Kanavin2022-07-082-2/+33
| | | | | | | | (From OE-Core rev: 1123d6ead7e59c5c181c37a14dba2417afbe55f0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx: upgrade 5.0.0 -> 5.0.2Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: b8fd816336152a7656adca5d39a0c0612bac066e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 62.5.0 -> 62.6.0Alexander Kanavin2022-07-082-2/+2
| | | | | | | | (From OE-Core rev: 364e37bce8c96e82d4c5ead6affdc6a6e6f37ab2) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-requests: upgrade 2.28.0 -> 2.28.1Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: d85295dd45e916e87ff98d7a188c264f1c331917) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodomex: upgrade 3.14.1 -> 3.15.0Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: a716028335d1a51095c04fd8d13006f2ec8ac56b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-mako: upgrade 1.2.0 -> 1.2.1Alexander Kanavin2022-07-081-2/+2
| | | | | | | | (From OE-Core rev: 7e42ad18ee5e7e5633abb6529682e4a1671a911b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonschema: upgrade 4.6.0 -> 4.6.1Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: 62722aa787115ed231089b205773a9aefea1baac) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 6.46.11 -> 6.48.2Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: cd670e30f46aa2629e669b1e83363113b07a31ac) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hatchling: upgrade 1.3.0 -> 1.3.1Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: f10d68864555d106f833941361487829ebb9bbb0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography-vectors: upgrade 37.0.2 -> 37.0.3Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: 9508eb24c69bb16c19e1698ebb4d7c9f43d281fe) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cryptography: upgrade 37.0.2 -> 37.0.3Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: 0b1a4414c28d7ed3358261939007b2b5ae2267c6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-cffi: upgrade 1.15.0 -> 1.15.1Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: 7aa8b35fd7dfd9b772b24185dc160388c7fad51b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: upgrade 16.0 -> 16.1Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: afe58b06b6a6c3a88cd9338fe4fb171400a3a724) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* piglit: upgrade to latest revisionAlexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: ae39d04044ec3610440e736cb1086ce9221e667d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nghttp2: upgrade 1.47.0 -> 1.48.0Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: 095ed8f7e16cd2c9ee23454b98e62310a0ca985b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mpg123: upgrade 1.29.3 -> 1.30.0Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: 6fe390ff9db5c3aa9314d2f286ef900a8bad29f9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: upgrade 22.1.2 -> 22.1.3Alexander Kanavin2022-07-083-1/+1
| | | | | | | | (From OE-Core rev: c10c10e99956231b9dfb98fbe4653c54aa5cddf1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsoup: upgrade 3.0.6 -> 3.0.7Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: 800e0d32db86dccfe1b54111d01034e4a315cce9) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kmod: upgrade 29 -> 30Alexander Kanavin2022-07-082-174/+1
| | | | | | | | (From OE-Core rev: 3f2084c3b6f2e9b251f87339e0fd60f9b1005f8c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* harfbuzz: upgrade 4.3.0 -> 4.4.1Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: fe75e2833e61ec81723bc0b3a8e742202d12d558) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0: upgrade 1.20.2 -> 1.20.3Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: 1b1e4ad9b31f9f6e34dae1d0b73d36adca58eb59) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-networking: upgrade 2.72.0 -> 2.72.1Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: 49827652371ca9836e58c0d5883dbd59d08cde72) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: upgrade 2.72.2 -> 2.72.3Alexander Kanavin2022-07-082-2/+2
| | | | | | | | (From OE-Core rev: 3c4b0196be98fa2dad92f59ead6dd74b26be8ffd) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* diffoscope: upgrade 216 -> 217Alexander Kanavin2022-07-081-1/+1
| | | | | | | | (From OE-Core rev: cb4c865b3185db61cf85f532fabeaeb63eac461f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: update 3.0.4 -> 3.0.5Alexander Kanavin2022-07-081-1/+1
| | | | | | | | | | | CVEs fixed: https://www.openssl.org/news/secadv/20220705.txt (From OE-Core rev: 84204dea7dec05e053cce5be0071cd9c1fb4ff6f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* curl : Add ptestYogesh Tyagi2022-07-084-1/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - curl-ptest is taking around 200 seconds to execute so added curl-ptest to PTESTS_SLOW - This patch is rework on an existing patch provided by Maxin B. John (maxin.john@intel.com) https://www.openembedded.org/pipermail/openembedded-core/2017-July/139176.html - Below is the run log of curl-ptest START: ptest-runner 2022-07-03T15:52 BEGIN: /usr/lib/curl/ptest ********* System characteristics ******** * curl 7.83.1 (x86_64-poky-linux-gnu) * libcurl/7.83.1 OpenSSL/3.0.3 zlib/1.2.12 libidn2/2.3.2 * Features: alt-svc AsynchDNS Debug HSTS HTTPS-proxy IDN Largefile libz NTLM SSL TLS-SRP UnixSockets * Disabled: headers-api * Host: qemux86-64 * System: Linux qemux86-64 5.15.44-yocto-standard #1 SMP PREEMPT Tue May 31 20:28:59 UTC 2022 x86_64 GNU/Linux * OS: linux * Servers: HTTP-unix * Env: * Seed: 238593 ***************************************** PASS: test 0001 (1 out of 1466, remaining: 25:07, took 1.029s, duration: 00:01) PASS: test 0002 (2 out of 1466, remaining: 13:21, took 0.065s, duration: 00:01) ... ... PASS: test 3019 (1460 out of 1466, remaining: 00:00, took 0.012s, duration: 03:16) PASS: test 3020 (1461 out of 1466, remaining: 00:00, took 0.011s, duration: 03:16) test 3025...The tool set in the test case for this: 'lib3025' does not exist TESTDONE: 1280 tests were considered during 197 seconds. TESTDONE: 783 tests out of PASS: 783 report: 100% DURATION: 202 END: /usr/lib/curl/ptest 2022-07-03T15:56 STOP: ptest-runner TOTAL: 1 FAIL: 0 - disable the curl tests that are expected to fail - remove the generated file configurehelp.pm from curl test beacuse it is causing reproducible build failure. this file is used by some curl tests to scan symbols from curl headers. we are anyway not installing curl headers and already have disabled those tests. [YOCTO #6707] (From OE-Core rev: a0ea00daace826129cdec8f714ca7b7c60e9dadf) Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-devsrc: fix reproducibility and buildpaths QA warningBruce Ashfield2022-07-081-2/+4
| | | | | | | | | | | | | | | | | | | | | We've been removing .vdso-offsets.h.cmd for quite some time, as it is not required to regenerate scripts or to satisfy the prepare target in the kernel source. That being said, there is a secondary location that this file may be found, and since we aren't detecting or removing it, we end up with embedded build paths, which cause both reproducibility and buildpaths QA warnings. We can test for both files, and force remove them if present, and we'll fix this new location of the file and not risk breaking any old kernels. (From OE-Core rev: e0a9433685397b716920fa9ad5d5a7be95c496f7) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: correctly request wayland-scanner executableAlexander Kanavin2022-07-082-0/+28
| | | | | | | | (From OE-Core rev: cd05e2543bde4175da67781ec6f3eebc143d95d0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-scm: upgrade 6.4.2 -> 7.0.3Alexander Kanavin2022-07-081-2/+4
| | | | | | | | (From OE-Core rev: 1aee9e5e5f58530106723ff95934a6b0d53d19f5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* weston: update 10.0.0 -> 10.0.1Alexander Kanavin2022-07-081-2/+2
| | | | | | | | (From OE-Core rev: 682594b7827d15813c3bc4980a561ad7e89ea8b4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rust: update 1.60.0 -> 1.62.0Alexander Kanavin2022-07-0816-87/+24
| | | | | | | | | | | | | Drop the two libstdc patches as they've finally appeared upstream. Disable the use of libstdc++.a from the host distributions, as it results in cross-distro contamination in rust-native. (From OE-Core rev: 94760bc118952160865352c10ca7693680b5ce7e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* testimage : remove curl-ptest from rpm indexYogesh Tyagi2022-07-081-0/+3
| | | | | | | | | | | | | | When creating rpm index for dnf runtime tests, currently all the package starting with curl are getting included. Now curl-ptest is getting enabled through another patch but we don't want rpm index to be created for curl-ptest since it fetches lot of perl dependencies. This patch removes curl-ptest from rpm index. (From OE-Core rev: 830663cee1eabdecdd473f4589a6c03b6e6c409b) Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/sysroot.py: Check bitbake return statusPaulo Neves2022-07-081-0/+5
| | | | | | | | | | | bitbake ran but we incorrectly did not assert the exit status needs to be non 0. Now all sysroot tests commands expected to fail are verified to do so. (From OE-Core rev: 5fe8c14f50d414e768588cef0675d8ef296ced77) Signed-off-by: Paulo Neves <ptsneves@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adwaita-icon-theme: upgrade 41.0 -> 42.0Alexander Kanavin2022-07-083-92/+5
| | | | | | | | (From OE-Core rev: 0139a070425e675bff4f071b99821b552bd2ef32) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sato-icon-theme: Add back with support for scalable iconsRichard Purdie2022-07-085-2/+33
| | | | | | | | | | | | Resurrect sato-icon-theme and move to a version with scalable icons support to replace adwaita-icon-theme which no longer supports the icons we need for the sato desktop. (From OE-Core rev: 6b515037ab710adf7b2c14ae1bb488375655f311) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icon-naming-utils: Resurrect for sato-icon-themeRichard Purdie2022-07-082-0/+30
| | | | | | | | | | To add back sato-icon-theme we need this small util. (From OE-Core rev: 01e7ed2de76c42148b3156035cc60425f8f6587d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2/git: show SRCREV and git repo in error message about fixed ↵Martin Jansa2022-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SRCREV * in recipe with 17 git repos in SRC_URI I've accidentally pasted one SRCREV to be one character shorter and because fetcher uses: if not ud.revisions[name] or len(ud.revisions[name]) != 40 or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]): to decide which SRCREV values are fixed SRCREVs this one was considered as tag or branch name, because it was only 39 chars long The original error message wasn't very helpful as it doesn't show which repo or which SRCREV was considered missing: do_fetch: Bitbake Fetcher Error: FetchError("Recipe uses a floating tag/branch without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).", None) with SRCPV included in PV as error recomments it's a bit better: bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Unable to resolve '0a92994d729ff76a58f692d3028ca1b64b145d9' in upstream git repository in git ls-remote output for github.com/Maratyszcza/FP16 The variable dependency chain for the failure is: SRCPV -> PV -> WORKDIR -> T with this change the first error will read: do_fetch: Bitbake Fetcher Error: FetchError("Recipe uses a floating tag/branch '0a92994d729ff76a58f692d3028ca1b64b145d9' for repo 'github.com/Maratyszcza/FP16' without a fixed SRCREV yet doesn't call bb.fetch2.get_srcrev() (use SRCPV in PV for OE).", None) (Bitbake rev: 04dc17bef9b762cef9eecdf91c9f37738d8ae44d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "docs: conf.py: fix cve extlinks caption for sphinx <4.0"Quentin Schulz2022-07-061-1/+1
| | | | | | | | | | | | | | | | This reverts commit c9922076f5c1285d9cfd6aff8ce5b6635d88222f. Since the minimum version required to build the docs has been bumped in the previous commit to 4.0, this commit is not required. Moreover, since Sphinx 5.0 triggers a warning when extlinks captions are not using %s substitution and Sphinx 6.0 will fail to build without the substitution characters, this revert is now required to be able to build the docs. Cc: Quentin Schulz <foss+yocto@0leil.net> (From yocto-docs rev: 9db804f5c5231bee50a99730a576bff7559f9631) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docs: conf.py: bump minimum Sphinx version requirementQuentin Schulz2022-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | extlinks captions support using %s substitution but only from sphinx 4.0 onwards. Anything before does not support the %s substitution. However, this will be a requirement in sphinx 6.0 and later, and sphinx 5.0 already shows a warning telling us that. Since the build is made with -W flag which fails it if any warning is printed, a fix is required. Sphinx 4.0.0 was released two years ago. Unfortunately, Debian packages are out-of-date and only the latest Ubuntu has recent enough packages. Therefore, pip installation should be recommended now instead and the minimum version for building the docs bumped to 4.0. Cc: Quentin Schulz <foss+yocto@0leil.net> (From yocto-docs rev: ab45a7a40484a2d8e604cb45549037c526ec61cb) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: ConfHandler/BBHandler: Improve comment error messages and add testsRichard Purdie2022-07-043-4/+32
| | | | | | | | | | | | | | | | | | | Currently if you trigger one of the comment errors, the newline characters are stripped and the line numbers are incorrect. In one case it prints the empty line which is also unhelpful. Rework the code around these errors so the line numbers are correct and the lines in question are more clearly displayed complete with newlines so the user can more clearly see the error. I also added a couple of simplistic test cases to ensure that errors are raised by the two known comment format errors. [YOCTO #11904] (Bitbake rev: 712da71b24445c814d79a206ce26188def8fce0a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>