buildroot.git
9 years agojack2: not available for static only builds
Peter Korsgaard [Thu, 21 May 2015 21:41:13 +0000 (23:41 +0200)]
jack2: not available for static only builds

Fixes:
http://autobuild.buildroot.net/results/e53/e537a500852ddb8aa0b1155ea9bc8a17636dd50d/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoexim: enable plaintext and cram-md5 authenticators
Mirko Langisch [Sun, 17 May 2015 15:58:21 +0000 (17:58 +0200)]
exim: enable plaintext and cram-md5 authenticators

Fixes #8126

Signed-off-by: Mirko Langisch <pud@nerdpunx.net>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiproute2: ensure TARGET_LDFLAGS are used
Peter Korsgaard [Thu, 21 May 2015 15:32:24 +0000 (17:32 +0200)]
iproute2: ensure TARGET_LDFLAGS are used

Otherwise we can end up with various linker issues (E.G. linking shared
against libc for a static build, ..).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiproute2: needs host-pkgconf
Peter Korsgaard [Thu, 21 May 2015 14:29:28 +0000 (16:29 +0200)]
iproute2: needs host-pkgconf

The (handwritten) configure script uses pkg-config, so ensure it is
available.

With this in place XT and IPT_LIB_DIR detection works correctly, so drop the
overrides.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiproute2: disable xtables on static build
Baruch Siach [Thu, 21 May 2015 06:07:45 +0000 (09:07 +0300)]
iproute2: disable xtables on static build

iproute2 always builds m_xt.so as a shared library.

Fixes:
http://autobuild.buildroot.net/results/f42/f42bbbf5be4594a8806d0e571586ce2bf119582d/
http://autobuild.buildroot.net/results/3b3/3b37871bdf5766677fc20dca22c13177091d104f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/protobuf: Update site url
Bernd Kuhls [Thu, 21 May 2015 10:57:54 +0000 (12:57 +0200)]
package/protobuf: Update site url

Package moved to github:
https://developers.google.com/protocol-buffers/docs/downloads
"Our old Google Code repositiory is: https://code.google.com/p/protobuf/.
 We moved to github on Aug 26, 2014 [...]"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/qemu: Compare host/target Linux version only during build phase
Bernd Kuhls [Thu, 21 May 2015 08:47:23 +0000 (10:47 +0200)]
package/qemu: Compare host/target Linux version only during build phase

This patch fixes an error during source-check.

Thanks to Thomas for the hint:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/116183

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/apr: Add libuuid as optional dependency
Bernd Kuhls [Thu, 21 May 2015 17:19:08 +0000 (19:19 +0200)]
package/apr: Add libuuid as optional dependency

libuuid is picked up by apr when present:

Checking for OS UUID Support...
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for library containing uuid_generate... -luuid
checking for uuid_generate... yes
checking for os uuid usability... yes

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/libapr-1.so | grep libuuid
 0x00000001 (NEEDED)                     Shared library: [libuuid.so.1]

