buildroot.git
4 years agopackage/qt5/qt5base: add -syslog option
Jeff Zignego [Wed, 4 Nov 2020 18:12:21 +0000 (12:12 -0600)]
package/qt5/qt5base: add -syslog option

QT can default to outputting the logs to syslog instead of to the
console with this compile time switch. That behavior can still be
overridden by setting the environment variable QT_LOGGING_TO_CONSOLE to
1.

Signed-off-by: Jeff Zignego <jzignego@hedcontrols.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rhash: bump version to 1.4.0
Bernd Kuhls [Fri, 6 Nov 2020 20:26:31 +0000 (21:26 +0100)]
package/rhash: bump version to 1.4.0

Project switched license to BSD Zero Clause License:
https://github.com/rhash/RHash/commit/007a303dacb1ad27fb64e2133dfb8b4e28428af2

Add RHASH_CONFIGURE_CMDS after upstream added a configure script:
https://github.com/rhash/RHash/commit/cdaf43862229fb0f10d2b6b7448bcded2ef8edde

Make target install-headers was renamed to install-lib-headers:
https://github.com/rhash/RHash/commit/5184f57ed8c8a3d3ad66d789429bd8d1afc012ff

Make target install-shared was removed, use build-install-binary
instead:
https://github.com/rhash/RHash/commit/cdaf43862229fb0f10d2b6b7448bcded2ef8edde

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rocksdb: bump to version 6.13.3
Fabrice Fontaine [Thu, 5 Nov 2020 19:59:05 +0000 (20:59 +0100)]
package/rocksdb: bump to version 6.13.3

- Refresh first patch
- Replace second patch (this new iteration of previous patch has not
  been merged and does not apply cleanly on current version)
