buildroot.git
6 years agouboot-tools: force host CFLAGS
Baruch Siach [Fri, 10 Aug 2018 05:37:21 +0000 (08:37 +0300)]
uboot-tools: force host CFLAGS

U-Boot now adds -std=gnu11 when building its build utilities, like
fixdep. This option is only supported since gcc version 4.7.

  https://gcc.gnu.org/gcc-4.7/changes.html

Force usage of Buildroot HOST_CFLAGS, like we do already for
host-uboot-tools, to avoid the -std=gnu11 option.

Fixes:
http://autobuild.buildroot.net/results/ea0/ea09b614a3c10d494939d9551c0c3bfca4626ece/
http://autobuild.buildroot.net/results/f8e/f8efd9af4d86c51fe4f5afe44db9abf9adc5718f/
http://autobuild.buildroot.net/results/c0a/c0ab35c3cb46f84863fe20c0ee92ecc2379578b6/

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/testing: add test for file capabilities
Ricardo Martincoski [Mon, 6 Aug 2018 03:17:15 +0000 (00:17 -0300)]
support/testing: add test for file capabilities

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomakedevs: allow leading whitespace for capabilities
Ricardo Martincoski [Mon, 6 Aug 2018 03:17:14 +0000 (00:17 -0300)]
makedevs: allow leading whitespace for capabilities

Currently makedevs silently ignores extended attributes with leading
whitespace, for example those added to a <PACKAGE>_PERMISSIONS following
the recommended style from check-package.

Makedevs already ignores leading whitespace for normal entries (file
permission changes and device files creation). Do the same for extended
attributes.

Fixes: #11191.
Reported-by: Jean-pierre Cartal <jpcartal@free.fr>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoncurses: disable terminfo database install for host-ncurses
Peter Korsgaard [Thu, 9 Aug 2018 14:57:22 +0000 (16:57 +0200)]
ncurses: disable terminfo database install for host-ncurses

Since commit b35ad5d0b45e (ncurses: make host-ncurses use host terminfo), we
are now pointing host-ncurses to the host terminfo (typically) located in
/usr/share/terminfo.

With this change we are reusing the existing host terminfo database, so
there is no point in trying to install our own on top.  The user running
buildroot typically will have no write access to /usr/share/terminfo, but
tic in that case falls back to writing the database to $HOME/.terminfo.
Neither of which are desirable.

In case $HOME/.terminfo also isn't writable, tic fails, breaking the install
step for host-ncurses:

** Building terminfo database, please wait...
Running sh ./shlib tic to install /usr/share/terminfo ...

        You may see messages regarding extended capabilities, e.g., AX.
        These are extended terminal capabilities which are compiled
        using
                tic -x
        If you have ncurses 4.2 applications, you should read the INSTALL
        document, and install the terminfo without the -x option.

"terminfo.tmp", line 21272, terminal 'v3220': /home/peko/.terminfo: permission denied (errno 30)

To fix all of this, simply disable the terminfo database install.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agochrony: backport upstream patch to fix blocking on getrandom() at startup with recent...
Peter Korsgaard [Thu, 9 Aug 2018 15:57:28 +0000 (17:57 +0200)]
chrony: backport upstream patch to fix blocking on getrandom() at startup with recent kernels

chrony calls getrandom() at startup if available, so it needs a workaround
for the blocking behaviour on recent (4.14.39+), similar to what was done
for util-linux in commit c4d86707cd6 (util-linux: add two upstream patches
to fix blocking on getrandom() with recent kernels).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/waylandpp: fix build error with gcc 4.4/4.9
Bernd Kuhls [Thu, 9 Aug 2018 19:53:55 +0000 (21:53 +0200)]
package/waylandpp: fix build error with gcc 4.4/4.9

Fixes
http://autobuild.buildroot.net/results/51a/51afcd6d3c3c4839d8216b7b0dba35c8e38211f4/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: bump default to version 4.17.14
Bernd Kuhls [Thu, 9 Aug 2018 19:40:47 +0000 (21:40 +0200)]
linux: bump default to version 4.17.14

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 17}.x series
Bernd Kuhls [Thu, 9 Aug 2018 19:40:46 +0000 (21:40 +0200)]
linux-headers: bump 4.{4, 9, 14, 17}.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/wpa_supplicant: add upstream security fix
Bernd Kuhls [Wed, 8 Aug 2018 18:14:47 +0000 (20:14 +0200)]
package/wpa_supplicant: add upstream security fix

Fixes CVE-2018-14526:
http://w1.fi/security/2018-1/unauthenticated-eapol-key-decryption.txt

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xserver_xorg-server: bump version to 1.20.1
Bernd Kuhls [Tue, 7 Aug 2018 20:37:36 +0000 (22:37 +0200)]
package/x11r7/xserver_xorg-server: bump version to 1.20.1

Release notes for this bugfix release:
https://lists.x.org/archives/xorg-announce/2018-August/002912.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowireshark: bump version to 2.2.16 (security)
André Hentschel [Wed, 8 Aug 2018 20:40:05 +0000 (22:40 +0200)]
wireshark: bump version to 2.2.16 (security)

Security fixes since 2.2.15:

- wnpa-sec-2018-06
  RPKI-Router infinite loop. Bug 14414. CVE-2018-7325.
- wnpa-sec-2018-34
  BGP dissector large loop. Bug 13741. CVE-2018-14342.
- wnpa-sec-2018-35
  ISMP dissector crash. Bug 14672. CVE-2018-14344.
- wnpa-sec-2018-36
  Multiple dissectors could crash. Bug 14675. CVE-2018-14340.
- wnpa-sec-2018-37
  ASN.1 BER dissector crash. Bug 14682. CVE-2018-14343.
- wnpa-sec-2018-38
  MMSE dissector infinite loop. Bug 14738. CVE-2018-14339.
