buildroot.git
5 years agopackage/x11r7/xapp_bdftopcf: add license hash
Adam Duskett [Mon, 1 Jul 2019 22:26:22 +0000 (18:26 -0400)]
package/x11r7/xapp_bdftopcf: add license hash

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/wayland: add license hash
Adam Duskett [Mon, 1 Jul 2019 22:26:21 +0000 (18:26 -0400)]
package/wayland: add license hash

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/rpi-userland: add license hash
Adam Duskett [Mon, 1 Jul 2019 22:26:20 +0000 (18:26 -0400)]
package/rpi-userland: add license hash

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/rpi-firmware: add license hash
Adam Duskett [Mon, 1 Jul 2019 22:26:19 +0000 (18:26 -0400)]
package/rpi-firmware: add license hash

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[Arnout: fix path to license file]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/mtools: add license hash
Adam Duskett [Mon, 1 Jul 2019 22:26:18 +0000 (18:26 -0400)]
package/mtools: add license hash

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libtheora: add license hashes
Adam Duskett [Mon, 1 Jul 2019 22:26:17 +0000 (18:26 -0400)]
package/libtheora: add license hashes

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libsigc: add license hash
Adam Duskett [Mon, 1 Jul 2019 22:26:16 +0000 (18:26 -0400)]
package/libsigc: add license hash

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libsha1: add license hash
Adam Duskett [Mon, 1 Jul 2019 22:26:15 +0000 (18:26 -0400)]
package/libsha1: add license hash

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libpthread-stubs: add license hash
Adam Duskett [Mon, 1 Jul 2019 22:26:14 +0000 (18:26 -0400)]
package/libpthread-stubs: add license hash

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/dosfstools: add license hash
Adam Duskett [Mon, 1 Jul 2019 22:26:13 +0000 (18:26 -0400)]
package/dosfstools: add license hash

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/x11r7/xlib_libX11: don't require static libc on host
Adam Duskett [Mon, 1 Jul 2019 19:48:00 +0000 (15:48 -0400)]
package/x11r7/xlib_libX11: don't require static libc on host

As per: https://gitlab.freedesktop.org/xorg/lib/libx11/commit/4645e219133458781e3fb48eaea6a74cccb1b9aa

"For Windows targets, libtool uses a wrapper executable, not a wrapper
script (see [1]), which it compiles with the host compiler.  This
doesn't work when cross-compiling."

Because of this change, builds fail on Linux hosts without a static
libc. This patch reverts this change as we are guaranteed to build in a
Linux environment.

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

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/x11r7/xlib_libX11: backport patch to detach makekeys from X headers.
Adam Duskett [Mon, 1 Jul 2019 19:47:59 +0000 (15:47 -0400)]
package/x11r7/xlib_libX11: backport patch to detach makekeys from X headers.

>From https://gitlab.freedesktop.org/xorg/lib/libx11/commit/0327c427d62f671eced067c6d9b69f4e216a8ca

With 1.6.8, there's no real reason to demand the X
headers be installed for both the build and target machines if cross-
compiling.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/x11r7/xlib_libX11: drop post patch hooks
Adam Duskett [Mon, 1 Jul 2019 19:47:58 +0000 (15:47 -0400)]
package/x11r7/xlib_libX11: drop post patch hooks

X11_CFLAGS no longer exists in version 1.6.8 of libX11, making the
XLIB_LIBX11_DISABLE_MAKEKEYS_X11_CFLAGS post patch hook useless.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoStandardize Adam Duskett's email address
Adam Duskett [Mon, 1 Jul 2019 16:30:29 +0000 (12:30 -0400)]
Standardize Adam Duskett's email address

Globally change Adam Duskett's email address to aduskett@gmail.com.

Note that one or two of the patches may have been applied upstream with
the old email address, but in that case those patches will anyway be
removed when bumping.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/glibmm: bump to version 2.60.0
Adam Duskett [Mon, 1 Jul 2019 16:21:52 +0000 (12:21 -0400)]
package/glibmm: bump to version 2.60.0

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/faad2: add upstream security fixes
Baruch Siach [Mon, 1 Jul 2019 12:43:26 +0000 (15:43 +0300)]
package/faad2: add upstream security fixes

CVE-2018-20194: Stack buffer overflow on invalid input

CVE-2018-20362: Null pointer dereference when processing crafted AAC
input

Add two more crash fixes from upstream.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/ipset: bump to version 7.2
Baruch Siach [Mon, 1 Jul 2019 12:12:56 +0000 (15:12 +0300)]
package/ipset: bump to version 7.2

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/iptables: bump to version 1.8.3
Baruch Siach [Mon, 1 Jul 2019 12:12:55 +0000 (15:12 +0300)]
package/iptables: bump to version 1.8.3

Drop upstream patches.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libnftnl: bump to version 1.1.3
Baruch Siach [Mon, 1 Jul 2019 12:12:54 +0000 (15:12 +0300)]
package/libnftnl: bump to version 1.1.3

Rebase patch #1.

Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoutils/check-package: Add a quiet flag
Brandon Maier [Tue, 2 Jul 2019 18:52:27 +0000 (13:52 -0500)]
utils/check-package: Add a quiet flag

When running in a CI system, stat messages become white noise. Introduce
an option to suppress non-error, non-warning, messages.

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoboot/barebox: needs host-{flex,bison}
Marcin Niestroj [Tue, 2 Jul 2019 20:13:41 +0000 (22:13 +0200)]
boot/barebox: needs host-{flex,bison}

