buildroot.git
8 years agopackage/go: Set file timestamp
Geoff Levand [Thu, 26 May 2016 18:21:33 +0000 (18:21 +0000)]
package/go: Set file timestamp

Set all file timestamps to prevent the go compiler from rebuilding any
built in packages when programs are built.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/flannel: Add BR2_TOOLCHAIN_HAS_THREADS
Geoff Levand [Thu, 26 May 2016 18:21:33 +0000 (18:21 +0000)]
package/flannel: Add BR2_TOOLCHAIN_HAS_THREADS

flannel uses the cgo package, so needs a toolchain with thread
support.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/go: Add HOST_GO_CGO_ENABLED
Geoff Levand [Thu, 26 May 2016 18:21:33 +0000 (18:21 +0000)]
package/go: Add HOST_GO_CGO_ENABLED

The go compiler's cgo support uses threads.  If BR2_TOOLCHAIN_HAS_THREADS is
set, build in cgo support for any go programs that may need it.  Note that
any target package needing cgo support must include
'depends on BR2_TOOLCHAIN_HAS_THREADS' in its config file.

Fixes build errors like these:

  error: #warning requested reentrant code

  http://autobuild.buildroot.net/results/42a8d07101d8d954511d1c884ecb66e8d861899e

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/flannel: Use HOST_GO_TARGET_ENV
Geoff Levand [Thu, 26 May 2016 18:21:33 +0000 (18:21 +0000)]
package/flannel: Use HOST_GO_TARGET_ENV

Use the newly added HOST_GO_TARGET_ENV variable to pickup the
correct go environment for package builds.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/go: Add HOST_GO_TARGET_ENV
Geoff Levand [Thu, 26 May 2016 18:21:32 +0000 (18:21 +0000)]
package/go: Add HOST_GO_TARGET_ENV

For the convenience of package makefiles define the new
make variables HOST_GO_TOOLDIR and HOST_GO_TARGET_ENV.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/go: Build host tools with host CC
Geoff Levand [Thu, 26 May 2016 18:21:32 +0000 (18:21 +0000)]
package/go: Build host tools with host CC

The go build system doesn't have the notion of cross compiling, but just the
notion of architecture.  When the host and target architectures are different
it expects to be given a target cross compiler in CC_FOR_TARGET.  When the
architectures are the same it will use CC_FOR_TARGET for both host and target
compilation.  To work around this limitation build and install a set of
compiler and tool binaries built with CC_FOR_TARGET set to the host compiler.
Also, the go build system is not compatible with ccache, so use
HOSTCC_NOCCACHE.  See https://github.com/golang/go/issues/11685.

Fixes build errors like these:

  host/usr/bin/go: No such file or directory

  http://autobuild.buildroot.net/results/6664189a6f3a815978e8d0a1d7ef408ca47e2874/

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoeudev: link to real homepage
Baruch Siach [Thu, 26 May 2016 13:24:33 +0000 (16:24 +0300)]
eudev: link to real homepage

The Gentoo wiki page is much more informative than the download directory.
This is the official homepage according to top level README.md.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolirc-tools: add patch to fix parallel build issue
Thomas Petazzoni [Wed, 25 May 2016 14:00:00 +0000 (16:00 +0200)]
lirc-tools: add patch to fix parallel build issue

The lirc-tools package fails to build once in a while in the
autobuilders. Some quick analysis of the problematic Makefile.am has
revealed one issue. However, since the issue is difficult to
reproduce, we could only check that the new solution continue to work,
and we're not 100% sure it fixes the entire problem: only the
autobuilders can say, over time.

Supposedly fixes:

  http://autobuild.buildroot.org/results/eb47d57de8182d25b1dacbf0ac3726ed20063d04/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agojamvm: add patch to fix musl build
Thomas Petazzoni [Thu, 26 May 2016 13:08:15 +0000 (15:08 +0200)]
jamvm: add patch to fix musl build

Add a patch available from JamVM's bug tracker to fix the build with
the musl C library. The build was verified with the musl and uClibc C
libraries.

Fixes:

  http://autobuild.buildroot.org/results/8292973e9f6f2971d090f02f24d11a31709254cf/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/ustr: disable on musl
Bernd Kuhls [Tue, 24 May 2016 20:03:35 +0000 (22:03 +0200)]
package/ustr: disable on musl

libsemanage is the only package depending on ustr, both packages do not
build using a musl-based toolchain, suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149138

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libsemanage: disable on musl
Bernd Kuhls [Tue, 24 May 2016 20:03:34 +0000 (22:03 +0200)]
package/libsemanage: disable on musl

Suggested by Thomas:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/149138
"getpwent_r() is a glibc-specific extension, so it will most likely not
 be implemented by musl."

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/tinc: optionally include linux/if_tun.h to fix musl build
Bernd Kuhls [Sun, 22 May 2016 12:26:30 +0000 (14:26 +0200)]
package/tinc: optionally include linux/if_tun.h to fix musl build

Fixes
http://autobuild.buildroot.net/results/5b1/5b1d0c8c1bd75f7e228c313cb21b1638301568ae/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tinc: needs libdl for OpenSSL support
Bernd Kuhls [Sun, 22 May 2016 12:26:29 +0000 (14:26 +0200)]
package/tinc: needs libdl for OpenSSL support

Fixes
http://autobuild.buildroot.net/results/d5b/d5b2f905d8da79cebda1408ffceac6d4c99f9e7b/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ltris: fix static linking with libmad
Bernd Kuhls [Thu, 19 May 2016 05:52:13 +0000 (07:52 +0200)]
package/ltris: fix static linking with libmad

Fixes
http://autobuild.buildroot.net/results/b06/b0671af6be81550221f5abf98c2c797787590199/

[Peter: add host-pkgconf to _DEPENDENCIES]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agohidapi: fix the patch renaming a file
Thomas Petazzoni [Wed, 25 May 2016 09:42:30 +0000 (11:42 +0200)]
hidapi: fix the patch renaming a file

The patch
0001-hidtest-dont-use-a-C-source-file-since-it-s-pure-C.patch in the
hidapi package needs to rename a file from .cpp to .c to avoid a
dependency on C++. This renaming currently uses the Git-way of
describing renames in patches. While this is interpreted properly by
recent enough versions of the 'patch' tool, it is ignored and not
understood by older versions of 'patch'. Due to this, with these older
versions of 'patch', the file is not renamed, and it causes a build
failure.

We fix this by not using the Git-like way of describing rename, but
rather using the old-style way of doing renames. It makes the patch
longer, but compatible with older versions of 'patch'.

Fixes:

  http://autobuild.buildroot.org/results/d7509d9fdf8f86332a023358a740975f535eafef/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocups: fix static linking problem
Thomas Petazzoni [Sat, 14 May 2016 14:17:13 +0000 (16:17 +0200)]
cups: fix static linking problem