- wnpa-sec-2018-39
  DICOM dissector crash. Bug 14742. CVE-2018-14341.
- wnpa-sec-2018-40
  Bazaar dissector infinite loop. Bug 14841.
- wnpa-sec-2018-41
  HTTP2 dissector crash. Bug 14869.

Full release notes:

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

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: disable build of manpages and documentation
Bernd Kuhls [Wed, 8 Aug 2018 18:41:55 +0000 (20:41 +0200)]
package/samba4: disable build of manpages and documentation

Fixes
http://autobuild.buildroot.net/results/3f214cbb1fe2dc2c2cbfb630032e13eba81c1b5a/
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: reformat patch as Git formatted]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: drop patch numbering in patch 0003
Thomas Petazzoni [Thu, 9 Aug 2018 08:06:19 +0000 (10:06 +0200)]
package/samba4: drop patch numbering in patch 0003

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: reformat patch 0002 as Git-formatted patch
Thomas Petazzoni [Thu, 9 Aug 2018 08:05:38 +0000 (10:05 +0200)]
package/samba4: reformat patch 0002 as Git-formatted patch

This commit reformats
0002-patch-source3__libads__kerberos_keytab.c.patch as a Git-formatted
patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agouclibc: ldso/arc: fix LD_DEBUG segv when printing R_ARC_NONE
Alexey Brodkin [Tue, 7 Aug 2018 17:33:59 +0000 (20:33 +0300)]
uclibc: ldso/arc: fix LD_DEBUG segv when printing R_ARC_NONE

Dynamic linker used to segfault on attempt to print info
about R_ARC_NONE reloaction.

The fix is already in upstream master [1],
should be removed on uClibc version bump.

[1] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=269a2a2a0f863e1b43dc02f2f4f0f3c50299456e

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocryptsetup: fix build with old host kernel headers
Baruch Siach [Tue, 7 Aug 2018 11:04:48 +0000 (14:04 +0300)]
cryptsetup: fix build with old host kernel headers

By default cryptsetup configure fails when the if_alg.h kernel header is
not available. Kernels older than 2.6.38, like the one in RHEL 6 hosts,
do not provide this header. Since we don't need the kernel crypto
feature for host tools, just disable this feature to allow successful
completion of the configure script.

While at it, fix a typo in the --with-crypto_backend option (hyphen ->
underscore).

Should fix:
http://autobuild.buildroot.net/results/ffd/ffda2579b215b53161025b7bc703091cb30ef95d/
http://autobuild.buildroot.net/results/c48/c48015f76b13fec38f650f66824e7b986eb28572/
http://autobuild.buildroot.net/results/be6/be621f71bf9da8719bf7fc943eccc9b4dc2cc43e/

Cc: Martin Hicks <mort@bork.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoboot-wrapper-aarch64: use SPDX identifier for 3 clause BSD
Peter Korsgaard [Tue, 7 Aug 2018 08:12:28 +0000 (10:12 +0200)]
boot-wrapper-aarch64: use SPDX identifier for 3 clause BSD

Use the correct SPDX identifier for the 3 clause BSD license, like we do
elsewhere.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump CIP to version v4.4.138-cip25
Angelo Compagnucci [Tue, 7 Aug 2018 06:53:53 +0000 (08:53 +0200)]
linux: bump CIP to version v4.4.138-cip25

This patch bumps the CIP Linux kernel to version v4.4.138-cip25

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.17.13
Bernd Kuhls [Tue, 7 Aug 2018 06:03:58 +0000 (08:03 +0200)]
linux: bump default to version 4.17.13

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 17}.x series
Bernd Kuhls [Tue, 7 Aug 2018 06:03:57 +0000 (08:03 +0200)]
linux-headers: bump 4.{4, 9, 14, 17}.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibgit2: security bump to version 0.27.4
Baruch Siach [Tue, 7 Aug 2018 05:33:20 +0000 (08:33 +0300)]
libgit2: security bump to version 0.27.4

Fixes CVE-2018-10887 and CVE-2018-10888: out-of-bounds reads when
reading objects from a packfile.

Also fixes out-of-bounds reads when processing smart-protocol "ng"
packets (no known CVE yet).

Drop upstream patch.

Cc: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-By: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibarchive: add upstream security patches
Baruch Siach [Tue, 7 Aug 2018 14:55:22 +0000 (17:55 +0300)]
libarchive: add upstream security patches

Add patches for the following security issues:

CVE-2017-14501 - An out-of-bounds read flaw exists in parse_file_info in
archive_read_support_format_iso9660.c when extracting a specially
crafted iso9660 iso file.

CVE-2017-14502 - Off-by-one error for UTF-16 names in RAR archives,
leading to an out-of-bounds read in archive_read_format_rar_read_header.

CVE-2017-14503 - Out-of-bounds read within lha_read_data_none() in
archive_read_support_format_lha.c when extracting a specially crafted
lha archive.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoCHANGES: add 2018.08-rc1 release date
Peter Korsgaard [Wed, 8 Aug 2018 14:17:52 +0000 (16:17 +0200)]
CHANGES: add 2018.08-rc1 release date

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/mono: remove target mips architecture
Angelo Compagnucci [Sun, 5 Aug 2018 14:05:03 +0000 (16:05 +0200)]
package/mono: remove target mips architecture

Current version of mono doesn't compile on mips due to a bug, so
disabling the mips target architecture until the bug is fixed upstream.