Barebox starting from 2019.02 no longer ships flex/bison generated
parser. Add conditional kconfig dependencies, same as we did for kernel
and uboot.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/irssi: security bump to version 1.0.8
Peter Korsgaard [Wed, 3 Jul 2019 15:52:13 +0000 (17:52 +0200)]
package/irssi: security bump to version 1.0.8

Fixes the following security vulnerability:

CVE-2019-13045: Use after free when sending SASL login to the server found
by ilbelkyr

For more details, see the advisory:
https://irssi.org/security/html/irssi_sa_2019_06/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agocore/pkg-infra: really build all dependencies of foo with foo-depends
Yann E. MORIN [Tue, 2 Jul 2019 20:12:50 +0000 (22:12 +0200)]
core/pkg-infra: really build all dependencies of foo with foo-depends

Currently, foo-depends only builds build dependencies. This means that
download and extract dependencies are not built.

First, but a minor point, this is inconsistent with foo-show-depends,
which does display all dependencies:

    $ make host-gzip-show-depends
    host-skeleton host-tar
    $ make host-gzip-depends
        # Only host-skeleton is built and installed

Second, and more important, it makes it more difficult to preapre a
debug build, like so:

    $ make foo-depends
    $ tar cf output.tar output
    $ make foo
        # bummer, broken
        # edit foo.mk to try and fix it
    $ rm -rf output; tar xf output.tar
        # rince and repeat

Change foo-depends so that it really builds all the dependencies for
foo, bringing it on-par with foo-show-depends.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libglib2: fix build on ARM in Thumb mode
Yann E. MORIN [Mon, 24 Jun 2019 20:25:50 +0000 (22:25 +0200)]
package/libglib2: fix build on ARM in Thumb mode

Commit 4102db0f7 (package/libglib2: bump to version 2.60.3) did convert
libglib2 over to meson. In doing so, it left a very corner-case along.

When the target is an ARM CPU and the build is in thumb mode, then we
want to ensure that libglib2 is still built in arm mode (because of
inline asm).

But with meson, CFLAGS from the environment are passed to the host
compiler, so the build breaks, and the meson log contains:

    Appending CFLAGS from environment: '-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -marm'
    No LDFLAGS in the environment, not changing global flags.
    No CPPFLAGS in the environment, not changing global flags.
    Sanity testing C compiler: cc
    Is cross compiler: False.
    Sanity check compiler command line: cc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -marm [...]/build/libglib2-2.60.4/build/meson-private/sanitycheckc.c -o [...]/build/libglib2-2.60.4/build/meson-private/sanitycheckc.exe
    Sanity check compile stdout:
    -----
    Sanity check compile stderr:
    cc: error: unrecognized command line option ‘-marm’; did you mean ‘-mabm’?
    -----
    meson.build:1:0: ERROR: Compiler cc can not compile programs.

Fix that by using the new per-package CFLAGS feature of the meson infra.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libglib2: fix NLS build on musl and uclibc
Yann E. MORIN [Mon, 24 Jun 2019 20:25:49 +0000 (22:25 +0200)]
package/libglib2: fix NLS build on musl and uclibc

libglib2 uses a very crude and error-prone way to detect the intl
functions, which basically fails when the C library is not glibc.

There is a bug report about this in upstream meson [1], but it doesn't
seem to get any progress. Fixing that properly in Buildroot looks
complicated.

Now that a meson package can specify its LDFLAGS, use that to pass the
infrastructure-provided TARGET_NLS_LIBS to link with.

Fixes:
    http://autobuild.buildroot.org/results/f0d/f0d85d76786343d767fba9c7c5c01f042ecfc018/
    [...]

[1] https://github.com/mesonbuild/meson/issues/3740

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoinfra/pkg-meson: allow packages to pass custom compiler/linker flags
Peter Seiderer [Mon, 24 Jun 2019 20:25:48 +0000 (22:25 +0200)]
infra/pkg-meson: allow packages to pass custom compiler/linker flags

Meson does not allow to pass CFLAGS/LDFLAGS/CXXFLAGS via the environment
or via command-line arguments or options (instead, those flags from the
environment are passed to the host compiler, which is seldom what we
need). The only way to pas those flags is via the cross-compilation.conf
file.

Add LIBFOO_CFLAGS, LIBFOO_LDFLAGS and LIBFOO_CXXFLAGS variables to allow
packages to provide their own flags, possibly overriding the generic
ones entirely, as we allow for other infras. Those per-package flags will
then be used to generate the per-package cross-compilation.conf.

This means that the meson infra is the first and only infra for which
FOO_CFLAGS, FOO_LDFLAGS, and FOO_CXXFLAGS are meaningful, while for the
other infras, they are just variables private to the package itself.
Instead of naming those variables after the meson infra (e.g.
FOO_MESON_CFLAGS), we name them with a generic name, as maybe, just
maybe, we could also change the other infras to also recognise those
variables.

Just like for the HOST_MESON_SED_CFLAGS etc., we need to add auxiliary
variables to do convert the shell-formatted argument list into the
JSON-formatted list that meson expects. We can't use a pure-make
construct because the CFLAGS can contain quoting that needs to be
expanded by the shell. Similarly, we need a condition on the strip'ed
variable to avoid passing empty arguments.

To mimic this feature for packages that are built from the SDK, we also
install a templatised version of cross-compilation.conf, with three new
placeholders for custom flags. If a user wants to build a package that
needs custom flags, they can use that template to generate a per-package
cross-compilation.conf.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/meson: fix empty arguments in cross-compilation.conf
Yann E. MORIN [Mon, 24 Jun 2019 20:25:47 +0000 (22:25 +0200)]
package/meson: fix empty arguments in cross-compilation.conf

