buildroot.git
5 years agosupport/testing: add lua-gd test
Francois Perrad [Sun, 29 Sep 2019 12:55:18 +0000 (14:55 +0200)]
support/testing: add lua-gd test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: add lzlib test
Francois Perrad [Sun, 29 Sep 2019 12:55:17 +0000 (14:55 +0200)]
support/testing: add lzlib test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/uvw: new package
Asaf Kahlon [Sat, 26 Oct 2019 14:02:04 +0000 (17:02 +0300)]
package/uvw: new package

A header-only libuv wrapper in C++.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/genrandconfig: use randint instead of (undefined) randInt
Asaf Kahlon [Sat, 26 Oct 2019 14:20:56 +0000 (17:20 +0300)]
utils/genrandconfig: use randint instead of (undefined) randInt

Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/333788455

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/systemd: bump version to 243
James Hilliard [Sat, 26 Oct 2019 14:07:08 +0000 (08:07 -0600)]
package/systemd: bump version to 243

Added config option for new systemd-pstore feature.

Removed patches that have been committed upstream.

Added symlinks required to enable some services.

After extensive discussion with upstream it does not seem there is any
acceptable option to have symlink installation handled on their side.

The recommended solution from upstream is to have systemctl handle
service installation, however this has a number of downsides such as
requiring us to build a host-systemd just to install a few symlinks.

Since we already customize service installation it is simpler for us
to create the symlinks ourselves, this will also simplify service
customization on our side as we will not need to disable any systemd
default services in cases where we need to make customizations.

In addition using systemctl would introduce a minimum host headers
dependency in which we don't have the infrastructure to handle
properly.

The downside to this approach is that we need to track service creation
changes from upstream ourselves, however this is relatively straightforward
and since upstream service file locations are relatively stable regressions
should be limited. This will mostly be a concern in regards to adding
support for new systemd features.

Details:
https://github.com/systemd/systemd/issues/12767
https://github.com/systemd/systemd/pull/12164
https://github.com/systemd/systemd/pull/12769
https://github.com/systemd/systemd/pull/12775

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Tested-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-libconfig: fix build with python 3.8
Fabrice Fontaine [Fri, 25 Oct 2019 16:42:36 +0000 (18:42 +0200)]
package/python-libconfig: fix build with python 3.8

Fixes:
 - http://autobuild.buildroot.org/results/edf32c178b7912a987e119f776a51f464424dceb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dtc: bump to v1.5.1
Titouan Christophe [Fri, 25 Oct 2019 20:00:34 +0000 (22:00 +0200)]
package/dtc: bump to v1.5.1

Remove 0002-Makefile-Add-EXTRA_CFLAGS-variable.patch which is now
applied upstream

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/scons: bump to version 3.1.0
Asaf Kahlon [Fri, 25 Oct 2019 18:54:46 +0000 (21:54 +0300)]
package/scons: bump to version 3.1.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-uvloop: force re-cythonize on build
Asaf Kahlon [Fri, 25 Oct 2019 18:54:45 +0000 (21:54 +0300)]
package/python-uvloop: force re-cythonize on build

The generated loop.c provided with the tarball was generated with
Cython 0.29.10 and it doesn't compile against the new Python 3.8
headers. Upstream is now working on a new uvloop release which will
use the newest Cython (0.29.13).  Until then, we will remove the
current loop.c and force regenration of it.

Fixes:
 - http://autobuild.buildroot.net/results/bffe1b2ee7b674f870e15398680ce5b5b22fd296

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-ipython: bump to version 7.9.0
Asaf Kahlon [Fri, 25 Oct 2019 18:54:44 +0000 (21:54 +0300)]
package/python-ipython: bump to version 7.9.0

And fix indentation in hash file.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-docutils: add upstream patch to build without setuptools
Asaf Kahlon [Fri, 25 Oct 2019 18:54:43 +0000 (21:54 +0300)]
package/python-docutils: add upstream patch to build without setuptools

An upstream patch to enable building without setuptools is added.
The original commit is adjusted slightly to fit the current version.

Fixes:
 - http://autobuild.buildroot.net/results/8f3c01f0e286c6b15c8c973f91dd69ee816a58b9

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/arp-scan: bump version to 1.9.6
Bernd Kuhls [Sat, 26 Oct 2019 08:31:09 +0000 (10:31 +0200)]
package/arp-scan: bump version to 1.9.6

Removed patch which was applied upstream:
https://github.com/royhills/arp-scan/commit/cbeda6a9c5e154fd5e5d56e3e6e6bdc5ddd2b088

We still need autoreconf however due to using source code retrieved by
the github helper.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/aespipe: bump version to 2.4f
Bernd Kuhls [Sat, 26 Oct 2019 08:21:20 +0000 (10:21 +0200)]
package/aespipe: bump version to 2.4f

Updated link to package homepage since old link is just a redirect now.

Added sha1 and md5 hashes provided by upstream.

Removed -no-pie workaround after upstream added a check in configure,
quoting ChangeLog:

- Added configure script autodetection for x86/amd64 -fno-pie compile
  and -no-pie linker flags. These are needed when compiler/linker
  produces position independent executable (PIE) by default.

Build-tested host-aespipe on Debian Buster 10.1 using
"gcc version 8.3.0 (Debian 8.3.0-6)"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/acsccid: bump version to 1.1.7
Bernd Kuhls [Sat, 26 Oct 2019 08:05:14 +0000 (10:05 +0200)]
package/acsccid: bump version to 1.1.7

Added hashes for tarball and license file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/acpica: bump version to 20191018
Bernd Kuhls [Sat, 26 Oct 2019 07:56:38 +0000 (09:56 +0200)]
package/acpica: bump version to 20191018

