buildroot.git
7 years agopackage/icu: remove xlocale.h header include
Romain Naour [Mon, 2 Oct 2017 20:52:58 +0000 (22:52 +0200)]
package/icu: remove xlocale.h header include

Remove xlocale.h header include since it's removed from glibc 2.26.

Reported-by: Ross <grunpferd@netscape.net>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/php: bump version to 7.1.10
Bernd Kuhls [Tue, 3 Oct 2017 08:30:06 +0000 (10:30 +0200)]
package/php: bump version to 7.1.10

Changelog: http://www.php.net/ChangeLog-7.php#7.1.10

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 17.2.2
Bernd Kuhls [Tue, 3 Oct 2017 08:27:18 +0000 (10:27 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 17.2.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agox11r7: xdriver_xf86-input-tslib: add the hash for the COPYING license file
Martin Kepplinger [Tue, 3 Oct 2017 06:21:03 +0000 (08:21 +0200)]
x11r7: xdriver_xf86-input-tslib: add the hash for the COPYING license file

The COPYING file is part of the xf86-input-tslib project's source tree.
Let's include the hash for it's current version.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agowireguard: add new package
Aurélien Chabot [Wed, 6 Sep 2017 20:30:06 +0000 (21:30 +0100)]
wireguard: add new package

[Peter: Fix help text, drop suboptions, drop patches, fix dependencies,
 handle optional bash dependency, use kernel-module infrastructure,
 enable needed kernel options]
Signed-off-by: Aurélien Chabot <aurelien@chabot.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojsoncpp: bump to version 1.8.3
Jörg Krause [Mon, 2 Oct 2017 19:14:57 +0000 (21:14 +0200)]
jsoncpp: bump to version 1.8.3

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarc/bfin: remove 60x cores
Yann E. MORIN [Sun, 3 Sep 2017 09:22:20 +0000 (11:22 +0200)]
arc/bfin: remove 60x cores

Those cores are not supported in upstream gcc, not even in master.

The only toolchain that supported those core was the 2014R1 ADI
rebuilt toolchain, but we removed it in 311bc13 (toolchain: kill
ADI Blackfin toolchain) because there was too many issues with it.
ADI has not released any newer toolchain since then.

There is little hope for those cores now, so remove them.

Support for those cores has been useless and unusable for a while
without nobody noticing, therefore we intentionally skip adding
Config.in.legacy. This would require keeping code in
arch/Config.in.bfin since the options being removed are inside a
choice...endchoice block.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: explain why we don't add the options to Config.in.legacy.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/bfin: internal backend not suitable for some cores
Yann E. MORIN [Sun, 3 Sep 2017 09:22:19 +0000 (11:22 +0200)]
arch/bfin: internal backend not suitable for some cores

Some cores are not supported by upstream gcc.

Use the newly-introduced symbol to state so, rather than have the
exclusion in the toolchain choice.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/mips: internal backend not suitable for some cores
Yann E. MORIN [Sun, 3 Sep 2017 09:22:18 +0000 (11:22 +0200)]
arch/mips: internal backend not suitable for some cores

Some cores are not supported by upstream gcc.

Use the newly-introduced symbol to state so, rather than have the
exclusion in the toolchain choice.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/csky: internal backend not suitable
Yann E. MORIN [Sun, 3 Sep 2017 09:22:17 +0000 (11:22 +0200)]
arch/csky: internal backend not suitable

Upstream gcc does not have support for C-Sky, and we do not have a
vendor tree for it either (yet?).

Use the newly-introduced symbol to state so, rather than have the
exclusion in the toolchain choice.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch: add option to disable internal toolchain backend
Yann E. MORIN [Sun, 3 Sep 2017 09:22:16 +0000 (11:22 +0200)]
arch: add option to disable internal toolchain backend

Some architectures or specific cores do not have support in upstream
gcc. Currently, they are individually listed as exclusions in the
toolchain choice.

This poses a maintainance burden, as the knowledge about what gcc
version supports what architecture is split across many places: the
toolchain choice, the gcc version choice, the external toolchains.

As a first step, add a blind option that architectures or individual
cores may select to indicate they lack support in our internal backend.

Actual use of the option will come in followup patches.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotslib: add the hash for the COPYING license file
Martin Kepplinger [Mon, 2 Oct 2017 13:12:16 +0000 (15:12 +0200)]
tslib: add the hash for the COPYING license file

Since tslib's COPYING file in part of the source tree, we can easily
include it's hash for the given version here.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomonit: bump to version 5.24.0
Jörg Krause [Mon, 2 Oct 2017 18:51:09 +0000 (20:51 +0200)]
monit: bump to version 5.24.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodnsmasq: simplify build configuration
Baruch Siach [Mon, 2 Oct 2017 17:38:26 +0000 (20:38 +0300)]
dnsmasq: simplify build configuration

Drop direct sed'ing of config.h for HAVE_CONNTRACK, HAVE_LUASCRIPT, and
HAVE_DBUS. Use MAKE_OPTS COPTS parameters instead, like we do already
for all other options.

Rename DNSMASQ_ENABLE_LUA to DNSMASQ_TWEAK_LIBLUA since it now does only
that.

Merge two conntrack and three dbus conditional sections.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodnsmasq: security bump to version 2.78
Baruch Siach [Mon, 2 Oct 2017 17:38:25 +0000 (20:38 +0300)]
dnsmasq: security bump to version 2.78

Supported Lua version is now 5.2.

Add licenses hash.

Fixes a number of security issues:

CVE-2017-13704 - Crash when DNS query exceeded 512 bytes (a regression
in 2.77, so technically not fixed by this bump)

CVE-2017-14491 - Heap overflow in DNS code

CVE-2017-14492 - Heap overflow in IPv6 router advertisement code

CVE-2017-14493 - Stack overflow in DHCPv6 code

CVE-2017-14494 - Information leak in DHCPv6

CVE-2017-14496 - Invalid boundary checks allows a malicious DNS queries
to trigger DoS

CVE-2017-14495 - Out-of-memory Dos vulnerability

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoConfig.in: rename xbmc -> kodi
Bernd Kuhls [Sun, 1 Oct 2017 19:04:30 +0000 (21:04 +0200)]
Config.in: rename xbmc -> kodi

This is a left-over of the xbmc->kodi rename patch
https://git.buildroot.net/buildroot/commit/package/kodi?id=3578459748d80cd469729319543b199380a4370f

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosdl2: Bump version to 2.0.6
Olivier Schonken [Sun, 1 Oct 2017 18:46:00 +0000 (20:46 +0200)]
sdl2: Bump version to 2.0.6

Bump version and remove patches that were merged upstream

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/raspberrypi*: bump kernel version
Peter Korsgaard [Sat, 30 Sep 2017 08:55:46 +0000 (10:55 +0200)]
configs/raspberrypi*: bump kernel version

Now based on 4.9.52 (from 4.9.36).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/urg: fix extraction commands
Yann E. MORIN [Sun, 1 Oct 2017 15:21:30 +0000 (17:21 +0200)]
package/urg: fix extraction commands

Currently, the extraction commands entirely remove the urg directory,
which means the downloaded stamp will get removed, and thus a subsequent
build would try to re-download it.

It turns out that the directory extracted by urg is already correctly
named, so we just need to extract out of the build directory. This
highly simplifies the command.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobananapro: bump Linux to version 4.13.4
Jörg Krause [Sun, 1 Oct 2017 13:42:42 +0000 (15:42 +0200)]
bananapro: bump Linux to version 4.13.4

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobananapro: bump U-Boot to version 2017.09
Jörg Krause [Sun, 1 Oct 2017 13:42:41 +0000 (15:42 +0200)]
bananapro: bump U-Boot to version 2017.09

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/weston: fix build on musl
Yann E. MORIN [Sun, 1 Oct 2017 12:32:16 +0000 (14:32 +0200)]
package/weston: fix build on musl

As usual, musl is more conservative than the alternatives, wrt to
headers that are internally included.

Fixes:
    http://autobuild.buildroot.org/results/a7a/a7a6b17dff09a45a35185a0e02704523b815dd57/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodump1090: new package
Peter Korsgaard [Sat, 30 Sep 2017 20:07:43 +0000 (22:07 +0200)]
dump1090: new package

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/gdb: bump to version 8.0.1
Romain Naour [Sat, 30 Sep 2017 16:56:03 +0000 (18:56 +0200)]
package/gdb: bump to version 8.0.1

https://sourceware.org/ml/gdb-announce/2017/msg00004.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/binutils: bump to 2.29.1
Romain Naour [Sat, 30 Sep 2017 16:56:02 +0000 (18:56 +0200)]
package/binutils: bump to 2.29.1

There is a problem between the git tag and the archive release content,
they are not in sync [1].

The version used to generate the archive allow us to remove the xtensa
patches.

Otherwise, see the announce [2].

[1] https://sourceware.org/ml/binutils/2017-09/msg00337.html
[2] https://sourceware.org/ml/binutils/2017-09/msg00311.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/nodejs: bump version to 8.6.0
Martin Bark [Sat, 30 Sep 2017 12:45:09 +0000 (13:45 +0100)]
package/nodejs: bump version to 8.6.0

See https://nodejs.org/en/blog/release/v8.6.0/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs: nexbox_a95x_defconfig: bump to kernel 4.13.4
Peter Korsgaard [Fri, 29 Sep 2017 20:34:29 +0000 (22:34 +0200)]
configs: nexbox_a95x_defconfig: bump to kernel 4.13.4

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/supertuxkart: needs freetype
Bernd Kuhls [Fri, 29 Sep 2017 19:01:40 +0000 (21:01 +0200)]
package/supertuxkart: needs freetype

https://github.com/supertuxkart/stk-code/blob/master/CMakeLists.txt#L231

Build would fail without this patch using this defconfig:

BR2_x86_64=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_SUPERTUXKART=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_XORG7=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agozsh: add hash for license file
Peter Korsgaard [Sat, 30 Sep 2017 06:59:07 +0000 (08:59 +0200)]
zsh: add hash for license file

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agozsh: bump to version 5.4.2
Baruch Siach [Thu, 28 Sep 2017 20:43:53 +0000 (23:43 +0300)]
zsh: bump to version 5.4.2

Upstream does not provide a .tar.xz archive for this release. Revert to
.tar.gz.

Cc: Phil Eichinger <phil.eichinger@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agozsh: disable NIS support
Baruch Siach [Thu, 28 Sep 2017 20:43:52 +0000 (23:43 +0300)]
zsh: disable NIS support

The configure test for NIS and NIS+ looks for the ypcat and nisls host
utilities, respectively. This is not compatible with cross compilation.
Disable both unconditionally.

Fixes:
http://autobuild.buildroot.net/results/54c/54c9c5dff3df0a43573b03896cb0629fcae08478/
http://autobuild.buildroot.net/results/c8e/c8e30a1eb6e77ae76292b6a01bede5abb2b1b7b7/

Cc: Phil Eichinger <phil.eichinger@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoRevert "package/kodi-inputstream-rtmp: bump version to 1.0.6"
Bernd Kuhls [Fri, 29 Sep 2017 14:47:49 +0000 (16:47 +0200)]
Revert "package/kodi-inputstream-rtmp: bump version to 1.0.6"

This reverts commit eec04a7b7dc32749f9c1f5e0ac1087230c542f28.

The original commit bumped the package to a version which is at runtime
incompatible with Kodi.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/opencore-amr: fix license, add license hash
Bernd Kuhls [Thu, 28 Sep 2017 21:00:46 +0000 (23:00 +0200)]
package/opencore-amr: fix license, add license hash

Fixes
http://autobuild.buildroot.net/results/656/65667eb8fa1d447251b707e8a201d811cdaf7590/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoejabberd: Replace $(HOST_DIR) to /usr in ERL path
Johan Oudinet [Mon, 25 Sep 2017 16:34:31 +0000 (18:34 +0200)]
ejabberd: Replace $(HOST_DIR) to /usr in ERL path

Previously, it was working by luck. Buildroot has fixed its definition
of HOST_DIR and pkg-autotools.mk uses the classical /usr prefix. So,
fix this sed expression to correctly replace $(HOST_DIR) by /usr in ERL
path.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoiproute2: fix static build with uClibc
Baruch Siach [Thu, 28 Sep 2017 18:16:40 +0000 (21:16 +0300)]
iproute2: fix static build with uClibc

Version 4.13 added a local definition of strlcpy(). This clashes with
the uClibc provided one when linking statically. Add a patch that
detects libc provided strlcpy(), and avoids the multiple definition.

Fixes:
http://autobuild.buildroot.net/results/f34/f34684dcdb47938a3da8b00c8b29000cc23b4e3d/
http://autobuild.buildroot.net/results/a01/a01c5775945f5ffe75451722b676fc93333a0f14/
http://autobuild.buildroot.net/results/0ee/0eeab1a0ca943f9a035a0d458ddf9cc210bc87f4/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/openobex: disable doc build
Bernd Kuhls [Tue, 26 Sep 2017 17:20:40 +0000 (19:20 +0200)]
package/openobex: disable doc build

Openobex would need the host variant of xmlint (provided by host-
libxml2) to build the documentation.
To avoid this dependency we disable the build of the documentation.

Fixes
http://autobuild.buildroot.net/results/668/668ffb15f8c4faf0f4c462488dbb70b61386d465/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoevemu: bump version to 2.7.0
Peter Seiderer [Wed, 27 Sep 2017 20:35:27 +0000 (22:35 +0200)]
evemu: bump version to 2.7.0

See [1] for details.

[1] https://lists.freedesktop.org/archives/input-tools/2017-September/001416.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi_pc: bump linux to 4.13.3
Peter Korsgaard [Wed, 27 Sep 2017 19:49:07 +0000 (21:49 +0200)]
orangepi_pc: bump linux to 4.13.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi_pc: bump u-boot to 2017.09
Peter Korsgaard [Wed, 27 Sep 2017 19:51:06 +0000 (21:51 +0200)]
orangepi_pc: bump u-boot to 2017.09

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi_zero: bump u-boot to 2017.09
Peter Korsgaard [Wed, 27 Sep 2017 19:51:05 +0000 (21:51 +0200)]
orangepi_zero: bump u-boot to 2017.09

Cc: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoDEVELOPERS: Update imx6-sabresd config entry
Fabio Estevam [Wed, 27 Sep 2017 10:28:08 +0000 (07:28 -0300)]
DEVELOPERS: Update imx6-sabresd config entry

After the conversion to SPL the imx6sabresd defconfig targets have
been renamed,so update the entry accordingly.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years ago.gitlab-ci.yml: Update imx6-sabresd defconfig entries
Fabio Estevam [Wed, 27 Sep 2017 10:28:07 +0000 (07:28 -0300)]
.gitlab-ci.yml: Update imx6-sabresd defconfig entries

After the conversion to SPL the imx6sabresd defconfig targets have
been renamed, so update their entries accordingly.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoperl: bump to version 5.26.1
Francois Perrad [Wed, 27 Sep 2017 08:32:50 +0000 (10:32 +0200)]
perl: bump to version 5.26.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/mx25pdk: Bump U-Boot and kernel versions
Fabio Estevam [Thu, 28 Sep 2017 12:44:59 +0000 (09:44 -0300)]
configs/mx25pdk: Bump U-Boot and kernel versions

Bump to U-Boot 2017.09 and kernel to 4.13.3.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/libmad: don't install .pc in target
Yann E. MORIN [Thu, 28 Sep 2017 18:06:21 +0000 (20:06 +0200)]
package/libmad: don't install .pc in target

We explicitly remove pkg-config files from target in the target-finalize
step, and our pkg-config looks for .pc files from staging, not target.

So, explicitly installing the .pc in target is useless.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoengicam: imx6qdl_icore: Bump to latest Linux and uboot releases
Jagan Teki [Wed, 13 Sep 2017 11:42:06 +0000 (17:12 +0530)]
engicam: imx6qdl_icore: Bump to latest Linux and uboot releases

- Linux: 4.13
- Uboot: 2017.07

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoflex: Fix segfault of stage1flex when host has glibc 2.26 or newer
Adrian Perez de Castro [Wed, 13 Sep 2017 14:35:24 +0000 (17:35 +0300)]
flex: Fix segfault of stage1flex when host has glibc 2.26 or newer

When the host uses glibc 2.26 or newer, Flex will try to use the
newly-introduced reallocarray() function, but as it would not define
_GNU_SOURCE a segmentation fault would occur later on due to the
compiler assumming that the function is implicitly defined.

This issue manifests itself due to a crash of "stage1flex" during the
Flex bootstrap:

  ./stage1flex   -o stage1scan.c ./scan.l
  make[2]: *** [Makefile:1725: stage1scan.c] Segmentation fault (core dumped)

This imports the patch from the upstream Git repository, and adds flags
in the .mk file to rebuild the Autotools scripts and support files. Due
to the latter, the patch to disable the documentation is changed so it
modifies the .am file instead.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[Arnout:
 - Add Adrian's Sob and upstream ref to new patch;
 - Keep patch 1 as patch 1;
 - Keep Vicente as author of path 1;
 - Add reason for autoreconf in a comment.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/glibc: bump to 2.26
Romain Naour [Sat, 23 Sep 2017 21:24:06 +0000 (23:24 +0200)]
package/glibc: bump to 2.26

Drop upstream patch:

0001-sh-Fix-building-with-gcc5-6.patch
https://sourceware.org/git/?p=glibc.git;a=commit;h=d40dbe722f004f999b589de776f7e57e564dda01

0002-CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch
https://sourceware.org/git/?p=glibc.git;a=commit;h=f6110a8fee2ca36f8e2d2abecf3cba9fa7b8ea7d

0003-ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch
https://sourceware.org/git/?p=glibc.git;a=commit;h=6d0ba622891bed9d8394eef1935add53003b12e8

0004-ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch

https://sourceware.org/git/?p=glibc.git;a=commit;h=81b82fb966ffbd94353f793ad17116c6088dedd9

0005-fix-binutils-2-29-build.patch
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff_plain;h=388b4f1a02f3a801965028bbfcd48d905638b797

0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff_plain;h=69052a3a95da37169a08f9e59b2cc1808312753c

0006-sh4-trap.patch
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff_plain;h=db3d848e154b00071f4a5e729d5884efad410109

But 2.26 version introduced quite a few regressions on x86, x86_64 and
powerpc64le when float128 support was added. All these issues are now
fixed in the glibc 2.26 stable branch.

Backport patches from glibc 2.26 stable branch related to bug 21930.
Take all patches listed in this bug report in order to have all fix
for this issue [1] [2].

Fixes gnuradio build:
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp: In function ‘std::size_t boost::hash_detail::float_hash_value(T)’:
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘float’
             switch (fpclassify(v))
                     ^
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘long’
             switch (fpclassify(v))
                     ^
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: found ‘:’ in nested-name-specifier, expected ‘::’
             switch (fpclassify(v))
                     ^
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Float128’ is not a class or namespace
             switch (fpclassify(v))
                     ^

[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Generic’ was not declared in this scope
             switch (fpclassify(v))
                     ^

Also backport fix for glibc bug 22146.
Without this patch some C++ applications (jsoncpp, mesa3d and kodi) fail
to build due to an issue while building the toolchain.

A test in the libstdc++ configure script fail when -Os and float128 are
used.

See the bug report for details [3].

[1] https://sourceware.org/ml/libc-alpha/2017-08/msg00586.html
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=21930
[3] https://sourceware.org/bugzilla/show_bug.cgi?id=22146

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/flex: disable reallocarray
Romain Naour [Sat, 23 Sep 2017 21:24:05 +0000 (23:24 +0200)]
package/flex: disable reallocarray

This doesn't compile with glibc 2.26 where reallocarray() as been introduced.

It's a nasty issue, when reallocarray() is available for the target, flex will
build a small tool called stage1flex for the host (using _FOR_BUILD) but with
the config.h generated for the target.

When the host doesn't have a glibc >= 2.26, reallocarray() is never defined
while building stage1flex:

misc.c:147:8: warning : implicit declaration of function « reallocarray »
[-Wimplicit-function-declaration]
  mem = reallocarray(NULL, (size_t) size, element_size);
        ^~~~~~~~~~~~
misc.c:147:6: warning : assignment makes pointer from integer without a cast
[-Wint-conversion]
  mem = reallocarray(NULL, (size_t) size, element_size);
      ^

Disable reallocarray for now, reallocarray() support may be
enabled in a followup patch.

Fixes:
stage1flex-misc.o: In function `allocate_array':
misc.c:(.text+0x38f): undefined reference to `reallocarray'
stage1flex-misc.o: In function `reallocate_array':
misc.c:(.text+0xc8a): undefined reference to `reallocarray'
collect2: error: ld returned 1 exit status

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/diffutils: disable getopt_long replacement with glibc
Romain Naour [Sat, 23 Sep 2017 21:24:04 +0000 (23:24 +0200)]
package/diffutils: disable getopt_long replacement with glibc

Since glibc >= 2.26, don't try to use getopt_long replacement bundled
with diffutils. It will conflict with the one from glibc.
The getopt copy bundled in glibc has been updated with the one from gnulib.

After a lot of warnings...
Fixes:
xstrtol-error.c: In function 'xstrtol_error':
xstrtol-error.c:84:26: error: invalid use of undefined type 'struct rpl_option'
     option = long_options[opt_idx].name;
                          ^
xstrtol-error.c:84:26: error: dereferencing pointer to incomplete type 'const struct rpl_option'

[...]

xstrtol-error.c:92:1: error: conflicting types for 'xstrtol_fatal'
 xstrtol_fatal (enum strtol_error err,
 ^~~~~~~~~~~~~
In file included from xstrtol-error.c:20:0:
xstrtol.h:69:16: note: previous declaration of 'xstrtol_fatal' was here
 _Noreturn void xstrtol_fatal (enum strtol_error,
                ^~~~~~~~~~~~~

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/gcc: enable float128 on powerpc64le with glibc >= 2.26 toolchains
Romain Naour [Sat, 23 Sep 2017 21:24:03 +0000 (23:24 +0200)]
package/gcc: enable float128 on powerpc64le with glibc >= 2.26 toolchains

float128 is now required on powerpc64le with glibc >= 2.26 toolchains.

Fixes:
running configure fragment for sysdeps/gnu
running configure fragment for sysdeps/powerpc/powerpc64le
checking if [...]powerpc64le-buildroot-linux-gnu-gcc supports binary128 floating point type... no
checking if the target machine is at least POWER8... yes
configure: error: ***  binary128 floating point type (GCC >= 6.2) is required on powerpc64le.

In order to prepare the glibc bump to this version, we enable
binary128 floating point in gcc. This require at least gcc >= 6.2.

Disable gcc 4.x and 5.x for internal toolchain.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/glibc: needs kernel headers >= 3.10 on powerpc64le
Romain Naour [Sat, 23 Sep 2017 21:24:02 +0000 (23:24 +0200)]
package/glibc: needs kernel headers >= 3.10 on powerpc64le

Since glibc 2.26, kernel headers >= 3.10 are needed on powerpc64le [1].
In order to prepare the glibc bump to this version, we don't allow to
build a Buildroot toolchain with kernel headers older than 3.10.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=c2ff5ec13fca1bdd1cd646a0260808386d7bd7ff

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/gcc: fix build issue with glibc 2.26
Romain Naour [Sat, 23 Sep 2017 21:24:01 +0000 (23:24 +0200)]
package/gcc: fix build issue with glibc 2.26

../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: In function ‘int __sanitizer::TracerThread(void*)’:
../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:241:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined
   struct sigaltstack handler_stack;

../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: In function ‘int __sanitizer::TracerThread(void*)’:
../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined
   struct sigaltstack handler_stack;
                      ^~~~~~~~~~~~~

The fix is already included in gcc 7.2 release [1]. We have to backport it to
all older gcc release since it's not included in any stable release yet.

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=72edc2c02f8b4768ad660f46a1c7e2400c0a8e06

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/gcc: fix build issue with glibc 2.26
Romain Naour [Sat, 23 Sep 2017 21:24:00 +0000 (23:24 +0200)]
package/gcc: fix build issue with glibc 2.26

In file included from ../../../libgcc/unwind-dw2.c:403:0:
./md-unwind-support.h: In function « aarch64_fallback_frame_state »:
./md-unwind-support.h:58:21: error: field « uc »  has incomplete type
     struct ucontext uc;
                     ^~

The fix is already included in gcc 7.2 release [1]. We have to backport it to
all older gcc release since it's not included in any stable release yet.

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=14c2f22a1877f6b60a2f7c2f83ffb032759456a6

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoutils/config: new script to manipulate .config files on the command line
Marcus Folkesson [Tue, 26 Sep 2017 21:15:02 +0000 (23:15 +0200)]
utils/config: new script to manipulate .config files on the command line

Default prefix is set to `BR2_` but may be overidden by setting
BR2_PREFIX.

Example usage:

Enable `BR2_PACKAGE_GNUPG`:
./utils/config --package --enable GNUPG

Check state of config option `BR2_PACKAGE_GNUPG`:
./utils/config --package --state GNUPG
y

Enable `BR2_PACKAGE_GNUPG`:
./utils/config --package --disable GNUPG

Set `BR2_TARGET_GENERIC_ISSUE` to "Welcome":
./utils/config --set-str  TARGET_GENERIC_ISSUE "Welcome"

Copied from the Linux kernel (4.13-rc6) source code and adapted to
Buildroot.
Thanks to Andi Kleen who is the original author of this script.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
[Arnout: merge the two tr invications]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/raspberrypi3_qt5we: set gpu-mem to 200
Gaël PORTAY [Sat, 23 Sep 2017 23:30:07 +0000 (19:30 -0400)]
configs/raspberrypi3_qt5we: set gpu-mem to 200

Qt WebEngine requires more GPU memory than initial setup.

This fixes crashes such as this one.

#0 0x0000742c63de <unknown>
#1 0x0000742d0c38 <unknown>
#2 0x0000749d7bde <unknown>
#3 0x0000749e3c70 <unknown>
#4 0x00007530227c <unknown>
#5 0x000075302480 <unknown>
#6 0x0000752fb1e4 <unknown>
#7 0x00007430f878 <unknown>
#8 0x0000742d5fee <unknown>
#9 0x0000742d6f44 <unknown>
#10 0x0000742d721e <unknown>
#11 0x0000742d7ad6 <unknown>
#12 0x0000742d57b2 <unknown>
#13 0x0000742e74f6 <unknown>
#14 0x0000742f6a74 <unknown>
#15 0x0000742f41dc <unknown>

Received signal 6
#0 0x0000742c63de <unknown>
#1 0x0000742c66a0 <unknown>
#2 0x0000725b5d10 <unknown>
[end of stack trace]
qml: Render process exited with code 256 (abnormal exit)

Reported-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoraspberrypi: post-image.sh add new gpu_mem option
Gaël PORTAY [Sat, 23 Sep 2017 23:30:06 +0000 (19:30 -0400)]
raspberrypi: post-image.sh add new gpu_mem option

The amount of GPU memory can be set using the new option --gpu_mem_XXX
(where XXX is the total amount of memory available on the board).

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoboard/raspberrypi/post-image.sh: add multi arg support
Erik Stromdahl [Sat, 15 Jul 2017 12:50:29 +0000 (14:50 +0200)]
board/raspberrypi/post-image.sh: add multi arg support

Add possibility to supply multiple arguments to
post-image.sh

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
[Arnout: indent esac, suggested by Gaël PORTAY]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/mx6sx_udoo_neo: bump Kernel and U-Boot versions
Breno Lima [Wed, 27 Sep 2017 12:57:12 +0000 (09:57 -0300)]
configs/mx6sx_udoo_neo: bump Kernel and U-Boot versions

Bump U-Boot to 2017.09 and kernel to 4.13.3 versions.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/git: security bump to version 2.13.6
Bernd Kuhls [Wed, 27 Sep 2017 17:14:31 +0000 (19:14 +0200)]
package/git: security bump to version 2.13.6

Release notes:
https://public-inbox.org/git/xmqqy3p29ekj.fsf@gitster.mtv.corp.google.com/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openvpn: security bump to version 2.4.4
Bernd Kuhls [Wed, 27 Sep 2017 17:05:00 +0000 (19:05 +0200)]
package/openvpn: security bump to version 2.4.4

Fixes CVE-2017-12166:
https://community.openvpn.net/openvpn/wiki/CVE-2017-12166

Changelog:
https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/librsync: fix build without C++ support
Bernd Kuhls [Tue, 26 Sep 2017 17:10:50 +0000 (19:10 +0200)]
package/librsync: fix build without C++ support

Fixes:

  http://autobuild.buildroot.net/results/3cacb87e39a0ebb9d227fff4be71bea8132bf0ed/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump version of Linaro AArch64 toolchain to 2017.08
Romain Naour [Mon, 25 Sep 2017 20:08:12 +0000 (22:08 +0200)]
toolchain-external: bump version of Linaro AArch64 toolchain to 2017.08

GDB has been updated to 8.0 version in the release.

https://releases.linaro.org/components/toolchain/binaries/6.4-2017.08

Tested with qemu_aarch64_virt_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump version of Linaro ARMeb toolchain to 2017.08
Romain Naour [Mon, 25 Sep 2017 20:08:11 +0000 (22:08 +0200)]
toolchain-external: bump version of Linaro ARMeb toolchain to 2017.08

GDB has been updated to 8.0 version in the release.

https://releases.linaro.org/components/toolchain/binaries/6.4-2017.08

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump version of Linaro ARM toolchain to 2017.08
Romain Naour [Mon, 25 Sep 2017 20:08:10 +0000 (22:08 +0200)]
toolchain-external: bump version of Linaro ARM toolchain to 2017.08

GDB has been updated to 8.0 version in the release.

https://releases.linaro.org/components/toolchain/binaries/6.4-2017.08

Tested with qemu_arm_vexpress_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoopenntpd: fix build with musl
Baruch Siach [Tue, 26 Sep 2017 12:37:35 +0000 (15:37 +0300)]
openntpd: fix build with musl

The recent version bump added a local sys/cdefs.h header that overrides
the internal libc provided one. But since musl does not use this header,
the __dead definition in this file is missing. Add a patch that moves
the __dead definition to sys/types.h.

Update the autoreconf reason comment. Current openntpd ships libtool
version 2.4.2 that Buildroot can safely patch.

Fixes:
http://autobuild.buildroot.net/results/2b1/2b14b7012b93f0f2bfaf9e61435dd8826217d481/
http://autobuild.buildroot.net/results/7b0/7b08c987ce200deefa21ba85a9361d818be6b206/
http://autobuild.buildroot.net/results/230/2304c4de26bd6217b79aa035be340a3c81497cbd/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mono: bump to version 5.2.0.224
Angelo Compagnucci [Tue, 26 Sep 2017 13:59:09 +0000 (15:59 +0200)]
package/mono: bump to version 5.2.0.224

This patch bumps mono to version 5.2.0.224 and the required monolite
dependency to 1050200001.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoedid-decode: bump to latest version
Baruch Siach [Tue, 26 Sep 2017 15:46:13 +0000 (18:46 +0300)]
edid-decode: bump to latest version

This version brings bug fixes and improvements.

http://www.spinics.net/lists/linux-media/msg122284.html

Cc: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodash: bump to version 0.5.9.1
Carlos Santos [Wed, 27 Sep 2017 16:41:53 +0000 (13:41 -0300)]
dash: bump to version 0.5.9.1

Use the maintainer's repository, update the package description, based
on the official one, and drop an obsolete patch.

Change-Id: I2170aa4c1cc57de2a25ef04e89a216b254f2a859
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default to version 4.13.4
Bernd Kuhls [Wed, 27 Sep 2017 16:27:36 +0000 (18:27 +0200)]
linux: bump default to version 4.13.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 13}.x series
Bernd Kuhls [Wed, 27 Sep 2017 16:27:35 +0000 (18:27 +0200)]
linux-headers: bump 4.{4, 9, 13}.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowsapi: fix broken patch
Francois Perrad [Wed, 27 Sep 2017 12:54:44 +0000 (14:54 +0200)]
wsapi: fix broken patch

Fixes:

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

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/opencore-amr: bump version to 0.1.5
Bernd Kuhls [Sat, 16 Sep 2017 13:22:03 +0000 (15:22 +0200)]
package/opencore-amr: bump version to 0.1.5

Added md5 & sha1 hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimx6-sabresd/readme: Add an entry for glmark benchmark
Fabio Estevam [Mon, 25 Sep 2017 11:59:48 +0000 (08:59 -0300)]
imx6-sabresd/readme: Add an entry for glmark benchmark

Add an entry to explain how to run the glmark benchmark.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6-sabresd_qt5: Bump kernel to 4.13.3
Fabio Estevam [Mon, 25 Sep 2017 11:59:47 +0000 (08:59 -0300)]
configs/imx6-sabresd_qt5: Bump kernel to 4.13.3

Bump the kernel version to 4.13.3.

Kernel 4.13.3 uses the /dev/dri/card0 device as rendering node, so
adjust it accordingly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6q-sabresd_qt5: Switch to SPL
Fabio Estevam [Mon, 25 Sep 2017 11:59:46 +0000 (08:59 -0300)]
configs/imx6q-sabresd_qt5: Switch to SPL

U-Boot 2017.09 uses SPL, so bump to this version so that we can
have a single qt5 image that supports the different imx6 sabresd
boards: imx6q, imx6dl and imx6qp.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6q-sabresd-qt5: Increase the rootfs size
Fabio Estevam [Mon, 25 Sep 2017 11:59:45 +0000 (08:59 -0300)]
configs/imx6q-sabresd-qt5: Increase the rootfs size

The QT5 rootfs requires more space, so adjust it a larger size.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6-sabresd: Bump kernel and U-Boot versions
Fabio Estevam [Mon, 25 Sep 2017 11:59:44 +0000 (08:59 -0300)]
configs/imx6-sabresd: Bump kernel and U-Boot versions

Bump U-Boot to 2017.09 and kernel to 4.13.3 versions.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/imx6q-sabresd: Drop the 'quad' notation
Fabio Estevam [Mon, 25 Sep 2017 11:59:43 +0000 (08:59 -0300)]
configs/imx6q-sabresd: Drop the 'quad' notation

Now that SPL is supported a single image can run on the different
variants of imx6 sabresd boards: imx6q, imx6dl and imx6qp.

So drop the 'quad' prefix from defconfig, directory and readme file
to make it generic.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/poco: needs NPTL
Bernd Kuhls [Mon, 25 Sep 2017 08:30:01 +0000 (10:30 +0200)]
package/poco: needs NPTL

Fixes
http://autobuild.buildroot.net/results/609/6090f5a0f4bf96b9dc2b3e48eb2e33c83d2ba7d2/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/dfu-util: allow to build it for the target as well
Wolfgang Grandegger [Mon, 25 Sep 2017 06:12:48 +0000 (08:12 +0200)]
package/dfu-util: allow to build it for the target as well

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/asterisk: fix host build
Yann E. MORIN [Sun, 24 Sep 2017 16:33:01 +0000 (18:33 +0200)]
package/asterisk: fix host build

The host menuselect tool is linked to our host libxml2 library, but it
is missing an RPATH to the host directory.

This is because menuselect does not use automake, so does not inherit
the LDFLAGS from the configure run.

We fix that by simply passing $(HOST_CONFIGURE_OPTS) in the make
environment.

At the same time, we also install the tool in the host directory, even
if not used from there, so that the sanity checks we run are properly
passed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agosupport/check-rpath: recognise PIE
Yann E. MORIN [Sun, 24 Sep 2017 16:22:44 +0000 (18:22 +0200)]
support/check-rpath: recognise PIE

We sanity-check the host executables that they have a correct RPATH
pointing to the host libraries.

This is currently done by looking for all files in $(HOST_DIR) that
match the 'ELF executable' pattern (a bit more complex, but that's
idea).

However, when an executable is built with -fPIE of -fpie, it no longer
appears to be an 'ELF executable', but it rather looks like an 'ELF
sheard object' (like if it were an library.

So, we miss those files.

It turns out that the problem is a real one, because quite a few
mainline distros, expecially those based on Debian for example, have
already switched to generating PIE code by default, and thus we miss on
a whole class of systems..

We fix that by simply looking if we can find an ELF interpreter in each
file. If we there is one, this is an ELF executable; if not, it may be
anything else: we don't care (not even about ELF libraries).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agonginx (S50nginx): Fix stop, reload, restart. Add force-reload.
Thomas Claveirole [Mon, 25 Sep 2017 13:20:29 +0000 (15:20 +0200)]
nginx (S50nginx): Fix stop, reload, restart. Add force-reload.

Fix package/nginx/S50nginx:

* On stop, use start-stop-daemon -R 1 to wait for the nginx processes
  to actually stop.  This fixes a race condition with restart, where
  nginx fails to restart because start is called too early
  w.r.t. stop.  (This only works with Debian's start-stop-daemon,
  however BusyBox's start-stop-daemon does not fail when given -R; it
  just ignores the argument silently).

* Implement reload with an actual reload instead of a restart.

* Add force-reload.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/wandboard: Bump U-Boot and kernel versions
Fabio Estevam [Thu, 21 Sep 2017 13:59:39 +0000 (10:59 -0300)]
configs/wandboard: Bump U-Boot and kernel versions

Bump U-Boot to 2017.09 version and kernel to 4.13.3.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agowandboard: genimage: Pass an offset for the rootfs
Fabio Estevam [Thu, 21 Sep 2017 13:59:38 +0000 (10:59 -0300)]
wandboard: genimage: Pass an offset for the rootfs

Pass an offset of 1MB for the start of the rootfs.

Otherwise we get rootfs corruption when the bootloader is manually
written to the SD card.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs: Add qemu_ppc64le_pseries
Joel Stanley [Wed, 20 Sep 2017 02:48:45 +0000 (12:18 +0930)]
configs: Add qemu_ppc64le_pseries

This is similar to the ppc64_pseries config, except we build for little
endian instead of big endian.

The default architecture is set to Power8 as this was the first fully
enabled LE machine.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs: qemu_ppc64_pseries: Update to kernel 4.13.1
Joel Stanley [Wed, 20 Sep 2017 02:48:44 +0000 (12:18 +0930)]
configs: qemu_ppc64_pseries: Update to kernel 4.13.1

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/efl: bump to 1.20.4
Romain Naour [Sat, 23 Sep 2017 20:53:44 +0000 (22:53 +0200)]
package/efl: bump to 1.20.4

https://www.enlightenment.org/news/efl-1.20.4

Remove upstream patch.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/kodi-skin-confluence: bump version to 3.1.4
Bernd Kuhls [Sat, 23 Sep 2017 12:02:43 +0000 (14:02 +0200)]
package/kodi-skin-confluence: bump version to 3.1.4

This version was not tagged upstream so use a git hash which has that
version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/kodi-pvr-hts: bump version to 3.4.28
Bernd Kuhls [Sat, 23 Sep 2017 12:02:42 +0000 (14:02 +0200)]
package/kodi-pvr-hts: bump version to 3.4.28

This version was not tagged upstream so use a git hash which has that
version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/kodi-inputstream-rtmp: bump version to 1.0.6
Bernd Kuhls [Sat, 23 Sep 2017 12:02:41 +0000 (14:02 +0200)]
package/kodi-inputstream-rtmp: bump version to 1.0.6

This version was not tagged upstream so use a git hash which has that
version.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/kodi-inputstream-adaptive: bump version to 2.0.18
Bernd Kuhls [Sat, 23 Sep 2017 12:02:40 +0000 (14:02 +0200)]
package/kodi-inputstream-adaptive: bump version to 2.0.18

Fixes https://bugs.busybox.net/show_bug.cgi?id=10256

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/x11r7/xserver_xorg-server: glamor support needs egl
Bernd Kuhls [Sat, 23 Sep 2017 11:30:18 +0000 (13:30 +0200)]
package/x11r7/xserver_xorg-server: glamor support needs egl

Glamor support in xserver_xorg-server depends on gbm:
https://cgit.freedesktop.org/xorg/xserver/tree/configure.ac#n2100

Gbm is provided by mesa3d only if egl is enabled:
https://git.buildroot.net/buildroot/tree/package/mesa3d/mesa3d.mk#n167

This patch adds libegl as additional prerequisite for enabling glamor
support in xserver_xorg-server.

Fixes
http://autobuild.buildroot.net/results/04d/04d93745d63fcfbea070c0126862b49f1b6f473e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/poppler: include ctype.h to fix build error
Bernd Kuhls [Sat, 23 Sep 2017 09:44:07 +0000 (11:44 +0200)]
package/poppler: include ctype.h to fix build error

Fixes
http://autobuild.buildroot.net/results/a6a/a6a336f8b6a0136b204a34091e33dc4598178125/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/libshout: enable optional dependency for libressl
Bernd Kuhls [Sat, 23 Sep 2017 09:19:49 +0000 (11:19 +0200)]
package/libshout: enable optional dependency for libressl

libshout uses pkgconfig currently only to check for openssl paths, to
fix the build error we pass our STAGING_DIR as parameter to
--with-openssl

Fixes
http://autobuild.buildroot.net/results/72a/72aa07d48d6b1d7dea046b88ee4aa943534ffad4/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years ago.gitlab-ci.yml: update after adding raspberrypi3_qt5we_defconfig
Arnout Vandecappelle (Essensium/Mind) [Tue, 26 Sep 2017 21:49:01 +0000 (23:49 +0200)]
.gitlab-ci.yml: update after adding raspberrypi3_qt5we_defconfig

Commit 21234ce8 introduced raspberrypi3_qt5we_defconfig but didn't
update .gitlab-ci.yml. Do that now.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/tor: add optional support for lzma
Bernd Kuhls [Sat, 23 Sep 2017 08:46:28 +0000 (10:46 +0200)]
package/tor: add optional support for lzma

According to https://blog.torproject.org/tor-0317-now-released
we also need host-pkgconf for lzma support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/tor: security bump to version 0.3.1.7
Bernd Kuhls [Sat, 23 Sep 2017 08:46:27 +0000 (10:46 +0200)]
package/tor: security bump to version 0.3.1.7

Quoted from release notes:
https://blog.torproject.org/tor-0317-now-released
"Tor 0.3.1.7 is the first stable release in the 0.3.1 series."

Fixes CVE-2017-0380:
https://trac.torproject.org/projects/tor/ticket/23490

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopython-numpy: Ensure `_npy_scaled_cexp{, f, l}` is defined when needed
Alexey Brodkin [Fri, 22 Sep 2017 22:30:53 +0000 (01:30 +0300)]
python-numpy: Ensure `_npy_scaled_cexp{, f, l}` is defined when needed

With update of Numpy to the latest version we've got one change which
breaks Numpy compilcation in some cases.

This change back-ports upstream fix from:
https://github.com/numpy/numpy/pull/9740

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>