Fixes: http://autobuild.buildroot.net/results/b402af8cb7f00dc2e69c219926b474a8e0c8d372
and many others.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodocs/website: update news.html with 2018.08-rc1 announcement link
Thomas Petazzoni [Sun, 5 Aug 2018 14:09:43 +0000 (16:09 +0200)]
docs/website: update news.html with 2018.08-rc1 announcement link

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoUpdate for 2018.08-rc1
Thomas Petazzoni [Sun, 5 Aug 2018 13:40:05 +0000 (15:40 +0200)]
Update for 2018.08-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinuxptp: add patch to fix no-thread/linuxthreads uClibc builds
Thomas Petazzoni [Sun, 5 Aug 2018 13:29:56 +0000 (15:29 +0200)]
linuxptp: add patch to fix no-thread/linuxthreads uClibc builds

linuxptp missing.h header implements a replacement clock_nanosleep()
function, which was used when the thread implementation was not NPTL,
because uClibc failed to provide clock_nanosleep() in such
configurations.

However, uClibc-ng has fixed this problem upstream, and has backported
this change in Buildroot in patch
package/uclibc/0002-librt-declare-clock_nanosleep-independent-of-thread-.patch
(the code is upstream and will be part of uClibc-ng 1.0.31). Due to
this, there is now a conflicting definition of clock_nanosleep()
between the C library and the linuxptp missing.h code, which manifests
itself by the following build failure:

missing.h:117:19: error: static declaration of 'clock_nanosleep' follows non-static declaration
 static inline int clock_nanosleep(clockid_t clock_id, int flags,
                   ^~~~~~~~~~~~~~~
In file included from clockadj.h:24:0,
                 from clockadj.c:24:

This commit fixes that by adding a patch that removes the replacement
clock_nanosleep() implementation from the linuxptp code base.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowiringpi: disable for static build
Peter Seiderer [Wed, 27 Jun 2018 19:21:50 +0000 (21:21 +0200)]
wiringpi: disable for static build

Static build of the wiringPi package is disabled by the tool author
(see wiringPi/noMoreStatic for details) since the version bump
to 2.46.

Fixes [1]:

  arm-linux-gcc.br_real: error: ../wiringPi/libwiringPi.a: No such file or directory

[1] http://autobuild.buildroot.net/results/a1ca953247475a5f31fe9283ade05c9cba26853b

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/qemu_sh4eb-r2d: restore the old sh-sci driver behaviour
Romain Naour [Sat, 16 Jun 2018 11:25:32 +0000 (13:25 +0200)]
configs/qemu_sh4eb-r2d: restore the old sh-sci driver behaviour

As for sh4-r2d (little-endian) restore the old sh-sci driver behaviour
for sh4eb-r2d.

Tested with qemu_sh4eb_r2d_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/qemu_sh4-r2d: restore the old sh-sci driver behaviour
Romain Naour [Sat, 16 Jun 2018 11:25:31 +0000 (13:25 +0200)]
configs/qemu_sh4-r2d: restore the old sh-sci driver behaviour

This reverts commit 18e8cf159177100e69d528293f8cf6875c0b1bca (kernel)

The last Qemu kernel update [1] introduced a regresion in sh4 SCIF
serial device. Some keyboard presses are very slow to be taken into
account, perhaps not even taken into account at all. This would
explain why our test infrastructure doesn’t manage to login as root
[2][3][4].

git bisect reported a kernel patch from 4.11, increasing RX FIFO
trigger defaults value for sh-sci (H)SCIF. The kernel patch itself
looks good but the Qemu emulation is not ready to handle this new
setting.

>From Qemu (2.12.0): target/sh4/README.sh4
"Configuration of the second serial port (SCIF) is supported. FIFO
handling infrastructure has been started but is not completed yet."

We can't use the first serial port (ttySC0) because it's the second
SH UART that's emulated by Qemu.

In order to be able to test sh4 architecture with newer kernel,
revert to the old behaviour.

[1] 03fb00f2175cdb4565e26fcb9b3da1c1059de1bd
[2] https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006425
[3] https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006427
[4] https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006426

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agovim: install /bin/vi as a relative symlink
Carlos Santos [Wed, 18 Jul 2018 12:34:43 +0000 (09:34 -0300)]
vim: install /bin/vi as a relative symlink

Prevent creating a dangling symlink when vim is not present on the host
machine. With BR2_ROOTFS_MERGED_USR, just link to "vim", since they are
on the same directory, otherwise link to "../usr/bin/vim".

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pure-ftpd: add optional support for linux-pam
Artem Panfilov [Wed, 1 Aug 2018 13:21:14 +0000 (16:21 +0300)]
package/pure-ftpd: add optional support for linux-pam

Signed-off-by: Artem Panfilov <apanfilov@spectracom.com>
[Thomas: add explicit --without-pam when linux-pam is not enabled.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agognuradio: needs host-python2
Fabrice Fontaine [Tue, 26 Jun 2018 21:43:26 +0000 (23:43 +0200)]
gnuradio: needs host-python2

gnuradio needs host-python2 however there is no way to enforce this so
add a dependency on !BR2_PACKAGE_PYTHON3.
Indeed, if BR2_PACKAGE_PYTHON3 is selected, then buildroot will only
build host-python3.
This issue was not raised in the previous version of gnuradio as
host-python-cheetah was the only dependency and host-python-cheetah
enforces python2 through HOST_PYTHON_CHEETAH_NEEDS_HOST_PYTHON however
we now have host-python-six and host-python-mako dependencies and it
does not seem right to enforces python2 on those packages

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agognuradio: remove host-python-cheetah dependency
Fabrice Fontaine [Tue, 26 Jun 2018 21:10:46 +0000 (23:10 +0200)]
gnuradio: remove host-python-cheetah dependency

host-python-cheetah has been replaced by host-python-mako:
https://github.com/gnuradio/volk/commit/1b2bedc8685c4dc2b3587068339d69b5ab1c874d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/glibc: remove --{with, without}-fp option
Romain Naour [Wed, 1 Aug 2018 19:47:29 +0000 (21:47 +0200)]
package/glibc: remove --{with, without}-fp option

This option has been removed since glibc 2.27 [1].

[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=8df5d34720dd71e934545bade879e04697830757

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/opencv3: fix build with gcc bug 64735
Bernd Kuhls [Wed, 1 Aug 2018 20:55:28 +0000 (22:55 +0200)]
package/opencv3: fix build with gcc bug 64735

OpenCV3 allows to disable the usage of std::exception_ptr:
https://github.com/opencv/opencv/issues/11878#issuecomment-402099255

Fixes
http://autobuild.buildroot.net/results/5ca/5ca221792c72c0a19f8b0e8303c0603d28f3c48e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodocs/manual: update host gcc minimum required version
Baruch Siach [Sun, 5 Aug 2018 10:13:31 +0000 (13:13 +0300)]
docs/manual: update host gcc minimum required version

The oldest gcc that is known to work with current Buildroot is that of
RHEL 6, version 4.4.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/cutelyst: bump version to fix build issues
Daniel Nicoletti [Thu, 2 Aug 2018 13:38:13 +0000 (10:38 -0300)]
package/cutelyst: bump version to fix build issues

Fixes:

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

Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
[Thomas: add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gdb: bump to version 8.1.1
Romain Naour [Fri, 3 Aug 2018 18:13:10 +0000 (20:13 +0200)]
package/gdb: bump to version 8.1.1

https://sourceware.org/ml/gdb-announce/2018/msg00002.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tinc: bump version to 1.0.34
Bernd Kuhls [Fri, 3 Aug 2018 20:04:55 +0000 (22:04 +0200)]
package/tinc: bump version to 1.0.34

Updated license hash after upstream commit:
http://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff;h=54b18a85f68652f94ac5ecffbd9d100879ed06ea

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/qt5/qt5base: fix PKG_CONFIG_LIBDIR
Bernd Kuhls [Thu, 2 Aug 2018 18:09:44 +0000 (20:09 +0200)]
package/qt5/qt5base: fix PKG_CONFIG_LIBDIR

By default pkgconf searches "${libdir}/pkgconfig:${datadir}/pkgconfig"
for .pc files:
https://github.com/pkgconf/pkgconf/blob/844f0a66621629a65e3cbf3c3ca47185602e9df5/configure.ac#L41

The new xorgproto package installs .pc files to ${datadir}/pkgconfig
whichs translates to $(STAGING_DIR)/usr/share/pkgconfig, for example
dri3proto:
https://cgit.freedesktop.org/xorg/proto/xorgproto/tree/Makefile.am#n65

whereas the old xproto_ packages installed their .pc files to
${libdir}/pkgconfig:
https://cgit.freedesktop.org/xorg/proto/dri3proto/tree/Makefile.am?id=3937f72040b79c7245b261da880364177cc40a6e#n4

Normally this upstream change is not a problem because pkgconf searches
both paths for .pc files, unless we define PKG_CONFIG_LIBDIR with
something else like we did for the last six years ;)
https://github.com/buildroot/buildroot/blame/master/package/qt5/qt5base/qt5base.mk#L280

This patch removes all variables concerning pkgconf paths. At the time
the qt5base package was introduced the pkgconf wrapper did not exist.
Today these variables are not necessary anymore.

Fixes
http://autobuild.buildroot.net/results/061/06159500c27026d56a772fafbb0d956c72dd4e6c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/aircrack-ng: needs dynamic library support
Bernd Kuhls [Thu, 2 Aug 2018 18:32:02 +0000 (20:32 +0200)]
package/aircrack-ng: needs dynamic library support

Fixes
http://autobuild.buildroot.net/results/611/61170d12811c70037ee875434a295ac35a2a5c50/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoluarocks: fix lua modules building with luajit
Francois Perrad [Sun, 29 Jul 2018 09:44:57 +0000 (11:44 +0200)]
luarocks: fix lua modules building with luajit

currently, when luajit is selected as luainterpreter,
all lua module fails to build with the message:
    Error: Failed finding Lua library. You may need to configure LUA_LIBDIR.

see http://autobuild.buildroot.net/results/66de049c306d7aff66894d53e2f4fa755fd01594

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/polkit: needs glibc
Yann E. MORIN [Sun, 5 Aug 2018 08:46:19 +0000 (10:46 +0200)]
package/polkit: needs glibc

The recent bump of polkit introduced a version that now unconditionally
uses glibc-specific functions from the getnetgrent() familly, which are
not available on musl or uClibc-ng.

Hide away polkit when the C library is not glibc.

Propagate the dependency to packages that select polkit: udisks and
systemd. For systemd, add a comment.

Fixes:
    http://autobuild.buildroot.org/results/d78/d783e6db60b187aa591f4b0150c590ab3aa5252f/ (musl)
    http://autobuild.buildroot.org/results/ba5/ba5da960c70c765bee753a79b9ad2c10967d05d6/ (uclibc)
    [...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Marek Belisko <marek.belisko@open-nandra.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Artem Panfilov <apanfilov@spectracom.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoCHANGES: update for 2018.08-rc1
Thomas Petazzoni [Sat, 4 Aug 2018 17:10:50 +0000 (19:10 +0200)]
CHANGES: update for 2018.08-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/lttng-tools: bump version to 2.10.5
Bernd Kuhls [Wed, 1 Aug 2018 06:14:47 +0000 (08:14 +0200)]
package/lttng-tools: bump version to 2.10.5

Added sha256 and license hashes, switched _SITE to https.

This bump includes
https://github.com/lttng/lttng-tools/commit/b4cf0332cc1164684bbc708b6c46c1d69a15b847
which fixes a musl build error:
http://autobuild.buildroot.net/results/09d/09d6d5e2d1c50dbd6c026e12aa245fc90687eb19/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libdrm: bump version to 2.4.93
Bernd Kuhls [Wed, 1 Aug 2018 05:39:28 +0000 (07:39 +0200)]
package/libdrm: bump version to 2.4.93

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofirmware-imx: fix EULA and COPYING hashes
Gary Bisson [Wed, 1 Aug 2018 08:21:00 +0000 (10:21 +0200)]
firmware-imx: fix EULA and COPYING hashes

NXP updated their EULA text to 2018.
Also add QCA text for their WiFi module firmware files.

Fixes:
http://autobuild.buildroot.net/results/144c3ac1902be605ca221e5685b13ba22db9a70e/
http://autobuild.buildroot.net/results/c8f787cc5309a9d216fb74b13e700e520facef64/

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/cutelyst: fix build dependencies
Daniel Nicoletti [Wed, 1 Aug 2018 11:47:38 +0000 (08:47 -0300)]
package/cutelyst: fix build dependencies

This commit adds missing optional dependencies on libpwquality and
jemalloc.

The optional dependency on grantlee is removed, because it fails to
build, so we explicitly disable grantlee support.

  http://autobuild.buildroot.net/results/ecbe25728a81f13e35a4315b64aacb8e592f5867/ (jemalloc)
  http://autobuild.buildroot.net/results/84c29fc0d6212f33ff1efdf8495cbb84e4eeed65/ (grantlee)

Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
[Thomas: explicitly disable grantlee support.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/polkit: bump version to 1.105
Artem Panfilov [Wed, 1 Aug 2018 07:41:08 +0000 (10:41 +0300)]
package/polkit: bump version to 1.105

Fixes build issue with network-manager package when polkit package is
enabled:

  CCLD     clients/cli/nmcli
clients/common/clients_cli_nmcli-nm-polkit-listener.o: In function `compare_users':
nm-polkit-listener.c:(.text.compare_users+0x48): undefined reference to `polkit_unix_user_get_name'
clients/common/clients_cli_nmcli-nm-polkit-listener.o: In function `initiate_authentication':
nm-polkit-listener.c:(.text.initiate_authentication+0x1c4): undefined reference to `polkit_unix_user_get_name'

Happening with the following defconfig:

BR2_arm=y
BR2_cortex_a8=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_INIT_SYSTEMD=y
BR2_PACKAGE_NETWORK_MANAGER=y
BR2_PACKAGE_SYSTEMD_POLKIT=y

Signed-off-by: Artem Panfilov <apanfilov@spectracom.com>
[Thomas: update hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: update hash of LICENSE.amdgpu
Thomas Petazzoni [Wed, 1 Aug 2018 07:47:25 +0000 (09:47 +0200)]
linux-firmware: update hash of LICENSE.amdgpu

In commit 51435be1f1e8d4f7f50c95a406ecde6cb0e22418 ("linux-firmware:
bump version to latest 8d69bab"), the hash of the LICENSE.amdgpu was
not updated as it should have been. Indeed, there was a copyright year
change in this file:

-Copyright (C) 2017  Advanced Micro Devices, Inc. All rights reserved.
+Copyright (C) 2018  Advanced Micro Devices, Inc. All rights reserved.

which changed the hash of this license file.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: fix hash for WHENCE license file
Thomas Petazzoni [Tue, 31 Jul 2018 21:51:10 +0000 (23:51 +0200)]
linux-firmware: fix hash for WHENCE license file

Commit 51435be1f1e8d4f7f50c95a406ecde6cb0e22418 ("linux-firmware: bump
version to latest 8d69bab") bumped the linux-firmware package, but
forgot to update the hash file accordingly for the license files.

Especially, the WHENCE file contains the list of all licenses for the
different firmware, so it gets updated pretty much whenever a new
firmware is added or a firmware is updated.

Update its hash to fix legal-info for the linux-firmware package, and
therefore fix:

  http://autobuild.buildroot.net/results/9795ac912d1bbe66386be9286f1703cdbe0a8898/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage: propagate pulseaudio dependencies correctly
Thomas Petazzoni [Tue, 31 Jul 2018 21:10:23 +0000 (23:10 +0200)]
package: propagate pulseaudio dependencies correctly

The BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC dependency of
BR2_PACKAGE_PULSEAUDIO was not properly propagated to reverse
dependencies, causing the following kconfig warning:

warning: (BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO && BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE && BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE && BR2_PACKAGE_KODI_PULSEAUDIO && BR2_PACKAGE_MPD_PULSEAUDIO && BR2_PACKAGE_EFL_PULSEAUDIO) selects BR2_PACKAGE_PULSEAUDIO which has unmet direct dependencies (BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS && !BR2_STATIC_LIBS && BR2_USE_MMU)

This commit fixes that by propagating the dependency as it should have
been done.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mesa3d: fix xlib_libxshmfence dependency
Bernd Kuhls [Sun, 29 Jul 2018 17:40:26 +0000 (19:40 +0200)]
package/mesa3d: fix xlib_libxshmfence dependency

Fixes
http://autobuild.buildroot.net/results/6b2/6b214f1013d2def0b7ff33af3115147f47afd7a1/
http://autobuild.buildroot.net/results/8b8/8b8251235f6b08ae2275659f7af241d6d43df074/
http://autobuild.buildroot.net/results/468/4681b76cbca66a267741df80719a4c2e032c6b00/
http://autobuild.buildroot.net/results/90f/90fee90a4a8f6bb35be94ee437f8f7c1f0cbb5d9/
http://autobuild.buildroot.net/results/1b8/1b862e22f9d1dfaf9b8d3a998061a83012302b05/
http://autobuild.buildroot.net/results/ebe/ebe3e12887c89649ad3de0045846836957d83396/
http://autobuild.buildroot.net/results/b7b/b7b300cc056bdc51a0570be2f250b806e306999e/
http://autobuild.buildroot.net/results/c39/c3960a95741341114ced8907de09b6a266999184/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer1: explicitly disable introspection
Adam Duskett [Sun, 29 Jul 2018 19:19:19 +0000 (15:19 -0400)]
gstreamer1: explicitly disable introspection

To get GStreamer ready for introspection, we must first explicitly
disable gstreamer1, plugins base and plugins bad from using
introspection. If not, adding the gobject-introspection will result in
these packages failing to build because setting the
_GIR_EXTRA_LIBS_PATH variable is required.

The other gstreamer1 packages do not require setting the
_GIR_EXTRA_LIBS_PATH variable.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/opencv3: bump version to 3.4.2
Bernd Kuhls [Mon, 30 Jul 2018 16:08:35 +0000 (18:08 +0200)]
package/opencv3: bump version to 3.4.2

Updated license hash after copyright year update:
https://github.com/opencv/opencv/commit/e6ed853905744018d9d570fa49e3b9e33b3c6ea6#diff-9879d6db96fd29134fc802214163b95a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/opencv: bump version to 2.4.13.7
Bernd Kuhls [Mon, 30 Jul 2018 16:00:51 +0000 (18:00 +0200)]
package/opencv: bump version to 2.4.13.7

Removed patch applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/opencv3: fix aarch64 build
Bernd Kuhls [Mon, 30 Jul 2018 16:08:36 +0000 (18:08 +0200)]
package/opencv3: fix aarch64 build

Commit a17402e42d8c996af239cfdb536e74188d6c6245 ("opencv3:
conditionally enable NEON and VFPv3 optimizations") broke the build on
AArch64, because the VFPv3 optimizations are not supported by OpenCV
on this architecture:

  https://github.com/opencv/opencv/blob/3.4/cmake/OpenCVCompilerOptimizations.cmake#L275

However BR2_ARM_CPU_HAS_VFPV3 is always true on AArch64, causing this
build failure for every AArch64 build of OpenCV 3. This commit fixes
that by enabling VFPV3 only on ARM, and not on AArch64.

Fixes:

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogcc: Fix building on ppc64le GCC 8 host
Joel Stanley [Mon, 30 Jul 2018 10:36:30 +0000 (20:06 +0930)]
gcc: Fix building on ppc64le GCC 8 host

When building on a ppc64le host we see this error:

    build/genmatch --gimple ../../gcc/match.pd \
        > tmp-gimple-match.c
    ../../gcc/match.pd:120:1 error: expected (, got NAME
       negative value by 0 gives -0, not +0.  */

This was reported upstream[1] and fixed on the GCC 6 [2] and GCC 7 [3]
branches:

    Backport from mainline
    2018-01-10  Kelvin Nilsen  <kelvin@gcc.gnu.org>

    * lex.c (search_line_fast): Remove illegal coercion of an
    unaligned pointer value to vector pointer type and replace with
    use of __builtin_vec_vsx_ld () built-in function, which operates
    on unaligned pointer values.

The patches included in Buildroot contain just the code changes, and not
the changelog, to make it easer to manage backporting.

Tested on Ubuntu Cosmic ppc64le.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86162
[2] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=261621
[3] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=262243

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-urllib3: bump version to 1.23
Bernd Kuhls [Tue, 31 Jul 2018 15:02:11 +0000 (17:02 +0200)]
package/python-urllib3: bump version to 1.23

Updated package using scanpypi, added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-requests: bump version to 2.19.1
Bernd Kuhls [Tue, 31 Jul 2018 15:02:10 +0000 (17:02 +0200)]
package/python-requests: bump version to 2.19.1

Updated package using scanpypi, added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-requests-oauthlib: bump version to 1.0.0
Bernd Kuhls [Tue, 31 Jul 2018 15:02:09 +0000 (17:02 +0200)]
package/python-requests-oauthlib: bump version to 1.0.0

Updated package using scanpypi.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-oauthlib: bump version to 2.1.0
Bernd Kuhls [Tue, 31 Jul 2018 15:02:08 +0000 (17:02 +0200)]
package/python-oauthlib: bump version to 2.1.0

Updated package using scanpypi.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-mwclient: bump version to 0.9.1
Bernd Kuhls [Tue, 31 Jul 2018 15:02:07 +0000 (17:02 +0200)]
package/python-mwclient: bump version to 0.9.1

Updated package using scanpypi.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-certifi: bump version to 2018.4.16
Bernd Kuhls [Tue, 31 Jul 2018 15:02:06 +0000 (17:02 +0200)]
package/python-certifi: bump version to 2018.4.16

Updated package using scanpypi.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-idna: bump version to 2.7
Bernd Kuhls [Tue, 31 Jul 2018 15:02:05 +0000 (17:02 +0200)]
package/python-idna: bump version to 2.7

Updated package using scanpypi, added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoacl: build fix with GCC 4.4.7
Hollis Blanchard [Mon, 30 Jul 2018 22:02:18 +0000 (15:02 -0700)]
acl: build fix with GCC 4.4.7

The acl source code uses pragmas inside functions, which is not
supported by gcc 4.4, still in use in older distributions. This commit
adds a patch that drops such pragma. Indeed, this acl is not built
with -Werror, the warning removals are not that important.

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoattr: build fix for GCC < 4.5
Hollis Blanchard [Mon, 30 Jul 2018 22:02:17 +0000 (15:02 -0700)]
attr: build fix for GCC < 4.5

GCC 4.4 and before do not support a message associated to the
"deprecated" gcc attribute. Since such messages are not that useful in
the context of Buildroot, this commit adds a patch that removes them
in the attr source code.

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibglib2: backport upstream patch to handle missing fcntl() flags
Hollis Blanchard [Mon, 30 Jul 2018 22:02:16 +0000 (15:02 -0700)]
libglib2: backport upstream patch to handle missing fcntl() flags

On RHEL6 hosts, fcntl.h doesn't define F_SETPIPE_SZ or
F_GETPIPE_SZ. Upstream glib has a patch for this case that wasn't
applied to their 2.56.1 branch.

Fixes:

  http://autobuild.buildroot.net/results/04b98a0b5c593c0525ef39d03c1ee7c2bbf5e44d/

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: fix alphabetic order
Bernd Kuhls [Sun, 29 Jul 2018 11:12:05 +0000 (13:12 +0200)]
DEVELOPERS: fix alphabetic order

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomariadb: needs dynamic library support
Ryan Coe [Thu, 26 Jul 2018 16:37:02 +0000 (09:37 -0700)]
mariadb: needs dynamic library support

In a static-only configuration, mariadb fails to build because it
tries to build a shared library:

[ 18%] Linking CXX shared module ha_spider.so
output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/6.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/6.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/lib/libstdc++.a(eh_globals.o)(.text.__cxa_get_globals_fast+0x14): R_ARM_TLS_LE32 relocation not permitted in shared object

This is not detected by the autobuilders, because mariadb is part of a
Config.in choice, and such choices are not randomized by our current
testing infrastructure.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomariadb: move comments outside of define block
Ryan Coe [Thu, 26 Jul 2018 16:37:01 +0000 (09:37 -0700)]
mariadb: move comments outside of define block

There are two comments inside the post install define block that show up in
the build. Fix this by moving the comments outside the block.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoghostscript: set correct font path on target
Thomas Ehrhardt [Wed, 25 Jul 2018 11:46:28 +0000 (06:46 -0500)]
ghostscript: set correct font path on target

GHOSTSCRIPT_FONTS_TARGET_DIR is set to $(TARGET_DIR)/usr/share/fonts/gs
in ghostscript-fonts.mk. If we pass this full path to ghostscript, it
will look for fonts in $(TARGET_DIR), which doesn't exist on the
target.

Instead of /usr/share/fonts/gs, use /usr/share/fonts so ghostscript can
also access other fonts than the ones installed by ghostscript-fonts.

Signed-off-by: Thomas Ehrhardt <tehrhardt@innovaphone.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agofirmware-imx: bump to version 7.5
Gary Bisson [Thu, 26 Jul 2018 09:26:24 +0000 (11:26 +0200)]
firmware-imx: bump to version 7.5

This new package includes new binaries for i.MX8QXP.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agoMakefile: help: BR2_DEFCONFIG for defconfig must be on command line
Arnout Vandecappelle (Essensium/Mind) [Sun, 22 Jul 2018 21:34:45 +0000 (23:34 +0200)]
Makefile: help: BR2_DEFCONFIG for defconfig must be on command line

The help text says that BR2_DEFCONFIG will be used as input, but a
BR2_DEFCONFIG specified in the existing .config file will *not* be
used. So say explicitly that it must be specified on the command line.
Note that both "BR2_DEFCONFIG=... make defconfig" and
"make defconfig BR2_DEFCONFIG=..." will work.

While we're at it, add a semicolon to separate the two statements.

Note that this overflows the help text beyond 80 characters, but that
is already the case in many other lines.

Reported-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xserver_xorg-server: bump version to 1.20.0
Bernd Kuhls [Sat, 21 Jul 2018 14:16:48 +0000 (16:16 +0200)]
package/x11r7/xserver_xorg-server: bump version to 1.20.0

Rebased patch 0001 after upstream commit:
https://cgit.freedesktop.org/xorg/xserver/commit/configure.ac?id=e0748b10a8621066b404d713a76826907da777b9

Removed patch 0004, applied upstream:
https://cgit.freedesktop.org/xorg/xserver/commit/glx/glxscreens.c?id=d16133e3e293fe16b291114d344fbd5a61d5ed65

Added legacy handling for internal version option.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xdriver_xf86-video-sis: add upstream patch to fix X.org server 1.20...
Bernd Kuhls [Sat, 21 Jul 2018 14:16:47 +0000 (16:16 +0200)]
package/x11r7/xdriver_xf86-video-sis: add upstream patch to fix X.org server 1.20.0 build

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xdriver_xf86-video-savage: add patch to fix X.org server 1.20.0 build
Bernd Kuhls [Sat, 21 Jul 2018 14:16:46 +0000 (16:16 +0200)]
package/x11r7/xdriver_xf86-video-savage: add patch to fix X.org server 1.20.0 build

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xdriver_xf86-video-r128: add upstream patch to fix X.org server 1.20...
Bernd Kuhls [Sat, 21 Jul 2018 14:16:45 +0000 (16:16 +0200)]
package/x11r7/xdriver_xf86-video-r128: add upstream patch to fix X.org server 1.20.0 build

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xproto_*: mass removal
Bernd Kuhls [Sat, 21 Jul 2018 14:16:44 +0000 (16:16 +0200)]
package/x11r7/xproto_*: mass removal

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

After switching to xorgproto the old xproto_* packages are removed.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xserver_xorg-server: switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:43 +0000 (16:16 +0200)]
package/x11r7/xserver_xorg-server: switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Removed special handling for various xproto packages because xorgproto
always installs all available protocols.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xutil_makedepend: switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:42 +0000 (16:16 +0200)]
package/x11r7/xutil_makedepend: switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xlib_*: mass switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:41 +0000 (16:16 +0200)]
package/x11r7/xlib_*: mass switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xkeyboard-config: switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:40 +0000 (16:16 +0200)]
package/x11r7/xkeyboard-config: switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xdriver_xf86-video-*: mass switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:39 +0000 (16:16 +0200)]
package/x11r7/xdriver_xf86-video-*: mass switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Removed special dri2/dri3 handling because xorgproto always installs
dri3proto.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xdriver_xf86-input-*: mass switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:38 +0000 (16:16 +0200)]
package/x11r7/xdriver_xf86-input-*: mass switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xapp_*: mass switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:37 +0000 (16:16 +0200)]
package/x11r7/xapp_*: mass switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mesa3d: switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:36 +0000 (16:16 +0200)]
package/mesa3d: switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Removed dri3 handling because xorgproto always installs dri3proto.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libvdpau: switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:35 +0000 (16:16 +0200)]
package/libvdpau: switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libdri2: switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:34 +0000 (16:16 +0200)]
package/libdri2: switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gstreamer1/gst1-plugins-base: switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:33 +0000 (16:16 +0200)]
package/gstreamer1/gst1-plugins-base: switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/efl: switch to xorgproto
Bernd Kuhls [Sat, 21 Jul 2018 14:16:32 +0000 (16:16 +0200)]
package/efl: switch to xorgproto