Rebased patch due to upstream commit
https://github.com/acpica/acpica/commit/36037bdaf0ab843b7304d538d4e5cbc0c9524024

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/genrandconfig: test configurations with BR2_PIC_PIE
Fabrice Fontaine [Sat, 26 Oct 2019 08:42:21 +0000 (10:42 +0200)]
utils/genrandconfig: test configurations with BR2_PIC_PIE

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/librsvg: fix build with NLS
Fabrice Fontaine [Sat, 26 Oct 2019 10:08:51 +0000 (12:08 +0200)]
package/librsvg: fix build with NLS

Fixes:
 - http://autobuild.buildroot.org/results/9fb04aa7761845a58df14d460b4a7bbf426e19ee

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/f2fs-tools: bump to 1.13.0
Grzegorz Blach [Sat, 26 Oct 2019 11:21:10 +0000 (11:21 +0000)]
package/f2fs-tools: bump to 1.13.0

This release includes:
 - enable VERITY by default on Android
 - introduce some preen mode in fsck.f2fs
 - add f2fs_io tool
 - add casefolding support

And, there are lots of bug fixes.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/linux-firmware: embed all RS9113 firmware files to target image
Adrien Ricciardi [Sat, 26 Oct 2019 11:58:21 +0000 (11:58 +0000)]
package/linux-firmware: embed all RS9113 firmware files to target image

Only rs9113_wlan_qspi.rps firmware was present on generated image.

Signed-off-by: Adrien Ricciardi <adrien.ricciardi@hotmail.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/brltty: fix build with expat
Fabrice Fontaine [Sun, 13 Oct 2019 12:45:50 +0000 (14:45 +0200)]
package/brltty: fix build with expat

tbl2hex is a host command line that is built with:

$(CC_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $(TBL2HEX_OBJECTS) $(EXPAT_LIBS_FOR_BUILD) $(LDLIBS_FOR_BUILD)

It needs cldr.o which can depends on expat and is built through:

%.$B: $(SRC_DIR)/%.c
       $(CC_FOR_BUILD) -DFOR_BUILD $(CFLAGS_FOR_BUILD) -o $@ -c $<

When cross-compiling, build fails because expat is not found on host:

gcc -DFOR_BUILD -I. -I. -I./../Programs -I../Programs -I../Headers -I./.. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE  -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE -DHAVE_CONFIG_H -g -O2 -std=gnu99 -Wall -Werror=format-security -o cldr.build.o -c cldr.c
cldr.c:31:10: fatal error: expat.h: No such file or directory
 #include <expat.h>
          ^~~~~~~~~

To fix this issue, add host-expat dependency as well as patch so that
the *_FOR_BUILD variables are properly passed to the sub-configure
script that brltty runs to build the host utilities.

Fixes:
 - http://autobuild.buildroot.org/results/362cfb57e4a91a066493269d8078d931529ddf69

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: use a different, simpler solution.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/kmod: needs AUTORECONF = YES
Thomas Petazzoni [Sat, 26 Oct 2019 11:56:21 +0000 (13:56 +0200)]
package/kmod: needs AUTORECONF = YES

Commit 95fd2b593ef7194a23a20a64dac1e21e4e650ef2 ("package/kmod: add
patch fixing the build with Python 3.8") added a patch that touches
Makefile.am, but forgot to add AUTORECONF = YES. Let's fix this.

Fixes:

  http://autobuild.buildroot.net/results/5185deba0c18072928a0a6867f15f77448228b0b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/bird: fix build without babel, bgp, ospf, radv, rip or static
Fabrice Fontaine [Sat, 26 Oct 2019 08:26:39 +0000 (10:26 +0200)]
package/bird: fix build without babel, bgp, ospf, radv, rip or static

Fixes:
 - http://autobuild.buildroot.org/results/0b00948eed9bb8405b70f3f9112ecce99b365f35

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libselinux: fix the build with Python 3.8
Thomas Petazzoni [Fri, 25 Oct 2019 13:27:31 +0000 (15:27 +0200)]
package/libselinux: fix the build with Python 3.8

Following the switch to Python 3.8, the libselinux Python extension
started to fail building. This is fixed by upstream commit
2efa06857575e4118e91ca250b6b92da68b130d5, which we backport as
0003-libselinux-Use-Python-distutils-to-install-SELinux-p.patch.

This patch has the nice merit of switching to using distutils to build
the Python extension of libselinux, instead of some custom logic. This
allows to significantly simplify our libselinux.mk: we can rely on
PKG_PYTHON_DISTUTILS_ENV and HOST_PKG_PYTHON_DISTUTILS_ENV instead of
lots of custom variables.

However, upstream commit 2efa06857575e4118e91ca250b6b92da68b130d5 had
its own issues:

 * Hardcode of -I $(DESTDIR)/$(INCLUDEDIR) -L $(DESTDIR)/$(LIBDIR) at
   build time, while DESTDIR is normally empty at build time, causing
   bogus -I /usr/include -L /usr/lib to be used

   This is fixed in
   0004-src-Makefile-don-t-pass-bogus-I-and-L-to-python-setu.patch

 * New usage of ln --relative, which is not supported in older
   distributions.

   This is fixed in
   0005-Remove-ln-relative-usage-in-install-pywrap.patch

 * Usage of the host Python "imp" module to query the extension used
   for native Python module, but that returns an incorrect result when
   cross-compiling. We chose to simplify the code to not have to query
   for this information.

   This is fixed in
   0006-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch

With this patch, the libselinux Python module was built-tested with
Python 2 and Python 3, and run-time tested as well in both
configurations, for both the target and host variants of libselinux.

Fixes:

  http://autobuild.buildroot.net/results/aeb58de7ad674b980258e6ed30c7da3949a04452/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mesa3d: remove upstream patch
Romain Naour [Sat, 26 Oct 2019 09:01:42 +0000 (11:01 +0200)]
package/mesa3d: remove upstream patch

Remove 0004-meson-Link-xvmc-with-libxv.patch witch was backported to mesa3d
19.2. This patch was added to Buildroot at the time when mesa3d version 19.1
was used.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/micropython: require python3 on the host
Chris Packham [Sun, 20 Oct 2019 08:28:08 +0000 (21:28 +1300)]
package/micropython: require python3 on the host

There are some scripts used when building micropython that require
python3 on the build host. Use BR2_PYTHON3_HOST_DEPENDENCY so this can
be either be satisfied by installing it on the build host or by building
the host-python3 package.

Fixes:
- http://autobuild.buildroot.net/results/b85b2214576030026a8e04d142a77a2648379417/

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/znc: set WANT_SWIG
Fabrice Fontaine [Tue, 15 Oct 2019 06:11:28 +0000 (08:11 +0200)]
package/znc: set WANT_SWIG

Set WANT_SWIG={ON,OFF} to {en,dis}able swig and avoid a random build
failures probably due to parallel build issue when extracting
pre-generated tarball:

CMake Error: Problem with archive_write_header(): Can't unlink already-existing object
CMake Error: Current file: swigpyrun.h
CMake Error: Problem extracting tar: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output/build/znc-1.7.5/modules/modpython/generated.tar.gz

This tarball contains pre-generated files, and is not used when
host-swig is available.

Fixes:
 - http://autobuild.buildroot.org/results/f3394de616cea4f474b6d5887aa0d5f5dff05281

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5/qt5base: fix icu detection in Qt 5.6.3
Andrey Skvortsov [Mon, 30 Sep 2019 13:51:57 +0000 (16:51 +0300)]
package/qt5/qt5base: fix icu detection in Qt 5.6.3

icu is required to build Q5tWebkit.
When UChar is defined as char16_t in ICU, then qtbase fails to detect ICU.
The issue is described https://bugreports.qt.io/browse/QTBUG-49586

Build fails with following error messages:
...
ustring.h:473:20: error: ‘UChar’ does not name a type
 u_strCompare(const UChar *s1, int32_t length1,
                    ^
          ^
make[2]: *** [Makefile:195: icu.o] Error 1
ICU disabled.
The ICU library support cannot be enabled.

Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/subversion: bump version to 1.12.2
Bernd Kuhls [Sun, 29 Sep 2019 18:34:12 +0000 (20:34 +0200)]
package/subversion: bump version to 1.12.2

Added dependencies to lz4 and utf8proc.

Replaced the 0002-disable-macos-specific-features.patch by a simpler
patch/workaround that still works after the version bump.

Updated license hash after various upstream commits:
https://github.com/apache/subversion/commits/trunk/LICENSE

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/kvm-unit-tests: fix build on Arch Linux x86_64
Fabrice Fontaine [Sat, 25 May 2019 22:22:09 +0000 (00:22 +0200)]
package/kvm-unit-tests: fix build on Arch Linux x86_64

On x86_64, we use the host compiler instead of the target compiler to
build kvm-unit-tests, because it is built with -m32 and our target
compiler doesn't support that.

However, the compiler on Arch Linux is broken: it *always* builds with
-fstack-protector, even when -ffreestanding is passed. However, when
-fnostdlib is passed at link time (which is normally the case when
building with -ffreestanding), it is not linked with the stack-protector
library. This leads to a link time error:

/usr/bin/ld: x86/realmode.o: in function `print_serial_u32':
.../x86/realmode.c:104: undefined reference to `__stack_chk_fail'

Since the entire package is built with -ffreestanding, it doesn't
support stack-protector at all. Therefore, simply pass
-fno-stack-protector explicitly on x86_64 to work around the bug in Arch
Linux.

Bug reported upstream: https://bugs.archlinux.org/task/64270

Fixes:
 - http://autobuild.buildroot.org/results/e6f767755ffdb5ecc014eb5ad7519814f075a60e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/leveldb: bump version to 1.22
Bernd Kuhls [Sat, 12 Oct 2019 12:59:43 +0000 (14:59 +0200)]
package/leveldb: bump version to 1.22

Upstream switched to cmake, removed patches for the old buildsystem
and added new patch to install libmemenv.a and memenv.h.

Added license hash.

Package requires gcc >= 4.8:
https://github.com/google/leveldb/blob/master/CMakeLists.txt#L14

Removed "v" from LEVELDB_SITE to reflect current naming scheme.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/acpid: refactor init script
Carlos Santos [Wed, 23 Oct 2019 18:05:12 +0000 (15:05 -0300)]
package/acpid: refactor init script

Adapt the format to the current template, used in other init scripts.

Move the one socond delay in restart to stop, giving acpid time to send
dying gasp to syslog.

Users willing to add start arguments can set the ACPID_ARGS variable in
/etc/default/acpid instead of rewriting the init script.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/vdr-plugin-vnsiserver: don't install i18n files when not needed
Fabrice Fontaine [Tue, 2 Apr 2019 20:32:37 +0000 (22:32 +0200)]
package/vdr-plugin-vnsiserver: don't install i18n files when not needed

This used to cause a build failure with gettext-tiny, but this is now
fixed by the version bump in 160f0a033ba4edf2f7efe5fed82426acd3b34b70
("package/gettext-tiny: bump version"). Nevertheless, it makes sense
to not install the i18n files when they are not needed, i.e when
BR2_SYSTEM_ENABLE_NLS is disabled.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gnu-efi: fix efilink for systemd-boot
James Hilliard [Fri, 25 Oct 2019 21:28:16 +0000 (15:28 -0600)]
package/gnu-efi: fix efilink for systemd-boot

This fixes a compilation error when building with systemd with systemd-boot
enabled.

Fixes:
>>> systemd 241 Building
PATH="/home/buildroot/buildroot/output/host/bin:/home/buildroot/buildroot/output/host/sbin:/home/buildroot/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" LC_ALL=en_US.UTF-8 PYTHONNOUSERSITE=y /home/buildroot/buildroot/output/host/bin/ninja  -j33  -C /home/buildroot/buildroot/output/build/systemd-241//build
ninja: Entering directory `/home/buildroot/buildroot/output/build/systemd-241//build'
[458/805] Generating disk.c.o with a custom command.
FAILED: src/boot/efi/disk.c.o
/home/buildroot/buildroot/output/host/bin/i686-buildroot-linux-gnu-gcc -c ../src/boot/efi/disk.c -o src/boot/efi/disk.c.o -Wall -Wextra -std=gnu90 -nostdinc -ggdb -O0 -fpic -fshort-wchar -ffreestanding -fno-strict-aliasing -fno-stack-protector -Wsign-compare -Wno-missing-field-initializers -isystem /home/buildroot/buildroot/output/host/i686-buildroot-linux-gnu/sysroot/usr/include/efi -isystem /home/buildroot/buildroot/output/host/i686-buildroot-linux-gnu/sysroot/usr/include/efi/ia32 -include src/boot/efi/efi_config.h -include version.h
In file included from /home/buildroot/buildroot/output/host/i686-buildroot-linux-gnu/sysroot/usr/include/efi/efilib.h:25,
                 from ../src/boot/efi/disk.c:4:
/home/buildroot/buildroot/output/host/i686-buildroot-linux-gnu/sysroot/usr/include/efi/efilink.h:5:10: fatal error: stdint.h: No such file or directory
 #include <stdint.h>
          ^~~~~~~~~~
compilation terminated.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/jitterentropy-library: ensure make command is continued across new line
Markus Mayer [Fri, 25 Oct 2019 23:23:02 +0000 (16:23 -0700)]
package/jitterentropy-library: ensure make command is continued across new line

The first line of JITTERENTROPY_LIBRARY_BUILD_CMDS must end with "\" to
concatenate the two lines.

Fixes: build error
[...]
/usr/bin/make -j33 -C
/local/users/mmayer/buildroot/output/arm64/build/jitterentropy-library-2.2.0
/local/users/mmayer/buildroot/output/arm64/host/bin/aarch64-linux-gcc
-shared -Wl,-soname,libjitterentropy.so.2 -o libjitterentropy.so.2.2.0
jitterentropy-base.o  -Wl,-z,relro,-z,now  -lrt
/local/users/mmayer/buildroot/output/arm64/host/bin/aarch64-linux-ar
rcs libjitterentropy.a jitterentropy-base.o
jitterentropy
/bin/bash: jitterentropy: command not found

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gettext-tiny: bump version
Giulio Benetti [Sun, 14 Apr 2019 09:51:52 +0000 (11:51 +0200)]
package/gettext-tiny: bump version

On current version msgmerge doesn't work properly, it exits with:

  fopen: No such file or directory

The problem has been reported at
https://github.com/sabotage-linux/gettext-tiny/issues/42 and fixed
with commit
https://github.com/sabotage-linux/gettext-tiny/commit/a597aaebd15ef73a65d67f0d6f746ca7ca812d51

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xlib_libXvMC: remove xlib_libXv dependency
Romain Naour [Sat, 5 Oct 2019 09:48:18 +0000 (11:48 +0200)]
package/x11r7/xlib_libXvMC: remove xlib_libXv dependency

Since libXvMC 1.0.12, xv was removed from xvmc.pc [1].

[1] https://lists.x.org/archives/xorg-announce/2019-September/003023.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mesa3d: add xlib_libXv dependency to mesa3d xvmc
Romain Naour [Sat, 5 Oct 2019 09:48:17 +0000 (11:48 +0200)]
package/mesa3d: add xlib_libXv dependency to mesa3d xvmc

From [1]

  "Prior to xvmc 1.0.12 libxvmc incorrectly required libxv, but that
   was fixed. This results in compilation failures for the gallium
   xvmc tracker and tools. This patch fixes that by explicitly linking
   to libxv."

Add xlib_libXv dependency to mesa3d when BR2_PACKAGE_MESA3D_XVMC is set.

[1] https://cgit.freedesktop.org/mesa/mesa/commit/?id=e456a053c3d6ec4f3d4581edcad05c72dfdaa407

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mesa3d: enable llvm RTTI when needed
Romain Naour [Sat, 5 Oct 2019 09:48:16 +0000 (11:48 +0200)]
package/mesa3d: enable llvm RTTI when needed

LLVM must be built with rtti (runtime type information) support
to build the Gallium Nouveau driver or the Clover OpenCL state
tracker when llvm support is enabled in mesa3d.

Fixes the build when BR2_PACKAGE_MESA3D_OPENCL is set:
"The Clover OpenCL state tracker requires rtti, you need to turn off clover or use an LLVM built with LLVM_ENABLE_RTTI."

This check was added by mesa3d 19.1:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=29912f2ea486fb8ffbc98db347679cf542422efe

Fixes the build when BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU and BR2_PACKAGE_MESA3D_LLVM are set
"The Nouveau driver requires rtti. You either need to turn off nouveau or use an LLVM built with LLVM_ENABLE_RTTI."

This check was added by mesa3d 19.0:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=a2596450ac7330c8965c819491038fb1ad454333

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/llvm: add llvm RTTI option
Romain Naour [Sat, 5 Oct 2019 09:48:15 +0000 (11:48 +0200)]
package/llvm: add llvm RTTI option

Allow to build LLVM with run-time type information as this feature is
needed (for example) by mesa3d's Gallium Nouveau driver or the Clover
OpenCL state tracker when llvm support is enabled in mesa3d.

While we only care about RTTI support in the target, we also need to
enable it in the host LLVM, so that llvm-config gives the proper
result.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: use libusb (for usb passthrough) if it's selected
Carlos Santos [Fri, 25 Oct 2019 18:28:52 +0000 (15:28 -0300)]
package/qemu: use libusb (for usb passthrough) if it's selected

This allows sharing a host USB port with the guest, which is helpful for
the upcoming libvirt package.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/initscripts: refactor S20urandom
Carlos Santos [Thu, 24 Oct 2019 14:01:51 +0000 (11:01 -0300)]
package/initscripts: refactor S20urandom

Adapt the format to the current template, used in other init scripts,
but do not use start/stop functions due to peculiarities.

Treat RNG initialization and random seed backup as separate operations.

Read /proc/sys/kernel/random/poolsize to calculate the pool size, as
suggestred by the urandom manual page.

Ensure that the random seed file has the correct size to prevent dumping
an empty file to /dev/urandom on the first boot.

Save the seed at /var/lib/random-seed as other non-systemd distributions
do (e.g.  RHEL6), since /etc can be in a red-only rootfs. The Filesystem
Hierarchy Standard defines that /var/lib holds persistent data modified
by programs as they run.

Users willing to use a different path just need to redefine URANDOM_SEED
in /etc/default/urandom instead of rewriting the init script.

[Peter: save/restore umask]
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Tested-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/qemu: enable NUMA support if numactl is selected
Carlos Santos [Tue, 22 Oct 2019 22:47:39 +0000 (19:47 -0300)]
package/qemu: enable NUMA support if numactl is selected

This is helpful for the upcoming libvirt package.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcc: properly order properties of BR2_GCC_SUPPORTS_DLANG
Thomas Petazzoni [Fri, 25 Oct 2019 18:18:09 +0000 (20:18 +0200)]
package/gcc: properly order properties of BR2_GCC_SUPPORTS_DLANG

Fixes:

package/gcc/Config.in.host:84: attributes order: type, default, depends on, select, help (http://nightly.buildroot.org/#_config_files)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/jitterentropy-library: drop consecutive empty lines
Thomas Petazzoni [Fri, 25 Oct 2019 18:17:24 +0000 (20:17 +0200)]
package/jitterentropy-library: drop consecutive empty lines

Fixes:

package/jitterentropy-library/jitterentropy-library.mk:24: consecutive empty lines

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libyang: fix build w/o threads
Heiko Thiery [Thu, 24 Oct 2019 06:37:16 +0000 (08:37 +0200)]
package/libyang: fix build w/o threads

For building libyang a toolchain with thread support is needed. Add the dependancy
to BR2_TOOLCHAIN_HAS_THREADS.

Fixes:
  - http://autobuild.buildroot.net/results/1d84ff4aab67a98113d967b65467109e80bb5917

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xserver_xorg-server: switch to virtual opengl provider
Bernd Kuhls [Wed, 23 Oct 2019 06:22:20 +0000 (08:22 +0200)]
package/x11r7/xserver_xorg-server: switch to virtual opengl provider

This allows to use xserver_xorg-server without mesa3d.

Build-tested using this defconfig:

BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y
BR2_PACKAGE_NVIDIA_DRIVER=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xserver_xorg-server: fix optional glx dependency
Bernd Kuhls [Wed, 23 Oct 2019 06:22:18 +0000 (08:22 +0200)]
package/x11r7/xserver_xorg-server: fix optional glx dependency

Typo was added by commit
https://git.buildroot.net/buildroot/commit/?id=c2856aa2857d616788684a053f1c886da00d977f

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: fix qemu 3.1.1.1 to build with glibc-2.29
Paulo Matos [Fri, 25 Oct 2019 10:42:57 +0000 (12:42 +0200)]
package/qemu: fix qemu 3.1.1.1 to build with glibc-2.29

These patches are already in qemu upstream under:
184943d827ce09375284e6fbb9fd5eeb9e369529
71ba74f67eaca21b0cc9d96f534ad3b9a7161400

They rename gettid() to sys_gettid() to avoid clash with glibc

Signed-off-by: Paulo Matos <pmatos@igalia.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/hwloc: bump to version 1.11.13
Fabrice Fontaine [Fri, 25 Oct 2019 17:10:51 +0000 (19:10 +0200)]
package/hwloc: bump to version 1.11.13

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libpciaccess: add Libs.Private to pciaccess.pc
Fabrice Fontaine [Fri, 25 Oct 2019 17:10:03 +0000 (19:10 +0200)]
package/libpciaccess: add Libs.Private to pciaccess.pc

This will fix a static build failure for hwloc

Fixes:
 - http://autobuild.buildroot.org/results/f100191acef41d42582ab2a35e1b6f264594f074

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain/toolchain-external: add support for D language
Eric Le Bihan [Thu, 24 Oct 2019 18:16:21 +0000 (20:16 +0200)]
toolchain/toolchain-external: add support for D language

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcc: add support for D language
Eric Le Bihan [Thu, 24 Oct 2019 18:16:20 +0000 (20:16 +0200)]
package/gcc: add support for D language

Since version 9.1, GCC provides support for the D programming language [1].

So add a Kconfig entry to enable support for it.

[1] https://dlang.org/

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: add support for D language
Eric Le Bihan [Thu, 24 Oct 2019 18:16:19 +0000 (20:16 +0200)]
toolchain: add support for D language

Since version 9.1, GCC provides support for the D programming language [1].

So add an option to indicate the selected toolchain supports this
language.

[1] https://dlang.org/

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-spidev: bump to version 3.4
Angelo Compagnucci [Mon, 21 Oct 2019 08:48:14 +0000 (10:48 +0200)]
package/python-spidev: bump to version 3.4

Package has been relicensed under the MIT license, and LICENSE.md has been
removed.  The git repo has a LICENSE file, but it isn't available in the
tarball, so use the readme file instead.

https://github.com/doceme/py-spidev/commit/611b74341f44d444670fd373b1fb755ea2589718

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/kmod: add patch fixing the build with Python 3.8
Thomas Petazzoni [Fri, 25 Oct 2019 09:31:36 +0000 (11:31 +0200)]
package/kmod: add patch fixing the build with Python 3.8

Since the bump of python3 to 3.8, the kmod Python extensions fail to
build. There was a change in Python 3.8: they no longer want Python
extensions to be linked with libpython.

However, kmod Python extensions are built with -Wl,--no-undefined,
which checks that there isn't any unresolved symbol in the .so files
being built. This is not compatible with the new Python policy, so we
add a patch (submitted upstream) that passes -Wl,-z,undefs when
building the kmod Python extensions, to override the effect of
-Wl,--no-undefined.

Fixes:

  http://autobuild.buildroot.net/results/84455dbc892865b9748bedeecb1d3b0bdc15704d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/rng-tools: needs threads
Matt Weber [Fri, 25 Oct 2019 08:39:34 +0000 (03:39 -0500)]
package/rng-tools: needs threads

Since the bump to 6.7 there is a new dependency on threads:

https://github.com/nhorman/rng-tools/commit/6952b8ae4736a9b8f58fd2ff330a423ea76cf515

Fixes:
http://autobuild.buildroot.net/results/fff63dd9a53eafe0234ad19f715f050527afedc8/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/intel-mediasdk: bump version to 19.2.1
Louis-Paul Cordier [Thu, 24 Oct 2019 07:58:21 +0000 (09:58 +0200)]
package/intel-mediasdk: bump version to 19.2.1

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/intel-mediadriver: bump version to 19.2.1
Louis-Paul Cordier [Thu, 24 Oct 2019 07:58:20 +0000 (09:58 +0200)]
package/intel-mediadriver: bump version to 19.2.1

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/intel-gmmlib: bump version to 19.2.3
Louis-Paul Cordier [Thu, 24 Oct 2019 07:58:19 +0000 (09:58 +0200)]
package/intel-gmmlib: bump version to 19.2.3

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/{mesa3d, mesa3d-headers}: bump version to 19.2.2
Bernd Kuhls [Fri, 25 Oct 2019 15:55:25 +0000 (17:55 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 19.2.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/openlayers: do not rely on install -D -t
Thomas Claveirole [Thu, 24 Oct 2019 10:05:58 +0000 (12:05 +0200)]
package/openlayers: do not rely on install -D -t

Use a more standard $(INSTALL) -D solution instead of -D -t, as it
causes some failures in the autobuilders.

Fixes:

  http://autobuild.buildroot.net/results/b473c44ae953dec3e4f88c4e363fb1a84b5e0dc8/

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dbus-python: fix build with python 3.8
Grzegorz Blach [Wed, 23 Oct 2019 21:19:21 +0000 (21:19 +0000)]
package/dbus-python: fix build with python 3.8

test/import-repeatedly.c uses an embedded python interpreter
and PYTHON_EXTRA_LIBS is used only for building this test case,
so set PYTHON_EXTRA_LIBS with `python3-config --libs --embed`
to build this test case and don't link the module with libpython3.so.

Fixes:
 - http://autobuild.buildroot.org/results/b30/b308eeb5c5d95ab9f1dbfc19f9183f2ba3ba0ce3/
 - http://autobuild.buildroot.org/results/0dd/0dd9203f859b97ee5a3b6358644c26f8ab784ed8/
   and many similar failures.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/{llvm, clang, lld}: update comment to keep them at the same version.
Romain Naour [Thu, 24 Oct 2019 20:22:11 +0000 (22:22 +0200)]
package/{llvm, clang, lld}: update comment to keep them at the same version.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lld: bump to version 9.0.0
Romain Naour [Thu, 24 Oct 2019 20:22:10 +0000 (22:22 +0200)]
package/lld: bump to version 9.0.0

Since v9.0.0, it was relicensed to the Apache License 2.0 with
LLVM Exceptions. Update the license file hash.

lld package must use the same version as llvm package.

llvm 9.0.0 renamed some define that break the build for lld <= 8.0.0.
https://github.com/llvm-mirror/lld/commit/66fca3a6b8cc0112a4c72237ffaea5eb4b659e3f

Fixes:
http://autobuild.buildroot.org/results/9a0/9a0534c4206b40963d32494ff9675543e78125d1

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ruby: enable openssl for host-ruby
Nicolas Carrier [Fri, 25 Oct 2019 13:37:20 +0000 (13:37 +0000)]
package/ruby: enable openssl for host-ruby

Openssl is required so that Gem can install ruby gems from secure websites.

ERROR:  While executing gem ... (Gem::Exception)
    Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or
use non-HTTPS sources

Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackages/sox: unconditionaly disable custom SSP detection
Yann Droneaud [Fri, 25 Oct 2019 13:42:42 +0000 (15:42 +0200)]
packages/sox: unconditionaly disable custom SSP detection

sox implements a custom mechanism to detect whether the toolchain has
SSP suport or not. In doing so, it explicitly tries to see if libssp.so
is present, in which case it unconditionally links with it, even though
the compiler, if left by itself, would have used the SSP support
provided by the C library.

However, with Buildroot, the SSP options are handled in our gcc
wrapper, so packages should just not bother with that.

It turns out that, when sox is configured with --disable-stack-protector,
it does not disable it, but really does nothing, which is good for us.

Currently, SSP is conditionally disabled in sox, under various
conditions: that the toolchain does not have SSP, or that it is one of
the know SSP-challenged (i.e. broken) toolchains. Those conditions dates
back tpo before our wrapper started handling that.

Remove all those conditions, unconditionally disable SSP in sox, and let
our gcc wrapper handle the SSP options.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain/external: copy libssp.so if SSP is enabled
Yann Droneaud [Fri, 25 Oct 2019 13:42:41 +0000 (15:42 +0200)]
toolchain/external: copy libssp.so if SSP is enabled

In Buildroot, the internal toolchain backend uses the SSP support from
the C library, not that of gcc.

Some external toolchains come with SSP suport in gcc, which is
implemented in libssp.so, rather than in the C library.

When a toolchain even has both, it is up to the compiler to decide
whether it will link to libssp or use the support from the C library.

However, in the latter case, a (incorrectly written) package may decide
to explicitly link with libssp.so when it is available (even though the
compiler may have decided otherwise if left by itself). This is the case
for example with sox, which results in runtime failures, such as:

    $ sox
    sox: error while loading shared libraries: libssp.so.0: cannot open
    shared object file: No such file or directory

Even if sox is wrong in doing so, the case for libssp-only toolchains is
still valid, and we must copy it as we copy other libs.

Signed-off-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/jitterentropy-library: fix build failure due to missing -fPIC
Matt Weber [Fri, 25 Oct 2019 08:16:30 +0000 (03:16 -0500)]
package/jitterentropy-library: fix build failure due to missing -fPIC

jitterentropy-library needs -fPIC flag to build so add it when building.

Fixes:
http://autobuild.buildroot.net/results/505/5059207ec9ab0b502717626cc84956dafd0c3c32/

[Original: http://patchwork.ozlabs.org/patch/1182068/]
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/jitterentropy-library: fix static build
Fabrice Fontaine [Thu, 24 Oct 2019 16:59:13 +0000 (18:59 +0200)]
package/jitterentropy-library: fix static build

Fixes:
 - http://autobuild.buildroot.org/results/27b19c964c4457dca69639e1913ce44f010853ac

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/jitterentropy-library: bump to version 2.2.0
Fabrice Fontaine [Thu, 24 Oct 2019 16:59:12 +0000 (18:59 +0200)]
package/jitterentropy-library: bump to version 2.2.0

- Refresh patch
- Update hash of COPYING (date updated, see
  https://github.com/smuellerDD/jitterentropy-library/commit/ab33ee759ff09a1c9b1184fb2e4614d82c355c2f)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: Add option to enable USB passthrough support on host variant
Angelo Compagnucci [Fri, 25 Oct 2019 05:35:04 +0000 (07:35 +0200)]
package/qemu: Add option to enable USB passthrough support on host variant

USB passthrough is a useful feature while using qemu for debugging purpose.

[Peter: reword commit message, pass --disable-libusb if not enabled]
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/lld: fix build with gcc < 5.1
Joseph Kogut [Thu, 24 Oct 2019 23:18:18 +0000 (16:18 -0700)]
package/lld: fix build with gcc < 5.1

This fix is based on commit 2a17fb6 used for llvm.

Fixes:
http://autobuild.buildroot.net/results/76310241a335a99a4ff2726edb517b067367fd41
http://autobuild.buildroot.net/results/88cbfae219fd4475be376c9558b5760cebd2148f

[Peter: adjust comment as suggested by Romain]
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Reviewed-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/lld: create $(HOST_DIR)/$(GNU_TARGET_NAME)/bin before create symlinks
Romain Naour [Thu, 24 Oct 2019 20:22:09 +0000 (22:22 +0200)]
package/lld: create $(HOST_DIR)/$(GNU_TARGET_NAME)/bin before create symlinks

$(HOST_DIR)/$(GNU_TARGET_NAME)/bin directory may not exist before creating
lld symlinks.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Joseph Kogut <joseph.kogut@gmail.com>
Tested-By: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libyang: fix up the 'v' prefix in the version
Fabrice Fontaine [Thu, 24 Oct 2019 18:11:55 +0000 (20:11 +0200)]
package/libyang: fix up the 'v' prefix in the version

In order for the libyang version to match what is given by
release-monitoring.org, the 'v' prefix should be encoded in
LIBYANG_SITE and not LIBYANG_VERSION.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libnetconf2: fixup the 'v' prefix in the version
Fabrice Fontaine [Thu, 24 Oct 2019 18:10:12 +0000 (20:10 +0200)]
package/libnetconf2: fixup the 'v' prefix in the version

In order for the libnetconf2 version to match what is given by
release-monitoring.org, the 'v' prefix should be encoded in
LIBNETCONF2_SITE and not LIBNETCONF2_VERSION.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/mobile-broadband-provider-info: needs host-libxslt
Fabrice Fontaine [Thu, 24 Oct 2019 18:00:46 +0000 (20:00 +0200)]
package/mobile-broadband-provider-info: needs host-libxslt

xsltproc is needed to build apn-conf since version 20190618 and
https://github.com/GNOME/mobile-broadband-provider-info/commit/6dd77065c3beb4aa32218d76ba27efb83d507f42

Fixes:
 - http://autobuild.buildroot.org/results/824c5d67f12fa1a9ce31f2698eae986f14ca69ae

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/stm32mp157_dk_defconfig: switch to mainline 2019.07 U-Boot version
Bartosz Bilas [Thu, 24 Oct 2019 17:29:43 +0000 (19:29 +0200)]
configs/stm32mp157_dk_defconfig: switch to mainline 2019.07 U-Boot version

Switch to the official U-Boot repository since
the board has been officially supported.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/stm32mp157_dk_defconfig: switch to mainline 5.3.7 linux version
Bartosz Bilas [Thu, 24 Oct 2019 17:29:42 +0000 (19:29 +0200)]
configs/stm32mp157_dk_defconfig: switch to mainline 5.3.7 linux version

Switch to the official Linux repository since
the board has been officially supported.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/php: security bump version to 7.3.11
Bernd Kuhls [Thu, 24 Oct 2019 17:13:44 +0000 (19:13 +0200)]
package/php: security bump version to 7.3.11

Changelog: http://www.php.net/ChangeLog-7.php#7.3.11

Fixes CVE-2019-11043: https://bugs.php.net/bug.php?id=78599

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoDEVELOPERS: Add Nicolas Serafini for ofono
Nicolas Serafini [Thu, 24 Oct 2019 10:27:22 +0000 (10:27 +0000)]
DEVELOPERS: Add Nicolas Serafini for ofono

Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-remi: bump version to 2019.9
Gwenhael [Thu, 24 Oct 2019 10:12:56 +0000 (12:12 +0200)]
package/python-remi: bump version to 2019.9

* Release after 1.2.2 uses date instead of version, so suppress v character
appended before version

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libselinux: install Python modules to target
Thomas Petazzoni [Tue, 22 Oct 2019 08:49:23 +0000 (10:49 +0200)]
package/libselinux: install Python modules to target

While LIBSELINUX_INSTALL_STAGING_CMDS uses
$(LIBSELINUX_MAKE_INSTALL_TARGETS), LIBSELINUX_INSTALL_TARGET_CMDS
does not use it. Due to this, the Python module is only installed to
$(STAGING_DIR) and not to $(TARGET_DIR).

Fix this by using $(LIBSELINUX_MAKE_INSTALL_TARGETS) in
LIBSELINUX_INSTALL_TARGET_CMDS.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: James Hilliard <james.hilliard1@gmail.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/numactl: fix URL in help text
Carlos Santos [Tue, 22 Oct 2019 22:48:02 +0000 (19:48 -0300)]
package/numactl: fix URL in help text

SGI is gone (RIP). Use the github project as landing page.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/ofono: use external ell library
Nicolas Serafini [Wed, 23 Oct 2019 08:43:24 +0000 (08:43 +0000)]
package/ofono: use external ell library

Add comments to the dependencies that also come from ell. Note that the
BR2_TOOLCHAIN_HAS_SYNC_4 is coming both from ell and from internal sync
calls, so no comment is added.

While we're at it, also order the selects and DEPENDENCIES
alphabetically.

Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
[Arnout: extend "reason" comments to Config.in; alphabetical ordering]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoDEVELOPERS: remove package/python-pysnmp-apps
Bernd Kuhls [Wed, 23 Oct 2019 06:23:59 +0000 (08:23 +0200)]
DEVELOPERS: remove package/python-pysnmp-apps

Package was removed with commit
https://git.buildroot.net/buildroot/commit/?id=ae2781d7d74af7b7b94a30d7a26826de8e1b304f

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/util-linux: fix licence definition formatting
Simon Rowe [Wed, 23 Oct 2019 08:44:19 +0000 (09:44 +0100)]
package/util-linux: fix licence definition formatting

Signed-off-by: Simon Rowe <simon.rowe@citrix.com>
Reviewed-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libnss: remove useless NSS_ENABLE_ECC variable
Giulio Benetti [Wed, 23 Oct 2019 10:23:29 +0000 (12:23 +0200)]
package/libnss: remove useless NSS_ENABLE_ECC variable

NSS_ENABLE_ECC is not supported anymore, then remove it from our
libnss.mk file.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoconfigs/snps_hsdk: Switch to archs38_full CPU option
Evgeniy Didin [Wed, 23 Oct 2019 14:04:37 +0000 (17:04 +0300)]
configs/snps_hsdk: Switch to archs38_full CPU option

Lets switch CPU option to archs38_full for HSDK to
get an increase in performance by using FPU extensions.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/mobile-broadband-provider-info: bump version to 20190618
Nicolas Serafini [Wed, 23 Oct 2019 09:07:32 +0000 (09:07 +0000)]
package/mobile-broadband-provider-info: bump version to 20190618

Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-pymodbus: fix typo in python-pymodbus.hash
Fabrice Fontaine [Wed, 23 Oct 2019 18:10:01 +0000 (20:10 +0200)]
package/python-pymodbus: fix typo in python-pymodbus.hash

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/iwd: disable man pages
Fabrice Fontaine [Wed, 23 Oct 2019 18:09:19 +0000 (20:09 +0200)]
package/iwd: disable man pages

Fixes:
 - http://autobuild.buildroot.org/results/3f68bad231b18485871f24175001e1525501f35d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libnetconf2: new package
Heiko Thiery [Fri, 11 Oct 2019 12:40:43 +0000 (14:40 +0200)]
package/libnetconf2: new package

libnetconf2 is a NETCONF library in C intended for building
NETCONF clients and servers.

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libyang: new package
Heiko Thiery [Fri, 11 Oct 2019 12:40:42 +0000 (14:40 +0200)]
package/libyang: new package

LibYANG processes YIN and YANG files. It's a dependency of sysrepo
which is a dependency of Netopeer, a NETCONF/YANG server.

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libavl: new package
Michael Walle [Fri, 11 Oct 2019 12:40:41 +0000 (14:40 +0200)]
package/libavl: new package

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/nodejs: fix check-package warnings
Thomas Petazzoni [Tue, 22 Oct 2019 21:18:46 +0000 (23:18 +0200)]
package/nodejs: fix check-package warnings

Fixes:

package/nodejs/nodejs.mk:73: expected indent with tabs
package/nodejs/nodejs.mk:74: expected indent with tabs
package/nodejs/nodejs.mk:75: expected indent with tabs

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-pysnmp-apps: remove package
Asaf Kahlon [Wed, 9 Oct 2019 17:24:20 +0000 (20:24 +0300)]
package/python-pysnmp-apps: remove package

The package was renamed to snmpclitools and is no longer maintained.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/snmpclitools: new package
Asaf Kahlon [Wed, 9 Oct 2019 17:24:21 +0000 (20:24 +0300)]
package/snmpclitools: new package

For now, we use PKG-INFO as license file, since LICENSE.rst isn't
provided with the tarball.
A pull request was sent upstream:
https://github.com/etingof/snmpclitools/pull/11

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libva: switch to virtual opengl provider
Bernd Kuhls [Sat, 12 Oct 2019 15:39:31 +0000 (17:39 +0200)]
package/libva: switch to virtual opengl provider

This allows to use libva without mesa3d.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/nodejs: bump version to 12.12.0
James Hilliard [Wed, 16 Oct 2019 16:57:05 +0000 (10:57 -0600)]
package/nodejs: bump version to 12.12.0

Removed libhttpparser dependency as nodejs now uses built in llhttp.

Installed additional build tools to host that are required for target build.

License file change is due to 3rd party dependency changes and date updates.

Dependencies still appear to have Apache and BSD family licenses.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-pymodbus: switch back to github
Fabrice Fontaine [Tue, 22 Oct 2019 18:41:15 +0000 (20:41 +0200)]
package/python-pymodbus: switch back to github

pypi tarball does not contain the license file so switch back to github
until upstream fixes this issue, see
https://github.com/riptideio/pymodbus/issues/401

Fixes:
 - http://autobuild.buildroot.org/results/6701b1e038b58fcd49240ceb7f972885e2e037aa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>