- Update hash of README.md (CircleCI gadget added with
  https://github.com/facebook/rocksdb/commit/63b59f21d9971fc941e3ee2244783a3c16bd5ad4)
- LTO is supported since version 6.12.6 and
  https://github.com/facebook/rocksdb/commit/c0c33a4854587e412742841f199edd4616be6c00
- DESTDIR and PREFIX are supported since version 6.13.2 and
  https://github.com/facebook/rocksdb/commit/1e59800718b29d4a762b8ac356767a701f968a4d

https://github.com/facebook/rocksdb/releases/tag/v6.13.3

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/quickjs: new package
Francois Perrad [Fri, 6 Nov 2020 22:51:14 +0000 (23:51 +0100)]
package/quickjs: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/haproxy: bump to version 2.2.5
Fabrice Fontaine [Fri, 6 Nov 2020 20:54:13 +0000 (21:54 +0100)]
package/haproxy: bump to version 2.2.5

https://www.mail-archive.com/haproxy@formilux.org/msg38809.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/botan: bump to version 2.17.0
Fabrice Fontaine [Fri, 6 Nov 2020 20:46:02 +0000 (21:46 +0100)]
package/botan: bump to version 2.17.0

Drop patch (already in version)

https://botan.randombit.net/news.html#version-2-17-0-2020-11-05

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libbluray: bump version to 1.2.1
Bernd Kuhls [Thu, 5 Nov 2020 19:07:01 +0000 (20:07 +0100)]
package/libbluray: bump version to 1.2.1

Reformatted hashes.

Release notes: https://www.videolan.org/news.html#news-2020-10-23
"A minor release of libbluray was pushed today, focused on fixing bugs
 and improving the support for UHD Blurays."

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-pybind: bump version to 2.6.0
Guillaume W. Bres [Thu, 5 Nov 2020 18:59:23 +0000 (19:59 +0100)]
package/python-pybind: bump version to 2.6.0

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libva-utils: bump version to 2.9.1
Bernd Kuhls [Thu, 5 Nov 2020 18:56:37 +0000 (19:56 +0100)]
package/libva-utils: bump version to 2.9.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/dnsmasq: bump to version 2.82
Baruch Siach [Thu, 5 Nov 2020 18:15:46 +0000 (20:15 +0200)]
package/dnsmasq: bump to version 2.82

Drop Makefile modification for pkg-config. Build time PATH ensures that
the Buildroot pkg-config is used.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libdrm: bump version to 2.4.103
Bernd Kuhls [Thu, 5 Nov 2020 18:48:12 +0000 (19:48 +0100)]
package/libdrm: bump version to 2.4.103

Remove patch 0003 which was applied upstream.

Release notes:
https://lists.freedesktop.org/archives/dri-devel/2020-November/285471.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/sqlite: bump version to 3.33.0
Bernd Kuhls [Thu, 5 Nov 2020 18:42:18 +0000 (19:42 +0100)]
package/sqlite: bump version to 3.33.0

Removed sha1 hash, not provided by upstream anymore.
Sha3 hashes are currently not support by buildroot, for details see
http://lists.busybox.net/pipermail/buildroot/2020-November/295957.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/shadowsocks-libev: bump version to 3.3.5
Min Xu [Thu, 5 Nov 2020 07:17:48 +0000 (23:17 -0800)]
package/shadowsocks-libev: bump version to 3.3.5

Signed-off-by: Min Xu <xuminready@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/bind: bump to version 9.11.24
Petr Vorel [Wed, 4 Nov 2020 19:47:27 +0000 (20:47 +0100)]
package/bind: bump to version 9.11.24

Turn 0001-cross.patch into git patch.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/trousers: bump to version 0.3.15
Fabrice Fontaine [Wed, 4 Nov 2020 19:50:16 +0000 (20:50 +0100)]
package/trousers: bump to version 0.3.15

- Drop third and fourth patches (already in version)
- Update indentation in hash file (two spaces)

https://sourceforge.net/p/trousers/trousers/ci/master/tree/ChangeLog

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoUpdate for 2020.11-rc1
Peter Korsgaard [Wed, 4 Nov 2020 22:29:24 +0000 (23:29 +0100)]
Update for 2020.11-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoCHANGES: Update for 2020.11-rc1
Peter Korsgaard [Wed, 4 Nov 2020 22:22:03 +0000 (23:22 +0100)]
CHANGES: Update for 2020.11-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/feh: bump to version 3.5
Petr Vorel [Wed, 4 Nov 2020 18:14:00 +0000 (19:14 +0100)]
package/feh: bump to version 3.5

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/asterisk: disable spandsp
Fabrice Fontaine [Wed, 4 Nov 2020 17:34:01 +0000 (18:34 +0100)]
package/asterisk: disable spandsp

asterisk fails to build with spandsp since commit 36c983bfa543de89a
(package/spandsp: bump version to 3.0.0), so disable it.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/modem-manager: bump to version 1.14.6
Petr Vorel [Wed, 4 Nov 2020 17:08:20 +0000 (18:08 +0100)]
package/modem-manager: bump to version 1.14.6

NOTE: this version requires mbim: >= 1.24.0, qmi: >= 1.26.0.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-remi: downgrade to 2020.8.6 and move to pypi
Gwenhael Goavec-Merou [Wed, 4 Nov 2020 14:13:03 +0000 (15:13 +0100)]
package/python-remi: downgrade to 2020.8.6 and move to pypi

Since
https://github.com/dddomodossola/remi/commit/481ee7ca3df55be127db35560978a36997a2c088

remi use setuptools-scm to obtain version, but .git directory is dropped when
the archive is fetched. The result is a build failure like:

Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    include_package_data=True,
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/tmp/instance-0/output-1/host/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools/dist.py", line 448, in __init__
    k: v for k, v in attrs.items()
  File "/tmp/instance-0/output-1/host/lib/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools/dist.py", line 740, in finalize_options
    ep.load()(self)
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools/dist.py", line 747, in _finalize_setup_keywords
    ep.load()(self, ep.name, value)
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools_scm/integration.py", line 17, in version_keyword
    dist.metadata.version = _get_version(config)
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools_scm/__init__.py", line 147, in _get_version
    parsed_version = _do_parse(config)
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools_scm/__init__.py", line 118, in _do_parse
    "use git+https://github.com/user/proj.git#egg=proj" % config.absolute_root
LookupError: setuptools-scm was unable to detect version for u'/tmp/instance-0/output-1/build/python-remi-2020.10.30'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
make: *** [package/pkg-generic.mk:250: /tmp/instance-0/output-1/build/python-remi-2020.10.30/.stamp_built] Error 1
make: Leaving directory '/tmp/instance-0/buildroot'

Fix:
- http://autobuild.buildroot.net/results/3a6/3a62359d0e183d45e50e999fc2c58f7805bda142/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
[Peter: drop _LICENSE_FILES, tarball does not include LICENSE file]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/gstreamer1/gst1-plugins-bad: fix typo
Fabrice Fontaine [Wed, 4 Nov 2020 07:39:40 +0000 (08:39 +0100)]
package/gstreamer1/gst1-plugins-bad: fix typo

dvdsub{enc,overlay} -> dvbsub{enc,overlay}

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/collectd: fix grpc dependency
Fabrice Fontaine [Wed, 4 Nov 2020 06:36:37 +0000 (07:36 +0100)]
package/collectd: fix grpc dependency

Commit e98610f039b88a5d164b19343d5ecef2d1c01f6d forgot to propagate
libabseil-cpp dependencies to BR2_PACKAGE_COLLECTD_GRPC

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/grpc: add host gcc >= 4.9 comment
Fabrice Fontaine [Wed, 4 Nov 2020 06:36:36 +0000 (07:36 +0100)]
package/grpc: add host gcc >= 4.9 comment

Commit e98610f039b88a5d164b19343d5ecef2d1c01f6d forgot to update comment

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libinput: bump version to 1.16.3
Peter Seiderer [Tue, 3 Nov 2020 22:54:10 +0000 (23:54 +0100)]
package/libinput: bump version to 1.16.3

For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2020-November/041644.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoboard: add Orangepi Zero Plus support
Marcin Niestroj [Thu, 29 Oct 2020 19:53:31 +0000 (20:53 +0100)]
board: add Orangepi Zero Plus support

Add initial support for Orangepi Zero Plus board:
- U-Boot 2020.10
- Linux 5.7.19
- Default packages from buildroot

This patch is based on Orangepi Zero Plus2 board support, so genimage
configuration and description is copy pasted. One difference is that
newer Linux and U-Boot are selected. Another difference is Ethernet
support (Plus) instead of WiFi (Plus2).

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/opencv3: fix OPENCV3_CLEAN_INSTALL_{DOC, CMAKE}
Fabrice Fontaine [Sun, 1 Nov 2020 11:12:44 +0000 (12:12 +0100)]
package/opencv3: fix OPENCV3_CLEAN_INSTALL_{DOC, CMAKE}

opencv3 does not install anything in $(TARGET_DIR)/usr/share/OpenCV/doc
so drop OPENCV3_CLEAN_INSTALL_DOC

However it installs its licence files in
$(TARGET_DIR)/usr/share/licenses/opencv3 so add
OPENCV3_CLEAN_INSTALL_LICENSE

Moreover, the cmake hook does not catch all cmake files and missed the
valgrind files so update OPENCV3_CLEAN_INSTALL_CMAKE and add
OPENCV3_CLEAN_INSTALL_VALGRIND to delete those files:
OpenCVConfig.cmake  OpenCVConfig-version.cmake  OpenCVModules.cmake  OpenCVModules-release.cmake  valgrind_3rdparty.supp  valgrind.supp

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoRevert "keepalived: needs headers >= 3.4"
Vadym Kochan [Sun, 1 Nov 2020 23:48:10 +0000 (01:48 +0200)]
Revert "keepalived: needs headers >= 3.4"

This reverts commit d01b0bbad04b97a5e8e1dd3ac3c1026555f793fb.

Original commit  made restriction for Linux headers < 3.4 which was
related to keepalived version 1.3.5, but it compiles fine now at least
with a toolchain based on 3.2 headers and keepalived 2.0.15 together
with ipset enabled.

Probably it was fixed by this commit:

    https://github.com/acassen/keepalived/commit/5a7f895bb795269f79e6353c6269dfbc0b782281

Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rt-tests: fix build issue for unsupported architectures
Heiko Thiery [Tue, 3 Nov 2020 22:04:54 +0000 (23:04 +0100)]
package/rt-tests: fix build issue for unsupported architectures

Release v1.9 introduced the oslat tool that only builds for supported
architectures (i386, x86_64, PPC64) and leads to a build failure for the
whole suite. An upstream patch changes this build error to a runtime warning.

Fixes:
  - http://autobuild.buildroot.net/results/72322cf7239a91211b0be74c01b55873340763f8

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openvpn: add mbedtls support
Fabrice Fontaine [Thu, 29 Oct 2020 17:35:56 +0000 (18:35 +0100)]
package/openvpn: add mbedtls support

mbedtls (former polarssl) support was dropped with commit
3380da69c5ab490e5c51dca0c4389b0da91743d0

Put it back as openvpn supports mbedtls 2.x since version 2.4.0 and
https://github.com/OpenVPN/openvpn/commit/86d8cd6860dfc74cb1a040ff8fe03140ebe7f930

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/imlib2: fix md5 and sha1
Fabrice Fontaine [Tue, 3 Nov 2020 22:13:03 +0000 (23:13 +0100)]
package/imlib2: fix md5 and sha1

Commit 23a79ddb45ed150cc36ddd3e16a0b5543b0342ad updated md5 and sha1 for
imlib2_loaders-1.6.1.tar.bz2 instead of imlib2-1.6.1.tar.bz2

Fix this mistake and, while at it, update indentation to two spaces

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/busybox: update licensing info
Yann E. MORIN [Tue, 27 Oct 2020 15:12:29 +0000 (16:12 +0100)]
package/busybox: update licensing info

Busybox is mainly licensed under the GPL-2.0, but the bzip2 part is a
modified copy of the bzip2/libbzip2 project, which comes with its own
license.

Update the licensing information accordingly.

Add the hash for the new license file, and fixup indentation (2 spaces).

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/alsa-utils: bump version to 1.2.4
Bernd Kuhls [Tue, 3 Nov 2020 21:32:21 +0000 (22:32 +0100)]
package/alsa-utils: bump version to 1.2.4

Changelog: https://www.alsa-project.org/wiki/Changes_v1.2.3.2_v1.2.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/alsa-lib: bump version to 1.2.4
Bernd Kuhls [Tue, 3 Nov 2020 21:32:20 +0000 (22:32 +0100)]
package/alsa-lib: bump version to 1.2.4

Rebased patch 0001, added patch 0002 to fix compile error with uClibc.

Changelog: https://www.alsa-project.org/wiki/Changes_v1.2.3.2_v1.2.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoimlib2: Bump to version 1.6.1
Petr Vorel [Sun, 1 Nov 2020 18:01:54 +0000 (19:01 +0100)]
imlib2: Bump to version 1.6.1

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/freescale-imx/firmware-imx: custom padding
Tibault Damman [Tue, 15 Sep 2020 13:04:14 +0000 (15:04 +0200)]
package/freescale-imx/firmware-imx: custom padding

Some derivatives (such as Variscite imx8mm) expect the (LP)DDR4
training data to be padded to a different length.

eg: https://github.com/varigit/uboot-imx/commit/5f8d814f

This patch makes the padding length configurable.

Signed-off-by: Tibault Damman <tibault.damman@basalte.be>
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Tested-by: Stephane Viau <stephane.viau@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/pc/genimage-efi.cfg: align the rootfs to start at 16MB offset from start of...
Florian La Roche [Thu, 22 Oct 2020 10:15:12 +0000 (12:15 +0200)]
board/pc/genimage-efi.cfg: align the rootfs to start at 16MB offset from start of the image

For grub-efi we can align the rootfs to start at exactly 16MB from the
beginning of the disk.  This can be done by reducing the vfat partition to
be 32 KB smaller than its 16MB size, just like the offset of the vfat
partition.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
[Peter: drop redundant offset/size settings, add comment]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/environment-setup: add cmake alias
Angelo Compagnucci [Tue, 28 Apr 2020 14:46:00 +0000 (16:46 +0200)]
package/environment-setup: add cmake alias

In order to simplify the usage of a buildroot toolchain within
the buildroot shell, a "cmake" alias is provided to call cmake
with the correct toolchain file and options.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/environment-setup: add configure alias
Angelo Compagnucci [Tue, 28 Apr 2020 14:45:59 +0000 (16:45 +0200)]
package/environment-setup: add configure alias

In order to simplify the usage of a buildroot toolchain within
the buildroot shell, a "configure" alias is provided to call
./configure with the correct flags.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/environment-setup: new package
Angelo Compagnucci [Tue, 27 Oct 2020 14:01:40 +0000 (09:01 -0500)]
package/environment-setup: new package

Install an helper script to setup a build environment based on
Buildroot. It's useful when a developer wants to use a Buildroot
generated SDK to build an external project.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Tested-by: Michael Trimarchi <michael@amarulasolutions.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Maury Anderson <maury.anderson@collins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosystemd: sort SYSTEMD_CONF_OPTS
Arnout Vandecappelle (Essensium/Mind) [Tue, 3 Nov 2020 21:09:38 +0000 (22:09 +0100)]
systemd: sort SYSTEMD_CONF_OPTS

The meson options were in some semi-sorted order with no logic in it.
Sort them alphabetically instead.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
4 years agosystemd: clear telinit path
Arnout Vandecappelle (Essensium/Mind) [Tue, 3 Nov 2020 21:06:02 +0000 (22:06 +0100)]
systemd: clear telinit path

Since we don't enable sysv any support, it makes no sense to set the
path to telinit either.

The path we were setting was anyway wrong: we set a path into
TARGET_DIR, but this path is only used at runtime, on the target, where
TARGET_DIR doesn't exist (it should have been /usr/sbin/telinit).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
4 years agopackage/systemd: add missing path options
Norbert Lange [Fri, 10 Jul 2020 23:41:48 +0000 (01:41 +0200)]
package/systemd: add missing path options

If paths are not set, then meson will search the host system for the
binaries (or the target, where those binaries are not yet installed).
So add the missing paths.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
4 years agopackage/libcap: bump version to 2.45
Heiko Thiery [Tue, 3 Nov 2020 07:22:49 +0000 (08:22 +0100)]
package/libcap: bump version to 2.45

This libcap release is now able to build on environments w/o thread support.

- add PTHREADS make arg to allow building without thread support
- add SHARED make arg (replace of DYNAMIC)
- remove patch that function is now in upstream (SHARED)

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

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
CC: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: Fix libs building on ARC700 with atomics
Alexey Brodkin [Wed, 21 Oct 2020 06:59:23 +0000 (09:59 +0300)]
package/gcc: Fix libs building on ARC700 with atomics

As we many times by now discussed that - some ARC cores might
not have atomic instructions implemented. Namely that's ARC700
w/o explicitly added atomics during design creation/configuration.

Because of that when GCC gets configured for ARC700, i.e. via
"--with-cpu=arc700" atomic ops are assumed disabled.

Usually it's not a problem as we add "-matomics" in the wraper for
building all packages if targets CPU has atomis (BR2_ARC_ATOMIC_EXT).

But when bulding target's binaries which are essential parts of
the GCC itself we don't use the wrapper. Instead xgcc is being used.
That way we lose that important part of system's configuration about
atomics and:
 1. Atomic ops won't be used where otherwise they could have been used.
 2. Some configuration checks might end-up thinking there're no atomics

In particular (2) leads to pretty obscure failure on bulding of some
packages which use C++, for example:

log4cplus: http://autobuild.buildroot.net/results/a7732fdb2ba526a114d9fb759814236c5332f8d7
------------------------>8--------------------
./.libs/liblog4cplus.so: undefined reference to `std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)'
collect2: error: ld returned 1 exit status
------------------------>8--------------------

bitcoin: http://autobuild.buildroot.net/results/f73/f73d4c77e5fd6223abdbc83e344addcfc93227b8
------------------------>8--------------------
(.text+0x110c): undefined reference to `std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >)'
collect2: error: ld returned 1 exit status
------------------------>8--------------------

