summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2022-11-27opkg: Set correct info_dir and status_file in opkg.confHarald Seiler
Distros can customize the location of OPKG data using OPKGLIBDIR. In OE-Core commit 11f1956cf5d7 ("package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default"), a fix was applied to correctly set the info_dir and status_file options relative to OPKGLIBDIR. However, as the commit message notes, the opkg.conf file deployed as part of the opkg package must also be adjusted to correctly reflect the changed location. Otherwise, opkg running inside the image cannot find its data. Fix this by also setting the info_dir and status_file options in opkg.conf to the correct location relative to OPKGLIBDIR. Fixes: 11f1956cf5d7 ("package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default") Signed-off-by: Harald Seiler <hws@denx.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-27rsync: Delete pedantic errors re-ordering patchKhem Raj
It has been fixed by removing the check upstream see https://github.com/WayneD/rsync/commit/9a3449a3980421f84ac55498ba565bc112b20d6c Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22python3: make tkinter available when enabledMingli Yu
After Python upgrade to 3.11, it requires pkg-config to detect tcl and tk when configure tkinter, so add tcl depends to fix below error. | The necessary bits to build these optional modules were not found: | _tkinter Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22tcl: correct the header location in tcl.pcMingli Yu
The patch alter-includedir.patch previouly install the header to /usr/include/tcl8.6, but it doesn't reflect in tcl.pc and the header location still /usr/include in tcl.pc and result in the below configure failure for other packages such as python3 which depends on tcl and uses pkg-config to detect tcl. | conftest.c:161:16: fatal error: tcl.h: No such file or directory 161 | #include <tcl.h> So update alter-includedir.patch to correct the header location in tcl.pc to keep consistency. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22popt: update 1.18 -> 1.19Alexander Kanavin
Patch is merged upstream. License-update: clarification https://github.com/rpm-software-management/popt/commit/dcec86df3cfc96d3dd3a3e9f7f1086b768d2d88f Backport a regression fix for gptfdisk. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22tcl: update 8.6.11 -> 8.6.12Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22swig: update 4.0.2 -> 4.1.0Alexander Kanavin
swig has transitioned pcre -> pcre2 Update 0001-configure-use-pkg-config-for-pcre-detection.patch accordingly. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22rsync: update 3.2.5 -> 3.2.7Alexander Kanavin
Rebase patches. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22elfutils: update 0.187 -> 0.188Alexander Kanavin
Drop upstreamed patch. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22liburi-perl: upgrade 5.08 -> 5.17Tim Orling
* Author changed back from ETHER to OALDERS * Use CPAN_MIRROR for SRC_URI * Update HOMEPAGE * Update RPEPENDS for -ptest * Patch to skip TODO test cases For changes, see: https://metacpan.org/release/OALDERS/URI-5.17/changes License-Update: whitespace changes Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22libtest-warnings-perl: move from meta-perlTim Orling
liburi-perl in oe-core now RDEPENDS on libtest-warnings-perl for ptest * Update HOMEPAGE; fix syntax * Add SUMMARY * Add BUGTRACKER * Use CPAN_MIRROR for SRC_URI * Use actual LICENCE file for LIC_FILES_CHKSUM * Add RDEPENDS * Add RDEPENDS on perl-modules for ptest - Too many hidden dependencies that fail silently, but pass with full perl-modules * Add self as maintainer * Add to ptest-packagelists (fast) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22libtest-fatal-perl: add recipe for 0.016Tim Orling
Test::Fatal - incredibly simple helpers for testing code with exceptions https://metacpan.org/release/RJBS/Test-Fatal-0.016 * Dependency for liburi-perl ptest. * Add self as maintainer * Add to ptest-packages.inc (fast) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22libtry-tiny-perl: add recipe for 0.31Tim Orling
Try::Tiny - Minimal try/catch with proper preservation of $@ https://metacpan.org/release/ETHER/Try-Tiny-0.31 * Dependency for libtest-fatal-perl * Add self as maintainer * Add to ptest-packagelists.inc (fast) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-22python3: Fix CVE-2022-37460Joe Slater
Apply patch created after the release of 3.11.0. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-20qemu-helper-native: Correctly pass program name as argv[0]Joshua Watt
The previous version of this wasn't correctly passing the program name as argv[0], and was also over-complicated anyway because argv[] is guaranteed to be terminated with a NULL pointer, so it can be passed directly to the execv'd process without needing to be copied. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-20btrfs-tools: upgrade 6.0 -> 6.0.1Wang Mingyu
Changelog: ========== * send: minor speed up for v2 due to increased buffer size * resize: invalid command line options fail with error code * quota rescan: * add long options --status and --wait * new option to wait but don't start rescan * qgroup show: print path by default, updated format * qgroup: new subcommand clear-stale, remove qgroups without their subvolumes * experimental: * add warnings to commands that have it enabled (mkfs, image, btrfstune) * other: * documentation, help text, error message updates Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-20python3-hypothesis: upgrade 6.56.4 -> 6.57.1Tim Orling
6.57.1 - 2022-11-14 This patch updates some internal type annotations and fixes a formatting bug in the explain phase reporting. 6.57.0 - 2022-11-14 Hypothesis now raises an error if you passed a strategy as the alphabet= argument to text(), and it generated something which was not a length-one string. This has never been supported, we’re just adding explicit validation to catch cases like this StackOverflow question. https://hypothesis.readthedocs.io/en/latest/changes.html#v6-57-1 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-15mesa: do not rely on native llvm-config in target sysrootAlexander Kanavin
Sadly the magic is not perfect: llvm-config contains a hardcoded value for the libdir from the native configuration, and things will break if the target build installs libraries somewhere else (e.g. lib64). llvm-config in target bindir also needs a rpath adjustment, otherwise it simply won't even run when e.g. building for arm on x86. To avoid patching llvm-source let's simply add more cases to the llvm-config wrapper script, so that falling through to llvm-config binary is avoided. Fortunately those cases are all static in what they return, even though llvm-config binary does poke around the file tree to arrive at them (which is where breakage happens if native and target don't match exactly wrt libdir). I verified that this works by building mesa with llvm enabled for qemuarm64 and with baselib set to 'lib64' - so that both the target architecture and target libdir differ from native ones. Upstream tickets: https://github.com/llvm/llvm-project/issues/58984 https://github.com/mesonbuild/meson/issues/11043 Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-15make: update 4.3 -> 4.4Alexander Kanavin
Deleted patches: make/0001-makeinst-Do-not-undef-POSIX-on-clang-arm.patch (modified bit removed upstream) make/0001-src-dir.c-fix-buffer-overflow-warning.patch make/0002-w32-compat-dirent.c-follow-header.patch make/0003-posixfcn-fcntl-gnulib-make-emulated.patch (fixed upstream) make/0002-modules-fcntl-allow-being-detected-by-importing-proj.patch (code removed upstream) License-update: formatting Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-15llvm: update 15.0.1 -> 15.0.4Alexander Kanavin
zstd is a new compression option in addition to zlib. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-15readline: update 8.1.2 -> 8.2Alexander Kanavin
Replace configure-fix.patch with --with-shared-termcap-library Backport a compatibility fix for gdb. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-14python3-wheel: upgrade 0.38.0 -> 0.38.4Wang Mingyu
Changelog: =========== -Fixed PKG-INFO conversion in bdist_wheel mangling UTF-8 header values in METADATA -Fixed install failure when used with --no-binary, reported on Ubuntu 20.04, by removing setup_requires from setup.cfg -Fixed regression introduced in v0.38.1 which broke parsing of wheel file names with multiple platform tags -Removed install dependency on setuptools -The future-proof fix in 0.36.0 for converting PyPy's SOABI into a abi tag was faulty. Fixed so that future changes in the SOABI will not change the tag. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-14python3-subunit: upgrade 1.4.0 -> 1.4.1Wang Mingyu
Changelog: ========= IMPROVEMENTS ------------- * Add support for Python 3.9 * Add support for Python 3.10 * Drop support for Python 2.7, 3.4, and 3.5 * Convert python scripts to entry_points. * Migrate CI from travis to GitHub actions. * Add options to output filter to set timestamps. * Remove dependency on unittest2. BUGFIXES ---------- * Fix tests with testtools >= 2.5.0. * Mark rawstrings as such, fixing warnings. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-14python3-sphinx-rtd-theme: upgrade 1.1.0 -> 1.1.1Wang Mingyu
Changelog: Fixes wrapping bug on cross references (#1368) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-14python3-setuptools: upgrade 65.5.0 -> 65.5.1Wang Mingyu
Changelog: ----- #3638: Drop a test dependency on the mock package, always use unittest.mock #3659: Fixed REDoS vector in package_index. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-14python3-psutil: upgrade 5.9.3 -> 5.9.4Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-14python3-pip: update 22.3 -> 22.3.1Wang Mingyu
Bug Fixes ----------- Fix entry point generation of pip.X, pipX.Y, and easy_install-X.Y to correctly account for multi-digit Python version segments (e.g. the "11" part of 3.11). (#11547) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-14python3-flit-core: upgrade 3.7.1 -> 3.8.0Wang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-14python3-dtschema: upgrade 2022.9 -> 2022.11Wang Mingyu
Changelog: ============ - Rework exception handling to better handle Ctrl-C exits - Various updates to README.md including examples on running different commands - Allow using schemas for validation which fail meta-schema checks. This will allow using schemas which have failures due to new meta-schema checks. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-14mmc-utils: upgrade to latest revisionWang Mingyu
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-14repo: upgrade 2.29.5 -> 2.29.9Changhyeok Bae
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-11meson: update 0.63.3 -> 0.64.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-11vala: install vapigen-wrapper into /usr/bin/crosscripts and stage only thatAlexander Kanavin
Staging the whole /usr/bin is not correct, as it pulls in also all the vala's cross binaries, which may be discovered by other recipes and things will go wrong then. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-10python3: correctly adjust include paths in sysconfigdataAlexander Kanavin
This was replacing /usr/include regardless of whether it was at the beginning of the full path (correct, when building target python3), or in the middle of it (not correct, when building native or nativesdk python). Through various reasons we haven't been bitten by this until now, but latest setuptools does expose the problem with for example nativesdk-python3-cffi and nativesdk-python3-cryptography which both fail without this fix. I am not aware of anything using INCLDIRSTOMAKE, and it is harder to adjust correctly due to the value being a list; if something is using it, we can look at it specifically. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-11-08mmc-utils: upgrade to latest revisionAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-08repo: upgrade 2.29.3 -> 2.29.5Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-08mtd-utils: upgrade 2.1.4 -> 2.1.5Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-08python3-wheel: upgrade 0.37.1 -> 0.38.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-08python3-setuptools: upgrade 65.0.2 -> 65.5.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-08python3-dtschema: upgrade 2022.8.3 -> 2022.9Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-08strace: upgrade 5.19 -> 6.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-08python3-git: upgrade 3.1.28 -> 3.1.29Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-08python3-pip: upgrade 22.2.2 -> 22.3Alexander Kanavin
License-Update: copyright years, formatting Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-08ccache: upgrade 4.6.3 -> 4.7.2Alexander Kanavin
License-Update: formatting, years, removed redundant copy of a boost license Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-07gcc-source: Ensure deploy_source_date_epoch sstate hash doesn't changeRichard Purdie
Currently if you switch machines, gcc-source do_deploy_source_date_epoch would re-run as the stamps are tune specific. This hasn't caused much of an issue until now, however if we fix the gcc recipes to reuse the timestamp from this task, it does then create problems. Copy code from allarch to ensure this task hash doesn't change between machines/tunes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-07gcc-source: Drop gengtype manipulationRichard Purdie
Whilst we patch gengtype.cc, we don't patch gengtype-lex.cc which would be the file which would trigger regeneration of files. The real bug that was likely the cause for this fix is probably SDE issues with gcc shared workdir so this code can now be dropped. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-07gcc-source: Fix gengtypes raceRichard Purdie
gcc renamed .c files to .cc files: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5c69acb32329d49e58c26fa41ae74229a52b9106 but we didn't fix this reference which meant we re-introduced a race around gengtypes-lex.c. This lead to the race reappearing on the autobuilder. Fix the naming to avoid the problem again. [YOCTO #14953] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-07gcc-shared-source: Fix source date epoch handlingRichard Purdie
The source date epoch for gcc isn't being transferred from the shared workdir to the current WORKDIR for the specific recipe. This results in the clamping code within sstate.bbclass using a value from 2011 which changes the timestamps of many files. Since this happens part way through the build, if pieces of gcc haven't built, or build/rebuild later, we see things rebuilding when they should not and for generated files, races are possible. Fix this by copying the SDE from the shared workdir into the recipe workdir. [YOCTO #14953] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-07rust: update 1.64.0 -> 1.65.0Alex Kiernan
Release notes: https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2022-11-07python3-manifest.json: Fix re in coreLeon Anavi
Following the update from 3.10.6 to 3.11.0, the source code of module re for regular expression operations has been moved to Lib/re/. File python3-manifest.json has been modified according to the new path. According to the instructions the new python3-manifest.json version was created by running bitbake python3 -c create_manifest. Because of this it also updated other files and rdepends in it. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>