In static linking configurations, cups fails to build due to the lack of
Scrt1.o from uClibc toolchains. This Scrt1.o is only needed for PIE
binaries. Since we don't really care about PIE binaries in the context
of Buildroot, this commit solves the problem by patching cups to not
generate a PIE binary.

Fixes:

  http://autobuild.buildroot.net/results/445a401da2f63a6c43d7c166516287db6cc977ab/

Cc: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboot/uboot: fix missing host-openssl for i.MX28 target
Julien Boibessot [Fri, 20 May 2016 04:57:24 +0000 (06:57 +0200)]
boot/uboot: fix missing host-openssl for i.MX28 target

Building an U-Boot image for the i.MX23 or i.MX28 target requires to run the
bootloaders 'mxsimage' tool on the host. As mxsimage needs unconditionally
OpenSSL, building U-Boot for those targets fails if it is not available on
the host:

tools/mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory
  #include <openssl/evp.h>

Add the required dependency 'host-openssl' to all the different U-Boot image
types used to build a bootloader image for an i.MX23/i.MX28 target.

Also pass HOST_CFLAGS and HOST_LDFLAGS to the U-Boot build process so the right
-I/-L options will be used to find OpenSSL.

Ported from the Armadeus project:
https://sourceforge.net/p/armadeus/mailman/message/33595402/

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
[Jörg: port to recent Buildroot version]
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agompg123: unbreak static linking with alsa/portaudio
Peter Korsgaard [Tue, 24 May 2016 17:59:05 +0000 (19:59 +0200)]
mpg123: unbreak static linking with alsa/portaudio

Fixes:
http://autobuild.buildroot.org/results/b2b/b2bc143fbd0b34e75a44af41ab6899dd9fa3c21a/
http://autobuild.buildroot.org/results/60d/60d56b0a75d209f2cfeff0727c2f900abc89d263/
http://autobuild.buildroot.org/results/6a8/6a8729ce69055821fdf0b91adcea2ea201d40189/

And many more.

A recent upstream build system change caused LIBS to be ignored at build
time (but still used a configure time), causing our static linking
workarounds to no longer work.

Fix it by adding a patch to cause it to no longer ignore LIBS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotime: mark as not available for static-only builds
Thomas Petazzoni [Tue, 24 May 2016 19:59:48 +0000 (21:59 +0200)]
time: mark as not available for static-only builds

Due to some code imported from gnulib, the time package doesn't build
in static-only configurations. Indeed the gnulib code redefines the
error() and error_at_line() functions, which are also provided by the
C library. Since fixing the gnulib code is really difficult, let's
just disable this package for static-only builds.

Fixes:

  http://autobuild.buildroot.org/results/a0e64faba69fa86755c693f575fb258a77e4e9d1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agooprofile: not available on Microblaze
Thomas Petazzoni [Tue, 24 May 2016 19:59:37 +0000 (21:59 +0200)]
oprofile: not available on Microblaze

Commit c45979c732cb610ad5d54e23dd7d4d49e519d45b marked OProfile as not
available on the Xtensa architecture, due to the lack of memory
barrier operations. This commit does the same for the Microblaze
architecture, for the same reason, which allows to fix the following
autobuilder failure:

  http://autobuild.buildroot.org/results/9a872ddc906e9d552d30762e849a1b537b4e5095/

It is worth mentioning that most likely Xtensa and Microblaze are
architectures implementing a strongly-ordered memory model, in which
case we could define the memory barriers as no-ops. But until someone
who actually cares about OProfile on Xtensa and Microblaze shows up,
it's probably better to disable the package on those architectures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport/scripts: fix graph-build-time help text
Thomas Petazzoni [Tue, 24 May 2016 20:59:35 +0000 (22:59 +0200)]
support/scripts: fix graph-build-time help text

The graph-build-time help text currently looks like this:

usage: graph-build-time [-h] [--type GRAPH_TYPE] [--order GRAPH_ORDER]
                        [--alternate-colors] [--input OUTPUT] --output OUTPUT

Obviously, naming the parameter for --input as OUTPUT is not a very
good idea, so this commit fixes that to name it "INPUT", as expected.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mesa3d: Execute MESA3D_REMOVE_OPENGL_PC also for DRI configs lacking OpenGL
Bernd Kuhls [Tue, 17 May 2016 18:41:39 +0000 (20:41 +0200)]
package/mesa3d: Execute MESA3D_REMOVE_OPENGL_PC also for DRI configs lacking OpenGL

Mesa3d provides libgl only with DRI drivers and X.org enabled. Since

https://git.busybox.net/buildroot/commit/package/mesa3d/mesa3d.mk?id=f1894ec95728806e09405d26663e0ea371afaeab

DRI drivers can be enabled without X.org support, but mesa3d still does
not provide OpenGL support so we also need to remove the pkgconf files
in this case. A POST_INSTALL_*_HOOK is already present but needs to be
executed not only when DRI support was disabled but also with DRI en-
and X.org disabled.

Fixes
http://autobuild.buildroot.net/results/342/3420ad6aa8e1e8151bf11b43be2c97cbe1dbb400/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibxslt: security bump to version 1.1.29
Gustavo Zacarias [Tue, 24 May 2016 20:31:53 +0000 (17:31 -0300)]
libxslt: security bump to version 1.1.29

CVE-2015-7995 - Fix for type confusion in preprocessing attributes

Also drop upstream patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/skeleton: fix message about non-merged custom skeleton
Yann E. MORIN [Tue, 24 May 2016 20:02:09 +0000 (22:02 +0200)]
package/skeleton: fix message about non-merged custom skeleton

Use of a merged /usr is not restricted to systemd anymore, thus the
current error message is misleading, as it only speaks about systemd.

Fix the message by just ditching the reference to systemd altogether.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoerlang-p1-stringprep: backport upstream commit to fix musl build
Thomas Petazzoni [Mon, 16 May 2016 17:05:58 +0000 (19:05 +0200)]
erlang-p1-stringprep: backport upstream commit to fix musl build

Amusingly, a fix made upstream to fix the build on Windows also fixes
the build with the musl C library.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibgpgme: fix musl build with argp-standalone
Baruch Siach [Tue, 24 May 2016 12:30:17 +0000 (15:30 +0300)]
libgpgme: fix musl build with argp-standalone

The libgpgme configure script does not detect the error_t type under musl,
because musl does not define error_t in errno.h. As a result config.h adds a
local definition of error_t. When argp-standalone is present this local
definition collides with the error_t typedef in argp.h. Assume we always have
error_t when argp-standalone is present.

