summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
AgeCommit message (Collapse)Author
2020-07-03qemu: fix CVE-2020-10761Lee Chee Yang
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03json-c: fix CVE-2020-12762Lee Chee Yang
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03python3: add ldconfig rdepends for python3-ctypesMingli Yu
The ctypes module needs to use "ldconfig -p" to find the library path and it simply has below logic if no ldconfig installed. except OSError: pass Before the patch: >>> from ctypes.util import find_library >>> lib_path = find_library('archive') >>> print(lib_path) None After the patch: >>> from ctypes.util import find_library >>> lib_path = find_library('archive') >>> print(lib_path) libarchive.so.13 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-02jquery: use ${S}Joe Slater
Currently, several files are unpacked to WORKDIR and installed. This makes them invisible to the archiver. Unpack to S. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-02python3-libarchive-c: add the missing rdependsMingli Yu
Add the missing rdepends to fix below error: # python3 [snip] >>> import libarchive [snip] ModuleNotFoundError: No module named 'ctypes' ModuleNotFoundError: No module named 'mmap' Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30python3-setuptools: upgrade 47.1.1 -> 47.3.1Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30Revert "python3-setuptools: patch entrypoints for faster initialization"Alexander Kanavin
Apologies, but the patch is not possible to rebase onto the new setuptools, as the code has changed too much. Please get it accepted upstream first. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30qemu: switches from libcap to libcap-ng for PACAKGECONFIG virtfshongxu
Since upgrading qemu to 5.0.0, it switches from libcap to libcap-ng for virtfs [1] https://git.qemu.org/?p=qemu.git;a=commit;h=7e46261368d129c5ee8be927f5bcadc7ecd800d7 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28ccache: upgrade 3.7.9 -> 3.7.10Andreas Müller
remove SRC_URI[md5sum] Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28ccache: merge ccache.inc into recipeAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28opkg: upgrade to version 0.4.3Alejandro del Castillo
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28opkg-utils: upgrade to 0.4.3Alejandro del Castillo
- Drop fix-reproducibility.patch Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28pseudo: merge in fixes for setfacl issueRichard Purdie
[YOCTO #13959] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28pseudo: Switch to oe-core branch in git repoRichard Purdie
We have a significant number of outstanding patches to pseudo. Rather than queue these up as patches, create a branch in the upstream repo and use that until such times as we have someone with the time/skills to properly review these for master in the pseudo repo. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28go-binary-native: fix upstream version checkAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28python3-numpy: update 1.18.5 -> 1.19.0Alexander Kanavin
License-Update: copyright years Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28rsync: update 3.1.3 -> 3.2.1Alexander Kanavin
Drop all CVE patches, add the new configure options. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28python3-cython: upgrade 0.29.19 -> 0.29.20Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28bison: upgrade 3.6.3 -> 3.6.4Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28perl: update 5.30.2 -> 5.32.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28gnu-config: update to latest revisionAlexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28elfutils: upgrade 0.179 -> 0.180Alexander Kanavin
Drop all the debian patches: they are very invasive, the use case is unclear, and rebasing them is just too hard. Refresh 0002-musl-libs.patch Add a new musl fix: 0015-config-eu.am-do-not-use-Werror.patch Add a reproducibility fix: 0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28libdnf: update 0.47.0 -> 0.48.0Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28meson: upgrade 0.54.2 -> 0.54.3Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28dnf: upgrade 4.2.21 -> 4.2.23Alexander Kanavin
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25python3-setuptools: patch entrypoints for faster initializationTrevor Gamblin
setuptools' pkg_resources module has major performance issues with how it loads entry points (e.g. the console_script entry point, which sets up a module as a command-line executable), leading even the simplest "hello world" scripts to take on the order of 150ms to run if pkg_resources is incorporated. This is prohibitive for code that needs to run quickly, and so we patch setuptools to reduce this time. As of Python 3.7, importlib.resources is available and intended to replace much of the functionality that causes this sluggishness, but since many projects still utilize the legacy setuptools modules, a patch is still required. Note that python3-fastentrypoints (which is available in the meta-virtualization layer) is also intended to help alleviate the problem, but since it must be added to existing projects it has the same disadvantage as resorting to importlib.resources, requiring manual additions to existing code to see the performance gains. The intent here is to patch easy_install to load module entry points directly with the installed setuptools, rather than importing pkg_resources and having it search out the entry points itself. This leads to a drastic performance improvement - the changes in this patch have been shown to result in load time ~6-8x lower, depending on the complexity of the code it is tested with. A simple "hello world" example on core-image-full-cmdline gave these results with and without the patch: core-image-full-cmdline, without setuptools ScriptWriter patch: root@qemux86-64:~# time /usr/bin/minimal hello world real 0m0.198s user 0m0.174s sys 0m0.023s core-image-full-cmdline, with setuptools ScriptWriter patch: root@qemux86-64:~# time /usr/bin/minimal hello world real 0m0.034s user 0m0.024s sys 0m0.010s More details on the pkg_resources issue are available at: https://github.com/pypa/setuptools/issues/510 Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25valgrind: upgrade 3.16.0 -> 3.16.1Wang Mingyu
??Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24go-native: merge bb/inc and add commentRoss Burton
Merge the .bb/.inc, and add an explanatory comment. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24go-binary-native: add binary Go to bootstrapRoss Burton
Use PREFERRED_PROVIDER_go-native = "go-binary-native" Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24recipes: Fix Upstream-Status Accepted -> BackportRichard Purdie
It helps our stats tracking to use Backport consitently, it mreans the same thing as Accepted in pretty much all cases. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24libmodulemd: switch branch master -> mainHongxu Jia
Upstream delete branch master, and convert it to main Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24file: upgrade 5.38 -> 5.39Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24desktop-file-utils: upgrade 0.24 -> 0.26Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23valgrind: disable it for powerpc soft-floatValentin Longchamp
valgrind doesn't build for powerpc soft-float. It is thus disabled for such architectures. Signed-off-by: Valentin Longchamp <valentin@longchamp.me> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23pseudo: Fix attr errors due to incorrect library resolution issuesRichard Purdie
On a tumbleweed system, "install X Y" was showing the error: pseudo: ENOSYS for 'fsetxattr'. which was being caused by dlsym() for that function returning NULL. This appears to be due to it finding an unresolved symbol in libacl for this symbol in libattr. It hasn't been resolved so its NULL. dlerror() returns nothing since this is a valid symbol entry, its just not the one we want. We can add the glibc version string for the symbol we actually want so we get that version rather than the libattr/libacl one. The calls in libattr are just wrappers around the libc version so our attaching to the libc versions should intercept any accesses via these too. [YOCTO #13952] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23qemu: uprev v4.2.0 -> v5.0.0Sakib Sajal
Major update after v4.2. Changes: - os_find_datadir() was changed after the v4.2 release causing v5.0 to not find the bios and not boot the image. Fix is sent to upstream qemu. See: qemu/find_datadir.patch - v5.0 binary had host contamination for dynamically linked libraries, "--extra-ldflags='${LDFLAGS}'" in EXTRA_OECONF resolved the issue - bluetooth code was removed: qemu.git$ git show 1d4ffe8dc7 hence removed PACKAGECONFIG[bluez] - -show-cursor qemu option is now deprecated, updated scripts/runqemu to use updated option instead - added PACKAGECONFIG definitions - added qemu-ptest to conf/distro/include/ptest-packagelists.inc - increased support for ARM architecture, cpu and board - removed patches merged upstream and refreshed existing ones Testing: Build core-image-minimal against the machines in openembedded-core/meta/conf/machine and succesfully booted with qemu v5.0 Ran qemu-ptest on x86-64 and arm64 with identical results: PASS: 1166 SKIP: 0 FAIL: 0 Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-22python: use official "pypi.org" URLs for HOMEPAGERobert P. J. Day
As the URL pypi.python.org simply redirects to pypi.org, simplify a number of Python recipes by using that URL explicitly. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-22dpkg-native: rebase and reinstate fix for "tar: file changed as we read it"Paul Eggleton
In OE-Core rev 8ee36a5f2f9367550d28bf271afc53bca6ff3d5f a patch was added for dpkg to ignore a return of 1 from dpkg's calls to tar (which indicates that files changed in some way while tar was operating) we were observing failures on the autobuilder due to changes to link counts in hard-linked file trees. The patch was subsequently rebased and then later removed during an upgrade in 3812f58b3a438ae533c282170416cdd1681868e0 on the assumption that the fix had been applied upstream, however that was not the case. I am now occasionally seeing these errors in my builds without any apparent material change to the files, so rebase and reinstate the patch. Fixes [YOCTO #13913]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.microsoft.com>
2020-06-17patchelf: Upgrade 0.10 -> 0.11Richard Purdie
Two patches were merged upstream, the other needed refreshing. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17perl: use relative paths in the perl wrapperSamuli Piippo
Use SDKPATHNATIVE so that the perl wrapper for the nativesdk can be created using relative paths and without dependency to the environment variables. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17cmake: allow chainloading of the toolchain fileSamuli Piippo
Use path from CMAKE_CURRENT_LIST_FILE to load the cmake subscripts. This allows the toolchain file to be chainloaded from another toolchain file. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17perl: Fix host specific modules problemsRichard Purdie
We were seeing a ton of empty perl modules being created such as "perl-module-x86-64-linux-encoding" where the name would include ${TARGET_ARCH}-linux. These files were already being filtered in an earlier do_split_packages() expression so exclude them from the latter one to remove the pointless empty modules in PACKAGES. This doesn't explain why some were not deterministic but will recude the do_package execution time and clean up the build directories at the very least. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16python3: fix PGO for non-reproducible biniariesRyan Rowe
When PGO was disabled by default by e53ebf29, a bug was introduced that prevented PGO from ever being enabled. At the time at which extra config is appended to PACKAGECONFIG_CONFARGS, PACKAGECONFIG_PGO remains unevaluated in PACKAGECONFIG_class-target, due to setting its value in an anonymous Python function. As a result, the PGO options options will never be included. Signed-off-by: Ryan Rowe <rrowe@xevo.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15mtd-utils: Fix return value of ubiformatOtavio Salvador
This changeset fixes a feature regression in ubiformat. Older versions of ubiformat, when invoked with a flash-image, would return 0 in the case no error was encountered. Upon upgrading to latest, it was discovered that ubiformat returned 255 even without encountering an error condition. This changeset corrects the above issue and causes ubiformat, when given an image file, to return 0 when no errors are detected. Backport fix from 2.1.2 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15python3-dbusmock: add the missing rdependsMingli Yu
Add the missing rdepends to fix below error: # python3 [snip] >>> import dbusmock [snip] ModuleNotFoundError: No module named 'unittest' Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12python3: add rdepends for python3-idleMingli Yu
Add rdepends for python3-idle to fix below error: # /usr/bin/idle3 -h [snip] _tkinter.TclError: Can't find a usable init.tcl [snip] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12python3: add the rdepends for python3-miscMingli Yu
* Add python3-numbers to rdepends for python3-misc to fix below error: # python3 [snip] >>> import statistics [snip] ModuleNotFoundError: No module named 'numbers' * Don't use the hardcoded python3 moudules rdepends Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12meson: backport library ordering fixAndrew Geissler
meson had a bug where they started looking for static boost libraries first vs. the default behavior of looking at shared libraries first. This caused issues because some projects assume the shared libraries first which automatically add in other shared library dependencies. Static libraries do not have the default behavior so projects that use boost start failing to compile with undefined references to other boost libraries. Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12meta: Don't inherit 'features_check' in recipes that don't utilize itJacob Kroon
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10qemu: fix CVE-2020-13361Lee Chee Yang
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>