buildroot.git
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>
5 years agopackage/znc: security bump version to 1.7.4
Bernd Kuhls [Sat, 22 Jun 2019 17:02:51 +0000 (19:02 +0200)]
package/znc: security bump version to 1.7.4

Changelog: https://wiki.znc.in/ChangeLog/1.7.4

Fixes CVE-2019-12816:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12816

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libvncserver: add optional systemd dependency
Fabrice Fontaine [Sat, 22 Jun 2019 16:38:55 +0000 (18:38 +0200)]
package/libvncserver: add optional systemd dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing/infra/emulator: increase memory size used by Qemu
Thomas Petazzoni [Fri, 21 Jun 2019 20:27:24 +0000 (22:27 +0200)]
support/testing/infra/emulator: increase memory size used by Qemu

By default, Qemu emulates a system with 128 MB of RAM. This is not
sufficient for some test cases we have, such as TestPerlDBDmysql,
where the initramfs is quite large. Therefore, this commit extends the
RAM size emulated by Qemu to 256 MB.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/237108668

Thanks to Arnout for the analysis of the issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-periphery: new package
Pierre-Jean Texier [Thu, 20 Jun 2019 18:38:13 +0000 (20:38 +0200)]
package/python-periphery: new package

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libvncserver: bump to version 0.9.12
Fabrice Fontaine [Sat, 22 Jun 2019 13:33:10 +0000 (15:33 +0200)]
package/libvncserver: bump to version 0.9.12

- Remove patch (already in version)
- autotools is no more available, switch to cmake
- Disable ffmpeg (used for example)
- Add LZO dependency (to avoid using internal LZO) through the new
  WITH_LZO option added by
  https://github.com/LibVNC/libvncserver/commit/139da17b6ed0ccd1acd824a87972182834671f92
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libvncserver: fix homepage
Fabrice Fontaine [Sat, 22 Jun 2019 13:33:09 +0000 (15:33 +0200)]
package/libvncserver: fix homepage

