summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-01-16gperf: Make the code C++17 compliantKhem Raj
Fixes | ../../gperf-3.1/lib/getline.cc:58:7: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] | register int c = getc (stream); | ^~~~~~~~~ (From OE-Core rev: dd137feabdad2e7a2b3d107c703aad577a2e79c7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16unfs3: Fix implicit function declarations of fix_dir_times()Khem Raj
(From OE-Core rev: fbc971f09f9c0db97e7a649b243e44c391d20cd6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16vulkan-samples: Update to the tip of trunkKhem Raj
Drop backported patches (From OE-Core rev: bfbbade9a993fe1f39f41b81708a8a92e45b65f1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16groff: Drop use of `register` storage classKhem Raj
Backport a patch to make it work with c17 standard (From OE-Core rev: c209d8768dfbbbf4b9003a4fbb335d76b276e1a8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16cpio: Do not use _Noreturn in gnulibKhem Raj
Backport a gnulib patch (From OE-Core rev: 1baf1f2b5baaced3affe036e104e20e33c1c5016) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16xz: upgrade 5.4.0 -> 5.4.1Wang Mingyu
Changelog: ========== * liblzma: - Fixed the return value of lzma_microlzma_encoder() if the LZMA options lc/lp/pb are invalid. Invalid lc/lp/pb options made the function return LZMA_STREAM_END without encoding anything instead of returning LZMA_OPTIONS_ERROR. - Windows / Visual Studio: Workaround a possible compiler bug when targeting 32-bit x86 and compiling the CLMUL version of the CRC64 code. The CLMUL code isn't enabled by the Windows project files but it is in the CMake-based builds. * Build systems: - Windows-specific CMake changes: * Don't try to enable CLMUL CRC64 code if _mm_set_epi64x() isn't available. This fixes CMake-based build with Visual Studio 2013. * Created a workaround for a build failure with windres from GNU binutils. It is used only when the C compiler is GCC (not Clang). The workaround is incompatible with llvm-windres, resulting in "XZx20Utils" instead of "XZ Utils" in the resource file, but without the workaround llvm-windres works correctly. See the comment in CMakeLists.txt for details. * Included the resource files in the xz and xzdec build rules. Building the command line tools is still experimental but possible with MinGW-w64. - Visual Studio: Added stream_decoder_mt.c to the project files. Now the threaded decompressor lzma_stream_decoder_mt() gets built. CMake-based build wasn't affected. - Updated windows/INSTALL-MSVC.txt to mention that CMake-based build is now the preferred method with Visual Studio. The project files will probably be removed after 5.4.x releases. - Changes to #defines in config.h: * HAVE_DECL_CLOCK_MONOTONIC was replaced by HAVE_CLOCK_MONOTONIC. The old macro was always defined in configure-generated config.h to either 0 or 1. The new macro is defined (to 1) only if the declaration of CLOCK_MONOTONIC is available. This matches the way most other config.h macros work and makes things simpler with other build systems. * HAVE_DECL_PROGRAM_INVOCATION_NAME was replaced by HAVE_PROGRAM_INVOCATION_NAME for the same reason. * Tests: - Fixed test script compatibility with ancient /bin/sh versions. Now the five test_compress_* tests should no longer fail on Solaris 10. - Added and refactored a few tests. * Translations: - Updated the Catalan and Esperanto translations. - Added Korean and Ukrainian man page translations. (From OE-Core rev: bf829fec65b5f5047a4139ede8c4c2982ba81f1c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16stress-ng: upgrade 0.15.01 -> 0.15.02Wang Mingyu
(From OE-Core rev: 5a055084e17b8b0847c32b0793da83bd8b9f07cb) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16python3-pygments: upgrade 2.13.0 -> 2.14.0Wang Mingyu
Changelog: ========== - Added lexers: * Arturo (#2259) * GAP session (#2211) * Fift (#2249) * func (#2232) * Jsonnet (#2239) * Minecraft schema (#2276) * MIPS (#2228) * Phix (#2222) * Portugol (#2300) * TL-b (#2247) * World of Warcraft TOC format (#2244, #2245) * Wren (#2271) - Updated lexers: * Abap: Update keywords (#2281) * Alloy: Update for Alloy 6 (#1963) * C family (C, C++ and many others): - Fix an issue where a chunk would be wrongly recognized as a function definition due to braces in comments (#2210) - Improve parantheses handling for function definitions (#2207, #2208) * C#: Fix number and operator recognition (#2256, #2257) * CSound: Updated builtins (#2268) * F#: Add ".fsx" file extension (#2282) * gas (GNU assembler): recognize braces as punctuation (#2230) * HTTP: Add 'CONNECT' keyword (#2242) * Inform 6: Fix lexing of properties and doubles (#2214) * INI: Allow comments that are not their own line (#2217, #2161) * Java properties: Fix issue with whitespace-delimited keys, support comments starting with '!' and escapes, no longer support undocumented ';' and '//' comments (#2241) * LilyPond: Improve heuristics, add "\maxima" duration (#2283) * LLVM: Add opaque pointer type (#2269) * Macaulay2: Update keywords (#2305) * Minecraft-related lexers (SNB and Minecraft function) moved to "pygments.lexers.minecraft" (#2276) * Nim: General improvements (#1970) * Nix: Fix single quotes inside indented strings (#2289) * Objective J: Fix catastrophic backtracking (#2225) * NASM: Add support for SSE/AVX/AVX-512 registers as well as 'rel' and 'abs' address operators (#2212) * Powershell: - Add "local:" keyword (#2254) - Allow continuations without markers (#2262, #2263) * Solidity: Add boolean operators (#2292) * Spice: Add "enum" keyword and fix a bug regarding binary, hexadecimal and octal number tokens (#2227) * YAML: Accept colons in key names (#2277) - Fix 'make mapfiles' when Pygments is not installed in editable mode (#2223) - Support more filetypes and compression types in 'autopygmentize' (#2219) - Merge consecutive tokens in Autohotkey, Clay (#2248) - Add ".nasm" as a recognized file type for NASM (#2280) - Add "*Spec.hs" as a recognized file type for "HSpec" (#2308) - Add "*.pyi" (for typing stub files) as a recognized file type for Python (#2331) - The HTML lexer no longer emits empty spans for whitespace (#2304) - Fix "IRCFormatter" inserting linenumbers incorrectly (#2270) (From OE-Core rev: 5ef9d667776b8078169f8b940da8cd1da1df9f22) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16python3-pbr: upgrade 5.11.0 -> 5.11.1Wang Mingyu
Changelog ========= * Run PBR integration on Ubuntu Focal too * Remove numpy dependencies * Tie recursion calls to Dist object, not module * Update tox.ini to work with tox 4 (From OE-Core rev: bcea96e95cb483710647fe9b604d320aca470ad5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16python3-packaging: upgrade 22.0 -> 23.0Wang Mingyu
Changelog: ========== Allow "extra" to be None in the marker environment (:issue:'650') Refactor tags._generic_api to use EXT_SUFFIX (:issue:'607') Correctly handle trailing whitespace on URL requirements (:issue:'642') Fix typing for specifiers.BaseSpecifier.filter() (:issue:'643') Use stable Python 3.11 in tests (:issue:'641') Correctly handle non-normalised specifiers in requirements (:issue:'634') Move to src/ layout (:issue:'626') Remove __about__ file, in favour of keeping constants in __init__ (:issue:'626') (From OE-Core rev: 9f34a926ef1bfb17119d71a0229e475a58a33df7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16python3-importlib-metadata: upgrade 5.2.0 -> 6.0.0Wang Mingyu
Changelog: =========== * #419: Declared "Distribution" as an abstract class, enforcing definition of abstract methods in instantiated subclasses. It's no longer possible to instantiate a "Distribution" or any subclasses unless they define the abstract methods. (From OE-Core rev: 864fd15f05f3e9e795d272239be30db4a19c9ceb) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16python3-hypothesis: upgrade 6.61.0 -> 6.62.0Wang Mingyu
Changelog: we now support @example(...).xfail(), with the same (optional) condition, reason, and raises arguments as pytest.mark.xfail(). (From OE-Core rev: 31c0a609e2af33a7734337ebb9e2377556506fdc) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16python3-hatchling: upgrade 1.12.1 -> 1.12.2Wang Mingyu
Changelog: =========== Add macos-max-compat option to the wheel target that is enabled by default to support the latest version 22.0 of the packaging library (From OE-Core rev: bbd64ef85cae2440de4d0554c2cb4115a2fbfc14) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16python3-dbusmock: upgrade 0.28.6 -> 0.28.7Wang Mingyu
Changelog: ========== blue5-obex template: Fix OBEX PullAll power_profiles template: Fix Actions property type README: Explain container tests and how to debug them (From OE-Core rev: 44165fb25e83be6c7952de25c2b07b1442727088) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16python3-cython: upgrade 0.29.32 -> 0.29.33Wang Mingyu
Changelog: ========== Features added -------------- * The "cythonize" and "cython" commands have a new option "-M" / "--depfile" to generate ".dep" dependency files for the compilation unit. This can be used by external build tools to track these dependencies. The "cythonize" option was already available in Cython :ref:'0.29.27'. Bugs fixed ---------- * "const" fused types could not be used with memory views. Patch by Thomas Vincent. (Github issue :issue:'1772') * "wstr" usage was removed in Python 3.12 and later (PEP-623). (Github issue :issue:'5145') * A type check assertion for Cython functions failed in debug Python builds. (Github issue :issue:'5031') * Fixed various compiler warnings. Patches by Lisandro Dalcin et al. (Github issues :issue:'4948', :issue:'5086') * Fixed error when calculating complex powers of negative numbers. (Github issue :issue:'5014') * Corrected a small mis-formatting of exception messages on Python 2. (Github issue :issue:'5018') * The "PyUnicode_AsUTF8AndSize()" C-API function was missing from the CPython declarations. (Github issue :issue:'5163') * A performance problem in the compiler was resolved when nesting conditional expressions. (Github issue :issue:'5197') * Test suite problems with recent NumPy and CPython versions were resolved. (Github issues :issue:'5183', :issue:'5190') Other changes ------------- * The undocumented, untested and apparently useless syntax "from somemodule cimport class/struct/union somename" was deprecated in anticipation of its removal in Cython 3. The type modifier is not needed here and a plain "cimport" of the name will do. (Github issue :issue:'4905') * Properly disable generation of descriptor docstrings on PyPy since they cause crashes. It was previously disabled, but only accidentally via a typo. Patch by Matti Picus. (Github issue :issue:'5083') * The "cpow" directive of Cython 3.0 is available as a no-op. (Github issue :issue:'5016') (From OE-Core rev: 4c5b05d92d691447d493ce87f32f4af907410c39) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16patchelf: upgrade 0.17.0 -> 0.17.2Wang Mingyu
8d2cb4f9ab8d564904c292099a022ffb3cccd52d.patch included in 0.17.2 Changelog: =========== Also pass STRIP to the tests Fix Out-of-bounds read in the function modifySoname Split segment size fix (From OE-Core rev: ae8319a6ce5af747a1882bd67384286fef75474a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16python3-setuptools: upgrade 65.6.3 -> 65.7.0Wang Mingyu
Changelog: ========= * #3594: Added "htmlcov" to FlatLayoutModuleFinder.DEFAULT_EXCLUDE -- by :user:'demianbrecht' * #3667: Added a human-readable error description when ".egg-info" directory is not writeable -- by :user:'droodev' * #3713: Fixed incomplete "getattr" statement that caused problems when accessing undefined attribute. (From OE-Core rev: 1f3602a771c4f68dc5d052a9099d20f5741414d2) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16python3-alabaster: upgrade 0.7.12 -> 0.7.13Wang Mingyu
Changelog: https://github.com/bitprophet/alabaster/blob/main/docs/changelog.rst License-Update: Copyright year updated to 2020. (From OE-Core rev: 4f03db8b70f429436143d6f36b746bdf99fb3d55) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16gi-docgen: upgrade 2022.2 -> 2023.1Wang Mingyu
(From OE-Core rev: fc348ca2f42da5beb382802a5d3b3dd794cecb38) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16ed: upgrade 1.18 -> 1.19Wang Mingyu
Changelog: ========== * main_loop.c (exec_command): Fix commands 'e', 'E'; they did set the 'modified' flag if file not found. (Reported by Harry Graf). (main_loop): Print script error line to stdout instead of stderr. * Change long name of option '-s' to '--script'. (Suggested by Andrew L. Moore). * Assign short name '-q' to options '--quiet' and '--silent'. * main.c (show_strerror) Use '!quiet' to enable diagnostics. * Do not process file names for backslash escapes. (Suggested by Andrew L. Moore). * ed.texi: Document 0 as starting point for searches '0;/RE/'. Document how to achieve the effect of ex style '!' filtering. License-Update: Copyright year updated to 2023. (From OE-Core rev: 5cf8e3fe7cc020cd3d7cd4e2a9b6364947a875f7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16dpkg: upgrade 1.21.17 -> 1.21.18Wang Mingyu
Changelog: ========== * Perl modules: - Dpkg::BuildFlags: Fix strip method to always work with duplicates. * Documentation: - man: Add a note to dpkg-fsys-usrunmess(8) about Debian support. * Code internals: - libdpkg: Move compression level max bound check from dpkg-deb. - libdpkg: Switch dpkg_lzma_strerror() to use struct io_lzma. - libdpkg: Split compression filter operation tracking from its status. - libdpkg: Generalize compression stream action handling. - libdpkg: Abstract compression stream status tracking. - libdpkg: Add zstd support for .deb archives. Closes: #892664 * Build system: - Update .mailmap mappings. * Packaging: - Update copyright years. * Test suite: - Add dpkg-deb build and extract tests. (From OE-Core rev: 22666e97b100b44bea85ede144ab6b4e0a2f7006) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16man-db: upgrade 2.11.1 -> 2.11.2Wang Mingyu
Changelog: ========= Fixes: ------ * Fix compile and test failures when 'troff' is not 'groff'. * Fix segfault in typical uses of 'man' when 'nroff' is not installed. * Fix crash in 'mandb' when processing stray cats. Improvements: ------------- * Check for stray cats even if no manual pages in a given manpath were changed. (From OE-Core rev: f6ddfaac9e4957abfe9f1c8d336b4fd7b52a80f5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16libwebp: upgrade 1.2.4 -> 1.3.0Wang Mingyu
Changelog: ========== * add libsharpyuv, which exposes -sharp_yuv/config.use_sharp_yuv functionality to other libraries; libwebp now depends on this library * major updates to the container and lossless bitstream docs (#448, #546, #551) * miscellaneous warning, bug & build fixes (#576, #583, #584) (From OE-Core rev: e6d50bba6e9e629e292984d54baf62c81407c976) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16libpcap: upgrade 1.10.2 -> 1.10.3Wang Mingyu
Changelog: ============ Source code: Sort the PUBHDR variable in Makefile.in in "ls" order. Fix typo in comment in pflog.h. Remove two no-longer-present files from .gitignore. Update code and comments for handling failure to set promiscuous mode based on new information. Building and testing: install: Fixed not to install the non-public pcap-util.h header. pcap-config: add a --version flag. Makefile.in: Add some missing files in the distclean target. (From OE-Core rev: 5b651a929223d1965136bd97c22b89ca86b5b9c5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16btrfs-tools: upgrade 6.1 -> 6.1.2Wang Mingyu
Changelog: revert libbtrfs changes to v6.0.2, fix remaining build problems (From OE-Core rev: a7165d4e2d3a015584cd0a0872337bb84c65412a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15rust: Remove CARGO_VERSIONAlex Kiernan
CARGO_VERSION isn't broken out in rust/src/stage0.json, there's only one snapshot version, so just use that. (From OE-Core rev: 9b0f88642570383b09de94238fe1a8ef5119fb47) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15rust: Upgrade 1.66.0 -> 1.66.1Alex Kiernan
Changes: Added validation of SSH host keys for git URLs in Cargo (CVE-2022-46176) (From OE-Core rev: 3d31afc5666eda95032d0be47ff815859550a65f) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15python3-sphinxcontrib-applehelp: update 1.0.2 -> 1.0.3Alexander Kanavin
Convert to flit, adjust pypi name. (From OE-Core rev: 3f050df4b143048a132005595d68abf5b51b5091) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15webkitgtk: submit a patch upstreamAlexander Kanavin
(From OE-Core rev: 02a698d8b02dc0f762bd82ee0686d2bf3df13316) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15mesa: update 22.2.3 -> 22.3.3Alexander Kanavin
gallium-xvmc option removed upstream Remove 0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch as upstream code no longer uses these definitions. (From OE-Core rev: 3bf4341ef6a681574a1c6f393bf241f412e26eac) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15man-pages: upgrade 6.01 -> 6.02Alexander Kanavin
License-Update: readme rewritten, set of licenses provided explicitly. (From OE-Core rev: e24660ad939c40766a34e2d998da3df998576210) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15ethtool: upgrade 6.0 -> 6.1Alexander Kanavin
(From OE-Core rev: f0090883eb66a636f9737cb1a09eee5dbea27883) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15libglu: Remove deprecated register in C++17Khem Raj
(From OE-Core rev: 93287c629e889d8026f76a42646bbe4529a7523f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15createrepo-c: Include missing rpm/rpmstring.hKhem Raj
(From OE-Core rev: b122f4ab5d8750dd64814da0ae7c9035b7620e4c) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15rust-bin.bbclass: remove unused classMichael Opdenacker
(From OE-Core rev: 693e6bf7936f446c18b5db4d33605a88cb843cd4) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15quilt: fix intermittent failure in faildiff.testRoss Burton
This test assumes that if a child process writes one line to stderr and then another line to stdout, and stderr is redirected to stdout, that the order the lines will be read is stable. This isn't the case and occasionally the lines will be read in a different order. Change the test to ignore line ordering. [ YOCTO #14469 ] (From OE-Core rev: 1ddbe4d2bd8d8da10dac8a054f130fcd1d242219) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15quilt: rewrite ptest glueRoss Burton
The ptest glue was overly complex. Not as many files are needed to be installed if we tell it to use the system's quilt tools, there's no need for a custom Makefile just to set some environment variables, and /usr/bin/ed doesn't appear to be used at all. (From OE-Core rev: 9a287b456347a2be44bff6f9e547795018fb729d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-14bitbake: server/process: Improve lockfile handling at exitRichard Purdie
If memory resident bitbake is active and the build directory is renamed upon build completion, several bad things can happen: * the old build directory could be re-created to contain a lockfile leaving an empty directory behind * a lockfile for a new build could be found and attempt to be locked This patch avoids creating an empty directory (not perfectly, but should work in the majority of cases - an empty directory is cosmetic). It also now compares the lock file contents to it's own pid and just exits if it doesn't match, it is clearly then belonging to some new process. This will be combined with bitbake shutdown calls on the autobuilder to ensure "saved" build directories, or build directories being deleted by clobberdir don't do strange things. (Bitbake rev: b986eac18b6a8bf633f5ef15f32f68de4c86173b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-14cve-update-db-native: show IP on failureRoss Burton
We get random SSL failures when fetching the CVE database, and it's notable that the NVD server is behind a DNS round-robin or geographically diverse servers. On a hunch that there is one misconfigured server, dump the IP that we connected to. (From OE-Core rev: 91f46d431dc8f40e8c6475c800bb61cb08b82b0a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13meta-yocto-bsp: Update the default kernel to 6.1Kevin Hao
Create the corresponding 6.1 bbappend and also update the default kernel to 6.1 for all the boards. (From meta-yocto rev: 7494f08fa1c85611a1dce3444a2737ef06fc8fdf) Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13bitbake: persist_data: Handle sqlite error when cachefile path is too longYoann Congal
Sqlite can't open the cachefile when its path is too long (>= 505 char by my tests). We do have a path length check in sanity.bbclass but this code is called before sanity checks. Treat the error in the exception instead of checking before hand in case sqlite eventually fixes this. Fixes [YOCTO #12374] (Bitbake rev: bf681d173263cd42ffc143655f61abe0573fd83c) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13packagegroup-core-boot: make init-ifupdown package a recommendationQuentin Schulz
init-ifupdown provides an /etc/network/interfaces, which disables interface management with networkmanager for example. If a network manager (such as networkmanager) is provided, there may not be a need for network related init scripts provided by init-ifupdown, so let's make it a recommendation so it can be easily removed in image recipes via the NO_RECOMMENDATIONS/BAD_RECOMMENDATIONS mechanism. Cc: Quentin Schulz <foss+yocto@0leil.net> (From OE-Core rev: 719d1b74bfa85af47e0478ee57fb7855988e44ae) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13selftest/virgl: use pkg-config from the hostAlexander Kanavin
The check needs to report dri location on the host machine, so pkg-config binary needs to be capable of finding the needed dri.pc file on the host, and therefore needs to know where host .pc files are located. This may not be the case when using pkg-config from buildtools, so this forces usage of host pkg-config. runqemu already does the same PATH tweak, so this simply brings the two in sync. (From OE-Core rev: f0521f8a3ba7e15482756529ee7b0a95b3d53e7d) 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>
2023-01-13python3-picobuild: removeRoss Burton
We've moved to using python3-build, so this can be removed. (From OE-Core rev: 4ea299e16a37eac3f65ed4b2e5891e8adaad95d5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13python_pep517: use python3-build, not picobuildRoss Burton
Now that the bootstrap sequence for pypa/build is just python3-packaging, and python3-pyproject-hooks, we can use build instead of picobuild. The only change visible outside of this class is that the variable PEP517_PICOBUILD_OPTS is now PEP517_BUILD_OPTS, but I'm only aware of one recipe that used that variable. (From OE-Core rev: 202c2e3c9481a8841af2556862a76e27d703246d) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13python3-build: add 0.10.0Ross Burton
This is the PEP517 build frontend blessed by the Python Packaging Authority, and now that Python 3.11 has been released and enough packages have ported to flit, it can be used without a huge bootstraping problem. (From OE-Core rev: 00254501b9b024032032c9fb068d957de4ef7dde) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13python3-pyproject-hooks: add new recipeRoss Burton
This used to be known as python3-pep517 and is a key library used to build modern Python code. It is currently vendored into python3-picobuild but I plan to remove that. (From OE-Core rev: 877c4d5e4cd5ceb71d2ecfdc35a625f50752bec0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13lib/oe/reproducible: Use git log without gpg signatureBenoît Mauduit
Previously, if "showSignature" is present in user gitconfig, parsing of the timestamp will fail. Ideally we should replace this command with a git plumbing command. (From OE-Core rev: 3bd6f78f79b3d3e87d8db1e11f58d8021f929843) Signed-off-by: Benoît Mauduit <bmauduit@beneth.fr> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-13iproute2: separate routel and add python dependencyPeter Marko
This script was migrated from shell to python3 in recent versions. (From OE-Core rev: 63c89b726e9a2c844168ffeddfaf0c778abfd131) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-12.gitignore: ignore files generated by ToasterMichael Opdenacker
When Toaster is run as documented on https://docs.yoctoproject.org/toaster-manual/setup-and-use.html Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>