Fixes:
http://autobuild.buildroot.net/results/656/6566a1c77983404d90920997bfd15bd98c7ddde7/
http://autobuild.buildroot.net/results/a7b/a7b92ad68ff6e13d20ff44e955dc5748b2efd6a4/
http://autobuild.buildroot.net/results/0db/0db1b2aa0969d6cbae57b1400b7b766a5988abf9/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agostrongswan: needs __atomic operations
Thomas Petazzoni [Tue, 24 May 2016 15:29:53 +0000 (17:29 +0200)]
strongswan: needs __atomic operations

strongswan uses the __atomic_*() intrinsics, so we make it depend on
BR2_TOOLCHAIN_HAS_ATOMIC and link with libatomic when available. This
allows to fix the build on SPARC, therefore fixing:

  http://autobuild.buildroot.org/results/7e090237801874fb889c76f84863dc4c2ca20450/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowebkitgtk: security bump to version 2.12.3
Gustavo Zacarias [Tue, 24 May 2016 19:31:49 +0000 (16:31 -0300)]
webkitgtk: security bump to version 2.12.3

Fixes:
CVE-2016-1856 - allows remote attackers to execute arbitrary code or
cause a denial of service (memory corruption) via a crafted web site
CVE-2016-1857 - allows remote attackers to execute arbitrary code or
cause a denial of service (memory corruption) via a crafted web site

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/lxc: add patch to fix musl build
Jörg Krause [Fri, 20 May 2016 05:15:48 +0000 (07:15 +0200)]
package/lxc: add patch to fix musl build

Add a patch to fix a build issue with the musl C library.

struct in6_addr is both defined in the C library header <netinet/in.h> and the
Linux kernel header <linux/in6.h>.

lxc_user_nic.c includes both <netinet/in.h> and <linux/if_bridge.h>. The later
one includes <linux/in6.h>.

This breaks build with the musl libc:
  error: redefinition of ‘struct in6_addr’

As lxc_user_nic.c does not use any references from <linux/if_bridge.h> it is
safe to remove this header.

Fixes:
http://autobuild.buildroot.net/results/f32/f321823be6b477be7dc55393e563a3a61794265d/
http://autobuild.buildroot.net/results/8ab/8ab2dc8e0634fbfb582db94cdf94cee5712711f9/
http://autobuild.buildroot.net/results/e27/e27d637b1bb7278ae30d86a72a2d88432d805d2c/
.. and more.

Upstream status: Pending
https://github.com/lxc/lxc/pull/1029

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxserver_xorg-server: add explicit handling for xwayland
Gustavo Zacarias [Tue, 24 May 2016 13:04:37 +0000 (10:04 -0300)]
xserver_xorg-server: add explicit handling for xwayland

It's normally autodetected, which can lead to unexpected/unhandled
results.
configure checks for libdrm, libepoxy and wayland, however a proper
libxcomposite check is missing thus it can lead to build failure under
some odd conditions.
There's no autobuilder failure to quote here, however there's a mailing
list post that exemplifies this:
http://lists.busybox.net/pipermail/buildroot/2016-May/161793.html

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoflann: disable on microblaze
Thomas Petazzoni [Tue, 17 May 2016 21:23:50 +0000 (23:23 +0200)]
flann: disable on microblaze

All gcc versions fail to build flann on the Microblaze architecture, due
to gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69401, so let's
disable this package on this architecture.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoflann: add hash file
Thomas Petazzoni [Tue, 17 May 2016 21:23:49 +0000 (23:23 +0200)]
flann: add hash file

flann is fetched from Github, so we can add a hash file for this
package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoflann: bump version to fix build with gcc 6
Thomas Petazzoni [Tue, 17 May 2016 21:23:48 +0000 (23:23 +0200)]
flann: bump version to fix build with gcc 6

The current version of flann in Buildroot fails to build with gcc 6.x,
with the following failure:

  error: call of overloaded 'abs(flann::KDTreeIndex<flann::L2<float> >::ElementType)' is ambiguous

By bumping the upstream version one commit further, we get an upstream
fix that fixes the build problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: correct hash value for Linaro AArch64 toolchain source
Clayton Shotwell [Tue, 24 May 2016 14:04:06 +0000 (09:04 -0500)]
toolchain-external: correct hash value for Linaro AArch64 toolchain source

The aarch64 Linaro toolchain source hash is not correct, probably due
to a copy/paste error. The new hash has been verified by downloading
the tarball, validating the signature, and computing the hash.

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-treq: add missing BR2_INSTALL_LIBSTDCPP dependency
Thomas Petazzoni [Tue, 17 May 2016 21:39:59 +0000 (23:39 +0200)]
python-treq: add missing BR2_INSTALL_LIBSTDCPP dependency

python-treq selects python-pyopenssl, which depends on C++ support, but
this dependency was not propagated to python-treq, causing the following
kconfig warning:

warning: (BR2_PACKAGE_PYTHON_TREQ) selects BR2_PACKAGE_PYTHON_PYOPENSSL which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)

This commit fixes that by adding the appropriate dependency.

Cc: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: add Config.in comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-service-identity: add missing BR2_INSTALL_LIBSTDCPP dependency
Thomas Petazzoni [Tue, 17 May 2016 21:39:58 +0000 (23:39 +0200)]
python-service-identity: add missing BR2_INSTALL_LIBSTDCPP dependency

python-service-identity selects python-pyopenssl and python-pyasn, both
of which depend on C++ support, but this dependency was not propagated
to python-service-identity causing the following kconfig warning:

warning: (BR2_PACKAGE_PYTHON_SERVICE_IDENTITY) selects BR2_PACKAGE_PYTHON_PYOPENSSL which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)
warning: (BR2_PACKAGE_PYTHON_SERVICE_IDENTITY) selects BR2_PACKAGE_PYTHON_PYASN which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)
warning: (BR2_PACKAGE_PYTHON_SERVICE_IDENTITY) selects BR2_PACKAGE_PYTHON_PYASN_MODULES which has unmet direct dependencies ((BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) && BR2_INSTALL_LIBSTDCPP)

Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: add Config.in comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomidori: add missing BR2_TOOLCHAIN_USES_GLIBC dependency
Thomas Petazzoni [Tue, 17 May 2016 21:39:57 +0000 (23:39 +0200)]
midori: add missing BR2_TOOLCHAIN_USES_GLIBC dependency

midori selects webkitgtk, and webkitgtk needs a glibc toolchain, but
midori did not propagate this dependency, causing the following kconfig
warning:

warning: (BR2_PACKAGE_MIDORI) selects BR2_PACKAGE_WEBKITGTK which has unmet direct dependencies (BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_USES_GLIBC && BR2_PACKAGE_LIBGTK3 && BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS)

Interestingly, the Config.in comment of the midori package already
mentionned the (e)glibc dependency, but the BR2_TOOLCHAIN_USES_GLIBC
dependency was not expressed (either on the comment or on the main
package option itself).

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5serialbus: depend on toolchain headers >= 3.6
Yegor Yefremov [Wed, 18 May 2016 07:45:50 +0000 (09:45 +0200)]
qt5serialbus: depend on toolchain headers >= 3.6