When TARGET_CFLAGS (or _LDFLAGS or _CXXFLAGS) are empty, but were
constructed by appending other variables, like:

    TARGET_CFLAGS = $(SOMETHING) $(SOMETHING_ELSE)

and both variables are empty, then $(TARGET_CFLAGS) is _not_ the
null-string; it's value is a string made of a single space.

This means that the construct:

    $(if $(TARGET_CFLAGS),true,false)

will in fact return 'true'.

In our case, it means that we will call:

    `printf '"%s", ' `

which expands to just:

    "",

which we are then happy to insert as-is in the generated
cross-compilation.conf.

Then meson, will happily call the compiler with an empty argument.

The compiler is less happy, though:

    arm-none-linux-gnueabi-gcc: error: : No such file or directory

And this is not even trivial to debug either... The only clue being that
there seems to be something missing between ': :'

We fix that testing the $(strip)ed value. We can still pass the
non-$(strip) expansion, because the shell will just do it for us, and we
are then sure there is at least one non-blank word in there.

Thanks a lot to Adam for his invaluable help debugging this!

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agosupport/testing: openjdk JNI test cases
Daniel J. Leach [Thu, 25 Apr 2019 19:40:45 +0000 (14:40 -0500)]
support/testing: openjdk JNI test cases

This test case builds a native library and ensures a Java class can load
and interact with the native library. The test also verifies Java code
can make system calls via the native library.

Signed-off-by: Daniel J. Leach <dleach@belcan.com>
Acked-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/openjdk and package/openjdk-bin: bump to version 12.0.1+12
Adam Duskett [Fri, 26 Apr 2019 19:32:54 +0000 (15:32 -0400)]
package/openjdk and package/openjdk-bin: bump to version 12.0.1+12

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[Arnout: rebase after change of version formatting]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopython-inflection: new package
John Faith [Mon, 24 Jun 2019 15:45:41 +0000 (15:45 +0000)]
python-inflection: new package

A string transformation library that singularizes and pluralizes English
words, and transforms strings from CamelCase to underscored string.
Inflection is a port of Ruby on Rails' inflector to Python.

https://github.com/jpvanhal/inflection

Signed-off-by: John Faith <jfaith@impinj.com>
[Arnout: select unicodedata, add hash for license file]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/rtmpdump: Add patch to include limits.h
Bernd Kuhls [Mon, 24 Jun 2019 19:20:14 +0000 (21:20 +0200)]
package/rtmpdump: Add patch to include limits.h

Fixes:
http://autobuild.buildroot.net/results/8fd/8fd65149bdbbaf5dcb8e6a9d543f4224875bb156/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/eudev: remove patches
Bernd Kuhls [Mon, 24 Jun 2019 20:19:41 +0000 (22:19 +0200)]
package/eudev: remove patches

Both were committed upstream:
https://github.com/gentoo/eudev/commit/2cb6b734de901dda6e631de5dffbd4cb8e165cbb
https://github.com/gentoo/eudev/commit/906654a0ab73dd488b101a2047c3c6a1205f7548

Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/dialog: fix build with NLS
Fabrice Fontaine [Fri, 28 Jun 2019 20:32:09 +0000 (22:32 +0200)]
package/dialog: fix build with NLS

Fixes:
 - http://autobuild.buildroot.org/results/9287ffbb86a7dc09cda5f99f87445fa884e77625

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/expat: security bump to version 2.2.7
Peter Korsgaard [Fri, 28 Jun 2019 13:26:13 +0000 (15:26 +0200)]
package/expat: security bump to version 2.2.7

Fixes the following security vulnerabilites:

CVE-2018-20843: In libexpat in Expat before 2.2.7, XML input including XML
names that contain a large number of colons could make the XML parser
consume a high amount of RAM and CPU resources while processing (enough to
be usable for denial-of-service attacks).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/docker-cli: security bump to version 18.09.7
Peter Korsgaard [Fri, 28 Jun 2019 06:32:46 +0000 (08:32 +0200)]
package/docker-cli: security bump to version 18.09.7

Fixes CVE-2018-15664: API endpoints behind the 'docker cp' command are
vulnerable to a symlink-exchange attack with Directory Traversal, giving
attackers arbitrary read-write access to the host filesystem with root
privileges, because daemon/archive.go does not do archive operations on a
frozen filesystem (or from within a chroot).

And includes additional post-18.09.6 fixes:

Builder
- Fixed a panic error when building dockerfiles that contain only comments.
  moby/moby#38487
- Added a workaround for GCR authentication issue. moby/moby#38246
- Builder-next: Fixed a bug in the GCR token cache implementation
  workaround.  moby/moby#39183

Runtime
- Added performance optimizations in aufs and layer store that helps in
  massively parallel container creation and removal.  moby/moby#39107,
  moby/moby#39135
- daemon: fixed a mirrors validation issue. moby/moby#38991
- Docker no longer supports sorting UID and GID ranges in ID maps.
  moby/moby#39288

Logging
- Added a fix that now allows large log lines for logger plugins.
  moby/moby#39038

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/docker-engine: security bump to version 18.09.7
Peter Korsgaard [Fri, 28 Jun 2019 06:32:45 +0000 (08:32 +0200)]
package/docker-engine: security bump to version 18.09.7

Fixes CVE-2018-15664: API endpoints behind the 'docker cp' command are
vulnerable to a symlink-exchange attack with Directory Traversal, giving
attackers arbitrary read-write access to the host filesystem with root
privileges, because daemon/archive.go does not do archive operations on a
frozen filesystem (or from within a chroot).

And includes additional post-18.09.6 fixes:

