Richard Purdie [Sun, 1 Nov 2020 11:54:20 +0000 (11:54 +0000)]
sstatesig: Remove workaround for bitbake taskhash bug
When trying to lock an individual signature, we see the checksum calculations
of dependent tasks failing. The fix is to remove a bad optimisation within
bitbake but with the removed, we need to remove some bogus code with
OE-Core's sstatesig code too.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 1 Nov 2020 11:47:29 +0000 (11:47 +0000)]
libxcb: Fix install file owner/group
The makefile uses cp -P behind the scenes for installing the tutorial files
and this preserves the build user identity. Fix this to the correct
owner/group. Usually do_package fixes and hides this but it can be seen
in do_install.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Sat, 31 Oct 2020 05:20:58 +0000 (22:20 -0700)]
gdb: Update to 10.x release
here is full announcement [1]
Do not add --disable-static, without adding --enable-shared
because certain libraries e.g. libctf expects the default
to be static which is only disabled if --enable-shared is specified
Do not limit make subdirs, this is only needed when building in a
unified tree, here builds are happening from a release tarball so it is
redundant
Khem Raj [Sun, 1 Nov 2020 05:21:40 +0000 (22:21 -0700)]
rpm: Fix error.h handing properly on musl
Ignoring configure fragments when error.h does not exist on system
leaves eflutils half configured, which is seen when gold linker is
enabled because librpm does not have proper dependencies added,
therefore add error.h for non-glibc case and include it when glibc is
not used.
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Sat, 31 Oct 2020 23:31:30 +0000 (00:31 +0100)]
gnutls: explicitly set --with-librt-prefix
* it will try to link with librt from host and if you have it on host (libc6-dev-i386 in ubuntu)
it fails with:
/usr/lib32/librt.so: error: undefined reference to '__clock_settime', version 'GLIBC_PRIVATE'
/usr/lib32/librt.so: error: undefined reference to '__clock_getcpuclockid', version 'GLIBC_PRIVATE'
/usr/lib32/librt.so: error: undefined reference to '__clock_getres', version 'GLIBC_PRIVATE'
/usr/lib32/librt.so: error: undefined reference to '__clock_nanosleep', version 'GLIBC_PRIVATE'
collect2: error: ld returned 1 exit status
in older 3.6.14 it was using /usr/lib32/librt.so from host as well, but without do_compile
failing
Khem Raj [Fri, 30 Oct 2020 19:03:59 +0000 (12:03 -0700)]
musl: Update to latest
Fixes pthread_condvars add support for SIGEV_THREAD_ID times
* 27b2fc9d fix missing-wake regression in pthread_cond_wait
* 7c71792e add support for SIGEV_THREAD_ID timers
* f70375df fix sem_close unmapping of still-referenced semaphore
* 613ccabe refactor setxid return path to use __syscall_ret
* ccba2345 ldso: notify the debugger when we're doing a dlopen
* 4209a7b1 fix setgroups behavior in multithreaded process
* 6ce91ef0 avoid __synccall for setrlimit on kernels with prlimit syscall
* 3437e478 fix reintroduction of errno clobbering by atfork handlers
* 2d0bbe6c fix pthread_cond_wait paired with with priority-inheritance mutex
Richard Leitner [Thu, 29 Oct 2020 18:20:14 +0000 (19:20 +0100)]
deb: export INTERCEPT_DIR for remove actions
During the do_populate_sdk task apt-get purge is called by deb's remove
function. This fails with error messages similiar to the following one
if any of the included packages uses intercepts as the INTERCEPT_DIR
isn't exported:
.../*.postinst: line 4: /postinst_intercept: No such file or directory
Therefore fix it by exporting the INTERCEPT_DIR variable within the
remove function.
Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When install both udev-hwdb and lib32-udev-hwdb as above,
there comes below do_populate_sdk error:
$ bitbake core-image-sato -c populate_sdk
ERROR: Task (/path/core-image-sato.bb:do_populate_sdk) failed with exit code '134'
NOTE: Tasks Summary: Attempted 5554 tasks of which 0 didn't need to be rerun and 1 failed.
$ cat /path/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r5/pseudo/pseudo.log
[snip]
inode mismatch: '/path/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r5/sdk/image/usr/local/oecore-x86_64/sysroots/core2-64-poky-linux/lib/udev/hwdb.bin' ino 427383040 in db, 427383042 in request.
[snip]
It is because both udev-hwdb and lib32-udev-hwdb will generate
${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/udev/hwdb.bin during do_populate_sdk
and it triggers pseudo error.
So clean hwdb.bin before generate hwdb.bin to avoid conflict to
fix the above do_populate_sdk error.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Fri, 30 Oct 2020 14:36:44 +0000 (15:36 +0100)]
tune-arm9tdmi.inc: include arm9tdmi in PACKAGE_ARCHS
* when ARM_INSTRUCTION_SET isn't set to thumb, the tune-arm9tdmi.inc isn't
usable and fails with:
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Error, the PACKAGE_ARCHS variable (all any noarch arm armv4 armv4t arm9tdmit fake_arm9tdmi) for DEFAULTTUNE (arm9tdmi) does not contain TUNE_PKGARCH (arm9tdmi).
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jose Quaresma [Thu, 29 Oct 2020 14:28:05 +0000 (14:28 +0000)]
gstreamer1.0-plugins-good: on wayland qt5 needs qtwayland
The code in ext/qt/meson.build looks for the Qt5WaylandClient pkg-config file.
Without this module, qmlglsink will not work with Wayland.
This can be tested by checking whether or not HAVE_QT_WAYLAND has
been added to the cflags in the autogenerated ninja file.
Writen by:
Carlos Rafael Giani
https://lists.openembedded.org/g/openembedded-core/message/143574
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jose Quaresma [Thu, 29 Oct 2020 14:28:02 +0000 (14:28 +0000)]
gstreamer1.0-libav: upgrade to version 1.18.0
License-Update: All code is now LGPL-2.1+
Starting with 1.17, we will not ship a copy of FFmpeg in our release
tarballs, and all the remaining code is LGPL2.
https://gitlab.freedesktop.org/gstreamer/gst-libav/-/commit/c437e175ad9c82732ac46e36ccc398ad041bf13b
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jose Quaresma [Thu, 29 Oct 2020 14:27:59 +0000 (14:27 +0000)]
gstreamer1.0-vaapi: upgrade to version 1.18.0
* 0001-vaapsink-downgrade-to-marginal.patch
Removed since these are included in 1.18.0
https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/commit/13d090b5660a2e2e2c997db44ba9a391101e8bd6
API and plugin documentation are no longer built with gtk_doc.
The gtk_doc documentation has been removed in favour of a new unified
documentation module built with hotdoc.
Distributors should use the documentation release tarball instead of trying
to package hotdoc and building the documentation from scratch.
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jose Quaresma [Thu, 29 Oct 2020 14:27:47 +0000 (14:27 +0000)]
gstreamer1.0-plugins-base: upgrade to version 1.18.0
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
* 0002-meson-Add-variables-for-gir-files.patch
Removed since these are included in 1.18.0
License-Update: remove file://common/coverage/coverage-report.pl
Upstream dont have it any more.
API and plugin documentation are no longer built with gtk_doc.
The gtk_doc documentation has been removed in favour of a new unified
documentation module built with hotdoc.
Distributors should use the documentation release tarball instead of trying
to package hotdoc and building the documentation from scratch.
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
API and plugin documentation are no longer built with gtk_doc.
The gtk_doc documentation has been removed in favour of a new unified
documentation module built with hotdoc.
Distributors should use the documentation release tarball instead of trying
to package hotdoc and building the documentation from scratch.
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Do-not-hardcode-lib-as-location-for-site-packages-an.patch,
0001-configure.ac-fix-LIBPL.patch and 0001-python3-Do-not-hardcode-lib-for-distutils.patch
as they are all replaced by the new --platlibdir option to ./configure
Rename 0001-Lib-sysconfig.py-fix-another-place-where-lib-is-hard.patch to
0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
and describe the changes better.
License-Update: documentation now dual license under PSF & BSD
(not relevant for the recipe. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build tweaks:
- drop separate dri option and the patch that adds it; just setting -Ddri-drivers='' is enough
- strip leading/trailing commas from drivers' lists, as upstream no longer allows blank entries if the list
is not empty (e.g. -Ddri-drivers=,driver1,driver2 is now producing an error).
- drop the long-obsolete llvm 3.3/3.2 logic
License-Update: reformatted into rst Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports.
Drop 0001-rpmfc.c-do-not-run-file-classification-in-parallel.patch as
enabling compression support in libmagic finally allows us to use
parallel file classification.
Add a backported patch that fixes musl builds.
License-Update: formatting Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows re-enabling parallel file classification in rpm
in particular, as otherwise libmagic calls out to external
executables, which isn't implemented in a thread-safe way.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yann E. MORIN [Wed, 28 Oct 2020 15:47:56 +0000 (16:47 +0100)]
recipes-core/busybox: fixup licensing information
Commit 7d32417b4d (busybox: Correct the name of the bzip2 license)
changes the licesne from 'bzip2' to 'bzip2-1.0.6' on the rationale
that the 'bzip2 license was renamed from "bzip2" to "bzip2-1.0.6"
[...] to match the official SPDX identifier.'
Though the above is true for the bzip2 and pbzip2 packages, the bzip2
code bundled in busybox is a copy from the bzip2 1.0.4 version, not the
1.0.6 version.
As such, using bzip2-1.0.6 is wrong.
Unfortunately, there is no official SPDX license identifier for this
bzip2 1.0.4 version, so we just mimick the existing ones (bzip2-1.0.5
and bzip2-1.0.6) by using bzip2-1.0.4.
Also, there is a license file attached to that, so we add it to the
list.
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Alexandre BELLONI <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yann E. MORIN [Wed, 28 Oct 2020 15:47:55 +0000 (16:47 +0100)]
common-licenses: add bzip2-1.0.4
The bzip2 license changes with each version; the changes are subtle, but
that makes it a different license everytime:
- copyright year
- authorship identification and address
- version of the release
- date of the release
Although we currently only have bzip2 and pbzip2 packages, we're going
to need this license for busybox, which uses code from bzip2-1.0.4.
Richard Leitner [Wed, 28 Oct 2020 09:43:21 +0000 (10:43 +0100)]
xcb-proto: update to 1.14.1
This fixes [1] the following build error for nativesdk on Fedora 33
which is caused by the removal of fractions.gcd() in favor of math.gcd()
in python 3.9 [2]:
ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib64/python3.9/fractions.py)
Furthermore the SRC_URI is adapted as the old one doesn't provide the
1.14.1 archive.
Khem Raj [Tue, 27 Oct 2020 17:58:37 +0000 (10:58 -0700)]
musl: Update to latest master
Changes in this revision bump are
* 0b87551b (upstream/master) lift sigaction abort locking to fix posix_spawn child deadlock
* 99d5098a update crypt_blowfish to support $2b$ prefix
* 957c2763 remove unused weak definition of __tl_sync in membarrier.c
* 55767360 move aio implementation details to a proper internal header
* 37337660 remove long-unused struct __timer from pthread_impl.h
* 85e16aec drop use of pthread_once in timer_create
* 6ae2568b remove unused SIGTIMER handler in timer_create
* 47baa030 remove incorrect fflush from assert failure handler
* da845d52 fix getgrouplist when nscd reports an empty list
* b7bc9665 fix posix_spawn interaction with fork and abort by taking lock
* 25ea9f71 fix unintended observability of SIGABRT disposition reset via sigaction
* bd153422 implement _Fork and refactor fork using it
* e1e98d86 rename fork source file
* 50716702 ldso: use pthread_t rather than kernel tid to track ctor visitor
* 1efc8eb2 fix stale lock when allocation of ctor queue fails during dlopen
* 69a1b390 drop use of pthread_once in mutexattr kernel support tests
* b115bee4 fix missing synchronization of fork with abort
* 3cd3de61 move __abort_lock to its own file and drop pointless weak_alias trick
* 34904d83 fix fork of processes with active async io contexts
Jose Quaresma [Mon, 26 Oct 2020 11:39:04 +0000 (11:39 +0000)]
shaderc: add receipe
A collection of tools, libraries and tests for shader compilation
This receipe is needed to build the gstreamer vulkan plugin
as it provides the binary glslc.
It is based on arch linux shaderc packge including the patches
https://github.com/archlinux/svntogit-packages/blob/91f0fa6ee3a220264a448527c1a8cf037caaad8e/trunk/PKGBUILD
Jose Quaresma [Mon, 26 Oct 2020 11:39:03 +0000 (11:39 +0000)]
glslang: add receipe
Glslang is the official reference compiler front end for the
OpenGL ES and OpenGL shading languages. It implements a strict interpretation
of the specifications for these languages. It is open and free for anyone to use,
either from a command line or programmatically.
This receipe is needed to build the new shaderc
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Randy Witt [Mon, 19 Oct 2020 21:42:14 +0000 (14:42 -0700)]
rt-tests: Update recipes to use 1.8
John Kacur(the maintainer of rt-tests), recommends "that they use
unstable/devel/latest as the maintained stable branch". I received this
information on IRC, I couldn't find it documented anywhere else.
This means that both rt-tests and hwlatdetect can be updated to be 1.8,
the latest release on unstable/devel/latest.
0001-gzip-with-n-for-build-reproducibilty.patch was removed because
upstream now uses "gzip -n" by default.
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Randy Witt [Mon, 19 Oct 2020 21:42:13 +0000 (14:42 -0700)]
numactl: Skip the ptests when numa is not supported
When numa is not supported, there is no reason to run the ptests since
they will fail. While the best scenario would be for the upstream tests
to skip themselves when numa is not supported, for now skip them in
run-ptest.
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>