qt5serialbus requires CAN FD support, that was introduced
in kernel 3.6. Add appropriate toolchain headers dependency.

Fixes:
http://autobuild.buildroot.net/results/617/6176a24799b5d80312be954089efbbb498fa1571/

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoaircrack-ng: mention script dependencies in the help text
Arnout Vandecappelle [Wed, 18 May 2016 19:28:43 +0000 (21:28 +0200)]
aircrack-ng: mention script dependencies in the help text

aircrack-ng has some scripts (airmon-ng, airmon-zc) that use external
tools for their functionality. We don't select the corresponding
packages because some of the other aircrack-ng tools don't need these
at all.

Still, the user should be informed of this. So update the help text to
refer to all packages used by the scripts:
- ethtool
- iw
- rfkill
- util-linux for lspci and lsusb (script uses options not available in
  busybox)
- wireless_tools for iwconfig and iwpriv

See also bug #8936

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: lipkegu@gmail.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/iptraf-ng: Needs -D_GNU_SOURCE to fix musl build
Bernd Kuhls [Mon, 23 May 2016 17:06:46 +0000 (19:06 +0200)]
package/iptraf-ng: Needs -D_GNU_SOURCE to fix musl build

Compiling iptraf-ng using musl is broken:

src/ipfrag.c:193:52: error: 'struct tcphdr' has no member named 'source'
    ftmp->s_port = ntohs(((struct tcphdr *) tpacket)->source);

Musl guards these fields in the netinet/tcp.h header file with
_GNU_SOURCE, for details see https://dev.openwrt.org/ticket/19889

Patch ported from
http://git.alpinelinux.org/cgit/aports/tree/main/iptraf-ng/APKBUILD#n28

Fixes
http://autobuild.buildroot.net/results/4ce/4cedd4dbaafca76e839f45cc0a4bb8c2c181920d/
http://autobuild.buildroot.net/results/72b/72b019ce5bb52b8b87d92cce675708f7b9f8a96e/
http://autobuild.buildroot.net/results/f67/f67f1c2a627a6d535dd5c00e2ee131b5c5a99a0a/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas: one assignment only for IPTRAF_NG_CONF_ENV.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxorriso: fix musl build
Baruch Siach [Tue, 24 May 2016 11:13:20 +0000 (14:13 +0300)]
xorriso: fix musl build

Add a patch that adds the missing header for ssize_t.

Fixes:
http://autobuild.buildroot.net/results/820/82014874f5b97de8504d8409b286889b582a7454/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agovalgrind: disable for MIPS soft-float
Vicente Olivert Riera [Mon, 23 May 2016 11:31:51 +0000 (12:31 +0100)]
valgrind: disable for MIPS soft-float

As stated here [1], recent changes on the MIPS binutils sources have
made it necessary for GCC to pass the -msoft-float to the assembler. Due
to that, valgrind fails to build for MIPS soft-float when using a
version of binutils >= 2.25 because its using some hard-float
instructions.

However, we cannot just disable it for the soft-float and binutils >=
2.25 combination since external toolchains don't provide information
about the binutils version they use. So, instead, we simply disable it
for soft-float.

1: https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00905.html

Fixes:
  http://autobuild.buildroot.net/results/5f5/5f576c7f8d56058a19ed0e7ff4b1ec620bcafb65/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibepoxy: cosmetic fixes
Gustavo Zacarias [Mon, 23 May 2016 21:07:43 +0000 (18:07 -0300)]
libepoxy: cosmetic fixes

It's --enable-glx rather than --enable-egl, both are automatic though.
Change the autoreconf comment to reflect that it's required for all
patches.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocs: Fixed syntax error in makedev-syntax example.
Alan Yaniger [Sun, 6 Mar 2016 20:29:11 +0000 (22:29 +0200)]
docs: Fixed syntax error in makedev-syntax example.

In the makedev syntax documentation, one of the examples lacks the "mode"
value.  This patch fixes that example.

Signed-off-by: Alan Yaniger <alan@tkos.co.il>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain: improve SSP logic
Vicente Olivert Riera [Tue, 15 Mar 2016 16:40:38 +0000 (16:40 +0000)]
toolchain: improve SSP logic

Don't enable SSP support on external toolchains just because they use
glibc or musl. Instead of that, make the external toolchains explictily
declare if they support SSP or not. And also add a check to detect SSP
support when using custom external toolchains.

For internal toolchains we always enable SSP support for glibc and musl.

Fixes:

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

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas:
 - remove uClibc-specific SSP check, since there is now a generic
   check being done.
 - send potential compilation errors caused by the SSP check to
   oblivion, in order to avoid causing confusion for the user.
 - add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibxml2: security bump to version 2.9.4
Baruch Siach [Mon, 23 May 2016 17:41:34 +0000 (20:41 +0300)]
libxml2: security bump to version 2.9.4

Fixes a bunch of security issues including:

  CVE-2016-1762: Heap-based buffer overread in xmlNextChar

  CVE-2016-1834: heap-buffer-overflow in xmlStrncat

  CVE-2016-3705: Missing increments of recursion depth counter to XML parser

A few more security fixes are listed in the release announcement at
https://mail.gnome.org/archives/xml/2016-May/msg00023.html.

Also fixes:
http://autobuild.buildroot.net/results/6db/6db405a097b192876c0b1b8d59051d614563c617/
http://autobuild.buildroot.net/results/62a/62addf4abd2a0df8222a81a83c16b2b9a61c9481/
http://autobuild.buildroot.net/results/204/20402690ad05d10d456a219da5252a38badf1da0/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoruby: fix build for nommu
Gustavo Zacarias [Thu, 19 May 2016 14:23:10 +0000 (11:23 -0300)]
ruby: fix build for nommu

Fixes:
http://autobuild.buildroot.net/results/a8b/a8b5fe95bbc1b3cc23db828fbc80d815c88f18c2/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibcurl: bump version to 7.49.0
Vicente Olivert Riera [Wed, 18 May 2016 10:14:37 +0000 (11:14 +0100)]
libcurl: bump version to 7.49.0

Fixes CVE-2016-3739, https://curl.haxx.se/docs/adv_20160518.html.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas: add reference to the CVE being fixed, pointed by Gustavo.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/openpgm: Rework headers includes to fix build with musl libc
Bernd Kuhls [Sat, 21 May 2016 17:51:04 +0000 (19:51 +0200)]
package/openpgm: Rework headers includes to fix build with musl libc

Fixes
http://autobuild.buildroot.net/results/420/420367cc4640c893f48336d71fa04eaeff55c8e6/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/openpowerlink: fix build issue with debugging symbols
Romain Naour [Sun, 22 May 2016 20:45:50 +0000 (22:45 +0200)]
package/openpowerlink: fix build issue with debugging symbols

