buildroot.git
4 years agopackage/mcelog: bump to version 172
Francois Perrad [Sat, 19 Sep 2020 11:11:38 +0000 (13:11 +0200)]
package/mcelog: bump to version 172

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mcelog: install init systemd
Francois Perrad [Sat, 19 Sep 2020 11:11:37 +0000 (13:11 +0200)]
package/mcelog: install init systemd

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/micropython: fix build with gcc 4.8
Fabrice Fontaine [Sat, 19 Sep 2020 10:01:38 +0000 (12:01 +0200)]
package/micropython: fix build with gcc 4.8

micropython uses -Wfloat-conversion since version 1.13 and
https://github.com/micropython/micropython/commit/30840ebc9925bb8ef025dbc2d5982b1bfeb75f1b

This will result in the following build failure with gcc 4.8:
arm-none-linux-gnueabi-gcc: error: unrecognized command line option '-Wfloat-conversion'

To avoid this build failure, set CWARN to an empty value moreover, while
at it, move some duplicated variables under MICROPYTHON_MAKE_OPTS

Fixes:
 - http://autobuild.buildroot.org/results/6fe5a5ab91a5d235147e74461bb165ec2cfdc967

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/grpc: fix build on ubuntu gcc 4.8
Michael Nosthoff [Tue, 15 Sep 2020 16:11:07 +0000 (18:11 +0200)]
package/grpc: fix build on ubuntu gcc 4.8

gcc 4.8 on ubuntu 14.04 does some broken optimization at link-time
which causes grpc to create a grpc_cpp_plugin which quits because
of a failing assertion. The created plugin is itself used during
compilation which lets the build fail.
With the added -Wl,--no-as-needed flag the LTO is disabled and grpc
compiles successfully.

fixes:
- http://autobuild.buildroot.net/results/b554f6f2fb66892273f7520ad6e36923557b229e
- http://autobuild.buildroot.net/results/3ebb2880b9b3fd5154979016391dde897e2c039c
- http://autobuild.buildroot.net/results/c2078e821e0728fe980be2c849c25d82e791a4c2

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
[yann.morin.1998@free.fr: rewrap the comment]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/makedumpfile: fix build for powerpc target
Alexander Egorenkov [Thu, 10 Sep 2020 07:09:05 +0000 (09:09 +0200)]
package/makedumpfile: fix build for powerpc target

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

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libseccomp: bump version to 2.4.4
Peter Korsgaard [Tue, 15 Sep 2020 19:44:26 +0000 (21:44 +0200)]
package/libseccomp: bump version to 2.4.4

Brings support for 5.8 syscalls and adds various fixes.

Drop 0001-remove-static.patch as it is upstream since 2.4.3:
https://github.com/seccomp/libseccomp/commit/2a1b67825842c6c75ca898f09f0d9c99339e1fa8

Drop 0002-Circumvent-bug-in-uClibc-ng-syscall-on-x86_64-system.patch as the
uClibc-ng issue is fixed in 1.0.33:
https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=01e863c89fc772a406fe56c6dddb39f71a570c06

Download upstream uploaded tarball rather than using the github macro,
and use upstream hash and reformat hash file. This allows to drop
AUTORECONF = YES.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libwpe: switch over to Meson
Adrian Perez de Castro [Tue, 15 Sep 2020 22:30:49 +0000 (01:30 +0300)]
package/libwpe: switch over to Meson

The CMake based build system will be eventually removed by upstream
so it seems like a good idea to switch over to Meson already before
that happens.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libwpe: bump to version 1.8.0
Adrian Perez de Castro [Tue, 15 Sep 2020 22:30:48 +0000 (01:30 +0300)]
package/libwpe: bump to version 1.8.0

Release notes:

  https://wpewebkit.org/release/libwpe-1.8.0.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libstrophe: bump to version 0.10.0
Michael Vetter [Wed, 16 Sep 2020 10:08:30 +0000 (12:08 +0200)]
package/libstrophe: bump to version 0.10.0