Builder
- Fixed a panic error when building dockerfiles that contain only comments.
  moby/moby#38487
- Added a workaround for GCR authentication issue. moby/moby#38246
- Builder-next: Fixed a bug in the GCR token cache implementation
  workaround.  moby/moby#39183

Runtime
- Added performance optimizations in aufs and layer store that helps in
  massively parallel container creation and removal.  moby/moby#39107,
  moby/moby#39135
- daemon: fixed a mirrors validation issue. moby/moby#38991
- Docker no longer supports sorting UID and GID ranges in ID maps.
  moby/moby#39288

Logging
- Added a fix that now allows large log lines for logger plugins.
  moby/moby#39038

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libcamera: bump to version caf25dc5cfd11b965316f02610d49ae3d886716b
Kieran Bingham [Tue, 25 Jun 2019 21:56:17 +0000 (22:56 +0100)]
package/libcamera: bump to version caf25dc5cfd11b965316f02610d49ae3d886716b

Buildroots autobuild identified a failure on GCC v6.2 and GCC v6.3,
producing the following warning (reported as error due to -Werror):

  event_dispatcher_poll.cpp:231:13: error: types may not be defined
      in a for-range-declaration [-Werror]

              for (const struct pollfd &pfd : pollfds) {
                         ^~~~~~
              cc1plus: all warnings being treated as errors

A fix has been integrated upstream, bump the package to incorporate it.

Fixes: http://autobuild.buildroot.net/results/f6dd4c60c04892c8b1669e6000fce7edb2b6349e/
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libinput: bump version to 1.13.3
Peter Seiderer [Tue, 25 Jun 2019 20:20:27 +0000 (22:20 +0200)]
package/libinput: bump version to 1.13.3

For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2019-June/040650.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libevdev: bump version to 1.7.0
Peter Seiderer [Tue, 25 Jun 2019 20:17:34 +0000 (22:17 +0200)]
package/libevdev: bump version to 1.7.0

For details see [1] and [2].

[1] https://lists.freedesktop.org/archives/input-tools/2019-May/001511.html
[2] https://lists.freedesktop.org/archives/input-tools/2019-June/001512.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/bzip2: add upstream security fix for CVE-2019-12900
Jared Bents [Wed, 26 Jun 2019 14:20:42 +0000 (09:20 -0500)]
package/bzip2: add upstream security fix for CVE-2019-12900

Patch to resolve cve-2019-12900 which affects bzip2 versions 1.0.6 and older

More information can be found at
https://nvd.nist.gov/vuln/detail/CVE-2019-12900

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.1.x series
Peter Korsgaard [Thu, 27 Jun 2019 06:57:21 +0000 (08:57 +0200)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.1.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoboard/qemu: ensure root is available before mounting it
Yann E. MORIN [Sat, 22 Jun 2019 16:51:20 +0000 (18:51 +0200)]
board/qemu: ensure root is available before mounting it

On my machine, it happens once in a while that the virtualised machine
boots too fast for the rootfs to be available at the time the kernel
tries to mount it.

For example, board/qemu/arm-vexpress/readme.txt suggested changing
"-smp 1" up to "-smp 4". But doing so here causes a kernel panic:

    VFS: Cannot open root device "mmcblk0" or unknown-block(0,0): error -6
    Please append a correct "root=" boot option; here are the available partitions:
    1f00          131072 mtdblock0
     (driver?)
    1f01           32768 mtdblock1
     (driver?)
    Kernel panic - not syncing: VFS: Unable to mount root fs on
    unknown-block(0,0)

So, add the oh-so-useful 'rootwait' option to all kernel command lines
for qemu defconfigs.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Joel Stanley <joel@jms.id.au>
Cc: Mark Corbin <mark.corbin@embecosm.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/icu: adjust version information
Thomas Petazzoni [Mon, 24 Jun 2019 04:23:33 +0000 (06:23 +0200)]
package/icu: adjust version information

The icu upstream developers have a strange way of labelling their versions:

 - The Github tags are named release-XX-Y, and therefore the versions
   referenced by by Release Monitoring look like 60-2 or 64-1.

 - The tarballs contain the version with an underscore separator, i.e
   60_2 or 64_1.

 - The directories on http://download.icu-project.org/files/icu4c/
   contain the version with a dot separator, i.e 60.2 or 64.1.

In order to have our <pkg>_VERSION match the one on Release
Monitoring, we adjust it to use the underscore separator, and then
further tweak the ICU_SOURCE and ICU_SITE definitions to keep
everything working.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/dtv-scan-tables: bump version
Bernd Kuhls [Mon, 24 Jun 2019 19:22:45 +0000 (21:22 +0200)]
package/dtv-scan-tables: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/x264: bump version to 20190623-2245
Bernd Kuhls [Mon, 24 Jun 2019 20:00:32 +0000 (22:00 +0200)]
package/x264: bump version to 20190623-2245

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/{mesa3d, mesa3d-headers}: bump version to 19.0.7
Bernd Kuhls [Tue, 25 Jun 2019 17:01:05 +0000 (19:01 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 19.0.7

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-paramiko: bump to version 2.6.0
Asaf Kahlon [Mon, 24 Jun 2019 19:24:13 +0000 (22:24 +0300)]
package/python-paramiko: bump to version 2.6.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/weston: bump to version 6.0.1
James Hilliard [Mon, 24 Jun 2019 18:46:34 +0000 (12:46 -0600)]
package/weston: bump to version 6.0.1

Removed patch which has now been committed upstream.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libglib2: security bump to version 2.60.4
Adam Duskett [Sun, 23 Jun 2019 17:47:33 +0000 (13:47 -0400)]
package/libglib2: security bump to version 2.60.4

Fixes critical CVE-2019-12450:
  https://nvd.nist.gov/vuln/detail/CVE-2019-12450

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libvncserver: fix static build with openssl
Fabrice Fontaine [Sun, 23 Jun 2019 21:16:22 +0000 (23:16 +0200)]
package/libvncserver: fix static build with openssl

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/hiawatha: bump to version 1.9
Pierre-Jean Texier [Sun, 23 Jun 2019 21:31:36 +0000 (23:31 +0200)]
package/hiawatha: bump to version 1.9

See https://gitlab.com/hsleisink/hiawatha/-/releases

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/harfbuzz: fix build without cairo-svg
James Hilliard [Sun, 23 Jun 2019 19:03:09 +0000 (13:03 -0600)]
package/harfbuzz: fix build without cairo-svg

Fixes:
http://autobuild.buildroot.org/results/f6c0b85fa476e0f52cc06f0133d2e4f9920f7556
test-ot-color.cc:40:10: fatal error: cairo-svg.h: No such file or directory
   40 | #include <cairo-svg.h>
      |          ^~~~~~~~~~~~~

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libcdaudio: fix build with toolchains lacking C++ support
Peter Seiderer [Sun, 13 Jan 2019 21:47:22 +0000 (22:47 +0100)]
package/libcdaudio: fix build with toolchains lacking C++ support

When the target toolchain does not support C++, the provided
libcdaudio configure script tries to run a check with the C++
pre-processor provided by the host (/lib/cpp) which may not exist on
some systems.

This issue is fixed by autoreconfiguring the package, as newly
generated configure scripts do not have this issue.

Fixes:

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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/test-pkg: clean output dir for successful builds
Thomas De Schampheleire [Tue, 5 Feb 2019 21:21:42 +0000 (22:21 +0100)]
utils/test-pkg: clean output dir for successful builds

test-pkg will use gigabytes of space when testing all toolchains.
Nevertheless, you are normally only interested in the actual build / host
tree when there is a build failure.

Do a 'make clean' for successful builds to save disk space, unless the new
option '-k/--keep' is set.
Note that the logfile and configuration is always retained for inspection.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/test-pkg: fix long option parsing
Thomas De Schampheleire [Tue, 5 Feb 2019 21:21:41 +0000 (22:21 +0100)]
utils/test-pkg: fix long option parsing

The long option parsing of test-pkg is broken because:
- some long options are not declared
- there should be a comma between long options, the colon does not replace
it.

This change also revealed that the declaration of 'toolchains-dir' should
have been 'toolchains-csv', originally introduced in commit ed59f81a3cb4ddb.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/linux-firmware: add options for MT7650/MT76x2e firmware
Nicolas Cavallari [Fri, 4 Jan 2019 15:49:51 +0000 (16:49 +0100)]
package/linux-firmware: add options for MT7650/MT76x2e firmware

Add options to install the MT7650 bluetooth firmware and the MT76x2e
wifi firmware.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/rauc: allow use of host-libp11 for crypto hardware support in host-rauc
Trent Piepho [Sat, 23 Feb 2019 02:23:51 +0000 (02:23 +0000)]
package/rauc: allow use of host-libp11 for crypto hardware support in host-rauc

To use a private key stored on a hardware crypto module, such as an HSM
or smart card, rauc needs OpenSSL to have support for pkcs11 modules.
OpenSSL achieves this through the libp11 library.

The libp11 engine for OpenSSL is a dynamic module, so the dependency is
at rauc's runtime, rather than openssl's or rauc's build time.  However,
it still needs to be added as a dependency, so that anything that uses
host-rauc when building can be assured that host-rauc is fully
functional.

As this is a runtime dependency, there's no need for a target
dependency.  And it's only used for signing updates, which isn't done on
the target anyway.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/imagemagick: add optional SVG support to host variant
Yann E. MORIN [Tue, 19 Feb 2019 13:15:30 +0000 (14:15 +0100)]
package/imagemagick: add optional SVG support to host variant

SVG can be regarded as the "source code" for assets, like logos or other
graphical elements.

However, SVG needs to be rendered, which requires an XML parser and an
SVG "parser/rendered". As such, it has various runtime impacts, like
bad performance or security. As such, SVG are often pre-rendered to the
required sizes/depths/resolutions into other format, such as PNG, at
build time.

While rsvg-convert (from host-librsvg) would allow the rendering, it
does not allow more complex tasks taht ImageMagick allows for:
compositing more than one image, 2D transforamtions (rotation, skew...).

Yet, SVG support in ImageMagick relies on librsvg, which adds quite a
few dependencies, and thus has a noticeable impact on the build time.

Add an option to allow concerned users to enable/disable SVG support
in ImageMagick.

Enabling SVG support relies on librsvg, which in turns relies on a few
additional packages that ImageMagick can also optionally use. So,
automatically enable the corresponding support as well.

Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/imagemagick: add prompt for host variant
Yann E. MORIN [Tue, 19 Feb 2019 13:15:29 +0000 (14:15 +0100)]
package/imagemagick: add prompt for host variant

Sometimes, it is required to call imagemagick from a post-build script
or the likes, so we have to allow the user to enable the host variant
for imagemagick.

Update the linux package to select the host variant now.

Signed-off-by: "Yann E. MORIN" <yann.morin@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/arcturus_ucp1020: bump Linux and U-Boot
Oleksandr Zhadan [Tue, 18 Jun 2019 20:32:03 +0000 (16:32 -0400)]
configs/arcturus_ucp1020: bump Linux and U-Boot

Bump Linux and U-Boot versions.

The Linux configuration file and patches are no longer needed.

Signed-off-by: Oleksandr Zhadan <oleks@arcturusnetworks.com>
Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com>
[Thomas: also use a tarball for U-Boot.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libiio: bump to version 0.18
Pierre-Jean Texier [Sun, 23 Jun 2019 13:10:39 +0000 (15:10 +0200)]
package/libiio: bump to version 0.18

See https://github.com/analogdevicesinc/libiio/releases

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python3: drop unrecognized option
Fabrice Fontaine [Sun, 23 Jun 2019 12:06:41 +0000 (14:06 +0200)]
package/python3: drop unrecognized option

--enable-old-stdlib-cache is not recognozed since at least version
3.6.3, see:
http://autobuild.buildroot.org/results/b957f956100fc36c7d5ffab1d7df41a65ae52ded

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/util-linux: minix needs MMU
Fabrice Fontaine [Sun, 23 Jun 2019 11:40:53 +0000 (13:40 +0200)]
package/util-linux: minix needs MMU

Fixes:
 - http://autobuild.buildroot.org/results/87801e1a3c628e00ccb0c57afc2b46cc735c6018

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/rtmpdump: bump version
Bernd Kuhls [Sat, 22 Jun 2019 18:38:57 +0000 (20:38 +0200)]
package/rtmpdump: bump version

Added tarball and license hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mjpg-streamer: bump version
Bernd Kuhls [Sat, 22 Jun 2019 18:28:55 +0000 (20:28 +0200)]
package/mjpg-streamer: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xapp_sessreg: bump version to 1.1.2
Bernd Kuhls [Sat, 22 Jun 2019 18:25:36 +0000 (20:25 +0200)]
package/x11r7/xapp_sessreg: bump version to 1.1.2

Removed patch which was applied upstream:
https://gitlab.freedesktop.org/xorg/app/sessreg/commit/5b403d124c32c20fddc73bc5ae3c7e1febdf1bc4

Added all hashes provided by upstream, added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xapp_xcalc: bump version to 1.1.0
Bernd Kuhls [Sat, 22 Jun 2019 18:21:12 +0000 (20:21 +0200)]
package/x11r7/xapp_xcalc: bump version to 1.1.0

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xlib_libX11: bump version to 1.6.8
Bernd Kuhls [Sat, 22 Jun 2019 18:17:43 +0000 (20:17 +0200)]
package/x11r7/xlib_libX11: bump version to 1.6.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xfont_encodings: bump version to 1.0.5
Bernd Kuhls [Sat, 22 Jun 2019 18:15:28 +0000 (20:15 +0200)]
package/x11r7/xfont_encodings: bump version to 1.0.5

Added all hashes provided by upstream, added license hash.

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xlib_libXi: bump version to 1.7.10
Bernd Kuhls [Sat, 22 Jun 2019 18:11:51 +0000 (20:11 +0200)]
package/x11r7/xlib_libXi: bump version to 1.7.10

Added all hashes provided by upstream, added license hash.

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libvncserver: fix build without C++
Fabrice Fontaine [Sun, 23 Jun 2019 08:25:51 +0000 (10:25 +0200)]
package/libvncserver: fix build without C++

Fixes:
 - http://autobuild.buildroot.org/results/16aaa4e86a2dbf1acf95f10d5131b0f7b8a3d61a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/xorgproto: enable legacy
Fabrice Fontaine [Sun, 23 Jun 2019 08:13:42 +0000 (10:13 +0200)]
package/xorgproto: enable legacy

xproxymngproto is needed by xfindproxy but it is now disabled by default
Enable it thanks to --enable-legacy

Fixes:
 - http://autobuild.buildroot.org/results/4b21400c36e8ba7a8222f9da962f79e42c6146d3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/harfbuzz: fix build with cairo
Fabrice Fontaine [Sun, 23 Jun 2019 07:59:07 +0000 (09:59 +0200)]
package/harfbuzz: fix build with cairo

harfbuzz needs svg support on cairo

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/mv-ddr-marvell: fix build with GCC 8
Baruch Siach [Sun, 23 Jun 2019 04:51:01 +0000 (07:51 +0300)]
boot/mv-ddr-marvell: fix build with GCC 8

Add upstream patch fixing a build warning that is considered as error.

Cc: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/efivar: bump version to 37
James Hilliard [Sun, 23 Jun 2019 02:46:14 +0000 (20:46 -0600)]
package/efivar: bump version to 37

Backport patches required to build with gcc-9.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/whois: bump to version 5.4.3
Pierre-Jean Texier [Sat, 22 Jun 2019 21:18:33 +0000 (23:18 +0200)]
package/whois: bump to version 5.4.3

See changelog:
 - https://github.com/rfc1036/whois/blob/master/debian/changelog

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/monit: bump to version 5.25.3
Fabrice Fontaine [Sat, 22 Jun 2019 19:14:35 +0000 (21:14 +0200)]
package/monit: bump to version 5.25.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcc: switch to gcc 8.x as the default
Romain Naour [Thu, 20 Jun 2019 10:07:18 +0000 (12:07 +0200)]
package/gcc: switch to gcc 8.x as the default

Even if gcc 7 is still maintained for some time (gcc 7.5 is pending),
switch to gcc 8.x since it has been released since 2018-05-02 and
gcc 9.x is available since 2019-05-03.

We have been having toolchains in the autobuilders with gcc
8.x for a while, so the vast majority of the problems should have
already been solved.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain-external: add gcc 9 entry
Romain Naour [Thu, 20 Jun 2019 10:07:17 +0000 (12:07 +0200)]
toolchain-external: add gcc 9 entry

This patch allows to use an external toolchain based on gcc 9.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch: add BR2_ARCH_NEEDS_GCC_AT_LEAST_9
Romain Naour [Thu, 20 Jun 2019 10:07:16 +0000 (12:07 +0200)]
arch: add BR2_ARCH_NEEDS_GCC_AT_LEAST_9

This new symbol will be used by architectures introduced with gcc 9 and
by external toolchains based on gcc 9.

[1] https://gcc.gnu.org/gcc-9/changes.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcc: add support for gcc 9.1
Romain Naour [Thu, 20 Jun 2019 10:07:15 +0000 (12:07 +0200)]
package/gcc: add support for gcc 9.1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: don't allow gcc 9.x for powerpc spe]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: add gcc 9 entry
Romain Naour [Thu, 20 Jun 2019 10:07:14 +0000 (12:07 +0200)]
toolchain: add gcc 9 entry

In order to add gcc 9 support for internal and external toolchain in
follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_9 symbol.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/uclibc: backport patch to remove asm constraint on sparc
Romain Naour [Thu, 20 Jun 2019 10:07:13 +0000 (12:07 +0200)]
package/uclibc: backport patch to remove asm constraint on sparc

uClibc-ng don't build with gcc 9.1 [1] on sparc due to a new check
that "catch illegal asm constraint usage" [2]. This issue has been
fixed in upstream uclibc-ng, so we simply backport the fix.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: backport the patch that was applied to upstream uclibc-ng]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolinux: disable Werror for powerpc kernels
Romain Naour [Thu, 20 Jun 2019 10:07:12 +0000 (12:07 +0200)]
linux: disable Werror for powerpc kernels

>From patch [1] included in kernel >= 5.0:
"The upcoming GCC 9 release extends the -Wmissing-attributes warnings
(enabled by -Wall) to C and aliases: it warns when particular function
attributes are missing in the aliases but not in their target.

In particular, it triggers for all the init/cleanup_module
aliases in the kernel (defined by the module_init/exit macros),
ending up being very noisy.

These aliases point to the __init/__exit functions of a module,
which are defined as __cold (among other attributes). However,
the aliases themselves do not have the __cold attribute.

Since the compiler behaves differently when compiling a __cold
function as well as when compiling paths leading to calls
to __cold functions, the warning is trying to point out
the possibly-forgotten attribute in the alias."

Werror is set by default while building ppc kernel [2], but
some warning can be introduced while building current kernel with
newer compiler (for example building kernel 4.19 with gcc 9.1).

For the same reason why we remove Werror in packages's compiler
flags. Building with Werror is not bulletproof when we start
using a newer compiler that introduce new warnings.
This is the case here.

Also this option is a bit strange since it's specific to ppc kernels:
"The intention is to make it harder for people to inadvertantly
introduce warnings in the arch/powerpc code."
Other kernel developers on other arch may be interested by a
similar/more generic option.

So, It's clearly intended for kernel developers.

Instead of backporting this patch [1] to kernel 4.19, select
unconditionally the Kconfig option CONFIG_PPC_DISABLE_WERROR
that allow to disable Werror.

Fixes:
https://gitlab.com/kubu93/toolchains-builder/-/jobs/205435741

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=a6e60d84989fa0e91db7f236eda40453b0e44afa
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=ba55bd74360ea4b8b95e73ed79474d37ff482b36
[3] https://gitlab.com/bootlin/toolchains-builder

Fix-suggested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libtorrent-rasterbar: work around gcc bug 85180
Giulio Benetti [Tue, 18 Jun 2019 08:45:35 +0000 (10:45 +0200)]
package/libtorrent-rasterbar: work around gcc bug 85180

On Microblaze, building libtorrent-rasterbar with gcc version < 8.x
and optimization enabled causes gcc to enter an infinite loop and
hangs the build.

This is due to gcc bug 85180
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180).

The bug shows up when building libtorrent-rasterbar with optimization
but not when building with -O0. To work around this, if
BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y we force using -O0.

Fixes:
http://autobuild.buildroot.net/results/410/410e75676abc6bbabe9029ecda969e3d909f3e18/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5/qt5base: work around gcc bug 90620
Giulio Benetti [Tue, 18 Jun 2019 08:45:34 +0000 (10:45 +0200)]
package/qt5/qt5base: work around gcc bug 90620

On Microblaze, with gcc versions <= 9.x and optimization enabled, the
build fails with:

  internal compiler error: in do_output_reload, at reload1.c:7978

This is due to gcc bug 90620
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620). The bug shows up
when building qt5base (or other qt5 modules) with optimization but not
when building with -O0. To work around this bug, if
BR2_TOOLCHAIN_HAS_GCC_BUG_90620=y we force using -O0.

Fixes:
http://autobuild.buildroot.net/results/4e5/4e563f5fc38ec681a730a576c5f056bc092db74e/
http://autobuild.buildroot.net/results/348/3482bd950c7ab5608666807a7ab7ea857c767333/
http://autobuild.buildroot.net/results/835/8351e3fbd6a39d05da6a6e7a978329d718dfc109/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: gcc bug 90620 has not been fixed in gcc 8.x
Giulio Benetti [Tue, 18 Jun 2019 08:45:33 +0000 (10:45 +0200)]
toolchain: gcc bug 90620 has not been fixed in gcc 8.x

gcc bug 90620 appears with gcc 8.x so remove the version check
dependency and keep only the BR2_microblaze one.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5/qt5base: disable predefined -Og optimization
Giulio Benetti [Tue, 18 Jun 2019 08:45:32 +0000 (10:45 +0200)]
package/qt5/qt5base: disable predefined -Og optimization

Starting from Qt5 5.9.0, -optimize-debug is enabled by default for
debug builds causing -Og flag to be appended to CFLAGS and
consequently override TARGET_CFLAGS. We don't want this so let's pass
-no-optimize-debug to QT5BASE_CONFIGURE_OPTS if QT5_VERSION_LATEST=y.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xorgproto: bump version to 2019.1
Bernd Kuhls [Sat, 22 Jun 2019 18:06:39 +0000 (20:06 +0200)]
package/x11r7/xorgproto: bump version to 2019.1

Release notes:
https://lists.x.org/archives/xorg-announce/2019-June/003000.html

Switched _SITE to https.

Removed COPYING-panoramixproto from licenses, it was removed upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoDEVELOPERS: Remove Markos Chandras
Bernd Kuhls [Sat, 22 Jun 2019 18:01:31 +0000 (20:01 +0200)]
DEVELOPERS: Remove Markos Chandras

Email bounces:

<markos.chandras@imgtec.com>: host
    mxa-00376f01.gslb.pphosted.com[185.132.180.163] said: 550 5.1.1 User
    Unknown (in reply to RCPT TO command)

Last mailing list postings date back to 2015.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/eudev: bump version to 3.2.8
Bernd Kuhls [Sat, 22 Jun 2019 17:59:53 +0000 (19:59 +0200)]
package/eudev: bump version to 3.2.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/harfbuzz: bump version to 2.5.2
Bernd Kuhls [Sat, 22 Jun 2019 17:54:54 +0000 (19:54 +0200)]
package/harfbuzz: bump version to 2.5.2

Upstream switched tarball to .xz

Updated license hash for COPYING after upstream commit:
https://github.com/harfbuzz/harfbuzz/commit/8ed7655be89c658219ab702e34a79734ba0efb73

Removed license file src/hb-ucdn/COPYING after upstream commit
https://github.com/harfbuzz/harfbuzz/commit/65392b734e38668b870b1ffcbfb4b42ec289ef58
removed src/hb-ucdn/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/freetype: bump version to 2.10.0
Bernd Kuhls [Sat, 22 Jun 2019 17:43:56 +0000 (19:43 +0200)]
package/freetype: bump version to 2.10.0

Changelog:
https://sourceforge.net/projects/freetype/files/freetype2/2.10.0/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libbluray: bump version to 1.1.2
Bernd Kuhls [Sat, 22 Jun 2019 17:36:23 +0000 (19:36 +0200)]
package/libbluray: bump version to 1.1.2

Changelog:
https://code.videolan.org/videolan/libbluray/blob/master/ChangeLog

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/postgresql: security bump version to 11.4
Bernd Kuhls [Sat, 22 Jun 2019 17:30:50 +0000 (19:30 +0200)]
package/postgresql: security bump version to 11.4

Release notes: https://www.postgresql.org/docs/11/release-11-4.html

Fixes CVE-2019-10164.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dmalloc: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:39 +0000 (23:03 +0200)]
package/dmalloc: re-enable package on microblaze

Building dmalloc on Microblaze with optimization enabled and gcc < 8.x
fails with:

  Error: operation combines symbols in different segments

This is due to gcc bug 63261 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261).

