summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto: Add qemuarm64 entropy quickfix/hackkraj/masterRichard Purdie2018-09-212-0/+4
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix Segmentation fault in gethostid.cMingli Yu2018-09-212-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linux gethostid: Check for NULL value from gethostbyname_r [BZ #23679] A NULL value can happen with certain gethostbyname_r failures. Before this patch, there is a Segmentation fault as below: # /mybuild/hostid Segmentation fault # gdb /mybuild/hostid GNU gdb (GDB) 8.2 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-wrs-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /mybuild/hostid...done. (gdb) r Starting program: /mybuild/hostid Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7f0330e in gethostid () at ../sysdeps/unix/sysv/linux/gethostid.c:125 125 memcpy (&in, hp->h_addr, (gdb) bt #0 0x00007ffff7f0330e in gethostid () at ../sysdeps/unix/sysv/linux/gethostid.c:125 #1 0x0000555555555159 in main () # cat /mybuild/hostid.c #include <stdio.h> #include <unistd.h> int main(int argc, char *argv[]) { long hostid; hostid = gethostid(); printf("the hostid is %ld\n", hostid); } Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* siteinfo.bbclass: Add LatticeMico32 architecture site infoNathan Rossi2018-09-211-0/+1
| | | | | | | | Add the basic architecture site info targets for the LatticeMico32 architecture. This architecture does not target Linux. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* qemu-targets.inc: Mark 'lm32' as softmmu only architectureNathan Rossi2018-09-211-1/+1
| | | | | | | | The lm32 architecture does not support linux-user within QEMU as it is not a Linux supported target. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* lib/oe/elf.py: Add LatticeMico32 architecture definitionNathan Rossi2018-09-211-0/+1
| | | | | | | | Add the ELF definition for the LaticeMico32 architecture. This architecture is 'elf' OS only as it does not target Linux. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libgloss_3.0.0.bb: Ensure ${D}${libdir} exists installing contentNathan Rossi2018-09-211-0/+1
| | | | | | | | Some targets do not populate any content into libdir, so make sure it is created before attempting to move files/directories into it. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* gcc: Disable libitm for ARCAlexey Brodkin2018-09-211-0/+1
| | | | | | | The libitm is not supported on ARC, so disable it Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* icu: Add ARC supportAlexey Brodkin2018-09-212-0/+28
| | | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* nspr: Add ARC supportAntoine Tenart2018-09-212-0/+89
| | | | | | | | [Alexey: Rebased on top of other patches like RiscV, NIOS2 etc] Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* openssl: Add support for ARCAlexey Brodkin2018-09-212-2/+2
| | | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* kernel-arch.bbclass: Add ARC to kernel arch mapAlexey Brodkin2018-09-211-0/+1
| | | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* siteinfo: Define data for ARCAlexey Brodkin2018-09-212-0/+13
| | | | | Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* p11-kit: Add PACKAGECONFIG for trust pathsAlex Kiernan2018-09-211-1/+3
| | | | | | | | Add trust-paths PACKAGECONFIG item which enables support for default trust-paths in /etc/ssl/certs/ca-certificates.crt Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* p11-kit: Upgrade from 0.22.1 -> 0.23.14Alex Kiernan2018-09-212-11/+6
| | | | | | | | p11-kit is no longer doing odd/even for development/stable releases, so drop the custom UPSTREAM_CHECK_GITTAGREGEX. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libsolv: make rpm optionalMax Kellermann2018-09-211-2/+5
| | | | | Signed-off-by: Max Kellermann <max.kellermann@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* clutter: simplify SRC_URIRoss Burton2018-09-211-6/+1
| | | | | | | The Clutter class's ability to switch between tarballs and git isn't really useful, so remove it. If it comes back, it should use the devupstream class. Signed-off-by: Ross Burton <ross.burton@intel.com>
* mobile-broadband-provider: fix SRC_URIAnuj Mittal2018-09-211-1/+1
| | | | | | | | Fixes build for older versions of git which don't follow redirects properly if the .git suffix is missing. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* mesa: enable virgl driver for qemux86/qemux86-64Ming Liu2018-09-211-0/+2
| | | | | | | | virgl driver should be enabled for qemux86/qemux86-64 machines, or else it will cause runtime issue due to virtio_gpu driver missing. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* pseudo: update to latest HEADRoss Burton2018-09-211-1/+1
| | | | | | | This incorporates two fixes for large inodes, which hopefully solves some of the rare mysterious behaviour. Signed-off-by: Ross Burton <ross.burton@intel.com>
* xserver-xorg: rewrite xorg-server.m4 patchRoss Burton2018-09-214-26/+35
| | | | | | | | | | | Instead of having a patch that upstream won't accept, rewrite it in a upstreamable way and <gasp> submit it upstream. The fundamental problem is that pkg-config --variable=sdkdir will return the value of sdkdir literally, whereas --cflags will return -I${sdkdir} *but* will do sysroot relocation magic on the path so it is usable. Signed-off-by: Ross Burton <ross.burton@intel.com>
* xserver-xorg: remove obsolete patchRoss Burton2018-09-212-48/+0
| | | | | | | This patch is forcing input to use SIGIO, despite the fact that since 2015 xserver has used an input thread. Signed-off-by: Ross Burton <ross.burton@intel.com>
* python3: remove specal handling of sqite3-testsRoss Burton2018-09-211-1/+1
| | | | | | | This package doesn't exist anymore so the manifest tool doesn't need to handle it specially. Signed-off-by: Ross Burton <ross.burton@intel.com>
* python3: consolidate testsRoss Burton2018-09-211-22/+14
| | | | | | | | | Currently the bulk of the tests in python3-tests, some more in python3-sqlite3-tests, and others in their parent module (such as python3-ctypes). This is pointless space usage if we're not planning on running the tests, so consolidate all the tests into python3-tests. Signed-off-by: Ross Burton <ross.burton@intel.com>
* python3: respect package order in manifestRoss Burton2018-09-211-4/+2
| | | | | | | Don't sort the manifest when using it to generate packaging rules, so ordering can be used to have complex packaging rules. Signed-off-by: Ross Burton <ross.burton@intel.com>
* python3: don't sort the manifest in create_manifestRoss Burton2018-09-212-480/+479
| | | | | | | | | | | | | Instead of sorting the entire manifest when it is updated, use OrderedDict to preserve the order of fields. This means that packages can be ordered in the manifest to allow non-trivial FILES assignments (such as a package that picks up pieces of other packages) The manifest has been regenerated with the new stable ordering, and distutils-staticdev moved above distutils so the packaging rules work as expected. Signed-off-by: Ross Burton <ross.burton@intel.com>
* python: consolidate testsAndrew Geissler2018-09-211-19/+14
| | | | | | | | | | | | | | | Currently the bulk of the tests in python-tests, some more in python-sqlite3-tests, and others in their parent module (such as python-ctypes). This is pointless space usage if we're not planning on running the tests, so consolidate all the tests into python-tests. This is a backport of the same changes done by Ross Burton for python3 Changes since v1: - Rebase Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* python: respect package order in manifestAndrew Geissler2018-09-211-4/+2
| | | | | | | | | | | | | Don't sort the manifest when using it to generate packaging rules, so ordering can be used to have complex packaging rules. This is a backport of the same changes done by Ross Burton for python3 Changes since v1: - Rebase Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* python: don't sort the manifest in create_manifestAndrew Geissler2018-09-212-836/+840
| | | | | | | | | | | | | | | | | | | | | | | Instead of sorting the entire manifest when it is updated, use OrderedDict to preserve the order of fields.This means that packages can be ordered in the manifest to allow non-trivial FILES assignments (such as a package that picks up pieces of other packages) The manifest has been regenerated with the new stable ordering, and distutils-staticdev moved above distutils so the packaging rules work as expected. This is a backport of the same changes done by Ross Burton for python3 Changes since v1: - Moved distutils-staticdev above distutils so packaging rules work as expected. Changes since v2: - Rebase Signed-off-by: Andrew Geissler <geissonator@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* distutils{, 3}.bbclass: improve error messagesJens Rehsack2018-09-212-8/+8
| | | | | | | | | | For non-python developers it's difficult to identify where start searching in case of errors. Fixing and marking the string to grep for might help finding some root causes of issues slightly quicker. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
* gpgme: Inherit from distutils-common-baseAlex Kiernan2018-09-211-3/+3
| | | | | | | | | | Inherit from distutils-common-base and pythonnative/python3native to avoid runtime dependency on Python, whilst still fixing clang builds. Fixes: 8bfb54edc6fa ("gpgme: Inherit distutils3-base") Suggested-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* systemd: Add util-linux-fsck to RDEPENDSAlex Kiernan2018-09-211-2/+2
| | | | | | | | | | | | systemd-fsck expects util-linux-fsck passing a number of options that busybox fsck doesn't interpret. It then continues silently when run, so disks end up not having fsck run at all. Move util-linux-fsck from RRECOMMENDS to RDEPENDS to ensure we have the fsck which systemd expects. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* package_manager: use normalized path when doing the filtered copyMax Krummenacher2018-09-211-0/+1
| | | | | | | | | | | | | | The linking/copying of the package files failes if the deploy dir is set in a non normalized way e.g. like this DEPLOY_DIR = "${TOPDIR}/../deploy" Then the simple string replacement which is used to calculated the link destination from the link source fails, as the link source is normalized but the deploydir prefix is not. Normalizing deploydir fixes this. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* cmake: Upgrade 3.12.1 -> 3.12.2Otavio Salvador2018-09-213-2/+2
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libarchive: Update 3.3.2 -> 3.3.3Otavio Salvador2018-09-216-232/+3
| | | | | | | | This upgrades to 3.3.3 release and drop the backported patches when doing the recipe update. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
* linux-firmware: Bump revision to 44d4fcaOtavio Salvador2018-09-211-2/+2
| | | | | | | | | | | | | 44d4fca Merge https://github.com/pmachata/linux-firmware 253a573 brcm: update firmware for bcm43362 sdio 3cee728 Mellanox: Add new mlxsw_spectrum firmware 13.1703.4 ccab6c7 rtl_bt: Add firmware and configuration files for the Bluetooth part of RTL8822CU 75d2b12 Mellanox: Add new mlxsw_spectrum firmware 13.1703.4 85c5d90 nvidia: switch GP10[2467] to newer scrubber/ACR firmware (from GP108) License-Update: new firmware files additions Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com>
* ltp: add a patch for source code to fix issue about fcntlHongzhi.Song2018-09-212-0/+185
| | | | | | | | | | | | The testcases of fcntl fail on 32-bit arch To cope with glibc commit: 06ab719d30b0 ("Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251)") Make OFD command use fcntl64() syscall on 32-bit. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* libgloss_3.0.0.bb: Consolidate rmdir with -pNathan Rossi2018-09-211-2/+1
| | | | | | | | Consolidate the rmdir of multiple directories with the use of -p to delete the leaf empty directory and any empty ancestor directories. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* reproducible: Consistent debug loggingDouglas Royds2018-09-211-8/+11
| | | | | | | | | | | | Log both the source of the source_date_epoch and the resulting source_date_epoch in all cases. Also, now that we are determining the source_date_epoch successfully for both yocto and non-yocto kernels, remove the inherits_class('kernel') exception. We will log a failure to find a source_date_epoch for kernels as well. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* reproducible: Don't enforce existence of ${S} dirDouglas Royds2018-09-211-5/+1
| | | | | | | Unnecessary. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* reproducible: Find the git repo in WORKDIR/git or S firstDouglas Royds2018-09-211-12/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the search regime for find_git_folder(): 1. WORKDIR/git: This is the default git fetcher unpack path 2. ${S} 3. Go looking for .git/ under the WORKDIR as a last resort. linux-yocto: We had an existing (silent) defect. The linux-yocto recipes all specify two git SRC_URIs, one for the kernel source itself, the other for the kmeta data (config fragments and friends). find_git_folder() was finding the git checkout for the kmeta data, but due to a typo in the git log -1 --pretty=%ct line, we were (silently) reading the source_date_epoch from the ${S} directory = STAGING_KERNEL_DIR, which is empty. If your build/ happened to be inside a git checkout, git would walk up the directory tree, and silently read the commit timestamp from this other git checkout. The correct path to read the git commit timestamp from is the "gitpath", being that found by find_git_folder(), though this function was incorrectly finding the kmeta data checkout, not the kernel source tree. Non-kernel git recipes: The default git fetcher clones and checks out the sources at WORKDIR/git/ regardless of the setting of S (unless subpath or destsuffix is set). find_git_folder() now looks for the WORKDIR/git/.git/ directory first. Non-yocto linux kernels: Kernel recipes that don't inherit kernel-yocto should always set S = ${WORKDIR}/git, so that when base_do_unpack_append() in kernel.bbclass moves the checkout down to the STAGING_KERNEL_DIR and symlinks it as WORKDIR/git, the build can still work by following the symlink. We were previously failing to follow the symlink in the os.walk(), but we now look first for WORKDIR/git/.git/, and find it due to the symlink. If none of the above mechanisms work for finding the git checkout, perhaps there was a subpath or destsuffix specified in the SRC_URI. We go looking for the git checkout under the WORKDIR as a last resort. Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* reproducible: Rename ambiguous "path" var to sourcedir or workdir as appropriateDouglas Royds2018-09-211-18/+19
| | | | | Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* reproducible: Refactor: get_source_date_epoch_from_youngest_file()Douglas Royds2018-09-211-33/+40
| | | | | Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* reproducible: Tidy class descriptionDouglas Royds2018-09-211-27/+22
| | | | | | | Tidy whitespace, delete commented-out lines Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* fribidi: use Meson instead of autotoolsRoss Burton2018-09-212-5/+47
| | | | | | | Upstream is moving to Meson, so backport a patch to use that instead of autotools. Signed-off-by: Ross Burton <ross.burton@intel.com>
* fribidi: rename directory to match recipeRoss Burton2018-09-211-0/+0
| | | | Signed-off-by: Ross Burton <ross.burton@intel.com>
* wayland-protocols: update to 1.16Oleksandr Kravchuk2018-09-201-2/+2
| | | | | | | Updated package to v1.16 to match the currently used Wayland version. Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* dropbear: remove localoptions.h in source searchingAndrej Valek2018-09-202-52/+0
| | | | | | | - localoptions.h is automatically searched in build directory Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* dbus-test: fix ptest failed problem when multilib is enabledChangqing Li2018-09-202-1/+2
| | | | | | | | | | | | | | Fix some failed info like: | ./test/test-bus: relocation error: ./test/test-bus: symbol | _dbus_threads_init_debug, version LIBDBUS_PRIVATE_1.10.10 not defined | in file libdbus-1.so.3 with link time reference | FAIL: test/test-bus In run-ptest, LD_LIBRARY_PATH is set to /usr/lib, but when multilib is enabled, /usr/lib64 will be used. fix by replace with correct path. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* gstreamer1.0-plugins-bad: remove rtmpdump from DEPENDSFlorian Wickert2018-09-201-1/+1
| | | | | | | | | rtmpdump is not a build dependency for gstreamer1.0-plugins-bad even if rtmp is enabled. This wouldn't compile anyway due to the openssl/openssl10 incompatibility because rtmpdump requires openssl10. Signed-off-by: Florian Wickert <fw@javox-solutions.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* xserver-xorg: remove redundant patchRoss Burton2018-09-202-61/+0
| | | | | | | Upstream doesn't assume a monotonic clock isn't available anymore, so we can remove this patch. Signed-off-by: Ross Burton <ross.burton@intel.com>