Changes:
  * Coding style has been unified
  * SCRAM-SHA-256 and SCRAM-SHA-512 support
  * c-ares support
  * LibreSSL support
  * Introduced global timed handlers that fire periodically regardless
    of connections status, such a handler can be used to implement
    deferred re-connection
  * examples/register implements XEP-0077
  * Fixed issue with IPv6 on Windows (#153)
  * Improved portability across systems such as Haiku, Windows
  * New API:
    - xmpp_stanza_get_child_by_name_and_ns()
    - xmpp_conn_is_connecting()
    - xmpp_conn_is_connected()
    - xmpp_conn_is_disconnected()
    - xmpp_stanza_new_from_string()
    - xmpp_stanza_add_child_ex()
    - xmpp_stanza_get_context()
    - xmpp_stanza_reply_error()
    - xmpp_global_timed_handler_add()
    - xmpp_global_timed_handler_delete()

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dash: bump to version 0.5.11.2
Francois Perrad [Wed, 16 Sep 2020 07:48:43 +0000 (09:48 +0200)]
package/dash: bump to version 0.5.11.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkg-cmake.mk: build host with shared libs
Michael Nosthoff [Wed, 16 Sep 2020 10:02:11 +0000 (12:02 +0200)]
package/pkg-cmake.mk: build host with shared libs

CMake offers the BUILD_SHARED_LIBS flag as a default parameter
and most packages honor them.
Similar to pkg-autotools.mk build host packages always with
BUILD_SHARED_LIBS=ON.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{clang,lld}: disable shared lib build for the host variant
Michael Nosthoff [Wed, 16 Sep 2020 10:02:10 +0000 (12:02 +0200)]
package/{clang,lld}: disable shared lib build for the host variant

This is similar to the llvm package which also disables shared libs
for the host variant.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/doxygen: disable shared libs for host
Michael Nosthoff [Wed, 16 Sep 2020 10:02:09 +0000 (12:02 +0200)]
package/doxygen: disable shared libs for host

doxygen fails to build with BUILD_SHARED_LIBS=ON as it only
for some targets honors this flag and links the rest static.
So enforce BUILD_SHARED_LIBS=OFF for this package.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/orangepi_pc_defconfig: bump kernel to 5.8.10, u-boot to 2020.07
Peter Korsgaard [Thu, 17 Sep 2020 19:54:57 +0000 (21:54 +0200)]
configs/orangepi_pc_defconfig: bump kernel to 5.8.10, u-boot to 2020.07

Analog audio is enabled by default in sunxi_defconfig since commit 5d2408c6
(ARM: configs: sunxi: Add sun8i analog codec), so drop from fragment.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ipmitool: fix 0011-channel-Fix-buffer-overflow.patch
Heiko Thiery [Wed, 16 Sep 2020 17:44:51 +0000 (19:44 +0200)]
package/ipmitool: fix 0011-channel-Fix-buffer-overflow.patch

The previous commit to this package
(37c5e903a7e18f5b3847c11a40af5f74984d6c77) introduced a bunch of patches
to fix a CVE. Unfortunatly only applying of the patches was tested but
not building the package.

This commit replaces a define that was introduced in a previous patch
upstream and caused the build failure.

Tested:

                             br-arm-full [1/6]: OK
                  br-arm-cortex-a9-glibc [2/6]: OK
                   br-arm-cortex-m4-full [3/6]: SKIPPED
                          br-x86-64-musl [4/6]: OK
                      br-arm-full-static [5/6]: OK
                            sourcery-arm [6/6]: OK

Fixes:
 - http://autobuild.buildroot.net/results/3f7fe8ad181318153c459ba5e1afbbc8b49d541c/
 - and more

Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libfribidi: bump to version 1.0.10
Francois Perrad [Wed, 16 Sep 2020 16:37:47 +0000 (18:37 +0200)]
package/libfribidi: bump to version 1.0.10

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/logrotate: bump to version 3.17.0
Francois Perrad [Wed, 16 Sep 2020 16:30:47 +0000 (18:30 +0200)]
package/logrotate: bump to version 3.17.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/18xx-ti-utils: build/install wlconf as a host utility
Miken Valabdas [Wed, 16 Sep 2020 21:01:46 +0000 (17:01 -0400)]
package/18xx-ti-utils: build/install wlconf as a host utility

wlconf is build and installed as a host utility to be able to tweak
the wl18xx firmware configuration at build time.

Signed-off-by: Miken Valabdas <mvalabdas@distech-controls.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/weston: change download url to https
Peter Seiderer [Wed, 16 Sep 2020 19:55:40 +0000 (21:55 +0200)]
package/weston: change download url to https

- change download url to https (as given by the original announcement [1]
    and redirected by the http url)

Fixes:

  - http://autobuild.buildroot.net/results/00b9e1ccb97d9ff5c2ee0e856288f689bdab52ee

  >>> weston 9.0.0 Downloading[23m
  --2020-09-15 14:10:22--  http://wayland.freedesktop.org/releases/weston-9.0.0.tar.xz
  Resolving wayland.freedesktop.org (wayland.freedesktop.org)... 35.227.58.183
  Connecting to wayland.freedesktop.org (wayland.freedesktop.org)|35.227.58.183|:80... connected.
  HTTP request sent, awaiting response... 308 Permanent Redirect
  2020-09-15 14:10:23 ERROR 308: Permanent Redirect.

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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fmt: bump to version 7.0.3
Jörg Krause [Wed, 16 Sep 2020 20:00:13 +0000 (22:00 +0200)]
package/fmt: bump to version 7.0.3

Switch to use uploaded zip archive instead of githubs provided tarball.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/armbian-firmware: add option to install AP6256 firmware
Tian Yuanhao [Thu, 17 Sep 2020 04:43:25 +0000 (12:43 +0800)]
package/armbian-firmware: add option to install AP6256 firmware

This WiFi/BT chip is used on ROCK Pi 4.

Signed-off-by: Tian Yuanhao <tianyuanhao@aliyun.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/armbian-firmware: fix alphabetic ordering of options
Thomas Petazzoni [Thu, 17 Sep 2020 19:32:48 +0000 (21:32 +0200)]
package/armbian-firmware: fix alphabetic ordering of options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/armbian-firmware: bump version to 70a0850
Tian Yuanhao [Thu, 17 Sep 2020 04:43:25 +0000 (12:43 +0800)]
package/armbian-firmware: bump version to 70a0850

While at it, adjust spacing in the hash file.

Signed-off-by: Tian Yuanhao <tianyuanhao@aliyun.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/lafrite_defconfig: bump kernel to 5.8.10
Peter Korsgaard [Thu, 17 Sep 2020 18:35:18 +0000 (20:35 +0200)]
configs/lafrite_defconfig: bump kernel to 5.8.10

Brings a number of fixes and audio support.  The aarch64 defconfig has
grown, so bump the ext4 size to make it fit.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/upmpdcli: bump to version 1.4.14
Jörg Krause [Thu, 17 Sep 2020 06:36:55 +0000 (08:36 +0200)]
package/upmpdcli: bump to version 1.4.14

Drop upstream patch which is included in the new version.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5/qt5webengine: fix build with Bison 3.7
Thomas Petazzoni [Wed, 16 Sep 2020 12:13:53 +0000 (14:13 +0200)]
package/qt5/qt5webengine: fix build with Bison 3.7

Add patch from upstream that fixes build with Bison 3.7.

There are no autobuilder failures for this issue, but the following
defconfig:

BR2_arm=y
BR2_cortex_a8=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_NONE=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_SYSTEM_BIN_SH_NONE=y
BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT5WEBENGINE=y
BR2_PACKAGE_RPI_USERLAND=y

Failed with:

/home/thomas/buildroot/buildroot/output/build/qt5webengine-5.15.0/src/core/release/gen/third_party/blink/renderer/core/xpath_grammar.cc:124:10: fatal error: xpath_grammar.hh: No such file or directory
  124 | #include "xpath_grammar.hh"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

With this patch applied, it builds fine.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr: add url to upstream commit, provided by Peter]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/redis: security bump to 6.0.8
Titouan Christophe [Tue, 15 Sep 2020 19:49:29 +0000 (21:49 +0200)]
package/redis: security bump to 6.0.8

>From the release notes
See: https://github.com/redis/redis/blob/6.0.8/00-RELEASENOTES

================================================================================
Redis 6.0.7     Released Fri Aug 28 11:05:09 IDT 2020
================================================================================

Upgrade urgency MODERATE: several bugs with moderate impact are fixed,
Specifically the first two listed below which cause protocol errors for clients.

================================================================================
Redis 6.0.8     Released Wed Sep 09 23:34:17 IDT 2020
================================================================================

Upgrade urgency HIGH: Anyone who's using Redis 6.0.7 with Sentinel or
CONFIG REWRITE command is affected and should upgrade ASAP, see #7760.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-boto3: new package.
Raphaël Mélotte [Fri, 7 Feb 2020 11:43:50 +0000 (12:43 +0100)]
package/python-boto3: new package.

The AWS SDK for Python.

Signed-off-by: Raphaël Mélotte <raphael.melotte@essensium.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # roc-rk3399-pc
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-s3transfer: new package.
Raphaël Mélotte [Fri, 7 Feb 2020 11:43:49 +0000 (12:43 +0100)]
package/python-s3transfer: new package.

An Amazon S3 Transfer Manager.

Signed-off-by: Raphaël Mélotte <raphael.melotte@essensium.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # roc-rk3399-pc
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-botocore: new package.
Raphaël Mélotte [Fri, 7 Feb 2020 11:43:48 +0000 (12:43 +0100)]
package/python-botocore: new package.

Low-level, data-driven core of boto 3.

Signed-off-by: Raphaël Mélotte <raphael.melotte@essensium.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # roc-rk3399-pc
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-jmespath: new package.
Raphaël Mélotte [Fri, 7 Feb 2020 11:43:47 +0000 (12:43 +0100)]
package/python-jmespath: new package.

JMESPath is a query language for JSON.

Signed-off-by: Raphaël Mélotte <raphael.melotte@essensium.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com> # roc-rk3399-pc
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoDEVELOPERS: fix alphabetical ordering
Yann E. MORIN [Tue, 15 Sep 2020 19:31:02 +0000 (21:31 +0200)]
DEVELOPERS: fix alphabetical ordering

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/micropython: fix license hash
Fabrice Fontaine [Tue, 15 Sep 2020 17:20:35 +0000 (19:20 +0200)]
package/micropython: fix license hash

Commit 7676191cfacbdb1a92af1d0218d3280207b03090 forgot to update
license hash which changed due to an update in year:
https://github.com/micropython/micropython/commit/338b12d3c840ea56504c83d9c51e4d0f628684f4

While at it, also update indentation in hash file (two spaces)

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/gstreamer1/gst1-plugins-base: gl needs api, platform and window
Fabrice Fontaine [Tue, 12 Nov 2019 19:37:56 +0000 (20:37 +0100)]
package/gstreamer1/gst1-plugins-base: gl needs api, platform and window

Build will fail if gl is enabled without an api, a platform and a
window:

Message: No OpenGL Platforms found or requested
Message: No OpenGL Window systems found or requested

gst-libs/gst/gl/meson.build:948:2: ERROR: Problem encountered: GStreamer OpenGL integration required via options, but needed dependencies not found.

This requirement is already specified in Config.in through a simple
comment:

comment "The opengl library needs an API, a platform and a window system"
depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL

Fixes:
 - http://autobuild.buildroot.org/results/d171059801adf8dea1a2116d7c729a2aa5767ac8
 - http://autobuild.buildroot.org/results/b1bfa505bba534440d331c4948eea5eb2d165c97

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/altera-stapl: new package
Jochen Baltes [Fri, 24 Jan 2020 15:16:24 +0000 (15:16 +0000)]
package/altera-stapl: new package

Alteras Jam STAPL Bytecode Player with 64-bit support.
This is a user-space port of the altera-stapl driver from the linux kernel.
The source released by Altera wasn't 64-bit compatible.
Additionally, the linux version is much cleaner and old cruft was removed.

Signed-off-by: Jochen Baltes <jochen.baltes@gmail.com>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr: use the latest HEAD of the repository]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/asn1c: new host package
Sergio Prado [Fri, 10 Jan 2020 21:14:20 +0000 (18:14 -0300)]
package/asn1c: new host package