apcupsd: http://autobuild.buildroot.net/results/7a2/7a2cc7a4ac2237c185817f75e55e05d144efd100
------------------------>8--------------------
/tmp/instance-0/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/9.3.1/../../../../arc-buildroot-linux-uclibc/bin/ld: eh_throw.cc:(.text._ZL23__gxx_exception_cleanup19_Unwind_Reason_CodeP17_Unwind_Exception+0x24): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
collect2: error: ld returned 1 exit status
------------------------>8--------------------

...and many more.

Interesting enough that was not seen earlier because "-matomic"
used to be added in TARGET_{C|CXX}FLAGS via TARGET_ABI,
but later "-matomic" was moved to ARCH_TOOLCHAIN_WRAPPER_OPTS, see
https://git.buildroot.org/buildroot/commit/?id=c568b4f37fa6d7f51e6d14d33d7eb75dfe26d7bf
and since then we started to see that new breakage which we now
attempt to fix right where it hapens on GCC configuration.

In contrast ARC HS family has atomic ops enabled by default thus
we never spotted that kind of problem for it.

More datails with analysis of what really happens under the hodd and
how do error messages above are related to libs of GCC configuration could
be found here: http://lists.busybox.net/pipermail/buildroot/2020-October/293614.html

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Romain Naour <romain.naour@gmail.com>
[Peter: simplify conditional]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/optee-client: fix build with gcc 4.8
Fabrice Fontaine [Tue, 3 Nov 2020 17:30:43 +0000 (18:30 +0100)]
package/optee-client: fix build with gcc 4.8