libvncserver homepage is https://libvnc.github.io/, last version on
sourceforge is 0.9.9 (seven years ago)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: simplify the [ -> test symlink
Yann E. MORIN [Sat, 22 Jun 2019 13:19:36 +0000 (15:19 +0200)]
package/coreutils: simplify the [ -> test symlink

Wheter we are mutli-call or multi-binaries, test is either a symlink to
coreutils or a standalone binary.

Consequently, test always exists, and so we can simplify the [ symlink.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Markus Mayer <mmayer@broadcom.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gptfdisk: bump to version 1.0.4
Fabrice Fontaine [Sat, 22 Jun 2019 11:58:07 +0000 (13:58 +0200)]
package/gptfdisk: bump to version 1.0.4

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/alsa-utils: bump to version 1.1.9
Pierre-Jean Texier [Sat, 22 Jun 2019 11:55:58 +0000 (13:55 +0200)]
package/alsa-utils: bump to version 1.1.9

Also remove the patch that have been upstreamed

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gerbera: bump to version 1.3.2
Fabrice Fontaine [Sat, 22 Jun 2019 11:46:40 +0000 (13:46 +0200)]
package/gerbera: bump to version 1.3.2

Remove patches (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: add C-SKY qemu support
Guo Ren [Mon, 3 Jun 2019 12:28:07 +0000 (20:28 +0800)]
package/qemu: add C-SKY qemu support

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qemu: move patches to a per version directory
Guo Ren [Mon, 3 Jun 2019 12:28:06 +0000 (20:28 +0800)]
package/qemu: move patches to a per version directory

This is done in preparation to the introduction of the support for a
different Qemu version, used on the C-SKY architecture.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lmbench: install the lmbench script on the target
Markus Mayer [Thu, 13 Jun 2019 19:50:47 +0000 (12:50 -0700)]
package/lmbench: install the lmbench script on the target

We want to install the lmbench script along with the other executables,
so we add it to the appropriate list.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lmbench: mark scripts/build as bash script
Markus Mayer [Thu, 13 Jun 2019 19:50:46 +0000 (12:50 -0700)]
package/lmbench: mark scripts/build as bash script

scripts/build makes use of the "+=" operator which is not supported by
a pure POSIX shell. We switch to /bin/bash in order to avoid errors of
the form:

    ../scripts/build: 21: ../scripts/build: LDLIBS+= -lm: not found

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iputils: create ping6 symlink
Petr Vorel [Wed, 19 Jun 2019 21:30:08 +0000 (23:30 +0200)]
package/iputils: create ping6 symlink

Upstream expect distros will do it, see
https://github.com/iputils/iputils/commit/ebad35fee3de851b809c7b72ccc654a72b6af61d

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iputils: update upstream status of patches
Petr Vorel [Wed, 19 Jun 2019 21:30:07 +0000 (23:30 +0200)]
package/iputils: update upstream status of patches

Patch 0002-meson.build-fix-static-build-with-gcrypt.patch replaced with
0002-build-sys-fix-static-build-gcrypt-dependency-gpg-err.patch

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iputils: re-enable traceroute6
Petr Vorel [Wed, 19 Jun 2019 21:30:06 +0000 (23:30 +0200)]
package/iputils: re-enable traceroute6

Bump to s20190515 removed traceroute6 build (it's not built by default
since this version in upstream). Reenable it again.

Fixes: 9ffcd9279e ("package/iputils: bump to version s20190515")
This requires fix similar to one in 0003-meson.build-fix-build-with-NLS.patch [1]

traceroute6 is in /usr/sbin, so no need to handle busybox problem
(6e18892733 "package/iputils: move binaries to the location also used by
Busybox").

[1] http://autobuild.buildroot.org/results/0a8a3efe734ac7fb3a68ba505277681857dc0a3d

Suggested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/davfs2: bump to version 1.5.5
Fabrice Fontaine [Wed, 19 Jun 2019 21:49:26 +0000 (23:49 +0200)]
package/davfs2: bump to version 1.5.5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dnsmasq: add libidn2 support
Fabrice Fontaine [Thu, 20 Jun 2019 16:23:24 +0000 (18:23 +0200)]
package/dnsmasq: add libidn2 support

libidn2 is preferred over libidn, see src/util.c:
 #if defined(HAVE_LIBIDN2)
 #include <idn2.h>
 #elif defined(HAVE_IDN)
 #include <idna.h>
 #endif

So select libidn2 if libidn is not enabled

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/util-linux: bump to version 2.34
Carlos Santos [Fri, 21 Jun 2019 01:42:32 +0000 (22:42 -0300)]
package/util-linux: bump to version 2.34

- Remove patches already applied upstream.
- Update file hash.
- Add an option to select the new "hardlink" command (off by default)
- hardlink uses libpcre2-8 if pcre2 is detected at config time so add a
  build dependency on pcre2, if it's selected.
- Change selections to reflect that libblkid now does not depend on
  libuuid anymore

Full release notes available at

  https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.34/v2.34-ReleaseNotes

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/openssh: bump to version 8.0p1
Adam Duskett [Fri, 21 Jun 2019 16:46:28 +0000 (12:46 -0400)]
package/openssh: bump to version 8.0p1

Also remove upstream patches.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libressl: bump to version 2.9.2
Adam Duskett [Fri, 21 Jun 2019 16:40:27 +0000 (12:40 -0400)]
package/libressl: bump to version 2.9.2

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dnsmasq: fix build with ubus and NLS
Fabrice Fontaine [Fri, 21 Jun 2019 16:48:56 +0000 (18:48 +0200)]
package/dnsmasq: fix build with ubus and NLS

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/uboot-tools: fix legal-info
Pierre-Jean Texier [Fri, 21 Jun 2019 20:22:30 +0000 (22:22 +0200)]
package/uboot-tools: fix legal-info

Add hash for LICENSE file

Fixes:

$: make uboot-tools-legal-info
 >>> uboot-tools 2019.04 Collecting legal info
 ERROR: No hash found for Licenses/gpl-2.0.txt

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/uboot-tools: bump to version 2019.04
Pierre-Jean Texier [Fri, 21 Jun 2019 20:22:29 +0000 (22:22 +0200)]
package/uboot-tools: bump to version 2019.04

- Bump to version 2019.04.
 - remove the patch that have been upstreamed.
 - Refresh patches for the new version.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-pycairo: new package
Matt Weber [Fri, 21 Jun 2019 20:19:55 +0000 (15:19 -0500)]
package/python-pycairo: new package

A Python module providing bindings for the cairo graphics library.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-daemon: add hashes for license files
Pierre-Jean Texier [Fri, 21 Jun 2019 12:44:23 +0000 (14:44 +0200)]
package/python-daemon: add hashes for license files

Fixes:

$: make python-daemon-legal-info
 >>> python-daemon 2.2.3 Collecting legal info
 ERROR: No hash found for LICENSE.ASF-2
 ERROR: No hash found for LICENSE.GPL-3

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-daemon: bump to version 2.2.3
Pierre-Jean Texier [Fri, 21 Jun 2019 12:44:22 +0000 (14:44 +0200)]
package/python-daemon: bump to version 2.2.3

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage: remove non-conventional prefix/suffix from tarball-fetched packages
Victor Huesca [Wed, 12 Jun 2019 06:42:09 +0000 (08:42 +0200)]
package: remove non-conventional prefix/suffix from tarball-fetched packages

While most projects name their tarball <name>-<version>, where
<version> is just the version number, some other projects add some
prefix and/or suffix to their version number.

In Buildroot, we currently encode the full version (with its
prefix/suffix) in the <pkg>_VERSION variable. However, that doesn't
work well to match version numbers with the release-monitoring.org
website, which filters such prefixes/suffixes.

This commit therefore removes the prefix/suffix from tarball-fetched
packages. The name of the files being downloaded does not change.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/pseudo: remove package
Fabrice Fontaine [Sun, 26 May 2019 15:43:37 +0000 (17:43 +0200)]
package/pseudo: remove package

pseudo is not used and fails to build without xattr so remove it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-txdbus: new package
Matt Weber [Fri, 31 May 2019 17:16:53 +0000 (12:16 -0500)]
package/python-txdbus: new package

Implements a native Python implementation of DBus for Twisted.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-tinyrpc: new package
Matt Weber [Fri, 31 May 2019 17:16:52 +0000 (12:16 -0500)]
package/python-tinyrpc: new package

A protocol neutral RPC library that supports JSON-RPC and zmq.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-iptables: new package
Matt Weber [Fri, 31 May 2019 17:16:50 +0000 (12:16 -0500)]
package/python-iptables: new package

This package provides Python bindings for iptables.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Thomas: add license file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-colorama: new package
Matt Weber [Fri, 31 May 2019 17:16:49 +0000 (12:16 -0500)]
package/python-colorama: new package

This package provides a simple cross-platform API for printing
colored terminal text.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/opencv: fix build due to gcc bug 68485
Fabrice Fontaine [Sat, 1 Jun 2019 10:20:32 +0000 (12:20 +0200)]
package/opencv: fix build due to gcc bug 68485

With Microblaze Gcc version <= 9.x the build fails due to gcc bug 68485:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. The bug show up when
building opencv with optimization but not when building with -O0. To
work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_68458=y, we force using
-O0.

Fixes:
 - http://autobuild.buildroot.org/results/17fff0f312ebd520ba3341976ba56fd8c85ee376

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xapp_mkfontdir: remove package
Bernd Kuhls [Sun, 2 Jun 2019 10:45:19 +0000 (12:45 +0200)]
package/x11r7/xapp_mkfontdir: remove package

app_mkfontscale now includes the mkfontdir script:
https://lists.x.org/archives/xorg-announce/2019-March/002988.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xfont_font-*: remove host-xapp_mkfontdir dependency
Bernd Kuhls [Sun, 2 Jun 2019 10:45:18 +0000 (12:45 +0200)]
package/x11r7/xfont_font-*: remove host-xapp_mkfontdir dependency

x11r7/xapp_mkfontscale as of version 1.2.1 includes the mkfontdir
script. This patch removes the now unneeded dependency to host-xapp_
mkfontdir in preparation for the removal of the xapp_mkfontdir package.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xapp_mkfontscale: bump version to 1.2.1
Bernd Kuhls [Sun, 2 Jun 2019 10:45:17 +0000 (12:45 +0200)]
package/x11r7/xapp_mkfontscale: bump version to 1.2.1

Updated license hash after upstream commit
https://gitlab.freedesktop.org/xorg/app/mkfontscale/commit/8609ad731b9c9c670a815c915055ae416d2396d8

Release notes:
https://lists.x.org/archives/xorg-announce/2019-March/002988.html

This version bump "now includes the mkfontdir script previously
distributed separately for compatibility with older X11 versions."

Removing the buildroot package host-xapp_mkfontdir will be done by
subsequent patches.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/x11r7/xserver_xorg-server: bump version to 1.20.5
Bernd Kuhls [Sun, 2 Jun 2019 10:03:21 +0000 (12:03 +0200)]
package/x11r7/xserver_xorg-server: bump version to 1.20.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/at91bootstrap3: bump to version 3.8.12
Pierre-Jean Texier [Mon, 3 Jun 2019 18:59:38 +0000 (20:59 +0200)]
boot/at91bootstrap3: bump to version 3.8.12

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch/Config.in.nds32: force syntax colouring to kconfig
Yann E. MORIN [Mon, 3 Jun 2019 19:19:51 +0000 (21:19 +0200)]
arch/Config.in.nds32: force syntax colouring to kconfig

It is too sad when an editor picks up the wrong syntax...

Like was done in e837837791 for all the other archs, force
syntax to kconfig for nds32 too.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Nylon Chen <nylon7@andestech.com>
Reviewed-by:Nylon Chen <nylon7@andestech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: allow building as individual binaries
Markus Mayer [Fri, 7 Jun 2019 02:15:34 +0000 (19:15 -0700)]
package/coreutils: allow building as individual binaries

We add configuration option BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES
so that coreutils can be built and installed as individual binaries.
It can be used if the target file system doesn't support symlinks or
symlinks are undesirable.

The approach is modelled after Busybox's similarly named configuration
option.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
[Thomas: adjust to previous preparation commits.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: split COREUTILS_CLEANUP and use better names
Thomas Petazzoni [Thu, 20 Jun 2019 18:35:58 +0000 (20:35 +0200)]
package/coreutils: split COREUTILS_CLEANUP and use better names

The COREUTILS_CLEANUP macro naming is a bit weird. In addition, it
does two unrelated things, and the introduction of support for
building coreutils as individual binaries will require splitting it
up.

So let's do this split as a preparation commit, and use better names
for both resulting macros.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: rename COREUTILS_CLEANUP_BIN to a more sensible name
Thomas Petazzoni [Thu, 20 Jun 2019 18:34:21 +0000 (20:34 +0200)]
package/coreutils: rename COREUTILS_CLEANUP_BIN to a more sensible name

COREUTILS_CLEANUP_BIN doesn't mean much, what it really does is fixing
the location of binaries, so let's rename to a more sensible name.

This is done in preparation to the introduction of support for
building coreutils as individual binaries.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luasyslog: new package
Francois Perrad [Wed, 12 Jun 2019 19:09:28 +0000 (21:09 +0200)]
package/luasyslog: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/cups: bump to version 2.2.11 and add gzip fix
Sam Bobroff [Tue, 18 Jun 2019 05:38:52 +0000 (15:38 +1000)]
package/cups: bump to version 2.2.11 and add gzip fix

This patch bumps cups to version 2.2.11 so that an upstream fix will
apply cleanly.

The upstream fix corrects a build failure when GZIP is set in the
build environment, as it is for buildroot's reproducible builds, as
shown below:

gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
Makefile:114: recipe for target 'install-data' failed

The patch will be included upstream in version 2.2.12.

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

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/download/git: fix formatting of error message
John Keeping [Wed, 19 Jun 2019 15:05:26 +0000 (16:05 +0100)]
support/download/git: fix formatting of error message

'.' should be at the end of the sentence, not the beginning of a new
line.

Signed-off-by: John Keeping <john@metanate.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/haproxy: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:41 +0000 (23:03 +0200)]
package/haproxy: re-enable package on microblaze

With Microblaze ccc version < 8.x and optimization, 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. To avoid this, the
haproxy package has a !BR2_microblaze dependency. However, this gcc
bug 90620 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 similar Microblaze issues.

So, this commit passes -O0 when BR2_TOOLCHAIN_HAS_GCC_BUG_90620, and
re-enables haproxy 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_90620
Giulio Benetti [Fri, 14 Jun 2019 21:03:40 +0000 (23:03 +0200)]
toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_90620

GCC fails building the haproxy package for the Microblaze architecture:

  http://autobuild.buildroot.org/results/64706f96db793777de9d3ec63b0a47d776cf33fd/

The gcc bug was originally reported gpsd:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620

This gcc bug no longer appeared with gcc 8.x but reappeared in gcc
9.x, so we introduce a config symbol so that packages can work it
around by disabling optimization.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashbench: remove old toolchain microblaze & sh2a workaround
Giulio Benetti [Fri, 14 Jun 2019 21:03:46 +0000 (23:03 +0200)]
package/flashbench: remove old toolchain microblaze & sh2a workaround

The old binary Microblaze and Sh2a toolchains were affected by Glibc
Bug 1228: https://sourceware.org/bugzilla/show_bug.cgi?id=1228 that
has been fixed in 2005, so let's remove actual work around:
'FLASHBENCH_CFLAGS += -std=gnu99' for both BR2_microblaze and BR2_sh2a
and remove local FLASHBENCH_CFLAGS in favour of TARGET_CFLAGS.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sqlite: work around build timeout on Microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:45 +0000 (23:03 +0200)]
package/sqlite: work around build timeout on Microblaze

With Microblaze Gcc version 4.9 build hangs due to a bug discovered
for Gcc 4.9 only. Since Gcc 4.9 is not maintaned anymore it doesn't
make sense to report this bug in Gcc bugzilla and use
BR2_TOOLCHAIN_HAS_GCC_BUG_. So let's check if we're building for
Microblaze with Gcc version < 5.x and work around the bug forcing the
use of -O0.

To reproduce this bug build with following defconfig:
'
BR2_microblazeel=y
BR2_ENABLE_DEBUG=y
BR2_OPTIMIZE_2=y
BR2_KERNEL_HEADERS_5_0=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_GCC_VERSION_4_9_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TOOLCHAIN_BUILDROOT_FORTRAN=y
BR2_GCC_ENABLE_LTO=y
BR2_PACKAGE_SQLITE=y
'

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

Package tvheadend has been disabled on microblaze with this commit:
https://git.buildroot.net/buildroot/commit/?id=e1a59357e4dfe8fe9c9119d4b2bc9e4ec36eb3d0
but commit log says that build failure is due to "some assertion
failure in binutils", that is true. But those assertion failures in
binutils are caused by package's Makefile itself that has been fixed by
previous patch. So re-enable package for microblaze.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/tvheadend: fix PIE build failures
Giulio Benetti [Fri, 14 Jun 2019 21:03:42 +0000 (23:03 +0200)]
package/tvheadend: fix PIE build failures

Package tvheadend builds using '-pie' linker flag in any case. This
leads to linking failure if toolchain doesn't support 'pie'.

Add patch to fix tvheadend's Makefile bug where '-pie' flag is hardcoded
making it depend on '--disable-pie' as compiler's flags already are
treated.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/brotli: properly pass TARGET_CFLAGS in Microblaze workaround
Giulio Benetti [Fri, 14 Jun 2019 09:43:28 +0000 (11:43 +0200)]
package/brotli: properly pass TARGET_CFLAGS in Microblaze workaround

In commit 39dde1ffb6a7111c2fa2b340c940e4d3e685aa29 ("package/brotli:
work around gcc bug 68485"), a mistake was made: when
BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y, we're only passing -O0 as CFLAGS,
completely ignoring TARGET_CFLAGS, which is not good.

This commit fixes that by introducing a BROTLI_CFLAGS variable,
initially defined to TARGET_CFLAGS, and to which we add -O0 when
BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: run mdev in daemon mode
Titouan Christophe [Wed, 19 Jun 2019 16:42:57 +0000 (18:42 +0200)]
package/busybox: run mdev in daemon mode

- Enable the mdev daemon mode in Busybox default config
- Update the S10mdev init script to use the daemon mode

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: convert S10mdev to the canonical init script format
Titouan Christophe [Wed, 19 Jun 2019 16:42:56 +0000 (18:42 +0200)]
package/busybox: convert S10mdev to the canonical init script format

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: bump version to 1.31.0
Titouan Christophe [Wed, 19 Jun 2019 16:42:55 +0000 (18:42 +0200)]
package/busybox: bump version to 1.31.0

Remove 0003-libbb-mark-scripted_main-as-externally-visible.patch
as it was committed upstream in 3193cb56d6

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/psplash: add license file details
Pierre-Jean Texier [Wed, 19 Jun 2019 20:58:35 +0000 (22:58 +0200)]
package/psplash: add license file details

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libidn2: bump to version 2.2.0
Fabrice Fontaine [Wed, 19 Jun 2019 18:24:22 +0000 (20:24 +0200)]
package/libidn2: bump to version 2.2.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dnsmasq: drop wchar dependency on IDN option
Fabrice Fontaine [Wed, 19 Jun 2019 18:09:03 +0000 (20:09 +0200)]
package/dnsmasq: drop wchar dependency on IDN option

wchar dependency on IDN option has been added with commit
126a2e75f5948b30f842862906fca8ed99ffff26 because of libintl

However libintl dependency has been dropped with commit
bbcbed1829057121f9f9459f62f913626206e823 so remove unneeded wchar
dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/qemu_riscv32_virt: update to 5.1 kernel
Alistair Francis [Wed, 19 Jun 2019 16:54:06 +0000 (09:54 -0700)]
configs/qemu_riscv32_virt: update to 5.1 kernel

Update the 32-bit defconfig to use the latest kernel. This requires a
patch to revert a ABI to ensure that the glibc port continues to work.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/qemu_riscv64_virt: update to 5.1 kernel
Alistair Francis [Wed, 19 Jun 2019 16:54:05 +0000 (09:54 -0700)]
configs/qemu_riscv64_virt: update to 5.1 kernel

Update the 64-bit defconfig to use the latest kernel.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gzip: bump to version 1.10
Fabrice Fontaine [Wed, 19 Jun 2019 21:37:42 +0000 (23:37 +0200)]
package/gzip: bump to version 1.10

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/haveged: fix legal-info
Pierre-Jean Texier [Wed, 19 Jun 2019 20:05:43 +0000 (22:05 +0200)]
package/haveged: fix legal-info

Add hash for COPYING file

Fixes:

$: make haveged-legal-info
 >>> haveged 1.9.4 Collecting legal info
 ERROR: No hash found for COPYING

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/haveged: bump to version 1.9.4
Pierre-Jean Texier [Wed, 19 Jun 2019 20:05:42 +0000 (22:05 +0200)]
package/haveged: bump to version 1.9.4

See https://github.com/jirka-h/haveged/releases/tag/1.9.4

Also change the site location, upstream release
mechanism has switched to using github.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/mx51evk: Bump kernel version
Fabio Estevam [Wed, 19 Jun 2019 17:42:53 +0000 (14:42 -0300)]
configs/mx51evk: Bump kernel version

Bump the kernel version to 5.1.10.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/linux-headers: drop support for 5.x headers
Peter Korsgaard [Tue, 18 Jun 2019 11:57:33 +0000 (13:57 +0200)]
package/linux-headers: drop support for 5.x headers

The 5.0.x series is now EOL and vulnerable to the "TCP SACK PANIC" issue.
Drop support for it in linux-headers.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoamarula_vyasa_rk3288_defconfig: use same-as-kernel option for kernel headers
Peter Korsgaard [Tue, 18 Jun 2019 11:57:32 +0000 (13:57 +0200)]
amarula_vyasa_rk3288_defconfig: use same-as-kernel option for kernel headers

Instead of the to-be-removed 5.0 option.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoConfig.in.legacy: add legacy entry for 4.20.x headers
Peter Korsgaard [Tue, 18 Jun 2019 11:57:31 +0000 (13:57 +0200)]
Config.in.legacy: add legacy entry for 4.20.x headers

Commit b3bba8e4254 (package/linux-headers: drop support 4.20 headers)
removed the option for 4.20.x kernel headers, but forgot to add a legacy
option.  Add that now.

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 [Tue, 18 Jun 2019 11:57:30 +0000 (13:57 +0200)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.1.x series

Includes fixes for the "TCP SACK PANIC" vulnerability:

https://access.redhat.com/security/vulnerabilities/tcpsack

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage: remove non-conventional prefix/suffix from github-fetched packages
Victor Huesca [Wed, 12 Jun 2019 06:42:08 +0000 (08:42 +0200)]
package: remove non-conventional prefix/suffix from github-fetched packages

On Github, a large number of projects name their tag
<some-prefix>-0.3-<some-suffix> (i.e release-3.0, poco-0.1-release,
etc.). In fact majority of the cased adressed in this commit concerns
prefixes.

In most packages, we encode those prefix/suffix in the <pkg>_VERSION
variable.

The problem with this approach is that when used in conjunction with
release-monitoring.org, it doesn't work very well, because
release-monitoring.org has the concept of "version prefix/suffix" and
using that they drop the prefix/suffix to really get the version. For
example on https://release-monitoring.org/project/5418/ the latest
release of "poco" is "1.8.1", not "poco-1.8.1-release".

Therefore, a number of packages in Buildroot have a version that
doesn't match with release-monitoring.org.

Since really the version number of 1.8.1, is makes sense to update our
packages to drop these prefixes/suffixes.

This commit addreses the case of github-fetched packages with
non-conventional prefixes/suffixes.

Note that these changes modify the name of the files stored in DL_DIR,
which means that this will force a re-download of those package source
code for all users, and requires a change to their .hash file.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage: remove 'v' prefix from github-fetched packages
Victor Huesca [Wed, 12 Jun 2019 06:42:06 +0000 (08:42 +0200)]
package: remove 'v' prefix from github-fetched packages

On Github, a large number of projects name their tag vXYZ (i.e v3.0,
v0.1, etc.). In some packages we do:

 <pkg>_VERSION = v0.3
 <pkg>_SITE = $(call github foo,bar,$(<pkg>_VERSION))

And in some other packages we do:

 <pkg>_VERSION = 0.3
 <pkg>_SITE = $(call github foo,bar,v$(<pkg>_VERSION))

I.e in one case we consider the version to be v0.3, in the other case
we consider 0.3 to be the version.

The problem with v0.3 is that when used in conjunction with
release-monitoring.org, it doesn't work very well, because
release-monitoring.org has the concept of "version prefix" and using
that they drop the "v" prefix for the version.

Therefore, a number of packages in Buildroot have a version that
doesn't match with release-monitoring.org because Buildroot has 'v0.3'
and release-monitoring.org has '0.3'.

Since really the version number of 0.3, is makes sense to update our
packages to drop this 'v'.

This commit only addresses the (common) case of github packages where
the prefix is simply 'v'. Other cases will be handled by separate
commits. Also, there are a few cases that couldn't be handled
mechanically that aren't covered by this commit.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
[Arnout: don't change flatbuffers, json-for-modern-cpp, libpagekite,
 python-scapy3k, softether]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/lua-cqueues: fix build failure due to gcc bug 68485
Giulio Benetti [Fri, 14 Jun 2019 21:03:36 +0000 (23:03 +0200)]
package/lua-cqueues: fix build failure due to gcc bug 68485

The lua-cqueues package exhibits gcc bug 68485 when built for the
Microblaze architecture with optimization enabled, which causes a
build failure.

As done for other packages in Buildroot work around this gcc bug by
setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.

Fixes:

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

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libspatialindex: use BR2_TOOLCHAIN_HAS_BUG_68485 option
Giulio Benetti [Fri, 14 Jun 2019 21:03:35 +0000 (23:03 +0200)]
package/libspatialindex: use BR2_TOOLCHAIN_HAS_BUG_68485 option

For consistency with the rest of packages let's use the common
BR2_TOOLCHAIN_HAS_BUG_68485 option instead of !BR2_microblaze
condition with the comment on top of it.

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

With Microblaze gcc version <= 9.x, the build of flannel fails due to
gcc bug 68485: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485.

To avoid this, the flann package has a !BR2_microblaze
dependency. However, gcc bug 68485 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_68485, and
re-enables flann on Microblaze.

Note that the comment was talking about gcc bug 69401, but this gcc
bug is a duplicate of 68485. Since all Buildroot packages now use the
reference to gcc bug 68485 and the option is named
BR2_TOOLCHAIN_HAS_GCC_BUG_68485, we use this naming as well for flann.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gpsd: use BR2_TOOLCHAIN_HAS_GCC_BUG_68485 option
Giulio Benetti [Fri, 14 Jun 2019 21:03:33 +0000 (23:03 +0200)]
package/gpsd: use BR2_TOOLCHAIN_HAS_GCC_BUG_68485 option

The workaround for gcc's ICE works ok, but it's used if
BR2_microblaze=y with a local comment. Let's use
BR2_TOOLCHAIN_HAS_GCC_BUG_68485 instead to avoid repeating ICE bug
comment for every package affected by it.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/kmsxx: work around gcc bug 85180
Giulio Benetti [Fri, 14 Jun 2019 21:03:32 +0000 (23:03 +0200)]
package/kmsxx: work around gcc bug 85180

With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. The bug
shows up when building kmsxx 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/360/360f19645e76314048c75424bb4b64da91742f47/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/snort: work around gcc bug 85180
Giulio Benetti [Fri, 14 Jun 2019 21:03:29 +0000 (23:03 +0200)]
package/snort: work around gcc bug 85180

With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. The bug
shows up when building snort 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/d24/d2412710f6cfbfc069e7858e507e28555baafa3e/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/bullet: re-enable package when gcc bug 85180 is present
Giulio Benetti [Fri, 14 Jun 2019 21:03:26 +0000 (23:03 +0200)]
package/bullet: re-enable package when gcc bug 85180 is present

With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This
package has been excluded from building on Microblaze due to this.

To be consistent with how we deal with this issue in other packages,
we re-enable the package and instead work around the issue by building
with -O0, since gcc bug 85180 manifests itself only when optimization
is enabled.

To achieve this pass -O0 in CMAKE_CXX_FLAGS and remove 'depends on
!BR2_microblaze' and its comment if not available from Config.in.

Note that the comment was talking about gcc bug 68476, but this gcc
bug is a duplicate of 85180. Since all Buildroot packages now use the
reference to gcc bug 85180 and the option is named
BR2_TOOLCHAIN_HAS_GCC_BUG_85180, we use this naming as well for
bullet.

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

Package stress-ng has a dependency to keyutils, but keyutils has been
re-enabled with previous patch. Re-enable package by removing 'depends
on !BR_microblaze' from stress-ng Config.in.

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

ecryptfs-utils was not available on Microblaze due to its dependency
on keyutils, which itself was not available on Microblaze due to build
issues. However, now that keyutils has been re-enabled on Microblaze,
we can also re-enable ecryptfs-utils on this architecture.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/solidrun_clearfog_gt_8k: new defconfig
Baruch Siach [Sun, 16 Jun 2019 08:18:47 +0000 (11:18 +0300)]
configs/solidrun_clearfog_gt_8k: new defconfig

Add support for the SolidRun Armada 8040 based Clearfog GT-8K. This
board has the same processor as the Macchiatobin, so we can reuse the
Macchiatobin U-Boot and image definitions.

The kernel fragment enables drivers that are necessary to make
networking ports work (SFP, Ethernet port, and Ethernet switch).

Cc: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dnsmasq: bump version to 2.80
Jan Willem Janssen [Tue, 18 Jun 2019 05:24:15 +0000 (07:24 +0200)]
package/dnsmasq: bump version to 2.80

Also automatically enable UBus support when UBus itself is enabled.

Signed-off-by: Jan Willem Janssen <j.w.janssen@lxtreme.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: bump ARC tools to arc-2019.03 release
Evgeniy Didin [Wed, 19 Jun 2019 09:25:32 +0000 (12:25 +0300)]
toolchain: bump ARC tools to arc-2019.03 release

This commit finally bumps ARC tools to the most recent arc-2019.03 release version.

ARC GNU tools of version arc-2019.03 bring some quite significant changes like:
 * Binutils v2.32.51.20190308 with additional ARC patches
 * GCC 8.3.1 with additional ARC patches
 * glibc 2.29 with additional ARC patches

More information on this release could be found here:
 https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2019.03-release

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/localedef: compile against glibc-2.29
Samuel Mendoza-Jonas [Wed, 19 Jun 2019 02:07:07 +0000 (12:07 +1000)]
package/localedef: compile against glibc-2.29

In glibc 2.27 the following change occurred:
"Statically compiled applications attempting to load locales compiled
for the GNU C Library version 2.27 will fail and fall back to the
builtin C/POSIX locale."

This impacts us since upstream buildroot uses a localdef built against
an older eglibc release, as reported at [0].

This is a combination of my patch to move to glibc and Peter Seiderer's
patch to avoid building all of glibc just for localedef.

 [0] https://bugs.busybox.net/show_bug.cgi?id=11096

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
[localedef build & fixups:]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: share the tarball with the glibc package]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/logrotate: fix legal-info
Pierre-Jean Texier [Tue, 18 Jun 2019 19:08:42 +0000 (21:08 +0200)]
package/logrotate: fix legal-info

Add hash for COPYING file

Fixes:

$: make logrotate-legal-info
 >>> logrotate 3.15.0 Collecting legal info
 ERROR: No hash found for COPYING

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/logrotate: bump to version 3.15.0
Pierre-Jean Texier [Tue, 18 Jun 2019 19:08:41 +0000 (21:08 +0200)]
package/logrotate: bump to version 3.15.0

See https://github.com/logrotate/logrotate/releases/tag/3.15.0

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/kmod: bump version to 26
James Hilliard [Tue, 18 Jun 2019 18:15:24 +0000 (12:15 -0600)]
package/kmod: bump version to 26

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flatbuffers: fix musl build
Fabrice Fontaine [Tue, 18 Jun 2019 16:36:20 +0000 (18:36 +0200)]
package/flatbuffers: fix musl build

Retrieve upstream patch that check availability of strtoull_l before
using it

Fixes:
 - http://autobuild.buildroot.org/results/18f9eecae551c2db6544c7432f23e541bae0d8b9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/keyutils: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:20 +0000 (23:03 +0200)]
package/keyutils: re-enable package on microblaze

keyutils has a !BR2_microblaze introduced by commit:
https://git.buildroot.net/buildroot/commit/?id=20e0926f4469a3486629cfd6fa7f449f2b659aa8
that points 2 possible build failures:
- "warning: dereferencing type-punned pointer will break strict-aliasing
  rules" treated as an error. But this warning is not treated as an
  error anymore since -Werror flag is not used after last version bumps
- glibc does not export the resolver symbols resulting in linking
  failure. But glibc used was version 2.3.6 that is not used anymore
  since. It's been released in 2005.

So re-enable package for Microblaze by removing 'depends on
!BR2_microblaze' from keyutils Config.in

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain-external: update Arm AArch64-BE toolchain 8.3-2019.03
Romain Naour [Wed, 5 Jun 2019 11:55:32 +0000 (13:55 +0200)]
toolchain-external: update Arm AArch64-BE toolchain 8.3-2019.03

Update to gcc 8.3, gdb 8.2, binutils 2.32. Revert to linux kernel
headers 4.19 instead of 5.1-rc1 [1].

See "Release Note":
https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads#

[1] https://bugs.linaro.org/show_bug.cgi?id=4297

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain-external: update Arm AArch64 toolchain 8.3-2019.03
Romain Naour [Wed, 5 Jun 2019 11:55:31 +0000 (13:55 +0200)]
toolchain-external: update Arm AArch64 toolchain 8.3-2019.03

Update to gcc 8.3, gdb 8.2, binutils 2.32. Revert to linux kernel
headers 4.19 instead of 5.1-rc1 [1].

See "Release Note":
https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads#

Tested with qemu_aarch64_virt_defconfig.

[1] https://bugs.linaro.org/show_bug.cgi?id=4297

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain-external: update Arm ARM toolchain 8.3-2019.03
Romain Naour [Wed, 5 Jun 2019 11:55:30 +0000 (13:55 +0200)]
toolchain-external: update Arm ARM toolchain 8.3-2019.03

Update to gcc 8.3, gdb 8.2, binutils 2.32. Revert to linux kernel
headers 4.19 instead of 5.1-rc1 [1].

See "Release Note":
https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads#

Tested with qemu_arm_vexpress_defconfig.

[1] https://bugs.linaro.org/show_bug.cgi?id=4297

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iputils: fix IPUTILS_PERMISSIONS
Thomas Petazzoni [Mon, 17 Jun 2019 17:17:47 +0000 (19:17 +0200)]
package/iputils: fix IPUTILS_PERMISSIONS

The IPUTILS_PERMISSIONS variable was wrong, because iputils installs
its programs in /usr/bin, not in /bin. It probably was only tested
with the merged /usr option enabled.

This commit fixes IPUTILS_PERMISSIONS, taking into account the change
done in 6e18892733 "package/iputils: move binaries to the location also
used by Busybox":

 - arping is moved by the post-install target hook to /usr/sbin

 - clockdiff is installed by iputils in /usr/bin

 - ping is moved by the post-install target hook to /bin, which makes
   the previously incorrect path in IPUTILS_PERMISSIONS now correct

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/iputils: move binaries to the location also used by Busybox
Thomas Petazzoni [Mon, 17 Jun 2019 17:17:46 +0000 (19:17 +0200)]
package/iputils: move binaries to the location also used by Busybox

iputils installs several programs that are also implemented as applets
in Busybox. Two of these (arping and tftpd) are installed by iputils
in /bin, while Busybox installs them in /usr/sbin, causing both to be
present if both iputils and busybox are enabled.

This commit moves the binaries installed by iputils to /usr/sbin, so
that only these are installed (Busybox will be installed later thanks
to its optional dependency on iputils, but it will not override the
tools installed by iputils).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>