The asn1c is a free, open source compiler of ASN.1 specifications into C
source code.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Reviewed-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-meson: ensure the global cross-compilation.conf file is correct
Thomas Petazzoni [Wed, 4 Dec 2019 15:02:25 +0000 (16:02 +0100)]
package/pkg-meson: ensure the global cross-compilation.conf file is correct

Currently, the cross-compilation.conf installed in
$(HOST_DIR)/etc/meson/cross-compilation.conf for use by the SDK is
generated in a post-install-staging hook of the toolchain package.

With per-package directory support enabled, this means that the
generated cross-compilation.conf contains references to the
per-package directory of the toolchain/ package, which is not want we
want:

[binaries]
c = '/home/thomas/projets/buildroot/output/per-package/toolchain/host/bin/arm-linux-gcc'
cpp = '/home/thomas/projets/buildroot/output/per-package/toolchain/host/bin/arm-linux-g++'
ar = '/home/thomas/projets/buildroot/output/per-package/toolchain/host/bin/arm-linux-ar'
strip = '/home/thomas/projets/buildroot/output/per-package/toolchain/host/bin/arm-linux-strip'
pkgconfig = '/home/thomas/projets/buildroot/output/per-package/toolchain/host/usr/bin/pkg-config'

So instead, we generate this file in TOOLCHAIN_TARGET_FINALIZE_HOOKS,
so that the global paths are used:

[binaries]
c = '/home/thomas/projets/buildroot/output/host/bin/arm-linux-gcc'
cpp = '/home/thomas/projets/buildroot/output/host/bin/arm-linux-g++'
ar = '/home/thomas/projets/buildroot/output/host/bin/arm-linux-ar'
strip = '/home/thomas/projets/buildroot/output/host/bin/arm-linux-strip'
pkgconfig = '/home/thomas/projets/buildroot/output/host/usr/bin/pkg-config'

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-shark: bump version to v0.7.1
Chris Packham [Mon, 14 Sep 2020 08:58:31 +0000 (20:58 +1200)]
package/gstreamer1/gst1-shark: bump version to v0.7.1

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/micropython: bump version to 1.13
Chris Packham [Mon, 14 Sep 2020 08:58:30 +0000 (20:58 +1200)]
package/micropython: bump version to 1.13

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/syslog-ng: bump to 3.29.1
Chris Packham [Mon, 14 Sep 2020 08:58:29 +0000 (20:58 +1200)]
package/syslog-ng: bump to 3.29.1

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/systemd: bump version to 246.5
Norbert Lange [Mon, 14 Sep 2020 14:47:27 +0000 (16:47 +0200)]
package/systemd: bump version to 246.5

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/f2fs-tools: bump version to 1.14.0
Norbert Lange [Mon, 14 Sep 2020 14:46:04 +0000 (16:46 +0200)]
package/f2fs-tools: bump version to 1.14.0