Fix the following build failure with optee-client 3.11.0 and gcc 4.8:

/home/giuliobenetti/autobuild/run/instance-2/output-1/build/optee-client-3.11.0/libckteec/src/pkcs11_processing.c: In function 'ck_create_object':
/home/giuliobenetti/autobuild/run/instance-2/output-1/build/optee-client-3.11.0/libckteec/src/pkcs11_processing.c:22:9: error: missing initializer for field 'buffer' of 'struct serializer' [-Werror=missing-field-initializers]
  struct serializer obj = { };
         ^

Build failure is raised since version 3.10.0 and
https://github.com/OP-TEE/optee_client/commit/c3279f424348bdd3378d236fd038fdd7bc76e10a
https://github.com/OP-TEE/optee_client/commit/e88c264ba358941d2166b18eeac448e617ffa887
https://github.com/OP-TEE/optee_client/commit/85a7ea7861339356b39c73926f2b5cb9added45b

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-remi: bump version to 2020.10.30
Gwenhael Goavec-Merou [Mon, 2 Nov 2020 14:00:00 +0000 (15:00 +0100)]
package/python-remi: bump version to 2020.10.30

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libgit2: bump version to 1.1.0
Nicolas Cavallari [Tue, 3 Nov 2020 11:29:20 +0000 (12:29 +0100)]
package/libgit2: bump version to 1.1.0

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libgpiod: bump version to 1.4.5
Michael Nosthoff [Mon, 2 Nov 2020 10:27:53 +0000 (11:27 +0100)]
package/libgpiod: bump version to 1.4.5

* add a comment about the kernel header dependencies when bumping
versions
* set url to kernel.org as github is unmaintained and outdated
* use two spaces in hash-file

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/re2: bump version to 2020-11-01
Michael Nosthoff [Tue, 3 Nov 2020 08:17:21 +0000 (09:17 +0100)]
package/re2: bump version to 2020-11-01

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gr-osmosdr: bump to version 0.2.2
Gwenhael Goavec-Merou [Mon, 2 Nov 2020 14:22:41 +0000 (15:22 +0100)]
package/gr-osmosdr: bump to version 0.2.2