[Thomas: move the added chunk a bit further down, and use += instead
of =.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/leafnode2: Update upstream URL
Bernd Kuhls [Thu, 21 May 2015 06:07:27 +0000 (08:07 +0200)]
package/leafnode2: Update upstream URL

Upstream URL has changed:
http://article.gmane.org/gmane.network.leafnode/4773

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/sqlite: fix parallel build failures
Yann E. MORIN [Wed, 20 May 2015 21:58:32 +0000 (23:58 +0200)]
package/sqlite: fix parallel build failures

Fixes:
    http://autobuild.buildroot.org/results/aed/aed3690689b60844e3278626da3c3eb75f2a2586/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/snmppp: Update site url
Bernd Kuhls [Thu, 21 May 2015 09:49:33 +0000 (11:49 +0200)]
package/snmppp: Update site url

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/unionfs: add hash file
Fabio Porcedda [Wed, 20 May 2015 04:21:26 +0000 (06:21 +0200)]
package/unionfs: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/usbredir: add hash file
Fabio Porcedda [Wed, 20 May 2015 04:21:25 +0000 (06:21 +0200)]
package/usbredir: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ushare: add hash file
Fabio Porcedda [Wed, 20 May 2015 04:21:24 +0000 (06:21 +0200)]
package/ushare: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ux500-firmware: add hash file
Fabio Porcedda [Wed, 20 May 2015 04:21:23 +0000 (06:21 +0200)]
package/ux500-firmware: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vpnc: add hash file
Fabio Porcedda [Wed, 20 May 2015 04:21:22 +0000 (06:21 +0200)]
package/vpnc: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/wsapi: add hash file
Fabio Porcedda [Wed, 20 May 2015 04:21:21 +0000 (06:21 +0200)]
package/wsapi: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/wavpack: add hash file
Fabio Porcedda [Wed, 20 May 2015 04:21:20 +0000 (06:21 +0200)]
package/wavpack: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5base: remove never set QT5BASE_CONFIGURE_ENV
Baruch Siach [Wed, 20 May 2015 16:00:30 +0000 (19:00 +0300)]
qt5base: remove never set QT5BASE_CONFIGURE_ENV

Since 1b54fbc925f4 (qt5base: fix postgresql plugin compile, 2015-02-19)
QT5BASE_CONFIGURE_ENV is never set. Remove it.

Cc: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogcc: fix PR 65730 (ICE on xtensa cores w/o hardware multiplication)
Max Filippov [Wed, 20 May 2015 20:00:37 +0000 (23:00 +0300)]
gcc: fix PR 65730 (ICE on xtensa cores w/o hardware multiplication)

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libsigrok: blacklist CS powerpc toolchains
Romain Naour [Tue, 19 May 2015 11:09:57 +0000 (13:09 +0200)]
package/libsigrok: blacklist CS powerpc toolchains

Even though BR2_PACKAGE_LIBSIGROKCXX is selected, the C++
binding is disabled due to lack of C++11 support in the toolchain.

Configure output:
Enabled language bindings:
 - C++............................. no (C++11 compiler required)

So disable libsigrok C++ binding and pulseview for CS powerpc toolchains.

Fixes:
http://autobuild.buildroot.net/results/737/737453011ac0d13ab197258171ffa0f81bc4c368/

[Thomas: use 'depends on !foo && !bar' instead of 'depends on !(foo ||
bar)', seems it looks more logical in this situation.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/freerdp: fix build with gstreamer support
Samuel Martin [Tue, 19 May 2015 22:35:33 +0000 (00:35 +0200)]
package/freerdp: fix build with gstreamer support

FreeRDP with gstreamer support enabled needs gstreamer and gst-plugins-base
with gstapp.

Fixes:
  http://autobuild.buildroot.net/results/937/9373d4238bc3f027e571581bd3531018c4faed91/
  http://autobuild.buildroot.org/results/f77/f77a2c9eea7973b54a22e12ab33ee8964adaddfd/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agophp: bump version to 5.6.9
Floris Bos [Mon, 18 May 2015 19:52:03 +0000 (21:52 +0200)]
php: bump version to 5.6.9

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agophp: add PHP_VERSION_MAJOR variable
Floris Bos [Mon, 18 May 2015 19:52:02 +0000 (21:52 +0200)]
php: add PHP_VERSION_MAJOR variable

Add PHP_VERSION_MAJOR variable to php.mk for use by other packages.
E.g. to install the Ioncube loader binary, it is necessary to
know the PHP major version.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default to version 4.0.4
Peter Korsgaard [Tue, 19 May 2015 20:05:31 +0000 (22:05 +0200)]
linux: bump default to version 4.0.4

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.10.x / 3.14.x / 4.0.x stable versions
Peter Korsgaard [Tue, 19 May 2015 20:04:27 +0000 (22:04 +0200)]
linux-headers: bump 3.10.x / 3.14.x / 4.0.x stable versions

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agophp: fpm: remove sample status page
Floris Bos [Mon, 18 May 2015 19:52:04 +0000 (21:52 +0200)]
php: fpm: remove sample status page

php-fpm installs a sample status page to $datadir/fpm/status.html
It is not of any use in that directory, so remove it from target.
If someone wants to use it, he can copy it to webroot manually.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agophp: enable opcache extension in php.ini if selected
Floris Bos [Mon, 18 May 2015 19:52:01 +0000 (21:52 +0200)]
php: enable opcache extension in php.ini if selected

Add a line to load the opcache extension in php.ini, at the
bottom of the "dynamic extensions" section.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agophp: patch acinclude.m4 instead of aclocal.m4
Floris Bos [Mon, 18 May 2015 19:52:00 +0000 (21:52 +0200)]
php: patch acinclude.m4 instead of aclocal.m4

aclocal.m4 gets regenerated from acinclude.m4, so patch the last.

Fixes "Extensions are not supported on this platform" error when
loading any external (zend) extension in php.ini.
Was caused by 0001-ditch-unset.patch not being applied to the
correct file, and our ac_cv_func_dlopen=yes env setting being unset.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agophp: delete /usr/lib/php/build instead of /usr/lib/php
Floris Bos [Mon, 18 May 2015 19:51:59 +0000 (21:51 +0200)]
php: delete /usr/lib/php/build instead of /usr/lib/php

Fixes #8121

External PHP modules like the OPcache may live in
/usr/lib/php/extensions, so only delete /usr/lib/php/build

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agojasper: Disable debugging when building for xtensa
Max Filippov [Tue, 19 May 2015 18:29:00 +0000 (21:29 +0300)]
jasper: Disable debugging when building for xtensa

xtensa gcc is not able to generate correct code when compiling with -O0
enabled by --enable-debug. Instead of disabling package build it with
--disable-debug.

Fixes:
  http://autobuild.buildroot.net/results/5d17055027055ffd33fcd28b208130afb26343c9/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agojasper: Don't overwrite CFLAGS when configured with --enable-debug
Max Filippov [Tue, 19 May 2015 18:28:59 +0000 (21:28 +0300)]
jasper: Don't overwrite CFLAGS when configured with --enable-debug

This drops architecture-specific ABI flags, which may be important.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agontp: install after busybox
Baruch Siach [Tue, 19 May 2015 09:13:17 +0000 (12:13 +0300)]
ntp: install after busybox

Make sure that ntp installs after busybox so that it overrides the busybox
provided ntpd applet.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agohwloc: fix condition to display comment message in menuconfig
florent valette [Sun, 17 May 2015 08:52:04 +0000 (10:52 +0200)]
hwloc: fix condition to display comment message in menuconfig

The comment message shows up if the toolchain has threads instead
of not having threads.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogpsd: requires shared library support
Thomas Petazzoni [Mon, 18 May 2015 20:39:16 +0000 (22:39 +0200)]
gpsd: requires shared library support

gpsd always tries to build a shared library, so make it 'depends on
!BR2_STATIC_LIBS'. We also propagate this to the only gpsd reverse
dependency, the location support of sconeserver. While we're at it, we
add a comment indicating the dependencies of this location support,
which was missing.

Fixes:

  http://autobuild.buildroot.org/results/f52/f5261a0933f9b5449d1f4e5cab1bb02e7154e683/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/wireless_tools: add hash file
Fabio Porcedda [Mon, 18 May 2015 09:15:52 +0000 (11:15 +0200)]
package/wireless_tools: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libxml-parser-perl: add hash file
Fabio Porcedda [Mon, 18 May 2015 09:15:51 +0000 (11:15 +0200)]
package/libxml-parser-perl: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowvstreams: not available for static only builds
Gergely Imreh [Mon, 18 May 2015 06:27:54 +0000 (06:27 +0000)]
wvstreams: not available for static only builds

Also propagated to wvdial as it selects wvstreams.

Fixes:
 http://autobuild.buildroot.org/results/0cd/0cd5e0263b42e6845504d97688632e16206bd000/
 http://autobuild.buildroot.org/results/4e0/4e0ab461ea7ed7a288303741eec89156abd49864/

Signed-off-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibuv: not available for static only builds
Peter Korsgaard [Sun, 17 May 2015 19:15:28 +0000 (21:15 +0200)]
libuv: not available for static only builds

Fixes:
http://autobuild.buildroot.net/results/031/031c2c005f4946af5012be7432b55d11ca891d60/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/enlightenment: disable ptrace with xtensa and uClibc-ng
Romain Naour [Sun, 17 May 2015 16:40:46 +0000 (18:40 +0200)]
package/enlightenment: disable ptrace with xtensa and uClibc-ng

uCLibc-ng needs to backport the uClibc commit
de6561f6669308e5d2297589b39a217d4c14df1c to add
PT_GETSIGINFO definition.

This commit is already merged in uClibc-snapshot used by
Buildroot's toolchains for xtensa.

For now, disable ptrace with xtensa uClibc-ng toolchains.

Thanks to Gergely Imreh for the initial investigation and
patch:
http://patchwork.ozlabs.org/patch/470073/

Fixes:
http://autobuild.buildroot.net/results/77b/77b82e5b437d0778b3f6a3813f2c0a5c39b52db9

Reported-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolirc-tools: fix static library build caused by 'loglevel' redefinition
Thomas Petazzoni [Sun, 17 May 2015 14:15:40 +0000 (16:15 +0200)]
lirc-tools: fix static library build caused by 'loglevel' redefinition

This commit adds a patch to lirc-tools to fix static library builds
caused by the redefinition of the loglevel variable.

Fixes:

  http://autobuild.buildroot.org/results/2ac/2ac6a4f946d48cacff85d44d662e1c103f7443f8/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoduma: not available for static only builds
Thomas Petazzoni [Sun, 17 May 2015 14:15:39 +0000 (16:15 +0200)]
duma: not available for static only builds

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt: do not allow webkit with SuperH Sourcery toolchain
Thomas Petazzoni [Sun, 17 May 2015 14:15:38 +0000 (16:15 +0200)]
qt: do not allow webkit with SuperH Sourcery toolchain

Building webkit with the SuperH Sourcery toolchain fails with an
assertion in binutils, so let's not allow to select webkit with this
toolchain. We do not need to worry about reverse dependencies, since
we use the existing BR2_PACKAGE_QT_ARCH_SUPPORTS_WEBKIT symbol to add
this new dependency.

Fixes:

  http://autobuild.buildroot.net/results/508cdeb67f272b61209f331ab7b990cb56f30817/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/opencv: fix opencv.pc generation
Samuel Martin [Sun, 17 May 2015 13:03:14 +0000 (15:03 +0200)]
package/opencv: fix opencv.pc generation

This change fixes build of packages depending on opencv and using
pkg-config to get the opencv LDFLAGS, which were wrongly ordered for
static build and included absolute path pointing to the host system
libraries instead of the sysroot ones.

This patch fixes build issues with gst1-plugins-bad and vlc.

This change introduce and new patch to opencv, which is already merged
upstream [1].

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

[1] https://github.com/Itseez/opencv/commit/eceada586bbf18fc267e437522ec4f1f23ddc656

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoipmiutil: openssl support needs shared library
Peter Korsgaard [Sun, 17 May 2015 12:02:05 +0000 (14:02 +0200)]
ipmiutil: openssl support needs shared library

Fixes:
http://autobuild.buildroot.net/results/0d4/0d4e0ea8fdb233ea8e86f86b6fa406311a0279e2/
http://autobuild.buildroot.net/results/907/907ae0feb9ad2e4a0da4b38290a2b617cb4360a0/

The ipmiutil buildsystem doesn't take dependencies of libcrypto (E.G. zlib)
into consideration, causing link issues when linking statically.

The build system doesn't handle LIBS, so there is no simple way to fix this
outside patching the buildsystem.  As we are very close to the release, lets
just mark it as !static for now.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoipmiutil: openssl is an optional dependency
Peter Korsgaard [Sun, 17 May 2015 11:42:34 +0000 (13:42 +0200)]
ipmiutil: openssl is an optional dependency

So handle it as such (it is only needed for the lanplus functionality).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopulseaudio: needs dynamic library support
Peter Korsgaard [Sun, 17 May 2015 07:18:23 +0000 (09:18 +0200)]
pulseaudio: needs dynamic library support

Fixes:
http://autobuild.buildroot.net/results/75a/75a3380fdcce88f1f9f2a77c4f059787623919d7/
http://autobuild.buildroot.net/results/f4a/f4a22344bd5c8f59e6f8cacb6a549f8d8fe99af2/

Pulseaudio uses dlfcn.h, so it cannot work in a pure static environment.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt: fix webkit dependencies
Gwenhael Goavec-Merou [Tue, 5 May 2015 14:33:54 +0000 (16:33 +0200)]
qt: fix webkit dependencies

fix:
http://autobuild.buildroot.net/results/ce8/ce89ad1ca6aec9f7bb5549301bf4c0dcba9e0e37/

qtwebkit includes qscript headers.
For packages like python-pyqt if webkit is available but not qscript, the
compilation fails with :
buildroot/output/build/python-pyqt-4.11.3/sip/QtWebKit/qwebframe.sip:79:0:
../../../host/usr/i686-buildroot-linux-gnu/sysroot/usr/include/QtWebKit/qwebframe.h:28:36:
fatal error: QtScript/qscriptengine.h: No such file or directory

This problem is not seen with Qt compilation because some relative include
directly from sources are added.

[Peter: also adjust comment]
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-pyqt: fix install
Gwenhael Goavec-Merou [Tue, 5 May 2015 14:33:53 +0000 (16:33 +0200)]
python-pyqt: fix install

PyQt4 provides two version for some py files: one for python2.x and one for
python3.x. This two versions are installed in TARGET_DIR.
After installing files, python is used to generate all .pyc files, but fails
like :
class ProxyBase(metaclass=ProxyMetaclass):
                             ^
 SyntaxError: invalid syntax

This is not a package build failure and this fix is only cosmetic.
This patch suppress directory for not targeted python version.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/heirloom-mailx: fix link issue with getopt
Romain Naour [Sat, 16 May 2015 21:22:22 +0000 (23:22 +0200)]
package/heirloom-mailx: fix link issue with getopt

With NIOS2 toolchain, heirloom-mailx fail to build
due to missing -fPIC when linking with its own getopt.

Since static build for heirloom-mailx is disabled,
always pass -fPIC in CFLAGS.

Fixes:
http://autobuild.buildroot.net/results/333/33346f4555ed403bab7b739dd5d47814efa8eb4c

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mono: fix install with parallel builds
Yann E. MORIN [Sat, 16 May 2015 17:31:35 +0000 (19:31 +0200)]
package/mono: fix install with parallel builds

Due to a race in the 'install' utility, installing the same file twice
in parallel often results in one of the install calls to fail.

Ensure proper ordering of conflicting rules.

Fixes:
    http://autobuild.buildroot.org/results/c32/c3288c5d1fb94474f14a4a889e76135878d403bc/
    http://autobuild.buildroot.org/results/f70/f708e89f613ec0b42cdf49ccbef39b02f4a271fb/
    http://autobuild.buildroot.org/results/3cb/3cb99e5c5672cbaa2a86020129a05dfde47cdb8f/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolua-periphery: depend on c-periphery instead of cloning it
Thomas Petazzoni [Sat, 16 May 2015 13:49:21 +0000 (15:49 +0200)]
lua-periphery: depend on c-periphery instead of cloning it

lua-periphery currently clones and builds the c-periphery library by
itself. This causes two problems:

 1/ It does not integrate properly with the download infrastructure of
    Buildroot, making offline builds impossible since not the entire
    source code is downloaded by Buildroot.

 2/ It does not use the latest version of c-periphery, which has some
    fixes contributed by Vicente to fix c-periphery on MIPS.

This commit fixes:

  http://autobuild.buildroot.org/results/0ad/0ad656970b3cbc84b5531b28155ba2f747715fe3/

[Peter: fix minor typo in patch 0001 description]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoc-periphery: new package
Thomas Petazzoni [Sat, 16 May 2015 13:49:20 +0000 (15:49 +0200)]
c-periphery: new package

This package is needed as a dependency of lua-periphery. Currently,
c-periphery is automatically cloned by lua-periphery, which causes two
problems:

 1/ It does not integrate properly with the download infrastructure of
    Buildroot, making offline builds impossible since not the entire
    source code is downloaded by Buildroot.

 2/ It does not use the latest version of c-periphery, which has some
    fixes contributed by Vicente to fix c-periphery on MIPS.

Introducing this package is needed as part of the fix for the
following build failure:

  http://autobuild.buildroot.org/results/0ad/0ad656970b3cbc84b5531b28155ba2f747715fe3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoneardal: fix readline/libedit detection with static linking
Peter Korsgaard [Sat, 16 May 2015 20:57:37 +0000 (22:57 +0200)]
neardal: fix readline/libedit detection with static linking

Fixes:
http://autobuild.buildroot.net/results/c3e/c3ea67d9b341749b9591451da3f3b0cb4a9fbb74/
http://autobuild.buildroot.net/results/586/586fa95149aa37df7ef430e3a47a3418e6f7ed97/
http://autobuild.buildroot.net/results/3ea/3eabd3a2cea0d5863b1c0dd8f55c73f34a684f79/

Both readline and libedit link with ncurses but the configure script forgets
to take that into account, causing the detection to fail when linking
statically.

Fix it by using pkg-config to add the needed linker options for ncurses.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxmlstarlet: fix static linking
Thomas Petazzoni [Sat, 16 May 2015 15:39:46 +0000 (17:39 +0200)]
xmlstarlet: fix static linking

Make sure we take into account libgpg-error when linking against
libgcrypt, by adding a patch against xmlstarlet configure.ac. The
handling of static libraries is clearly horrible in this configure.ac
script, using pkg-config would be a lot better, but it's also a lot
more work.

Fixes:

  http://autobuild.buildroot.org/results/931/931dede013d94f88fcb5185dac494775603063ec/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouboot-tools: fix dynamic linking against OpenSSL
Thomas Petazzoni [Sat, 16 May 2015 16:37:05 +0000 (18:37 +0200)]
uboot-tools: fix dynamic linking against OpenSSL

Commit 95f9a5c3df8e4226b99438efccf0bf21eecb573d fixed the static
linking issue of uboot-tools mkimage against OpenSSL, but in the
process broke the dynamic linking case. This commit adjusts the
uboot-tools patch to make sure both static and dynamic linking work.

An updated version of the patch has been submitted upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotinyxml2: fix line-endings of patches
Thomas Petazzoni [Sat, 16 May 2015 16:26:44 +0000 (18:26 +0200)]
tinyxml2: fix line-endings of patches

This commit fixes the line endings of the tinyxml2 patches added in
commits 22f5be171c6f9bb2611e7b87197e9faeabcaab18 and
0fa452df185545d3781b3015195bee9431496b5d. Thanks to Romain Naour for
providing the correct version of the patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoRevert "kmod: disable --gc-sections ld option when building for xtensa"
Max Filippov [Thu, 14 May 2015 04:39:00 +0000 (07:39 +0300)]
Revert "kmod: disable --gc-sections ld option when building for xtensa"

This reverts commit 55c83179c4b30c9ec715a75297849abd74a63e05.
Now that binutils bug with --gc-section is fixed this workaroud is no
longer needed.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobinutils: fix xtensa ld bug triggered by --gc-sections
Max Filippov [Thu, 14 May 2015 04:38:59 +0000 (07:38 +0300)]
binutils: fix xtensa ld bug triggered by --gc-sections

elf_xtensa_gc_sweep_hook doesn't correctly unreference symbols that were
made local, that results in link failure with the following message:

  BFD (GNU Binutils) 2.24 internal error, aborting at elf32-xtensa.c line
  3372 in elf_xtensa_finish_dynamic_sections

elf_xtensa_gc_sweep_hook determines symbol reference type (PLT or GOT) by
relocation type. Relocation types are not changed when symbol becomes
local, but its PLT references are added to GOT references and
plt.refcount is set to 0. Such symbol cannot be unreferences in the
elf_xtensa_gc_sweep_hook and its extra references make calculated GOT
relocations section size not match number of GOT relocations.

Fix it by treating PLT reference as GOT reference when plt.refcount is
not positive.

Fixes:
  http://autobuild.buildroot.net/results/3e2e24f697e26c93d4d95782b1cb7799fa620a7a/
  http://autobuild.buildroot.org/results/97d4c96d6f6cdc1ed4007456f4ab70be9dfa41b5/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: mark as not available for static linking
Thomas Petazzoni [Sat, 16 May 2015 14:12:44 +0000 (16:12 +0200)]
postgresql: mark as not available for static linking

postgresql currently does not build in BR2_STATIC_LIBS=y
configurations, and since there is little interest in using such a big
piece of software in statically linked configuration, this commit
makes postgresql depends on !BR2_STATIC_LIBS.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibmatroska: add host-pkgconf dependency
Thomas Petazzoni [Sat, 16 May 2015 13:36:50 +0000 (15:36 +0200)]
libmatroska: add host-pkgconf dependency

libmatroska configure.ac uses PKG_CHECK_MODULES(), so this package
needs to depend on host-pkgconf.

Fixes:

  http://autobuild.buildroot.org/results/80a/80a9f0f5594ab833600ea8514dc184e50d2bf08c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoacl, attr: fix libdir variable in .la files
Thomas Petazzoni [Sat, 16 May 2015 12:54:26 +0000 (14:54 +0200)]
acl, attr: fix libdir variable in .la files

The acl and attr packages are using autoconf and libtool, but not
automake, which causes all sort of troubles. Some of them are already
worked around in acl.mk and attr.mk, but there is another one: the
libdir variable in the .la file remains empty, which causes libtool to
sometimes be confused about where the acl and attr libraries are
installed.

This was causing build issues with libarchive, but interestingly only
in situations where we had zlib *and* libxml2 also part of the build,
which maybe affects how libtool in libarchive behaves since libarchive
can use zlib and libxml2 as optional dependencies.

So what this patch does is to mungle the libattr.la and libacl.la
files to make sure they contain the right libdir values. Yocto is
doing exactly the same thing.

Upstream attr and acl have been converted fully to automake, so
hopefully the upcoming upstream release will allow us to get rid of
those hacks, but in the mean time, it seems to be the most appropriate
solution.

Here is a minimal defconfig that exhibits the problem, and which
allows to show that this patch fixes it:

BR2_bfin=y
BR2_BINFMT_FLAT=y
BR2_COMPILER_PARANOID_UNSAFE_PATH=y
BR2_INIT_NONE=y
BR2_PACKAGE_LIBARCHIVE=y
BR2_PACKAGE_LIBARCHIVE_BSDCPIO=y
BR2_PACKAGE_ZLIB=y
BR2_PACKAGE_LIBXML2=y
BR2_PACKAGE_ACL=y

Fixes:

  http://autobuild.buildroot.org/results/e96/e96c8bec1039d9fe8c6c51fd48b6be0dc8be51d7/
  (and many, many similar build failures)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/ipmiutil: really force md2 off
Romain Naour [Fri, 15 May 2015 23:06:28 +0000 (01:06 +0200)]
package/ipmiutil: really force md2 off

If ALLOW_GNU is not defined, SKIP_MD2 is a nop.

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

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt5base: add patch to fix gold linker issue
Thomas Petazzoni [Fri, 15 May 2015 18:23:53 +0000 (20:23 +0200)]
qt5base: add patch to fix gold linker issue

The newly added patch makes sure that gold linker functionality is not
used when doing host builds, since qt5 only tests the availability of
this feature with the target compiler.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt5base: rename patch to avoid conflict on 0002
Thomas Petazzoni [Fri, 15 May 2015 18:23:52 +0000 (20:23 +0200)]
qt5base: rename patch to avoid conflict on 0002

There are currently two patches with the 0002 sequence number, which
isn't great. Rename one of them to use the 0003 sequence number.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomosquitto: disable with broken NIOS 2 toolchains
Thomas Petazzoni [Fri, 15 May 2015 18:23:50 +0000 (20:23 +0200)]
mosquitto: disable with broken NIOS 2 toolchains

mosquitto triggers the infamous _gp issue with the NIOS 2 toolchains,
so let's not allow mosquitto in such situations.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoboost: do not allow boost-log on PowerPC with uClibc
Thomas Petazzoni [Fri, 15 May 2015 18:23:49 +0000 (20:23 +0200)]
boost: do not allow boost-log on PowerPC with uClibc

The build of boost-log with a uClibc toolchain on PowerPC fails with
some weird C++ issues. Since nobody ever looked into this problem,
let's "fix" the autobuilder issue by not allowing to select boost-log
in such a situation.

Fixes:

   http://autobuild.buildroot.net/results/13b43105caf4d3952de70030b51f8d96cf6604ee/
   (and many, many similar build failures)

[Peter: also add dependency to comment]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/boost: stop on the first error during install to staging
Romain Naour [Fri, 15 May 2015 20:36:17 +0000 (22:36 +0200)]
package/boost: stop on the first error during install to staging

-q option is missing in BOOST_INSTALL_STAGING_CMDS,
so the build doesn't stop on the first error.
This help to see what happened.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agozmqpp: fix compilation with some toolchains
Lionel Orry [Fri, 15 May 2015 12:26:40 +0000 (14:26 +0200)]
zmqpp: fix compilation with some toolchains

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

add cstdlib header to ensure EXIT_FAILURE presence

Using some cross-compiling toolchains, EXIT_FAILURE is not always
properly defined without this inclusion.

Patch is upstream:
https://github.com/zeromq/zmqpp/pull/109

[Thomas: use a patch formatted with git format-patch, rather than the
output of 'git show'.]

Signed-off-by: Lionel Orry <lionel.orry@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tinyxml2: fix cmake warning
Romain Naour [Fri, 8 May 2015 10:49:55 +0000 (12:49 +0200)]
package/tinyxml2: fix cmake warning

CMake complains about Policy CMP0037 that reserve some
target name such "test".
So remove the warning by renaming test to xmltest.

Backport an upstream patch:
0b2c22bd46be95b08f234b8b4cb262f72ab3f0e8

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tinyxml2: Use BUILD_SHARED_LIBS cmake standard
Romain Naour [Fri, 8 May 2015 10:49:54 +0000 (12:49 +0200)]
package/tinyxml2: Use BUILD_SHARED_LIBS cmake standard

Backport an upstream patch to fix the static build:
c8ec6fcab4eb501cc5bd328c19dcbd4b30722d52

Fixes:
http://autobuild.buildroot.net/results/e56/e568d81030087f66f8ac4ccd4f496b550930cbae/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibftdi1: fix typos in config options and comments
Peter Korsgaard [Sat, 16 May 2015 07:29:28 +0000 (09:29 +0200)]
libftdi1: fix typos in config options and comments

It is ftdi1, not tfdi1.

As this is a new package for 2015.05 no legacy handling has been added.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoboost: disable on NIOS 2 with broken toolchains
Thomas Petazzoni [Fri, 15 May 2015 18:23:48 +0000 (20:23 +0200)]
boost: disable on NIOS 2 with broken toolchains

The current NIOS 2 toolchains are not capable of building Boost, so
let's disable it and its reverse dependencies. Even though it's not
strictly an architecture dependency, we use the <pkg>_ARCH_SUPPORTS
paradigm for this dependency, since it simplifies a lot handling all
boost reverse dependencies, and is anyway quite similar to an
architecture dependency since we don't display a comment about this
dependency.

Fixes:

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

[Peter: also update mpd comment]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoRevert "package/ola: fix autoreconf issue for host-ola"
Thomas Petazzoni [Thu, 14 May 2015 20:57:16 +0000 (22:57 +0200)]
Revert "package/ola: fix autoreconf issue for host-ola"

This reverts commit 884af65fd5ddc548f19a26162f905a32ef0b53b3. Thanks
to the change of the installation path of host-autoconf-archive
macros, host-ola will no longer see them when doing its autoreconf, so
the patch that was added by the commit being reverted here is no
longer needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agohost-autoconf-archive: install to a non-standard location
Thomas Petazzoni [Thu, 14 May 2015 20:57:15 +0000 (22:57 +0200)]
host-autoconf-archive: install to a non-standard location

The host-autoconf-archive package was added to provide the necessary
autoconf macros for the libsigrok package, and later also used for the
thrift package.

However, it installs its autoconf macro in
$(HOST_DIR)/usr/share/aclocal, which is part of the include directory
of autoconf macros used for all autoreconf invocations. Unfortunately,
using those macros for all packages is causing a number of
regressions: one on host-ola fixed in commit
884af65fd5ddc548f19a26162f905a32ef0b53b3, and one in snmpp. Those
packages are autoreconf'ed, but if they are autoreconf'ed with the
autoconf-archive macros installed, they no longer work.

To solve this problem, this commit implements a simple solution that
makes using host-autoconf-archive macros an opt-in mechanism. To
achieve this, the autoconf-archive package is modified to install its
macros in a special directory, and only the packages that really want
to use those macros will have to pass a -I flag pointing to this
directory in their <pkg>_AUTORECONF_OPTS variable.

Fixes:

  http://autobuild.buildroot.org/results/712/712c8083b9eeafa41b60790961028c40b28f59ad/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomongoose: fix static build issue
Peter Korsgaard [Thu, 14 May 2015 22:47:23 +0000 (00:47 +0200)]
mongoose: fix static build issue

Fixes:
http://autobuild.buildroot.net/results/372/372515ba0a09a23237ae34024658f21c2625d6e7/

Disable the shared library support in mongoose, as the only thing it does is
including dlfcn.h - So it is useless.  Also remove the unneeded -ldl from
the web server linker flags.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibcap-ng: cannot be built with nios2 CS 2014.05 toolchain
Peter Korsgaard [Thu, 14 May 2015 22:33:25 +0000 (00:33 +0200)]
libcap-ng: cannot be built with nios2 CS 2014.05 toolchain

Fixes:
http://autobuild.buildroot.net/results/d13/d136f763ca3389cdc6a404db7a4fc0cd18329955/
http://autobuild.buildroot.net/results/e00/e002e2a3bd52a3cc3b0d06625de61315d86de524/
http://autobuild.buildroot.net/results/bba/bba9f7130315c9d97cc060a73663276d0fa2c1b3/
http://autobuild.buildroot.net/results/fc7/fc7bc050ef769716dedb0ad81a51e33a12deec47/

And many more.

Building libcap-ng with that toolchain triggers an internal compiler /
assembler bug, so blacklist that combination and propagate to the reverse
dependencies.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolcdproc: needs dynamic library support
Peter Korsgaard [Thu, 14 May 2015 22:18:24 +0000 (00:18 +0200)]
lcdproc: needs dynamic library support

Fixes:
http://autobuild.buildroot.net/results/4ac/4ac625f4e888ba859a5867671664dc8d041ec9b9/
http://autobuild.buildroot.net/results/614/61450e889c3912e38e52759812fbb6ce03270788/
http://autobuild.buildroot.net/results/138/13800e3b52c9f6c84f85325710a59c7b3c04d0ee/
http://autobuild.buildroot.net/results/041/0410fb15e65561031453bedbc549ed82ce7bdc71/

And many more.

Lcdproc forces shared libraries for the drivers, so mark it as unavailable
for static only builds.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoarmadillo: bump versin to 5.100.2
Alexey Brodkin [Wed, 13 May 2015 22:40:17 +0000 (01:40 +0300)]
armadillo: bump versin to 5.100.2

This is the most recent version of the package.

Also it fixes static builds (see
http://autobuild.buildroot.net/results/1cc/1ccf0829c13896c000aed1956155a34844207b2f)
with commit http://sourceforge.net/p/arma/code/3569/ that was made right
before 4.400.0 release.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoalsa-utils: amidi option needs seq support in alsa-lib
Peter Korsgaard [Thu, 14 May 2015 22:07:03 +0000 (00:07 +0200)]
alsa-utils: amidi option needs seq support in alsa-lib

Fixes:
http://autobuild.buildroot.net/results/5347b57d23b44e1b011a499875ce638ed654418a/

Otherwise the rawmidi_virt.c file doesn't get built, breaking static
linking.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibupnpp: fix static linking issue with libcurl
Peter Korsgaard [Thu, 14 May 2015 20:44:06 +0000 (22:44 +0200)]
libupnpp: fix static linking issue with libcurl

Fixes:
http://autobuild.buildroot.net/results/f38/f383bf4d7572a7dd59d382cd06a9baeb37e9161c/
http://autobuild.buildroot.net/results/d93/d934871d1b192706cd9163715c5ebcd96deff2b8/

Libcurl optionally links to a number of libraries that have to be taken into
consideration when linking statically.

Use pkg-config to get the correct libcurl link line, and also use it for
libupnp instead of the hardcoded list.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agorsyslog: drop autoreconf
Baruch Siach [Tue, 12 May 2015 20:10:07 +0000 (23:10 +0300)]
rsyslog: drop autoreconf

The patches touching configure.ac were dropped in 9d9bbf9b7935 (rsyslog: bump
to version 8.8.0, 2015-02-25). Remove autoreconf as well.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopostgresql: avoid AC_TRY_RUN when testing snprintf()
Baruch Siach [Tue, 12 May 2015 20:10:06 +0000 (23:10 +0300)]
postgresql: avoid AC_TRY_RUN when testing snprintf()

A few snprintf() compatibility tests in config/c-library.m4 use AC_TRY_RUN
that doesn't work for cross compilation. As a result configure.in decides to
build a bundled implementation of snprintf(). This implementation calls
isnan(), but -lm is missing. This breaks link with libpq.so. Preseed the
correct values to make the configure script happy, and fix rsyslog build.

Fixes:
http://autobuild.buildroot.net/results/e76/e769982e3131581b38698c109c9bc5215e3d5b11/
http://autobuild.buildroot.net/results/2b9/2b9d3edc8341675455bc3b74d1e84c8c0c24c521/
http://autobuild.buildroot.net/results/2a8/2a80357237ed7225823a008b5ff02bab01269814/

and many more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/binutils (arc): backport PR56780 patches
Romain Naour [Wed, 13 May 2015 21:36:36 +0000 (23:36 +0200)]
package/binutils (arc): backport PR56780 patches

--disable-install-libiberty configure option is broken
in gcc 4.8.x, so libiberty.a is always installed in HOST_DIR.

This library broke the host-gdb build due to a fpic/fPIC issue.

Since binutils use a copy of gcc's libiberty sources, it's
affected by the same bug.

binutils-arc-2014.11 which is based on 2.23 branch doesn't have
the PR56780 fixies, so backport them.

Fixes:
http://autobuild.buildroot.net/results/ca4/ca45297aa0ffbc9062ed92dc7ac070b0b33001de/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Acked-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenldap: fix static link with openssl
Baruch Siach [Wed, 13 May 2015 18:22:07 +0000 (21:22 +0300)]
openldap: fix static link with openssl

Use pkg-config to get openssl link dependencies.

Fixes:
http://autobuild.buildroot.net/results/dd3/dd3821e713b7da7cde0f059409fba46371c8bc40/
http://autobuild.buildroot.net/results/d60/d60c8b4522e99cf385ee41aa20a1d49deb59c5fb/
http://autobuild.buildroot.net/results/b41/b41c043fb3b2fad1d9cea0a95b512fb4942b5b19/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default to version 4.0.3
Peter Korsgaard [Wed, 13 May 2015 19:37:30 +0000 (21:37 +0200)]
linux: bump default to version 4.0.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{2,10,12,14,18,19}.x / 4.0.x stable versions
Peter Korsgaard [Wed, 13 May 2015 19:36:00 +0000 (21:36 +0200)]
linux-headers: bump 3.{2,10,12,14,18,19}.x / 4.0.x stable versions

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibnftnl: needs kernel headers >= 3.1
Peter Korsgaard [Wed, 13 May 2015 13:27:28 +0000 (15:27 +0200)]
libnftnl: needs kernel headers >= 3.1

Contrary to what commit f5866484f (libnftnl: exclude for CS PPC toolchains)
stated, a missing sa_family_t definition IS specific to the kernel headers
version, and not something particular to the CS toolchains, so instead
require 3.1+ headers.

The specific kernel change fixing the headers is:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6602a4baf4d1a73cc

The only reverse dependency of libnftnl (nftables) already needs 3.4+, so
this dependency doesn't need to be propagated.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcpcd: needs kernel headers >= 3.1
Peter Korsgaard [Wed, 13 May 2015 13:22:34 +0000 (15:22 +0200)]
dhcpcd: needs kernel headers >= 3.1

commit dfbfa6ef (dhcpcd: blacklist Sourcery PowerPC toolchains) blacklisted
specific toolchains, but the issue is actually that the kernel headers
before 3.1 didn't define sa_family_t, so instead require 3.1+ headers.

The specific kernel change fixing the headers is:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6602a4baf4d1a73cc

The only reverse dependency of dhcpcd (network-manager) already needs 3.7+,
so this dependency doesn't need to be propagated.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovsftpd: correct openssl linking after 1d046a5c (vsftpd: use pkg-config to get OpenSSL...
Peter Korsgaard [Wed, 13 May 2015 11:29:17 +0000 (13:29 +0200)]
vsftpd: correct openssl linking after 1d046a5c (vsftpd: use pkg-config to get OpenSSL link flags)

Fixes:
http://autobuild.buildroot.net/results/221/221c987a9657caefad54bcc2fe9d2d71189c94c5/
http://autobuild.buildroot.net/results/90c/90cea7c4fdb3e5af923eedf96d79594d6d02e563/

vsftpd directly uses symbols from libcrypto (X509_{digest,free}), so it
needs to link against both.

This doesn't trigger for static builds as libssl internally uses libcrypto
(and lists it in Requires.private).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibmodbus: add hash
Baruch Siach [Wed, 13 May 2015 06:31:27 +0000 (09:31 +0300)]
libmodbus: add hash

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibmodbus: update download location
Baruch Siach [Wed, 13 May 2015 06:31:26 +0000 (09:31 +0300)]
libmodbus: update download location

Saves one HTTP 301 redirection.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogoogle-breakpad: add patch to fix AArch64 build issue
Thomas Petazzoni [Tue, 12 May 2015 21:48:05 +0000 (23:48 +0200)]
google-breakpad: add patch to fix AArch64 build issue

Fixes:

  http://autobuild.buildroot.org/results/b2b/b2bfbcc922b3041ab3a1892d5c1469ec68476682/

[Peter: fix s/wiht/with/ typo as pointed out by Romain]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolxc: mark as not available in BR2_STATIC_LIBS configs
Thomas Petazzoni [Tue, 12 May 2015 21:21:21 +0000 (23:21 +0200)]
lxc: mark as not available in BR2_STATIC_LIBS configs

Even though lxc uses the autotools, it does not use libtool to build
its libraries, and does it manually. It forces building a shared
library. So let's comply with this decision, and mark lxc as not
available in BR2_STATIC_LIBS configurations.

Fixes:

  http://autobuild.buildroot.org/results/588/588dc28315a9114374f148bbc64c4ec3d7b4e295/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovsftpd: use pkg-config to get OpenSSL link flags
Thomas Petazzoni [Tue, 12 May 2015 21:07:04 +0000 (23:07 +0200)]
vsftpd: use pkg-config to get OpenSSL link flags

Instead of hardcoding -lssl -lcrypto as the linker flags to link with
OpenSSL, use pkg-config to fetch those flags. This allows to behave
properly when doing static linking, since pkg-config returns the
entire set of libraries we should link against.

Fixes:

  http://autobuild.buildroot.org/results/d71/d710ecfa9ed0a8e3f97d2010d3dabb372485c7f2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agouboot-tools: fix static linking with OpenSSL
Thomas Petazzoni [Tue, 12 May 2015 21:02:13 +0000 (23:02 +0200)]
uboot-tools: fix static linking with OpenSSL

Add a patch to U-Boot to use pkg-config to get the OpenSSL link flags
when pkg-config is available. This allows to make sure that static
linking works properly. The patch requires adding $(TARGET_MAKE_ENV)
so that the Buildroot provided pkg-config is used instead of the host
one.

The U-Boot patch has been submitted upstream.

Fixes:

  http://autobuild.buildroot.org/results/a9f/a9f316cd076a74b8730ce4cdcdb8176da4ed9eb3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoczmq: needs host-pkgconf
Peter Korsgaard [Wed, 13 May 2015 07:17:49 +0000 (09:17 +0200)]
czmq: needs host-pkgconf

It uses pkg-config to find zeromq, so ensure it is available.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoRevert "czmq: unbreak static linking"
Peter Korsgaard [Wed, 13 May 2015 07:16:27 +0000 (09:16 +0200)]
Revert "czmq: unbreak static linking"

This reverts commit aa5254f1a2bc0ea3181d51990c18681b3071b9db.

Now that zeromq's pkg-config file is fixed, we no longer need this
workaround for static linking.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agozeromq: fix pkg-config file for static linking
Peter Korsgaard [Wed, 13 May 2015 07:13:28 +0000 (09:13 +0200)]
zeromq: fix pkg-config file for static linking

Fixes:
http://autobuild.buildroot.net/results/faf/faf0bb00fccb1350afaef55f6cf14c11a5f5dc3c/
http://autobuild.buildroot.net/results/8d2/8d279baa4c8bffbb01f897119092c7b736942df4/
http://autobuild.buildroot.net/results/4d3/4d3dea604da9a5a1e7fe20548813f8de474ae33f/
http://autobuild.buildroot.net/results/fd6/fd602617839817352763e51754553960b7f795ac/

And many more.

Libzmq uses C++ standard library features, so users of it should link
against that as well when statically linking.

Add it to Libs.private so users using pkg-config automatically gets the
correct linker flags.

Patch is upstream:
https://github.com/zeromq/libzmq/pull/1398

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoczmq: unbreak static linking
Peter Korsgaard [Tue, 12 May 2015 18:43:12 +0000 (20:43 +0200)]
czmq: unbreak static linking

Fixes:
http://autobuild.buildroot.net/results/faf/faf0bb00fccb1350afaef55f6cf14c11a5f5dc3c/
http://autobuild.buildroot.net/results/8d2/8d279baa4c8bffbb01f897119092c7b736942df4/
http://autobuild.buildroot.net/results/4d3/4d3dea604da9a5a1e7fe20548813f8de474ae33f/
http://autobuild.buildroot.net/results/fd6/fd602617839817352763e51754553960b7f795ac/

And many more.

Zeromq uses C++, but czmq forgets to explicitly link with libstdc++
(or use g++ to link), breaking static linking.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>