Remove upstreamed patches.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ipmitool: fix CVE-2020-5208
Heiko Thiery [Mon, 14 Sep 2020 13:20:55 +0000 (15:20 +0200)]
package/ipmitool: fix CVE-2020-5208

Add several upstream patches that are made to fix this CVE. Since there
is still no dated plan to release a new version add this bunch of
patches.

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/localedef: depend host build on python3
Michael Nosthoff [Mon, 14 Sep 2020 09:47:04 +0000 (11:47 +0200)]
package/localedef: depend host build on python3

Just like glibc, host-localedef needs python3 on the host to
build... since host-localedef is basically using the sources of glibc.

Fixes:

checking if /build/build/per-package/host-localedef/host/bin/ccache
/usr/bin/gcc is sufficient to build libc... yes
checking for x86_64-pc-linux-gnu-nm... /usr/bin/nm
checking for python3... no
checking for python... python
checking version of python... 2.7.18, bad
configure: error:
*** These critical programs are missing or too old: python
*** Check the INSTALL file for required versions.

As reported at:

  http://lists.busybox.net/pipermail/buildroot/2020-September/291929.html

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mutt: bump to version 1.14.7
Fabrice Fontaine [Mon, 14 Sep 2020 17:52:28 +0000 (19:52 +0200)]
package/mutt: bump to version 1.14.7

This is a bug-fix release, fixing a variety of small issues.

https://gitlab.com/muttmua/mutt/raw/stable/ChangeLog

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libpfm4: bump to version 4.11.0
Fabrice Fontaine [Mon, 14 Sep 2020 17:46:19 +0000 (19:46 +0200)]
package/libpfm4: bump to version 4.11.0

Major updates:
 - AMD Zen1 core PMU updates
 - AMD Zen2 core PMU support
 - Intel Icelake core PMU support
 - support to report if events are speculative
 - support for Extended PEBS events on Icelake
 - Intel Tremont core PMU support
 - ARM Neoverse N1 core PMU support
 - s390 event table updates
 - Marvell TX2 core and uncore updates
 - Intel CascadeLakeX uncore PMU support
 - Various other event table updates and bug fixes

http://perfmon2.sourceforge.net/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libupnpp: bump to version 0.19.4
Fabrice Fontaine [Mon, 14 Sep 2020 17:36:21 +0000 (19:36 +0200)]
package/libupnpp: bump to version 0.19.4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnpupnp: bump to version 4.0.11
Fabrice Fontaine [Mon, 14 Sep 2020 17:36:20 +0000 (19:36 +0200)]
package/libnpupnp: bump to version 4.0.11

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libuhttpd: fix tarball name in hash file
Fabrice Fontaine [Mon, 14 Sep 2020 17:16:59 +0000 (19:16 +0200)]
package/libuhttpd: fix tarball name in hash file

Commit 819a4207f6a5c3b579cb5191b03b51ebec4298ff forgot to rename
libuhttpd-3.2.0.tar.gz

Fixes:
 - http://autobuild.buildroot.org/results/965be1c72996df94668be81d1e90ed6937fb9a7c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pdmenu: bump to version 1.3.6
Fabrice Fontaine [Mon, 14 Sep 2020 05:47:19 +0000 (07:47 +0200)]
package/pdmenu: bump to version 1.3.6

- Update site to get latest release
- Update indentation in hash file
- This bump will also fix a build failure with gcc 10 thanks to
  https://git.joeyh.name/index.cgi/pdmenu.git/commit/?id=1a2dce9aaa6cdd0406f0be666929562d3b4521ff

Fixes:
 - http://autobuild.buildroot.org/results/78946a381f9f70975b41d24b0b050ba2073d6ef8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libuhttpd: bump version to 3.3.0
Jianhui Zhao [Mon, 14 Sep 2020 02:42:50 +0000 (10:42 +0800)]
package/libuhttpd: bump version to 3.3.0

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/librsvg: fix license
Fabrice Fontaine [Sun, 13 Sep 2020 20:49:20 +0000 (22:49 +0200)]
package/librsvg: fix license

Commit df20e4546384d1c249a6a0541183590671e83d77 forgot to update hash of
COPYING.LIB which has been updated to use LGPL-2.1+ in version 2.47.0:
https://github.com/GNOME/librsvg/commit/96b34f865dc8465d2ab93c7ae8344178b0ea7ed7

Fixes:
 - http://autobuild.buildroot.org/results/94fde5707a1104548c3386b628c92ebc9e034285

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/docker-engine: bump to version 19.03.12
Christian Stewart [Sun, 13 Sep 2020 00:16:57 +0000 (17:16 -0700)]
package/docker-engine: bump to version 19.03.12

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/docker-cli: bump to version 19.03.12
Christian Stewart [Sun, 13 Sep 2020 00:16:56 +0000 (17:16 -0700)]
package/docker-cli: bump to version 19.03.12

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/docker-containerd: bump to version 1.4.0
Christian Stewart [Sun, 13 Sep 2020 00:16:55 +0000 (17:16 -0700)]
package/docker-containerd: bump to version 1.4.0

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/runc: bump to version 1.0.0-rc92
Christian Stewart [Sun, 13 Sep 2020 00:16:54 +0000 (17:16 -0700)]
package/runc: bump to version 1.0.0-rc92

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/efl: depends on gcc >= 4.9
Fabrice Fontaine [Sun, 13 Sep 2020 16:53:36 +0000 (18:53 +0200)]
package/efl: depends on gcc >= 4.9

efl depends on C++11 since version 1.22.0 and
https://github.com/Enlightenment/efl/commit/ac95f38d1b06ac6977ea6d8b9f14f9405396858f

Fixes:
 - http://autobuild.buildroot.org/results/458ec719a7251b59796edfc865b7226baaed6d8f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sofia-sip: fix build without openssl
Fabrice Fontaine [Sun, 13 Sep 2020 16:52:26 +0000 (18:52 +0200)]
package/sofia-sip: fix build without openssl

HTTP-related modules are enabled by default and depend on openssl since
https://github.com/freeswitch/sofia-sip/commit/5b4103a12596ea01b4cdbb21b75826a085d557aa

Fixes:
 - http://autobuild.buildroot.org/results/95b6c489fed07d6fe626200ea057c83756d54deb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sofia-sip: fix static build with openssl