Drop patch now applied.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/wireshark: bump to version 3.4.0
Fabrice Fontaine [Mon, 2 Nov 2020 19:57:37 +0000 (20:57 +0100)]
package/wireshark: bump to version 3.4.0

- c-ares is mandatory since
  https://github.com/wireshark/wireshark/commit/451a241e50bd34ba097bd09a5f9f673170779aaf
- Disable ilibc which is available and enabled by default since
  https://github.com/wireshark/wireshark/commit/12a13a69264fdef4281e4b13c8c7d92a272cc99e
- LTO can be enabled since
  https://github.com/wireshark/wireshark/commit/e6b5bd09766a1320c5540f78eb0e4ba03ce8f108
- opus is an optional dependency since
  https://github.com/wireshark/wireshark/commit/6136c719da4ec9b96c01adb4b0fd7f01af171688

https://www.wireshark.org/docs/relnotes/wireshark-3.4.0.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Tested-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/pcre2: fix build on mips r6
Fabrice Fontaine [Tue, 3 Nov 2020 17:13:28 +0000 (18:13 +0100)]
package/pcre2: fix build on mips r6

Fix build of pcre2 10.35 on mips r6:
https://bugs.exim.org/show_bug.cgi?id=2667

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/grpc: bump version to 1.33.2
Michael Nosthoff [Tue, 3 Nov 2020 08:05:39 +0000 (09:05 +0100)]
package/grpc: bump version to 1.33.2

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/open-lldp: bump to version 1.1
Fabrice Fontaine [Mon, 2 Nov 2020 20:25:11 +0000 (21:25 +0100)]
package/open-lldp: bump to version 1.1