Update the top level build patch to fix a build issue with debugging symbols.

This only affect the demo applications build.

Fixes:
http://autobuild.buildroot.net/results/da4/da445b65cb136d71577f04e3a17fdb2ef6302a9b

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoliquid-dsp: wrapping isnan in T_ABS to help compilation w/ certain gcc
Vicente Olivert Riera [Mon, 23 May 2016 10:43:38 +0000 (11:43 +0100)]
liquid-dsp: wrapping isnan in T_ABS to help compilation w/ certain gcc

Backporting an upstreamed patch in order to fix a build failure like
this one:

In file included from src/math/src/polyc.c:43:0:
src/math/src/poly.findroots.c: In function
'polyc_findroots_bairstow_recursion':
src/math/src/poly.findroots.c:305:9: error: non-floating-point argument
in call to function '__builtin_isnan'
         if (isnan(du) || isnan(dv)) {

Upstream commit URL:

  https://github.com/jgaeddert/liquid-dsp/commit/3055eb3da9d0a202c1a975f7db0c8370a09a30bc

Fixes:

  http://autobuild.buildroot.net/results/01d/01d7d4f34b256bcdf30b16180c015f146bd50e63/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas: tweak patch format.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/hplip: fix static linking with cups
Bernd Kuhls [Mon, 23 May 2016 04:02:32 +0000 (06:02 +0200)]
package/hplip: fix static linking with cups

Fixes
http://autobuild.buildroot.net/results/c52/c5277c42344d194e004dcd0a5af71bc6110da97e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoexpat: add fix for CVE-2016-0718
Gustavo Zacarias [Thu, 19 May 2016 12:33:54 +0000 (09:33 -0300)]
expat: add fix for CVE-2016-0718

Fixes:
CVE-2016-0718 - The Expat XML parser mishandles certain kinds of
malformed input documents, resulting in buffer overflows during
processing and error reporting. The overflows can manifest as a
segmentation fault or as memory corruption during a parse operation. The
bugs allow for a denial of service attack in many applications by an
unauthenticated attacker, and could conceivably result in remote code
execution.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconnman: remove xtables build fix patch
Gustavo Zacarias [Thu, 19 May 2016 13:25:37 +0000 (10:25 -0300)]
connman: remove xtables build fix patch

This was added in 0dece985 to deal with kernel headers 4.5 -> 4.5.4
breakage. Unfortunately the fix in 4.5.5 and 4.6+ doesn't deal correctly
with this causing more build breakage, so we'd rather "break" for the
small range of 4.5.x versions broken than for the rest of time.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.14.x and 4.{4, 5}.x series
Gustavo Zacarias [Thu, 19 May 2016 13:25:36 +0000 (10:25 -0300)]
linux-headers: bump 3.14.x and 4.{4, 5}.x series

Kernel headers 4.5 -> 4.5.4 broke netfilter uapi headers leading to
build failures for cases where glibc's net/if.h was included before
linux/if.h
This is fixed since 4.5.5 via linux kernel commit 4a91cb61 and fixes:
http://autobuild.buildroot.net/results/736/7362431f62ebb1b436ac41ea3ef85228c763e6f3/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qlibc: fix musl build by removing usage of internal glibc header sys/cdefs.h
Bernd Kuhls [Sat, 21 May 2016 08:15:33 +0000 (10:15 +0200)]
package/qlibc: fix musl build by removing usage of internal glibc header sys/cdefs.h

Fixes
http://autobuild.buildroot.net/results/15c/15ce460214875c2e56d5d26372778b43cd7325ad/
http://autobuild.buildroot.net/results/790/79098fb27ef2d5b09df777cd7365a61d6de55c52/
http://autobuild.buildroot.net/results/8d3/8d3dad2dcf5b3c7fa94cc759386759b1ac9e3287/
http://autobuild.buildroot.net/results/9d8/9d8f6259c62e15cc528ec99d6375cc02c2bc7489/
http://autobuild.buildroot.net/results/a05/a0540ed23bd2d48cd742aa1b0228719b13e162b6/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/stress-ng: mark as not available on nios2
Bernd Kuhls [Sat, 21 May 2016 07:22:17 +0000 (09:22 +0200)]
package/stress-ng: mark as not available on nios2

For technical details see
https://git.busybox.net/buildroot/commit/package/ffmpeg/Config.in?id=8b58ec016973bee87a4fc1cc99a32b206bdee136

Fixes
http://autobuild.buildroot.net/results/bb3/bb3b748a14465a6168917bfbed90b2ff84fbdedf/
http://autobuild.buildroot.net/results/0ee/0ee3132f4ee6b5f21851f93516e0d0c419b36b1b/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/postgresql: fix snprintf() detection
Bernd Kuhls [Sat, 21 May 2016 09:06:46 +0000 (11:06 +0200)]
package/postgresql: fix snprintf() detection

https://git.busybox.net/buildroot/commit/package/postgresql/postgresql.mk?id=3d3f70b567718ae308b5704ddd7d107c4849309e
forced postgresql not to use its own snprintf() implementation which
needs libm. This fix got broken after this upstream commit

http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=ce486056ecd28050f367894a2b5aad3656d37511#patch1

changed the variable name from
  pgac_cv_snprintf_long_long_int_format
to
  pgac_cv_snprintf_long_long_int_modifier

leading to problems in the rsyslog package while detecting postgresql
support.

Fixes
http://autobuild.buildroot.net/results/1cd/1cda32983fdf9522e4a9d48cc1304cc1451771a9/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gstreamer1/gst1-libav: not available on nios2
Bernd Kuhls [Sun, 22 May 2016 07:28:39 +0000 (09:28 +0200)]
package/gstreamer1/gst1-libav: not available on nios2

ffmpeg is not available on nios2, this limitation was not reverse-
propagated to this package.

Fixes
http://autobuild.buildroot.net/results/267/2674395c1d804df68e7e4bc9bba1d6b7fc6d2dce/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/bluez5_utils: remove include linux/if_bridge.h to fix musl build
Bernd Kuhls [Sun, 22 May 2016 09:57:44 +0000 (11:57 +0200)]
package/bluez5_utils: remove include linux/if_bridge.h to fix musl build

Fixes
http://autobuild.buildroot.net/results/eba/ebaa0bcb9c325aa6ed0bbd6c7ec75d44befa7645/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/bluez5_utils: remove autoreconf
Bernd Kuhls [Sun, 22 May 2016 09:57:43 +0000 (11:57 +0200)]
package/bluez5_utils: remove autoreconf

0001-Link-mcaptest-with-lrt.patch was removed 2016-01-05:
https://git.busybox.net/buildroot/commit/package/bluez5_utils?id=e2274856123fcc387df95675d7a66eb2c576eaa2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoputty: fix musl build for 64-bit targets
Baruch Siach [Sun, 22 May 2016 19:17:16 +0000 (22:17 +0300)]
putty: fix musl build for 64-bit targets

Add upstream patch fixing MinGW build that also fixes musl build. Both of them
do not provide __uint64_t on 64-bit targets.

Fixes:
http://autobuild.buildroot.net/results/8f7/8f7683b2e204249c37690bae915208298ea94490/
http://autobuild.buildroot.net/results/f28/f2836f3a7e27f74f5adf38d1769b9b047d59c385/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoputty: fix musl build
Baruch Siach [Sun, 22 May 2016 18:46:19 +0000 (21:46 +0300)]
putty: fix musl build

Add upstream patch for fixing build with musl.

Fixes:
http://autobuild.buildroot.net/results/84b/84b8e3e73f7e70ea1f013fc7c1120cf23095a77a/
http://autobuild.buildroot.net/results/b7c/b7cd550af983165d7d930bcc68fcab5bad00159d/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-screensaver-matrixtrails: add hash
Bernd Kuhls [Tue, 17 May 2016 21:10:30 +0000 (23:10 +0200)]
package/kodi-screensaver-matrixtrails: add hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: Fix crash in pictureviewer when opening directories with many files
Bernd Kuhls [Tue, 17 May 2016 17:18:10 +0000 (19:18 +0200)]
package/kodi: Fix crash in pictureviewer when opening directories with many files

backported upstream commit:
https://github.com/xbmc/xbmc/commit/f63563615e357b7d794a38e1d37276c325d1466f

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/mtr: uses fork(), needs mmu
Bernd Kuhls [Tue, 17 May 2016 16:22:58 +0000 (18:22 +0200)]
package/mtr: uses fork(), needs mmu

Fixes
http://autobuild.buildroot.net/results/dcb/dcbd39878b1a80d6a16032e967bd8e2b928f7a78/
http://autobuild.buildroot.net/results/e05/e05632e0b160ee995ce46aaf3ceddf46d3658adf/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoUpdate for 2016.05-rc2
Peter Korsgaard [Tue, 17 May 2016 14:11:24 +0000 (16:11 +0200)]
Update for 2016.05-rc2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoandroid-tools: fix build on big endian systems
Thomas Petazzoni [Sat, 14 May 2016 14:17:12 +0000 (16:17 +0200)]
android-tools: fix build on big endian systems

This commit adds a patch to the android-tools package to make it build
properly on big-endian systems.

Fixes:

  http://autobuild.buildroot.net/results/1b8ace1a083b419c1ab913fda0d36a1d2d910f13/ (PowerPC)
  http://autobuild.buildroot.net/results/5bb304c91367f1570903c8c527b387c65e572e56/ (Xtensa)

Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Cc: Antoine Tenart <antoine.tenart@free-electrons.com>
Cc: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboost: fix build failures on NIOSII and Microblaze
Thomas Petazzoni [Tue, 17 May 2016 13:00:29 +0000 (15:00 +0200)]
boost: fix build failures on NIOSII and Microblaze

The fenv support provided by glibc on NIOSII and Microblaze is not
sufficient for Boost, causing the same build failures as the ones we had
with uClibc.

To address this, we adapt (and rename) the existing
0006-uclibc-fenv.patch by forcefully disabling fenv support in Boost on
NIOSII and Microblaze, in addition to the existing uClibc exclusion.

Fixes (for NIOSII):

  http://autobuild.buildroot.net/results/9b8c5d2cd31d63ae70b41d1434868c83e65b8423/

Fixes (for Microblaze):

  http://autobuild.buildroot.net/results/0b9db4c5cfd80d75eb620dbf7a6201faed7230a1/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoqt5multimedia: select Qt5OpenGL module in case OpenGL support is enabled
Peter Seiderer [Tue, 17 May 2016 11:09:08 +0000 (13:09 +0200)]
qt5multimedia: select Qt5OpenGL module in case OpenGL support is enabled

Qt5Multimedia needs Qt5OpenGL module in case OpenGL support is
enabled.

Fixes bug reported by Marco Trapanese ([1]).

[1] http://lists.busybox.net/pipermail/buildroot/2016-May/161288.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/jack2: fix build WRT backtrace support
Samuel Martin [Tue, 17 May 2016 04:10:06 +0000 (06:10 +0200)]
package/jack2: fix build WRT backtrace support

This change adds a patch checking for the presence of execinfo.h header
and enabling the backtrace support depending on the check result.

Fixes:
  http://autobuild.buildroot.org/results/415/415e2100dc59d35e58646c07f7cdccabecdda966/
  http://autobuild.buildroot.org/results/43c/43ca1b103434ae582fdf93cb5912b311960f303b/
  http://autobuild.buildroot.org/results/391/391e71a988250ea66ec4dbee6f60fdce9eaf2766/
  ...

Adapted from the PR:
  https://github.com/jackaudio/jack2/pull/206

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoassimp: disable on Microblaze
Thomas Petazzoni [Mon, 16 May 2016 22:03:19 +0000 (00:03 +0200)]
assimp: disable on Microblaze

This package triggers an infinite loop bug in gcc on the Microblaze
architecture when the optimization level is O1, O2 or O3. This bug has
been reported at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71124.

While Buildroot by default uses an Os optimization level, assimp's build
system overrides that by O3 by default.

This problem is causing timeouts in the autobuilders that make them
consume 100% of CPU during 8 hours (the timeout used by the autobuilder
scripts).

Fixes:

  http://autobuild.buildroot.net/results/084fc537ab81aed278126f173daf99f2699ef22c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoglibc: disable build of glibc 2.22 with gcc 6.x
Thomas Petazzoni [Mon, 16 May 2016 22:12:55 +0000 (00:12 +0200)]
glibc: disable build of glibc 2.22 with gcc 6.x

glibc-2.22 does not build with gcc 6.x. The first issues can be fixed
by:

 - Using the same 0004-gcc6.patch as we're using with glibc 2.23 since
   Buildroot commit ab8de336eb39ae1cb019a72be65bd0504c86e527.

 - Backport glibc commit 5542236837c5c41435f8282ec92799f480c36f18 to fix
   strchr() build failure.

But then, there are some more failures caused by the fact that numerous
glibc files were not using modern prototypes in the function
definitions, causing build failures such as:

../sysdeps/unix/sysv/linux/dl-openat64.c:26:1: error: 'openat64' defined as variadic function without prototype [-Werror]
 openat64 (dfd, file, oflag)
 ^~~~~~~~
In file included from ../include/fcntl.h:2:0,
                 from ../sysdeps/unix/sysv/linux/dl-openat64.c:21:
../io/fcntl.h:214:12: note: previous declaration of 'openat64' was here
 extern int openat64 (int __fd, const char *__file, int __oflag, ...)
            ^~~~~~~~

This could be fixed by backporting glibc commit
9dd346ff431fc761f1b748bd4da8bb59f7652094, but this is a large commit,
touching a significant number of files. We probably don't want to take
this path, and instead making glibc 2.22 as not available with gcc 6.x
seems like the right course of action.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogcc: fix build of gcc 6.x on Microblaze
Thomas Petazzoni [Mon, 16 May 2016 22:12:54 +0000 (00:12 +0200)]
gcc: fix build of gcc 6.x on Microblaze

Due to patch 840-microblaze-enable-dwarf-eh-support.patch, gcc 6.x
does not build:

../../gcc/config/microblaze/microblaze.c: In function 'void microblaze_expand_epilogue()':
../../gcc/config/microblaze/microblaze.c:3046: error: 'gen_rtx_raw_REG' was not declared in this scope

This patch was originally added to gcc 4.9 to make it capable of
building glibc. However, this is no longer needed with gcc 6.x, which
builds glibc just fine.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowebsite/news.html: add 2016.05-rc1 announcement link
Peter Korsgaard [Tue, 17 May 2016 06:42:08 +0000 (08:42 +0200)]
website/news.html: add 2016.05-rc1 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibinput: fix missing static_assert
Baruch Siach [Mon, 16 May 2016 18:19:50 +0000 (21:19 +0300)]
libinput: fix missing static_assert

uClibc-ng does not define the C11 static_assert macro. Patch configure.ac to
detect this and define a nop macro.

Fixes:
http://autobuild.buildroot.net/results/3eb/3eb32c19f90a5fd8d45a0c36676e015e8278a469/
http://autobuild.buildroot.net/results/184/1844890c65615f1676a85c6fac78937249eee9f1/
http://autobuild.buildroot.net/results/3a3/3a3f8c5624e8019a6eababbf6e7440fdd668f85f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix patches titles
Martin Bark [Mon, 16 May 2016 08:47:51 +0000 (09:47 +0100)]
package/nginx: fix patches titles

Changed [PATCH x/y] to [PATCH] at the beginning of the subject line
since the numbering is meaningless.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostress-ng: update to 0.06.02
Waldemar Brodkorb [Mon, 16 May 2016 08:14:56 +0000 (10:14 +0200)]
stress-ng: update to 0.06.02

Fixes following autobuilder errors:
http://autobuild.buildroot.net/results/b527ccdbdfeaba6789528e68df93d9c7216e758a/
http://autobuild.buildroot.net/results/d658f82c66d93515276dcb6cec8d3690459fbf05/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/samba4: create tempfile with systemd
Yann E. MORIN [Mon, 16 May 2016 11:52:30 +0000 (13:52 +0200)]
package/samba4: create tempfile with systemd

With systemd, samba4 will need some special temporary files to be
created on each boot, as explained in:
    packaging/systemd/README

Install the provided template file as configuration.

However, this is not enough, as even the log directory is a tmpfs in
the default Buildroot configuration, so we must also create the log
directory on each boot. Hence we append this to the template installed
above.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/iputils: bump version to 31d947cf7156cf78d3f57e0bd82b33e6f6ece6b4
Martin Bark [Mon, 16 May 2016 15:00:59 +0000 (16:00 +0100)]
package/iputils: bump version to 31d947cf7156cf78d3f57e0bd82b33e6f6ece6b4

Includes a fix for static builds using libgcrypt.

Fixes:
 http://autobuild.buildroot.net/results/55a7db5c0cbc34bbf6a2cbc52713d8822deec5b2
 http://autobuild.buildroot.net/results/864d8901eb901182ce186cf9a845636040e242bb
 http://autobuild.buildroot.net/results/aba522aa164267993fb1f1bbc57733be0cbea680

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenvpn: security bump to version 2.3.11
Gustavo Zacarias [Sat, 14 May 2016 13:33:48 +0000 (10:33 -0300)]
openvpn: security bump to version 2.3.11

Fixed port-share bug with DoS potential.
Fix buffer overflow by user supplied data.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenvpn: remove polarssl crypto backend option
Gustavo Zacarias [Sat, 14 May 2016 13:33:47 +0000 (10:33 -0300)]
openvpn: remove polarssl crypto backend option

Now that we need to bump openvpn to version 2.3.11 for security fixes
the time has come to remove the polarssl option.
Add legacy handling explaining the situation:
PolarSSL 1.2.x can coexist with mbedTLS 2.x+, but OpenVPN requires
PolarSSL/mbedTLS 1.3.x (the transition branch) >= 1.3.8 but doesn't
build/work with the 2.x series. And PolarSSL/mbedTLS 1.3.x can't coexist
with mbedTLS 2.x on the same target.
So, unfortunately, openssl is now the only option (until libressl
arrives) which means no more backend options in general.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoandroid-tools: add patch to fix static linking
Thomas Petazzoni [Sun, 15 May 2016 20:10:08 +0000 (22:10 +0200)]
android-tools: add patch to fix static linking

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoandroid-tools: needs thread support
Thomas Petazzoni [Sun, 15 May 2016 20:03:30 +0000 (22:03 +0200)]
android-tools: needs thread support

Both adb and adbd use <pthread.h>, and fastboot needs thread due to
its dependency on libselinux, so we put the dependency in the
top-level android-tools Config.in option.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomtr: bump to latest git version (newdns branch)
Gustavo Zacarias [Sat, 14 May 2016 16:25:14 +0000 (13:25 -0300)]
mtr: bump to latest git version (newdns branch)

This fixes the musl build issues and the need to specially patch for
uClibc at the same time. Fixes:
http://autobuild.buildroot.net/results/deb/debeb3ded02c3de63182c3433ff02062192d3fd1/

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/android-tools: fix the select logic
Thomas Petazzoni [Sun, 15 May 2016 19:32:20 +0000 (21:32 +0200)]
package/android-tools: fix the select logic

The android-tools Config.in.host has some logic to ensure that at
least one of its sub-options is enabled. However, this logic
incorrectly uses the sub-option names from the *target* android-tools
package, while it should be using the ones from the *host*
android-tools package.

Fixes the following kconfig warning:

  warning: (BR2_PACKAGE_HOST_ANDROID_TOOLS) selects BR2_PACKAGE_ANDROID_TOOLS_ADB which has unmet direct dependencies (BR2_PACKAGE_ANDROID_TOOLS && BR2_USE_MMU)

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/android-tools: fix indentation in Config.in.host
Samuel Martin [Sat, 14 May 2016 21:09:15 +0000 (23:09 +0200)]
package/android-tools: fix indentation in Config.in.host

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv: gpu module depends on !BR2_STATIC_LIBS
Samuel Martin [Sat, 14 May 2016 21:09:14 +0000 (23:09 +0200)]
package/opencv: gpu module depends on !BR2_STATIC_LIBS

GPU support and related features (GL and CL) are detected and loaded at
runtime, so it requires libdl which is only available on
!BR2_STATIC_LIBS builds.

Because the OpenCV tests sets use these modules, they also requires
libdl, so they cannot be built when BR2_STATIC_LIBS is enable.

Fixes:
  http://autobuild.buildroot.net/results/570/57007a8d22d20b2fc5cd64154f5ec674b0842afa/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogmrender-resurrect: disable on musl configurations
Thomas Petazzoni [Sat, 14 May 2016 14:17:14 +0000 (16:17 +0200)]
gmrender-resurrect: disable on musl configurations

gmrender-resurrect uses <error.h>, which isn't available on musl
configuration, so let's disable this package in such situations.

Fixes:

  http://autobuild.buildroot.net/results/96a280a8115cd01d64670e4caf2471d3ee4581d9/
  (and numerous similar build failures)

Cc: kei-k@ca2.so-net.ne.jp <kei-k@ca2.so-net.ne.jp>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoandroid-tools: fix dependency on libselinux
Thomas Petazzoni [Sat, 14 May 2016 14:17:11 +0000 (16:17 +0200)]
android-tools: fix dependency on libselinux

The fastboot sub-option of android-tools did not properly replicate the
dependency of libselinux, which it is selecting. Due to this, an invalid
configuration could be generated, with fastboot selected while thread
support is not available for example (and therefore libselinux is not
available). This problem was causing the following build failure:

 http://autobuild.buildroot.net/results/21e45cee04fd983c85c6702595ee3f7ed8470931/

This is fixed by replicating the selinux dependencies in the fastboot
sub-option and adding the relevant Config.in comment.

In addition, the main android-tools option had some logic to make sure
at least one of its sub-option is enabled: adbd by default on systems
with MMU, and fastboot by default on systems without MMU (because
fastboot is the only part that builds on noMMU systems).

However, with the new dependencies in the fastboot sub-option, this
logic would have become a lot more complicated. Since fastboot is very
unlikely to be used on noMMU systems, we simply make the whole package
not available on noMMU systems.

Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Cc: Antoine Tenart <antoine.tenart@free-electrons.com>
Cc: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosg3-utils: disable for blackfin
Gustavo Zacarias [Sat, 14 May 2016 14:54:55 +0000 (11:54 -0300)]
sg3-utils: disable for blackfin

Suffers from the usual symbol prefixing problems for bfin, it's probably
easy to fix, however no bfin has/will be used for storage apps since
they lack the usual ports for it. Fixes:
http://autobuild.buildroot.net/results/314/31447787e70cd351ce01b7a49ba029758d0c68e5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv: disable toolchains affected by PR19405
Romain Naour [Sun, 15 May 2016 08:43:23 +0000 (10:43 +0200)]
package/opencv: disable toolchains affected by PR19405

opencv libphoto fail to link with the following error:
nios2-linux-gnu/bin/ld: BFD (Sourcery CodeBench Lite 2015.11-130) 2.25.51
assertion fail binutils-src-2015.11-130-nios2-linux-gnu-i686-pc-linux-gnu/bfd/elf32-nios2.c:1908

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: update paranoid unsafe path comment
Romain Naour [Sun, 15 May 2016 10:26:01 +0000 (12:26 +0200)]
toolchain: update paranoid unsafe path comment

Since 919c06c28295f19ca49459b98d8954148b381360 the calls to gcc always pass
through the toolchain wrapper and all gcc patches to support poisoning has been
removed.

Update the BR2_COMPILER_PARANOID_UNSAFE_PATH comment.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomali-t76x: depends on mesa3d-headers
Gustavo Zacarias [Sat, 14 May 2016 14:16:36 +0000 (11:16 -0300)]
mali-t76x: depends on mesa3d-headers

It selects them, but doesn't depend on them, and since the package only
provides binaries there's a complete lack of headers. When some other
package pulls in the egl/gles provider this doesn't result in headers
being pulled in, hence the API is completely missing. Fixes:
http://autobuild.buildroot.net/results/dab/dab91372b7bfde57796a7e3de7e823dc44adfb76/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoglmark2: narrow down libgl requirements
Gustavo Zacarias [Fri, 15 Apr 2016 11:30:46 +0000 (08:30 -0300)]
glmark2: narrow down libgl requirements

Mesa3d DRI drivers can be enabled without support for libgl (for
example without x11). So make glmark2 gl (x11) support depend on
BR2_PACKAGE_HAS_LIBGL being present as well.
It doesn't exactly mean mesa3d providing libgl, but since we can't have
more than one libgl provider at the same time it's equivalent.
This is fallout from f1894ec95728806e09405d26663e0ea371afaeab which
enabled DRI drivers for non-xorg builds. Fixes:
http://autobuild.buildroot.net/results/174/1743ee5a340e5f4b1f8519e0b11eb196caa4f30e/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: add libatomic_ops support
Martin Bark [Mon, 9 May 2016 11:29:03 +0000 (12:29 +0100)]
package/nginx: add libatomic_ops support

Force the use of libatomics_ops on the sparc v8 and leon3 platforms to
allow nginx to build.  Optionally use libatomic_ops on other platforms.

This fixes:
 http://autobuild.buildroot.net/results/20dc41cd62887222d2569d81b5865893baeafaae/
 http://autobuild.buildroot.net/results/eb47af0c8df6fae82859865fb8b9912f45960444/

Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix dlopen support
Martin Bark [Mon, 9 May 2016 11:29:02 +0000 (12:29 +0100)]
package/nginx: fix dlopen support

Only include dlfcn.h on systems that support it

This fixes:
 http://autobuild.buildroot.net/results/f72a9a81e21166af20332d835d71651be7c016c3/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix libgd support
Martin Bark [Mon, 9 May 2016 11:29:01 +0000 (12:29 +0100)]
package/nginx: fix libgd support

Change to using gdlib-config to find libgd and its dependencies.

This fixes:
 http://autobuild.buildroot.net/results/d1806140eccb1202cb8b223289510d64fb28acb6/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix openssl support
Martin Bark [Mon, 9 May 2016 11:29:00 +0000 (12:29 +0100)]
package/nginx: fix openssl support

Change to using pkg-config to find openssl and its dependencies.

This fixes:
 http://autobuild.buildroot.net/results/17db76c3a099e7592af343bbe119dfe717cd7999/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix libxslt support
Martin Bark [Mon, 9 May 2016 11:28:59 +0000 (12:28 +0100)]
package/nginx: fix libxslt support

Change to using pkg-config to find libxslt and it dependencies.

This Fixes:
 http://autobuild.buildroot.net/results/382699bbed15f598625b9296e464d1349ef559f8

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>