Fabrice Fontaine [Sun, 13 Sep 2020 16:52:25 +0000 (18:52 +0200)]
package/sofia-sip: fix static build with openssl

Use --with-openssl=pkg-config otherwise sofia-sip will fail to retrieve
openssl dependencies resulting in the following build failure:

/srv/storage/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.a(tport_type_ws.o): in function `tport_ws_deinit_primary':
tport_type_ws.c:(.text+0x2c): undefined reference to `SSL_CTX_free'
/srv/storage/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.a(tport_type_ws.o): in function `tport_ws_init_primary_secure':

pkg-config option has been added to freeswitch sofia-sip since 2007 and
https://github.com/freeswitch/sofia-sip/commit/044ac9d8fa7e840cf3e38c3fa7f8cacd0d21b3ea

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kexec: fix build with gcc 10
Fabrice Fontaine [Sun, 13 Sep 2020 16:51:23 +0000 (18:51 +0200)]
package/kexec: fix build with gcc 10

Fixes:
 - http://autobuild.buildroot.org/results/89b6337db9efc55aaa422fc9964f942b6d4cd5f7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libcap: needs MMU
Fabrice Fontaine [Sun, 13 Sep 2020 16:50:48 +0000 (18:50 +0200)]
package/libcap: needs MMU

libcap uses fork() since version 2.33 and
https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git/commit/?id=ef485973d5547431782f9e5f4323eabfebb38622

So add MMU dependency to avoid the following build failure on
applications using libcap without MMU such as ntp:

/tmp/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: /tmp/instance-0/output-1/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libcap.a(cap_proc.o): in function `cap_launch':
/tmp/instance-0/output-1/build/libcap-2.42/libcap/cap_proc.c:912: undefined reference to `fork'

All packages that select BR2_PACKAGE_LIBCAP already have a BR2_USE_MMU
dependency, so none of them have to be changed.

Fixes:

 - http://autobuild.buildroot.org/results/89f39dae01c07977062b909079bfcd45a68060d3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/htpdate: fix build with static openssl
Titouan Christophe [Sat, 12 Sep 2020 15:05:27 +0000 (17:05 +0200)]
package/htpdate: fix build with static openssl

Depending on its build configuration, openssl might not be compiled with
dynamic zlib support, and programs that link against openssl need to link
against zlib as well.

This can be generally and easily handled using the pkg-config files
installed by openssl.

Fixes: http://autobuild.buildroot.net/results/ae9/ae946ca72238840b3eaa5fe823e8d620618f7462/
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ghostscript: security bump to version 9.53.0
Fabrice Fontaine [Sat, 12 Sep 2020 16:59:07 +0000 (18:59 +0200)]
package/ghostscript: security bump to version 9.53.0

- Use tar.gz as SHA512SUMS does not contain the hash for tar.xz
- Fix CVE-2020-15900: A memory corruption issue was found in Artifex
  Ghostscript 9.50 and 9.52. Use of a non-standard PostScript operator
  can allow overriding of file access controls. The 'rsearch'
  calculation for the 'post' size resulted in a size that was too large,
  and could underflow to max uint32_t.

https://www.ghostscript.com/doc/9.53.0/News.htm

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/re2: needs threads
Fabrice Fontaine [Sat, 12 Sep 2020 17:04:20 +0000 (19:04 +0200)]
package/re2: needs threads

re2 unconditionally uses -pthread and add it to re2.pc

Moreover, it fails to buid without threads on:

In file included from /home/peko/autobuild/instance-0/output-1/per-package/re2/host/opt/ext-toolchain/arm-buildroot-linux-uclibcgnueabihf/include/c++/8.3.0/arm-buildroot-linux-uclibcgnueabihf/bits/os_defines.h:39,
                 from /home/peko/autobuild/instance-0/output-1/per-package/re2/host/opt/ext-toolchain/arm-buildroot-linux-uclibcgnueabihf/include/c++/8.3.0/arm-buildroot-linux-uclibcgnueabihf/bits/c++config.h:508,
                 from /home/peko/autobuild/instance-0/output-1/per-package/re2/host/opt/ext-toolchain/arm-buildroot-linux-uclibcgnueabihf/include/c++/8.3.0/bits/stl_algobase.h:59,
                 from /home/peko/autobuild/instance-0/output-1/per-package/re2/host/opt/ext-toolchain/arm-buildroot-linux-uclibcgnueabihf/include/c++/8.3.0/memory:62,
                 from /home/peko/autobuild/instance-0/output-1/build/re2-2020-08-01/re2/filtered_re2.h:24,
                 from /home/peko/autobuild/instance-0/output-1/build/re2-2020-08-01/re2/filtered_re2.cc:5:
/home/peko/autobuild/instance-0/output-1/per-package/re2/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp]
 #   warning requested reentrant code, but thread support was disabled
     ^~~~~~~
In file included from /home/peko/autobuild/instance-0/output-1/build/re2-2020-08-01/re2/prog.h:22,
                 from /home/peko/autobuild/instance-0/output-1/build/re2-2020-08-01/re2/bitstate.cc:28:
/home/peko/autobuild/instance-0/output-1/build/re2-2020-08-01/re2/re2.h:768:16: error: 'once_flag' in namespace 'std' does not name a type
   mutable std::once_flag rprog_once_;
                ^~~~~~~~~
/home/peko/autobuild/instance-0/output-1/build/re2-2020-08-01/re2/re2.h:768:11: note: 'std::once_flag' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
/home/peko/autobuild/instance-0/output-1/build/re2-2020-08-01/re2/re2.h:218:1:
+#include <mutex>

Fixes:
 - http://autobuild.buildroot.org/results/7d7c6dcac3cb8ea6deb753178e85eb1c5c74c8e3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/memtester: fix build with gcc 10
Fabrice Fontaine [Fri, 11 Sep 2020 19:46:58 +0000 (21:46 +0200)]
package/memtester: fix build with gcc 10

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/motion: fix build with gcc 10
Fabrice Fontaine [Fri, 11 Sep 2020 19:59:42 +0000 (21:59 +0200)]
package/motion: fix build with gcc 10

Fixes:
 - http://autobuild.buildroot.org/results/99d99dad219776e88aaedcaaf38eb4530d0870ed

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libssh: security bump to version 0.9.5
Fabrice Fontaine [Fri, 11 Sep 2020 21:03:06 +0000 (23:03 +0200)]
package/libssh: security bump to version 0.9.5

- Drop patches (already in version)
- Fix CVE-2020-16135: libssh 0.9.4 has a NULL pointer dereference in
  tftpserver.c if ssh_buffer_new returns NULL.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnetconf2: drop patch
Heiko Thiery [Sat, 12 Sep 2020 08:10:11 +0000 (10:10 +0200)]
package/libnetconf2: drop patch

With updating libssh to version 0.9.5 this patch is no longer needed.

http://lists.busybox.net/pipermail/buildroot/2020-September/291986.html

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python: do not install MS Windows installers on the target
Titouan Christophe [Sat, 12 Sep 2020 11:56:22 +0000 (13:56 +0200)]
package/python: do not install MS Windows installers on the target

Buildroot generates Linux systems, so there is no need to have
MS Windows executables in there.

This reduces the target filesystem size by about 600kB:
$ du -hcs usr/lib/python2.7/distutils/command/wininst-*.exe
60K usr/lib/python2.7/distutils/command/wininst-6.0.exe
64K usr/lib/python2.7/distutils/command/wininst-7.1.exe
60K usr/lib/python2.7/distutils/command/wininst-8.0.exe
192K    usr/lib/python2.7/distutils/command/wininst-9.0.exe
220K    usr/lib/python2.7/distutils/command/wininst-9.0-amd64.exe
596K    total

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python3: do not install MS Windows installers on the target
Titouan Christophe [Sat, 12 Sep 2020 11:56:21 +0000 (13:56 +0200)]
package/python3: do not install MS Windows installers on the target

Buildroot generates Linux systems, so there is no need to have
MS Windows executables in there.

This reduces the target filesystem size by about 2MB:
$ du -hcs usr/lib/python3.8/distutils/command/wininst-*.exe
60K usr/lib/python3.8/distutils/command/wininst-6.0.exe
64K usr/lib/python3.8/distutils/command/wininst-7.1.exe
60K usr/lib/python3.8/distutils/command/wininst-8.0.exe
192K    usr/lib/python3.8/distutils/command/wininst-9.0.exe
220K    usr/lib/python3.8/distutils/command/wininst-9.0-amd64.exe
188K    usr/lib/python3.8/distutils/command/wininst-10.0.exe
220K    usr/lib/python3.8/distutils/command/wininst-10.0-amd64.exe
448K    usr/lib/python3.8/distutils/command/wininst-14.0.exe
576K    usr/lib/python3.8/distutils/command/wininst-14.0-amd64.exe
2,0M    total

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/librsvg: bump to version 2.48.8
Fabrice Fontaine [Sat, 12 Sep 2020 17:24:00 +0000 (19:24 +0200)]
package/librsvg: bump to version 2.48.8

- Add a dependency to host-rustc
- libcroco is not a dependency since
  https://gitlab.gnome.org/GNOME/librsvg/-/commit/03ce9bd7875ef2a91979bc4f7d6fa5188cfd785c
- gtk3 is not a dependency since
  https://gitlab.gnome.org/GNOME/librsvg/-/commit/522aeee0ca9b4ff3940bea2d13ebb77ec6c064a6
- cairo script is mandatory since switch to rust

This bump is needed to remove libcroco which has been archived and won't
get any security updates anymore:
https://gitlab.gnome.org/Archive/libcroco/-/issues/8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cairo: enable script for host
Fabrice Fontaine [Sat, 12 Sep 2020 17:23:59 +0000 (19:23 +0200)]
package/cairo: enable script for host

script support on host-cairo is needed for host-librsvg

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cairo: enable gobject for host
Fabrice Fontaine [Sat, 12 Sep 2020 17:23:58 +0000 (19:23 +0200)]
package/cairo: enable gobject for host

gobject is needed for host-librsvg

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/go: bump to 1.15.2
Christian Stewart [Sat, 12 Sep 2020 23:49:35 +0000 (16:49 -0700)]
package/go: bump to 1.15.2

go1.15.2 (released 2020/09/09) includes fixes to the compiler, runtime,
documentation, the go command, and the net/mail, os, sync, and testing packages.

https://golang.org/doc/devel/release.html#go1.15

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/babeltrace2: disable -Werror
Fabrice Fontaine [Sat, 12 Sep 2020 18:57:54 +0000 (20:57 +0200)]
package/babeltrace2: disable -Werror

Add an upstream patch that disable -Werror to avoid the following build
failure:

lttng-live.c: In function 'lttng_live_msg_iter_next':
lttng-live.c:1226:15: error: 'stream_iter' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     int ret = common_muxing_compare_messages(
               ^
lttng-live.c:1198:38: note: 'stream_iter' was declared here
   struct lttng_live_stream_iterator *stream_iter;
                                      ^
lttng-live.c: At top level:
cc1: error: unrecognized command line option '-Wno-cast-function-type' [-Werror]
cc1: all warnings being treated as errors

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xerces: fix typo, which re-enables package
Thomas Petazzoni [Sun, 13 Sep 2020 13:30:24 +0000 (15:30 +0200)]
package/xerces: fix typo, which re-enables package

Commit 4e60247be67a8e7f9937a8bf2b123ddb2be9dad2 ("package/xerces: fix
coding style in Config.in") introduced a silly typo in the xerces
package depends on... which effectively made it impossible to enable
this package as the "USE_WCHAR" option does not exist.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/haveged: change systemd service file to run earlier
Norbert Lange [Tue, 9 Jun 2020 22:41:15 +0000 (00:41 +0200)]
package/haveged: change systemd service file to run earlier

Drop default dependencies, haveged needs nothing but local sockets and
/dev/random.

The service file now mostly matches the upstream Fedora file, except a
lot of isolation options have been dropped. The benefit for a
completely controlled system is small, and those option would pull in
dependencies, delaying entropy being filled up.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/gnuconfig: bump version
Alexander Egorenkov [Sun, 13 Sep 2020 11:32:43 +0000 (13:32 +0200)]
support/gnuconfig: bump version

Fixes issues with the triple on IBM s390x and Z machines.

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
[yann.morin.1998@free.fr: update both, using the update script]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/scripts/pycompile: add --verbose option
Robin Jarry [Thu, 10 Sep 2020 08:32:52 +0000 (10:32 +0200)]
support/scripts/pycompile: add --verbose option

Add a new option that prints the (runtime) path of compiled .py files
when VERBOSE=1 is set.

Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/scripts/pycompile: fix .pyc original source file paths
Robin Jarry [Thu, 10 Sep 2020 08:32:51 +0000 (10:32 +0200)]
support/scripts/pycompile: fix .pyc original source file paths

When generating a .pyc file, the original .py source file path is
encoded in it. It is used for various purposes: traceback generation,
.pyc file comparison with its .py source, and code inspection.

By default, the source path used when invoking compileall is encoded in
the .pyc file. Since we use paths relative to TARGET_DIR, we end up with
paths that are only valid when relative to '/' encoded in the installed
.pyc files on the target.

This breaks code inspection at runtime since the original source path
will be invalid unless the code is executed from '/'.

Unfortunately, compileall cannot be forced to use the proper path. It
was not written with cross-compilation usage in mind.

Rework the script to call py_compile.compile() directly with pertinent
options:

- The script now has a new --strip-root argument. This argument is
  optional but will always be specified when compiling py files in
  buildroot.
- All other (non-optional) arguments are folders in which all
  "importable" .py files will be compiled to .pyc.
- Using --strip-root=$(TARGET_DIR), the future runtime path of each .py
  file is computed and encoded into the compiled .pyc.

No need to change directory before running the script anymore.

The trickery used to handle error reporting was only applicable with
compileall. Since we implement our own "compileall", error reporting
becomes trivial.

Previously, we had a --force option to tell compileall.compiledir() to
forcibly recompile files if they had changed. Now, we would have to
handle it ourselves. It turns out to not be easy and would need us to
delve into the format of bytecompiled files to extract metadata and
compare it with the expected values, that being even dependent on the
python version being used (fortunately, only two for us: python 2.7 and
the latext 3.x).

Still, this is deemed too complex, and byte-compiling is pretty fast, so
much so that it should be eclipsed by the build duration anyway.

So we just drop support for --force, and instead we always byte-compile.

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
[yann.morin.1998@free.fr:
  - always byte-compile
  - drop --force
  - expand commit log to state so and explain why
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/kontron_smarc_sal28: new defconfig
Michael Walle [Thu, 4 Jun 2020 22:11:22 +0000 (00:11 +0200)]
configs/kontron_smarc_sal28: new defconfig

Now that upstream supports this board add buildroot support for it,
too.

This supports:
 - latest upstream linux kernel. Since the support for this board and
   its SoC is still in active development, we want to follow the
   upstream kernel releases for now.
 - building an image which can be installed to eMMC, SD card or USB
   thumb drive.
 - upstream u-boot patches are pending, therefore no support for
   building a bootloader for now.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Heiko Thiery <heiko.thiery@gmail.com>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/babeltrace2: new package
Philippe Proulx [Tue, 23 Jun 2020 20:01:53 +0000 (16:01 -0400)]
package/babeltrace2: new package

Babeltrace 2 is a trace manipulation toolkit.

The Babeltrace 2 project offers a library with a C API, Python 3
bindings, and a command-line tool which makes it very easy for mere
mortals to view, convert, transform, and analyze traces.

See <https://babeltrace.org/> for more details.

Babeltrace 2 is a major update of Babeltrace 1 (Buildroot package
`lttng-babeltrace`). Both projects are coinstallable. Except for the
command-line tool (named `babeltrace2`), the Babeltrace 2 project is not
backward compatible with Babeltrace 1.

I'm naming this package `babeltrace2` instead of `lttng-babeltrace2`
because, although it can read LTTng traces, the two projects are
independent. All major distributions use `babeltrace2` as the
Babeltrace 2 package's name.

I'm keeping the `lttng-babeltrace` package because, as of this date, we
still add bug and security fixes from time to time, therefore the
project is not in EOL stage. Some external, custom packages could still
depend on the Babeltrace 1 library, for example.

As with `lttng-babeltrace`, you can build and install the host version
of Babeltrace 2 for the workflow where you trace the target, download
the resulting trace (or receive it during the tracing process), and then
read and analyze it with Babeltrace 2.

If you enable the `elfutils` package (`BR2_PACKAGE_ELFUTILS`), then
support for Babeltrace 2's debugging information filter component
class is enabled.

Tested with glibc, uClibc-ng, and musl.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/weston-imx: remove deprecated package
Gary Bisson [Fri, 19 Jun 2020 12:55:00 +0000 (14:55 +0200)]
package/weston-imx: remove deprecated package

- the package couldn't be selected with vivante backend anyway since
  the split
- the package couldn't be updated to newer versions as it would imply
  forking libdrm and wayland-protocols for it to build
- drawback of not using NXP weston is the lack of G2D support, let's
  have it as a known issue for Buildroot but use standard weston
  package

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/weston: add imx-gpu-viv as possible egl provider
Gary Bisson [Fri, 19 Jun 2020 12:54:59 +0000 (14:54 +0200)]
package/weston: add imx-gpu-viv as possible egl provider

As the imx-gpu-viv package provides both EGL and gbm libraries.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/harfbuzz: change to meson build
Peter Seiderer [Thu, 10 Sep 2020 18:18:55 +0000 (20:18 +0200)]
package/harfbuzz: change to meson build

- add defaults for all meson options (and order according to
  meson_options.txt file)
- drop pthread linking flags previously needed for the test
  programs (maybe not needed by meson, tests disabled by option)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/harfbuzz: bump version to 2.7.2
Peter Seiderer [Thu, 10 Sep 2020 18:18:54 +0000 (20:18 +0200)]
package/harfbuzz: bump version to 2.7.2

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/harfbuzz: bump to version 2.6.8
Francois Perrad [Thu, 10 Sep 2020 13:26:13 +0000 (15:26 +0200)]
package/harfbuzz: bump to version 2.6.8

- update home page URL (old one is redirected to github)
- change download to new location (github)
- update license hash because of copyright year update:

diff COPING:
-Copyright © 2010,2011,2012,2013,2014,2015,2016,2017,2018,2019  Google, Inc.
-Copyright © 2019  Facebook, Inc.
+Copyright © 2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020  Google, Inc.
+Copyright © 2018,2019,2020  Ebrahim Byagowi
+Copyright © 2019,2020  Facebook, Inc.

note: newer versions (2.7.x) require a migration to meson
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nginx-upload: bump to latest version
Robert Hancock [Thu, 10 Sep 2020 16:48:42 +0000 (10:48 -0600)]
package/nginx-upload: bump to latest version

Update nginx-upload to a newer Git commit which adds upload support over
HTTP2 as well as other fixes.

Remove a patch which is no longer required in the current version.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/graphicsmagick: add support for webp image format
Grzegorz Blach [Thu, 10 Sep 2020 15:50:54 +0000 (17:50 +0200)]
package/graphicsmagick: add support for webp image format

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/olpc/xo-1.75: enable drivers that were added in 5.8
Lubomir Rintel [Fri, 11 Sep 2020 06:00:23 +0000 (08:00 +0200)]
board/olpc/xo-1.75: enable drivers that were added in 5.8

This notably makes sound work.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoconfigs/olpc_xo175_defconfig: bump kernel version to 5.8.2
Lubomir Rintel [Fri, 11 Sep 2020 06:00:22 +0000 (08:00 +0200)]
configs/olpc_xo175_defconfig: bump kernel version to 5.8.2

Update kernel to version 5.8.2.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
[Peter: explicitly select 5.8 headers]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/iptables: fix static build
Fabrice Fontaine [Wed, 9 Sep 2020 19:46:19 +0000 (21:46 +0200)]
package/iptables: fix static build

Static build of iptables 1.8.5 fails on:

/srv/storage/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../libxtables/.libs/libxtables.a(libxtables_la-xtables.o): in function `dlreg_free':
/srv/storage/autobuild/run/instance-3/output-1/build/iptables-1.8.5/libxtables/xtables.c:235: undefined reference to `dlclose'

Issue has been added with
https://git.netfilter.org/iptables/commit/?id=7db4333dc0b6cd8e943fab78d6dab40ff9f4512e

Fixes:
 - http://autobuild.buildroot.org/results/00f551be87507757a78e332f2859b1e7b3190363

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/subversion: drop first patch
Fabrice Fontaine [Thu, 10 Sep 2020 05:50:23 +0000 (07:50 +0200)]
package/subversion: drop first patch

First patch is not needed since version 1.8.0 and
https://github.com/apache/subversion/commit/f071ec0c26cdf47e89fa90b31d2233ee1a2b00c2

Indeed, as spotted by upstream when sending them this patch, the
original expressions will not mangle '-mfloat-gprs=double' because the
patterns contain a trailing space.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoboot/afboot-stm32: fix build with gcc 10
Thomas Petazzoni [Thu, 10 Sep 2020 09:46:08 +0000 (11:46 +0200)]
boot/afboot-stm32: fix build with gcc 10

This commit adds a patch that passes -fno-builtin to fix the build
with gcc 10. The patch has been submitted upstream.

There are no autobuilder failures, since it's a bootloader package,
and therefore not tested by the autobuilders. However, a build failure
was detected when building toolchains and a minimal ARMv7-M system at
https://gitlab.com/bootlin/toolchains-builder/-/jobs/729359529.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/opentyrian: fix build with gcc 10
Fabrice Fontaine [Thu, 10 Sep 2020 17:09:23 +0000 (19:09 +0200)]
package/opentyrian: fix build with gcc 10

Fixes:
 - http://autobuild.buildroot.org/results/241b594bab63b2eeceb749e01510da550ed0ffd1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/trinity: fix build with gcc 10
Fabrice Fontaine [Thu, 10 Sep 2020 17:00:59 +0000 (19:00 +0200)]
package/trinity: fix build with gcc 10

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/musepack: fix build with gcc 10
Fabrice Fontaine [Thu, 10 Sep 2020 16:56:30 +0000 (18:56 +0200)]
package/musepack: fix build with gcc 10

Fixes:
 - http://autobuild.buildroot.org/results/9971da8c59484a6a26eb79d6e157461a47855dbf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libcap: fix static linking issues
Thomas Petazzoni [Wed, 9 Sep 2020 21:02:50 +0000 (23:02 +0200)]
package/libcap: fix static linking issues

Since the bump of libcap to 2.42, host-libcap unconditionally tries to
build a shared library, which fails on build machines where the static
version of the C library is not available.

This issue was reported upstream, who fixed it by two different
commits, which are backported as patches 0001 and 0002. They require
passing a DYNAMIC= value, which should be "yes" to enable dynamic
linking, or empty when not using dynamic linking.

However, other upstream changes broke our logic to support static-only
linking for the target. So we introduce a 0003 patch which extends how
the DYNAMIC flag is used to disable the build of the shared library in
the libcap/ folder. This allows to greatly simplify libcap.mk.

Note that the refactoring is mixed with the fix: the two are hardly
splitable. We need to be able to pass the same options at all steps, and
especially the staging step, otherwise some code gets compiled with the
host compiler, installed in staging, and thus fails the architecture
check later on.

Fixes:

  host-libcap build failure on system without a static libc
  http://autobuild.buildroot.net/results/4b14458014e420ffe088f118e7d0261e67f2d551/

  libcap build failure on static only systems
  http://autobuild.buildroot.net/results/8961759067c4639ae697b6ee5db606f098b7c7e8/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr:
  - also pass DYNAMIC=yes at host-install step
  - extend commit log to explain why we refactor and fix together
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wlroots: always disable xcb-errors
Adrian Perez de Castro [Wed, 9 Sep 2020 21:37:56 +0000 (00:37 +0300)]
package/wlroots: always disable xcb-errors

Stop trying to enable the xcb-errors Meson option and always disable it:
there is no xcb-util-errors package in Buildroot. The build recipe was
wrongly assuming that the XCB errors library would be installed as part
of the xcb-util package, which is not the case.

Fixes the following autobuilder failure:

  http://autobuild.buildroot.net/results/1891aa624b29e4bbcbbe6bc752a1cc90c316024e/

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libxml-parser-perl: use the compiler as "LD"
Thomas Petazzoni [Wed, 9 Sep 2020 21:34:04 +0000 (23:34 +0200)]
package/libxml-parser-perl: use the compiler as "LD"

Since commit efa95b19aeab6bdcd7d5a620e199c2c32cf2516b
("package/libxml-parser-perl: make host build use correct compiler"),
we pass $(HOST_CONFIGURE_OPTS) when building host-libxml-parser-perl,
in order to use the correct host compiler.

However, this means that LD="$(HOSTLD)" is passed. However, the
host-libxml-parser-perl passes compiler arguments to LD, so it really
assumes that LD is gcc, not ld. For example, it tries to pass
-mtune=generic.

So, let's tell host-libxml-parser-perl that LD is "$(HOSTCC)".

Fixes:

  http://autobuild.buildroot.net/results/2ed2e5ccefe9047c597f84d5880de2e8de2bdd94/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>