The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xorgproto: new package
Bernd Kuhls [Sat, 21 Jul 2018 14:16:31 +0000 (16:16 +0200)]
package/x11r7/xorgproto: new package

Quoting initial release notes:
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

"This package combines the protocol headers, which were formerly
 scattered in individual packages. At this point none of them are
 changing rapidly enough to justify such fine granularity, particularly
 when what changes do occur tend to affect multiple extensions at once
 (Present and DRI3 for example). The individual protocols are still
 installed as separate pkg-config modules, and consumers should continue
 to use the per-protocol package version numbers."

Some xproto_* packages are host-packages so we need to add
host-autotools-package to this package as well.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: add option to install QLogic FastLinQ 4xxxx firmware
Geoff Levand [Thu, 26 Jul 2018 22:21:25 +0000 (22:21 +0000)]
linux-firmware: add option to install QLogic FastLinQ 4xxxx firmware

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: bump version to latest 8d69bab
Geoff Levand [Thu, 26 Jul 2018 22:21:25 +0000 (22:21 +0000)]
linux-firmware: bump version to latest 8d69bab

Update from 65b1c68 (2018-01-04) to 8d69bab (2018-07-17).

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/freerdp: bump version to 2.0.0-rc2
Bernd Kuhls [Sun, 22 Jul 2018 15:05:17 +0000 (17:05 +0200)]
package/freerdp: bump version to 2.0.0-rc2