To avoid this, the dmalloc package has a !BR2_microblaze
dependency. However, gcc bug 63261 only triggers when optimization is
enabled, so we can work around the issue by passing -O0, which is what
we do in other Buildroot packages to work around this bug.

So, this commit passes -O0 when BR2_TOOLCHAIN_HAS_GCC_BUG_63261, and
re-enables dmalloc on Microblaze.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/fxload: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:38 +0000 (23:03 +0200)]
package/fxload: re-enable package on microblaze

Building fxload on Microblaze with gcc < 8.x and optimization enabled
fails with:

  Error: operation combines symbols in different segments

This is due to gcc bug 63261
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261).

To work around this, the fxload package has a !BR2_microblaze
dependency. However, gcc bug 63261 only triggers when optimization is
enabled, so a better work around is to pass -O0, which is what we do
in other Buildroot packages to work around this bug.

So, this commit passes -O0 when BR2_TOOLCHAIN_HAS_GCC_BUG_63261, and
re-enables fxload on Microblaze.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_63261
Giulio Benetti [Fri, 14 Jun 2019 21:03:37 +0000 (23:03 +0200)]
toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_63261

dmalloc and fxload fail to build for the Microblaze architecture with
optimization enabled with gcc < 8.x, with the following failure:

  Error: PC relative branch to label logerror which is not in the instruction space
  Error: operation combines symbols in different segments

The following defconfig allows to reproduce the issue:

BR2_microblazeel=y
BR2_OPTIMIZE_2=y
BR2_KERNEL_HEADERS_5_0=y
BR2_GCC_VERSION_7_X=y
BR2_PACKAGE_FXLOAD=y

The gcc bug was reported at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261 and is fixed as of
gcc 8.x.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/vlc: bump version to 3.0.7.1
Bernd Kuhls [Sat, 22 Jun 2019 17:22:45 +0000 (19:22 +0200)]
package/vlc: bump version to 3.0.7.1

Fixes green-flickering bug with Windows AMD drivers:
https://forum.videolan.org/viewtopic.php?p=492405#p492405

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/samba4: security bump version to 4.9.9
Bernd Kuhls [Sat, 22 Jun 2019 17:20:45 +0000 (19:20 +0200)]
package/samba4: security bump version to 4.9.9

Release notes: https://www.samba.org/samba/history/samba-4.9.9.html

Fixes CVE-2019-12435.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>