- Drop first patch (not needed since
  https://github.com/intel/openlldp/commit/7ae79b0dff53a23fa0a964f77b9e3bb387a293c4)
- Drop second patch (not needed since
  https://github.com/intel/openlldp/commit/dc35fb92dade6ac88a0b96c3395fd77eb94eaf58)
- Drop other patches (already in version)
- systemd is an optional dependency since
  https://github.com/intel/openlldp/commit/5a0add7b097e0b35b96a477d56c3bb076c475b03

https://github.com/intel/openlldp/releases/tag/v1.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/zeromq: add libbsd optional dependency
Fabrice Fontaine [Mon, 2 Nov 2020 21:53:00 +0000 (22:53 +0100)]
package/zeromq: add libbsd optional dependency

libbsd is an optional dependency which is enabled by default since
version 4.3.3 and
https://github.com/zeromq/libzmq/commit/068385c951c0608edec6264d55ba9c4c923acccc

Fixes:
 - http://autobuild.buildroot.org/results/51220b1b82774e8f6f6ed8593c58d2e3c31a1531

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libqmi: bump to version 1.26.6
Petr Vorel [Mon, 2 Nov 2020 18:09:27 +0000 (19:09 +0100)]
package/libqmi: bump to version 1.26.6

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/gqrx: bump version to 2.13.2
Gwenhael Goavec-Merou [Mon, 2 Nov 2020 16:04:53 +0000 (17:04 +0100)]
package/gqrx: bump version to 2.13.2

Drop patch now applied.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agotoolchain: update ARC tools to arc-2020.09-release
Evgeniy Didin [Mon, 2 Nov 2020 14:50:54 +0000 (17:50 +0300)]
toolchain: update ARC tools to arc-2020.09-release

This commit bumps ARC toolchain to arc-2020.09-release.

ARC GNU tools of version arc-2020.09-release bring some quite significant
changes like:
* Binutils 2.34.50 with additional ARC patches
* GCC 10.0.2 with additional ARC patches
* GDB 10.0.50 with additional ARC patches

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/collectd: add comment about ssl support in rabbitmq-c
Fabrice Fontaine [Tue, 3 Nov 2020 17:17:35 +0000 (18:17 +0100)]
package/collectd: add comment about ssl support in rabbitmq-c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/dropbear: bump to version 2020.81
Baruch Siach [Tue, 3 Nov 2020 16:41:29 +0000 (18:41 +0200)]
package/dropbear: bump to version 2020.81

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/mesa3d-headers: fix legal-info
Fabrice Fontaine [Tue, 3 Nov 2020 17:16:29 +0000 (18:16 +0100)]
package/mesa3d-headers: fix legal-info

Commit 9d874c9051cf46ef29b763ad8db0b638f3761605 forgot to update
MESA3D_HEADERS_LICENSE_FILES

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/azure-iot-sdk-c: needs wchar
Fabrice Fontaine [Sun, 1 Nov 2020 16:57:38 +0000 (17:57 +0100)]
package/azure-iot-sdk-c: needs wchar

wchar is needed since version LTS_07_2020_Ref01 which bumped internal
umock with
https://github.com/Azure/azure-iot-sdk-c/commit/8a27860452ec7345bce84d6690b0e8d167b7560a

Indeed umock unconditionally depends on wchar since
https://github.com/Azure/umock-c/commit/6b8e0160defb23ec4fde159ba6389cf61e352a0b

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libass: security bump to version 0.15
Fabrice Fontaine [Thu, 29 Oct 2020 13:24:29 +0000 (14:24 +0100)]
package/libass: security bump to version 0.15

- harfbuzz is mandatory since
  https://github.com/libass/libass/commit/f3e2c97e1818598afb0b1c7010003ffe4823ff21
- Fix CVE-2020-26682 (In libass 0.14.0, the `ass_outline_construct`'s
  call to `outline_stroke` causes a signed integer overflow.) through
  https://github.com/libass/libass/commit/676f9dc5b52ef406c5527bdadbcb947f11392929
  which does not apply cleanly over version 0.14.
  It should be noted that version 0.15 also fixes other integer
  overflows (which have no CVE assigned)
- Update indentation in hash file (two spaces)

https://github.com/libass/libass/releases/tag/0.15.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/wireshark: add zstd optional dependency
Fabrice Fontaine [Sun, 1 Nov 2020 12:05:58 +0000 (13:05 +0100)]
package/wireshark: add zstd optional dependency

zstd is available since version 3.1.1 and is enabled by default:
https://github.com/wireshark/wireshark/commit/ad94c4d459d243c0cbbb9b222d5f7cdf8189ab86

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libglib2: fix util-linux-libs dependency
Fabrice Fontaine [Sun, 1 Nov 2020 12:15:36 +0000 (13:15 +0100)]
package/libglib2: fix util-linux-libs dependency

Commit 2acaa86ce630f616b12aa92493e0269421c5bc97 replaced util-linux by
util-linux-libs but this raises the following build failure:

Makefile:585: *** util-linux-libs is in the dependency chain of libglib2 that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.  Stop.

To fix this build failure, use util-linux or util-linux-libs depending
on BR2_PACKAGE_UTIL_LINUX_LIBS

Fixes:
 - http://autobuild.buildroot.org/results/8bf6360a343edd10c73a756ab86cdba727f9ea43

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libglib2: fix util-linux dependency
Fabrice Fontaine [Sun, 1 Nov 2020 10:23:26 +0000 (11:23 +0100)]
package/libglib2: fix util-linux dependency

Replace util-linux dependency by util-linux-libs to break the following
circular dependency:

 util-linux -> udev -> systemd -> polkit -> libglib2 -> util-linux

which will result in the following build failure:

../output-1/build/libglib2-2.64.4/meson.build:1931:2: ERROR: Dependency "mount" not found, tried pkgconfig

This will also raise the following build failure with util-linux:

checking for udev_new in -ludev... no
configure: error: udev selected but libudev not found

Fixes:
 - http://autobuild.buildroot.org/results/d2da9bda4e38b301d11d3baa66ea171e9e087171
 - http://autobuild.buildroot.org/results/520e9f18015fe26f93eb26387524766440e63f23

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/uhd: fix build with ARM without NEON
Gwenhael Goavec-Merou [Fri, 30 Oct 2020 14:29:45 +0000 (15:29 +0100)]
package/uhd: fix build with ARM without NEON

UHD has two issues with ARM:
1/ NEON_SIMD_ENABLE is always enabled when architecture is ARM. But NEON isn't
   necessarily support in the CPU
2/ when NEON is supported -mfpu=neon must be passed to the compiler (not
   automatically done by UHD)

Fixes:
- http://autobuild.buildroot.net/results/2519bd075b8c021b440677297b32f16b1c3cc3dd/
- http://autobuild.buildroot.net/results/99d9979be4f37c42390c87b1afd4cd33bac07f5e/
- http://autobuild.buildroot.net/results/cabc7a87ee869d6bac7d092c1a4fcfcdac22a96e/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/opencv: drop package
Fabrice Fontaine [Sun, 18 Oct 2020 14:32:00 +0000 (16:32 +0200)]
package/opencv: drop package

opencv 2.x has seen no release since July 2018 and all buildroot
packages are already compatible with opencv3 so drop it to ease the
addition of opencv4 which is not fully backward compatible with opencv3
as "a lot of C API from OpenCV 1.x has been removed.":
https://opencv.org/opencv-4-0.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/frr: fix detection of host-python3
Fabrice Fontaine [Sat, 31 Oct 2020 23:24:27 +0000 (00:24 +0100)]
package/frr: fix detection of host-python3

Add an upstream patch to fix detection of host-python3 and avoid the
following failure because of missing --embed flag:

configure:22276: checking python interpreter python3
configure:22278: "$PYTHON" -c 'import sys; open("conftest.pyver", "w").write(sys.executable or ""); sys.exit(not (sys.version_info.major == 2 and sys.version_info.minor >= 7))'
configure:22281: $? = 1
configure:22287: "$PYTHON" -c 'import sys; open("conftest.pyver", "w").write(sys.executable or ""); sys.exit(not ((sys.version_info.major == 3 and sys.version_info.minor >= 2) or sys.version_info.major > 3))'
configure:22290: $? = 0
configure:22310: result: /home/buildroot/autobuild/run/instance-1/output-1/host/bin/python3 (python3)
py_abi= py_ldver=3.9 py_ver=3.9 py_bindir=/home/buildroot/autobuild/run/instance-1/output-1/host/bin/
configure:22326: checking whether /home/buildroot/autobuild/run/instance-1/output-1/host/bin/python3.9-config is available
configure:22329: result: yes
configure:22339: checking whether /home/buildroot/autobuild/run/instance-1/output-1/host/bin/python3.9-config provides a working build environment
configure:22376: /usr/bin/gcc -std=gnu11 -o conftest -O2 -I/home/buildroot/autobuild/run/instance-1/output-1/host/include -fno-omit-frame-pointer -funwind-tables -Wall -Wextra -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wundef -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -pthread -I/home/buildroot/autobuild/run/instance-1/output-1/host/include/python3.9 -I/home/buildroot/autobuild/run/instance-1/output-1/host/include/python3.9 -I/home/buildroot/autobuild/run/instance-1/output-1/host/include -L/home/buildroot/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-1/output-1/host/lib conftest.c    -L/home/buildroot/autobuild/run/instance-1/output-1/host/lib  -lcrypt -lpthread -ldl  -lutil -lm -lm  >&5
/tmp/ccrVSMCb.o: In function `main':
conftest.c:(.text.startup+0x5): undefined reference to `Py_Initialize'

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wireshark: security bump to version 3.2.8
Fabrice Fontaine [Sat, 31 Oct 2020 23:32:27 +0000 (00:32 +0100)]
package/wireshark: security bump to version 3.2.8

- Fix CVE-2020-26575: In Wireshark through 3.2.7, the Facebook Zero
  Protocol (aka FBZERO) dissector could enter an infinite loop. This was
  addressed in epan/dissectors/packet-fbzero.c by correcting the
  implementation of offset advancement.
  https://www.wireshark.org/security/wnpa-sec-2020-14.html
- Fix GQUIC dissector crash:
  https://www.wireshark.org/security/wnpa-sec-2020-15.html

https://www.wireshark.org/docs/relnotes/wireshark-3.2.8.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mesa3d: bump version to 20.2.1
Bernd Kuhls [Sun, 1 Nov 2020 08:46:57 +0000 (09:46 +0100)]
package/mesa3d: bump version to 20.2.1

Rebased patch 0002 & 0003, added patch 0004 to fix build error.

Switched license file to license.rst due to upstream commit
https://cgit.freedesktop.org/mesa/mesa/commit/?id=4d066836e3cf307431a74eafcc8a404ce5ccea69
"No modification to the generated results have been done."

Switched true/false configure option values to enabled/disabled due to
upstream commit:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=138c003d22739b0d1e6860ed398dd511a44cde04

Remove "MESA3D_PLATFORMS += drm", this platform is now automatically
selected:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=e00adef34a5ce485e2c9216a268ca05e89a5fc98

Remove "MESA3D_PLATFORMS += surfaceless", this platform is now
automatically selected:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=a38e21d6683aeecb51aea4f933a77c6e7f1a6179

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: re-enable gcc 8.x for PowerPC SPE
Michael Durrant [Mon, 26 Oct 2020 19:17:35 +0000 (15:17 -0400)]
package/gcc: re-enable gcc 8.x for PowerPC SPE

The GCC-7.x compiler series was the last to officially support PowerPC
SPE CPUs. Now that GCC-8.x is the default compiler used by Buildroot,
some defconfigs, notably the arcturus_ucp1020_defconfig and
freescale_p1025twr_defconfig ones started to fail building, as they
are PowerPC SPE platforms.

In fact, the GCC-8.x compiler series continues to support PowerPC SPE
CPU cores, but only as an --enable-obsoleted instruction set. This
patch enables the use of GCC-8.x and asserts the required option to
enable the PowerPC SPE instruction set.

This patch passes compilation and run tests with the
arcturus/ppc-ucp1020  board.

This patch should address a noted job failure on GitLab CI
https://gitlab.com/buildroot.org/buildroot/-/jobs/805461732

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/805461732
Signed-off-by: Michael Durrant <mdurrant@ArcturusNetworks.com>
Signed-off-by: Oleksandr G Zhadan <Oleks@ArcturusNetworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5/qt5base: fix imx6 eglfs support with imx-gpu-viv
Gary Bisson [Tue, 27 Oct 2020 14:28:33 +0000 (15:28 +0100)]
package/qt5/qt5base: fix imx6 eglfs support with imx-gpu-viv

Last commit fixed eglfs_kms support for i.MX8 platforms that required to
declare imx-gpu-viv as the gbm provider.
However, this broke the eglfs "fbdev" imx6 support as gbm isn't provided
in this case. So limit the gbm option to imx-gpu-viv when wayland
backend is used only.

Fixes: 82fb51d3b5 ("package/qt5/qt5base: allow to use imx-gpu-viv as GBM
provider")

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libraw: needs autoreconf
Fabrice Fontaine [Wed, 28 Oct 2020 11:35:40 +0000 (12:35 +0100)]
package/libraw: needs autoreconf

configure is older than configure.ac in official libraw 0.20.2 tarball:
https://github.com/LibRaw/LibRaw/issues/353

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/s390-tools: bump to version 2.15.1
Alexander Egorenkov [Wed, 28 Oct 2020 15:42:20 +0000 (16:42 +0100)]
package/s390-tools: bump to version 2.15.1

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libuhttpd: bump version to 3.4.2
Jianhui Zhao [Wed, 28 Oct 2020 13:23:38 +0000 (21:23 +0800)]
package/libuhttpd: bump version to 3.4.2

fix compile fail on riscv64

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sispmctl: fix build with gcc 4.8
Fabrice Fontaine [Thu, 29 Oct 2020 13:00:31 +0000 (14:00 +0100)]
package/sispmctl: fix build with gcc 4.8

Fixes:
 - http://autobuild.buildroot.org/results/079f1454121d38a83c49529c0f6cc8ed61fd5abb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libressl: bump to version 3.2.2
Fabrice Fontaine [Sat, 31 Oct 2020 22:12:23 +0000 (23:12 +0100)]
package/libressl: bump to version 3.2.2

https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.2.2-relnotes.txt

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/util-linux: add file optional dependency
Fabrice Fontaine [Sat, 31 Oct 2020 22:09:22 +0000 (23:09 +0100)]
package/util-linux: add file optional dependency

file is an optional dependency of more binary and is enabled by default
since version 2.36 and
https://github.com/karelzak/util-linux/commit/09070e1a658e70ec203150e4fa5f486b32771858

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ima-evm-utils: bump to version 1.3.2
Petr Vorel [Thu, 29 Oct 2020 16:32:14 +0000 (17:32 +0100)]
package/ima-evm-utils: bump to version 1.3.2

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lxc: bump to version 4.0.5
Fabrice Fontaine [Sat, 31 Oct 2020 21:43:04 +0000 (22:43 +0100)]
package/lxc: bump to version 4.0.5

https://discuss.linuxcontainers.org/t/lxc-4-0-5-lts-has-been-released/9269

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/optee-test: bump to version 3.11.0
Etienne Carriere [Fri, 30 Oct 2020 07:50:43 +0000 (08:50 +0100)]
package/optee-test: bump to version 3.11.0

Bump OP-TEE Test package version to OP-TEE release 3.11.0.
Add dependency on BR2_INSTALL_LIBSTDCPP since C++ support is needed
to build some OP-TEE test trusted applications.
Remove local patch files since issues addressed since.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/optee-benchmark: bump to version 3.11.0
Etienne Carriere [Fri, 30 Oct 2020 07:50:42 +0000 (08:50 +0100)]
package/optee-benchmark: bump to version 3.11.0

Bump OP-TEE Benchmark package version to OP-TEE release 3.11.0.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/optee-examples: bump to version 3.11.0
Etienne Carriere [Fri, 30 Oct 2020 07:50:41 +0000 (08:50 +0100)]
package/optee-examples: bump to version 3.11.0

Bump OP-TEE Exmaples package version to OP-TEE release 3.11.0.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/optee-client: bump to version 3.11.0
Etienne Carriere [Fri, 30 Oct 2020 07:50:40 +0000 (08:50 +0100)]
package/optee-client: bump to version 3.11.0

Bump OP-TEE Client package version to OP-TEE release 3.11.0.
Remove local patch file since issue addressed since.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/optee-os: bump to version 3.11.0
Etienne Carriere [Fri, 30 Oct 2020 07:50:39 +0000 (08:50 +0100)]
boot/optee-os: bump to version 3.11.0

Bump OP-TEE OS package version to OP-TEE release 3.11.0.

Remove patches since merged in OP-TEE OS 3.11.0

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/qemu_arm_vexpress_tz_defconfig: enable C++ in toolchain
Etienne Carriere [Fri, 30 Oct 2020 07:50:38 +0000 (08:50 +0100)]
configs/qemu_arm_vexpress_tz_defconfig: enable C++ in toolchain

As we are about to bump the optee-test package to 3.11.0, which
requires C++ support, let's enable C++ support in the
qemu_arm_vexpress_tz_defconfig, which uses optee-test.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rt-tests: bump to version 1.9
Florian La Roche [Fri, 30 Oct 2020 10:24:26 +0000 (11:24 +0100)]
package/rt-tests: bump to version 1.9

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fastd: bump to version 21
Fabrice Fontaine [Sat, 31 Oct 2020 21:07:07 +0000 (22:07 +0100)]
package/fastd: bump to version 21

- Switch to meson-package
- Drop first patch (not needed with meson)
- Drop second patch (already in version)

https://fastd.readthedocs.io/en/stable/releases/v20.html
https://fastd.readthedocs.io/en/stable/releases/v21.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fastd: libcap is optional not mandatory
Fabrice Fontaine [Sat, 31 Oct 2020 21:07:06 +0000 (22:07 +0100)]
package/fastd: libcap is optional not mandatory

libcap is an optional dependency which is available since version 7:
https://github.com/NeoRaider/fastd/commit/eaac49427339a365aac2d3505f567572cfbdbb96

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libabseil-cpp: depend on (host) gcc >= 4.9
Michael Nosthoff [Fri, 30 Oct 2020 11:25:05 +0000 (12:25 +0100)]
package/libabseil-cpp: depend on (host) gcc >= 4.9

abseil depends on gcc >= 4.9 according to [0] and actually doesn't
compile anymore with the latest version bump.
This didn't show in the autobuilders as the C++11 issue fixed in the
previous commit shadowed it.

also update dependency in package/grpc.

fixes:
 https://github.com/abseil/abseil-cpp/issues/795

[0] https://abseil.io/docs/cpp/platforms/platforms#linux

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libabseil-cpp: enforce C++11
Michael Nosthoff [Fri, 30 Oct 2020 11:25:04 +0000 (12:25 +0100)]
package/libabseil-cpp: enforce C++11

Abseil needs at least c++11 but removed the fallback when not set in [0].
So we need to do this.

[0] https://github.com/abseil/abseil-cpp/commit/c6954897f7ece5011f0126db9117361dc1a6ff36

Fixes:
  http://autobuild.buildroot.net/results/5780d5e21e5e9c0ba86cc422ef995f45dc83cc4c
  http://autobuild.buildroot.net/results/8138c63fc13940e1b97f07f24752b199f88ccfa8
  http://autobuild.buildroot.net/results/f8eda966c6400c242680db378c8944444d89d5c5
  http://autobuild.buildroot.net/results/38e9427d995e16bc4876f9fdc890c42e4fd04c06
  http://autobuild.buildroot.net/results/4e99415728a6f3c6b396a9872924262652f77996
  http://autobuild.buildroot.net/results/1830577843772bdfd6e310b4d361aa1edf5969d6

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libpam-tacplus: bump to version 1.6.1
Fabrice Fontaine [Sat, 31 Oct 2020 16:20:10 +0000 (17:20 +0100)]
package/libpam-tacplus: bump to version 1.6.1

- Drop all patches (already in version)
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/collectd: fix build with amqp
Fabrice Fontaine [Sat, 31 Oct 2020 16:14:21 +0000 (17:14 +0100)]
package/collectd: fix build with amqp

collectd unconditionally uses amqp_ssl_socket.h since version 5.11.0 and
https://github.com/collectd/collectd/commit/e4808ad138de362fab5efa09648fbc101f97bd76

Fixes:
 - http://autobuild.buildroot.org/results/525abe0a5cca81ff517c9c07c092d85160c7eb62

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sshfs: fix build with gcc 4.8
Fabrice Fontaine [Sat, 31 Oct 2020 20:21:54 +0000 (21:21 +0100)]
package/sshfs: fix build with gcc 4.8

Fix build of sshfs 3.7.0 and gcc 4.8

Fixes:
 - http://autobuild.buildroot.org/results/2dbdc579c55543175716d5f739cabe2ad0864ed6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fastd: fix CVE-2020-27638
Fabrice Fontaine [Sat, 31 Oct 2020 16:34:20 +0000 (17:34 +0100)]
package/fastd: fix CVE-2020-27638

receive.c in fastd before v21 allows denial of service (assertion
failure) when receiving packets with an invalid type code.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-urllib3: bump to version 1.25.11
Marcin Niestroj [Thu, 29 Oct 2020 22:10:25 +0000 (23:10 +0100)]
package/python-urllib3: bump to version 1.25.11

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-idna: bump to version 2.10
Marcin Niestroj [Thu, 29 Oct 2020 22:09:55 +0000 (23:09 +0100)]
package/python-idna: bump to version 2.10

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-certifi: bump to version 2020.6.20
Marcin Niestroj [Thu, 29 Oct 2020 22:09:25 +0000 (23:09 +0100)]
package/python-certifi: bump to version 2020.6.20

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>