Fixes build with upcoming ffmpeg version 4.0.2.

Removed 0001-Fix-gstreamer-1.0-detection.patch, applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agouboot: zynqmp: allow to use custom psu_init files
Luca Ceresoli [Wed, 25 Jul 2018 14:35:38 +0000 (16:35 +0200)]
uboot: zynqmp: allow to use custom psu_init files

U-Boot SPL configures pinmuxes, clocks and other low-level devices. On
the Xilinx ZynqMP SoCs the code to do this resides in a file called
psu_init_gpl.c which is initially generated by the Xilinx development
tools. Add an option to pass these files from the outside (e.g. in the
board files).

For this to work properly, a patch to U-Boot is needed. However this
patch must be applied by each defconfig using
BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_DIR. If it were in boot/uboot/ to be
applied unconditionally, it would break the build for configs using a
U-Boot version where the patch is already applied.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Joel Carlson <joelsoncarl@gmail.com>
Reviewed-by: Joel Carlson <JoelsonCarl@gmail.com>
Tested-by: Joel Carlson <JoelsonCarl@gmail.com>
[Thomas: add comment about U-Boot version requirements to use this
option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/zynqmp_zcu106_defconfig: add Xilinx ZCU106 board (ZynqMP SoC)
Luca Ceresoli [Wed, 25 Jul 2018 14:35:37 +0000 (16:35 +0200)]
configs/zynqmp_zcu106_defconfig: add Xilinx ZCU106 board (ZynqMP SoC)

This adds support the Xilinx ZCU106 development board.

[Tested on the ES2 (Engineering Sample 2) version of the board]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Joel Carlson <joelsoncarl@gmail.com>
Tested-by: Joel Carlson <JoelsonCarl@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agouboot: zynqmp: generate SPL image with PMUFW binary
Luca Ceresoli [Wed, 25 Jul 2018 14:35:36 +0000 (16:35 +0200)]
uboot: zynqmp: generate SPL image with PMUFW binary

In order to boot on the Xilinx ZynqMP SoCs, U-Boot SPL requires a
recent PMU firmware loaded. Instruct U-Boot to add pmufw.bin to the
boot.bin file together with U-Boot SPL, and the boot ROM will load
both.

For this to work properly, a patch to U-Boot is needed. However this
patch must be applied by each defconfig that wishes to use
BR2_TARGET_UBOOT_ZYNQMP_PMUFW. If it were in boot/uboot/ to be applied
unconditionally, it would break the build for configs using a U-Boot
version higher than 2018.7-rc1 where the patch is already applied.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Joel Carlson <joelsoncarl@gmail.com>
Reviewed-by: Joel Carlson <JoelsonCarl@gmail.com>
Tested-by: Joel Carlson <JoelsonCarl@gmail.com>
[Thomas:
 - indicate that this feature requires U-Boot 2018.07, since commit
   c7df098a71e05dc81cee818747759e8060b59626 is needed.
 - define UBOOT_ZYNQMP_KCONFIG_PMUFW only once, and instead use a
   variable named UBOOT_ZYNQMP_PMUFW_PATH to store the path to the PMU
   firmware]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libnss: fix aarch64_be build
Bernd Kuhls [Fri, 27 Jul 2018 23:30:00 +0000 (01:30 +0200)]
package/libnss: fix aarch64_be build

libnss does not treat aarch64_be the same way as aarch64:
https://hg.mozilla.org/projects/nss/file/fb3585458ac3/lib/freebl/Makefile#l523

Add code to translate "aarch64_be" into "aarch64" to fix
http://autobuild.buildroot.net/results/4fca771980f9b049ce2690971ddd856652cd5b43/

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