buildroot.git
9 years agoKickoff 2015.08 cycle
Peter Korsgaard [Mon, 1 Jun 2015 21:52:45 +0000 (23:52 +0200)]
Kickoff 2015.08 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodocs/website/news.html: add 2015.05 announcement link
Peter Korsgaard [Mon, 1 Jun 2015 21:51:45 +0000 (23:51 +0200)]
docs/website/news.html: add 2015.05 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoUpdate for 2015.05
Peter Korsgaard [Sun, 31 May 2015 21:15:34 +0000 (23:15 +0200)]
Update for 2015.05

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoconntrack-tools: adjust comment to match conditional
Peter Korsgaard [Sun, 31 May 2015 21:12:32 +0000 (23:12 +0200)]
conntrack-tools: adjust comment to match conditional

Commit 3afbc4f3 (conntrack-tools: uses dlopen(), not available on static
builds) adjusted the dependencies for the comment, but forgot to update the
comment itself.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc/gcc-final: pass TARGET_ABI flags to configure with --enable-cxx-flags
Max Filippov [Tue, 26 May 2015 07:32:36 +0000 (10:32 +0300)]
gcc/gcc-final: pass TARGET_ABI flags to configure with --enable-cxx-flags

libstdc++ is in all regards a normal library, it needs to be built with
TARGET_ABI flags, otherwise linking it with other C++ code may fail.

Pass TARGET_ABI flags to gcc-final configure script in the
--enable-cxx-flags parameter.

Fixes:
  http://autobuild.buildroot.net/results/81a3bca5cbcf789c7ce1aa221a6a4154dd7c3917/
  http://autobuild.buildroot.net/results/4943b214c29951ecc7af0a1f360b6454485c0b9b/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/ncurses: Fix GCC 5.x preprocessor failure
Doug Kehn [Wed, 27 May 2015 23:51:53 +0000 (18:51 -0500)]
package/ncurses: Fix GCC 5.x preprocessor failure

Building ncurses 5.9 with GCC 5.x fails with a syntax error, caused by
earlier preprocessing. This failure is more likely when building for
host (e.g. host-ncurses) that recently updated to GCC 5.x.

This patch is taken from the following link (more information is also
available here):
https://groups.google.com/forum/#!topic/sage-trac/U31shviuqzk

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Acked-by: Jaap Crezee <jaap@jcz.nl>
Tested-by: Jaap Crezee <jaap@jcz.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython3: add patch to fix logic to get gcc paths
Thomas Petazzoni [Fri, 29 May 2015 20:52:24 +0000 (22:52 +0200)]
python3: add patch to fix logic to get gcc paths

The Python setup.py has a function called add_gcc_paths(), which
executes gcc -E -v to get the list of header paths searched by
gcc. However, the logic of setup.py is only valid with the normal
english output of gcc: it doesn't work if a non-english locale is
set. This causes setup.py to not find certain headers (such as zlib.h)
and therefore disabling the build of such extensions.

Reported-by: Bruno Coudoin <bruno.coudoin@gcompris.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython: add patch to fix logic to get gcc paths
Thomas Petazzoni [Fri, 29 May 2015 20:52:23 +0000 (22:52 +0200)]
python: add patch to fix logic to get gcc paths

The Python setup.py has a function called add_gcc_paths(), which
executes gcc -E -v to get the list of header paths searched by
gcc. However, the logic of setup.py is only valid with the normal
english output of gcc: it doesn't work if a non-english locale is
set. This causes setup.py to not find certain headers (such as zlib.h)
and therefore disabling the build of such extensions.

Reported-by: Bruno Coudoin <bruno.coudoin@gcompris.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoupmpdcli: fix static linking issue
Peter Korsgaard [Sun, 31 May 2015 19:40:07 +0000 (21:40 +0200)]
upmpdcli: fix static linking issue

Fixes:
http://autobuild.buildroot.net/results/7ed/7ed85071bc06b4806e90b278a0736ea70c01b456/

Upmpdcli forgets to take the dependencies of libupnpp into consideration,
breaking static linking, so help it.

Libupnpp unfortunately doesn't provide a .pc file, so manually handle its
dependencies here.

The build system doesn't expand LIBS from the configure step, so manually
pass it to make.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoconntrack-tools: uses dlopen(), not available on static builds
Peter Korsgaard [Sun, 31 May 2015 19:16:31 +0000 (21:16 +0200)]
conntrack-tools: uses dlopen(), not available on static builds

Fixes:
http://autobuild.buildroot.net/results/fff/fff4865c9bb8ca42d3cece903d0fc3daea504f67/
http://autobuild.buildroot.net/results/742/74222a44ad168148c18af479878d8f848d3d6a73/
http://autobuild.buildroot.net/results/470/470197fad2402be9222b8abf96dd45c341a850e9/
http://autobuild.buildroot.net/results/ab1/ab1ae40f1862300cd7667b7bd03cc59d7455a769/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/php: Fix static linking by reworking static libs handling
Bernd Kuhls [Sun, 31 May 2015 11:29:42 +0000 (13:29 +0200)]
package/php: Fix static linking by reworking static libs handling

Fixes
http://autobuild.buildroot.net/results/157/157749f8b44bc02fbed0232a2b33137aba495134/
http://autobuild.buildroot.net/results/df4/df4e2ea098b0126867455af1891837c6d7d99a92/
http://autobuild.buildroot.net/results/e69/e6993d66aeebbe994063a60871412b2235ce5455/

[Peter: unixodbc only needs -lpthread if toolchain has threads support]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/nmap: Fix static linking
Bernd Kuhls [Sun, 31 May 2015 11:06:29 +0000 (13:06 +0200)]
package/nmap: Fix static linking

Fixes
http://autobuild.buildroot.net/results/040/040129539257d88d9437d113752bc8634fd9b2b2/
http://autobuild.buildroot.net/results/73a/73a562a3a1f356c1a39b2fb57f0848c4b99fe8b1/
http://autobuild.buildroot.net/results/767/767b8eafe7a204327eaa182c065ca5cfff18096f/
http://autobuild.buildroot.net/results/0f7/0f7f3a56815dc6422a466fe9b4357ace98f78e11/

[Peter: add host-pkgconf to _DEPENDENCIES]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agokeyutils: uses dl*, disable for static build
Peter Korsgaard [Sun, 31 May 2015 12:35:34 +0000 (14:35 +0200)]
keyutils: uses dl*, disable for static build

And drop the unused static handling from the .mk file.

Fixes:
http://autobuild.buildroot.net/results/8a2/8a2ff0af4faeda4d2d224dcaf543a574d7eba30c/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosupport/download: relocate the git clone comment
Baruch Siach [Thu, 28 May 2015 11:35:28 +0000 (14:35 +0300)]
support/download: relocate the git clone comment

Following commit 95a572282e87 (pkg-infra: move the git download helper to a
script, 2014-07-02), move the comment describing the shallow clone trickery as
well. Merge this comment with the existing helper comment that was added in
7e40a1103a91 (support/download: convert git to use the wrapper, 2014-08-03).

Rename $($(PKG)_DL_VERSION) to ${cset} to match the helper code context.

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/sconeserver: fix static link with openssl
Yann E. MORIN [Sat, 30 May 2015 14:19:11 +0000 (16:19 +0200)]
package/sconeserver: fix static link with openssl

When linking statically, the order of libraries on the linker command
line is important, and sconeserver got it wrong.

Also, sconeserver does not use pkg-config, so it misses the private
libs of -lcrypto, which is linking with -lz.

Fix that:
  - add a patch to configure.in to fix the order of libraries;
  - forcibly pass -lz when linking statically with openssl.

Note: we were already reconfiguring sconeserver, because it comes from
the github repository.

Fixes:
    http://autobuild.buildroot.org/results/403/403eac974ecdaacdb66b8241fbdcf19ec5e07480

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/php: Disable jit in bundled pcre library
Bernd Kuhls [Sat, 30 May 2015 22:55:32 +0000 (00:55 +0200)]
package/php: Disable jit in bundled pcre library

Quote from ext/pcre/pcrelib/doc/pcre.txt
"This support is available only for certain hardware architectures. If
 this  option is set for an unsupported architecture, a compile time
 error occurs."

Disable jit support on unsupported archs by updating ext/pcre/pcrelib/config.h

Fixes
http://autobuild.buildroot.net/results/966/966d6c47d1ed13a90c2846d96fb3d193df4b2aaa/ (bfin)
http://autobuild.buildroot.net/results/3f5/3f53751b192078714860e64d3f6d8d7398433d5a/ (xtensa)
http://autobuild.buildroot.net/results/de1/de12474d2b5cce251b1ab10f7d7e28c90545a1f0/ (arcle)
http://autobuild.buildroot.net/results/358/358b54245bb48f653ce209be070bd5fe6b17afc4/ (microblazeel)
http://autobuild.buildroot.net/results/a7c/a7c161ca0b424ae35634c9f2d8a8111cedec8181/ (nios2)
http://autobuild.buildroot.net/results/dad/dad1128f58fc601bf96da5fa0635b9b9c6c8f0b8/ (sh)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibgcrypt: allow optimization
Danomi Manchego [Sun, 31 May 2015 01:44:14 +0000 (21:44 -0400)]
libgcrypt: allow optimization

Drop the --disable-optimization option, which makes the libgcrypt configure
remove buildroot's optimization setting passed in from CFLAGS.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolttng-libust: requires dynamic library support
Baruch Siach [Fri, 29 May 2015 05:09:38 +0000 (08:09 +0300)]
lttng-libust: requires dynamic library support

Fixes:
http://autobuild.buildroot.net/results/e89/e8974516173ea74c830b71e400fcbafdd69dea60/
http://autobuild.buildroot.net/results/cac/cac7015c3be7e34dbeaa6accb59aebebe68eb6d2/
http://autobuild.buildroot.net/results/4ce/4ce0a35316cd25536b58b50f096b6f75f6e3c1c9/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gptfdisk: propagate ncurses reverse dependency
Romain Naour [Tue, 26 May 2015 19:33:21 +0000 (21:33 +0200)]
package/gptfdisk: propagate ncurses reverse dependency

gptfdisk cgdisk select nucurses wchar support which is disabled
on bfin with FLAT binary format.

Add the ncurses's reverse dependency to gptfdisk.

Fixes:
http://autobuild.buildroot.net/results/ce3/ce35c072f0b7c3a7a1918cb865a2eecbba8a1b23/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonbd: security bump to version 3.11
Gustavo Zacarias [Tue, 26 May 2015 22:30:17 +0000 (19:30 -0300)]
nbd: security bump to version 3.11

Fixes:
CVE-2015-0847 nbd-server denial of service due to unsafe signal handlers

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibstrophe: install into target
Peter Korsgaard [Wed, 27 May 2015 10:35:52 +0000 (12:35 +0200)]
libstrophe: install into target

Since a7134ce6745 (libstrophe: bump version), the package does in fact build
and install a shared library, so ensure it also ends up in target so it can
be found at runtime.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agojanus-gateway: disable for static build
Baruch Siach [Tue, 26 May 2015 10:36:47 +0000 (13:36 +0300)]
janus-gateway: disable for static build

janus-gateway requires dlopen().

Fixes:
http://autobuild.buildroot.net/results/092/092aac2b8abe0edd868a7e0cc59cdaaf28ca4ad5/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agofio: disable for static build
Baruch Siach [Tue, 26 May 2015 10:21:33 +0000 (13:21 +0300)]
fio: disable for static build

Fixes:
http://autobuild.buildroot.net/results/275/275dc359d72513fd567b7ccbbd4061dffd8a5266/
http://autobuild.buildroot.net/results/5e8/5e8cc28da6a17dcb142eb6d8a8cada735b211e2e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{12,18}.x series
Gustavo Zacarias [Tue, 26 May 2015 19:48:06 +0000 (16:48 -0300)]
linux-headers: bump 3.{12,18}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopostgresql: security bump to version 9.4.2
Gustavo Zacarias [Tue, 26 May 2015 19:45:57 +0000 (16:45 -0300)]
postgresql: security bump to version 9.4.2

Fixes:
CVE-2015-3165 (denial of service)
CVE-2015-3166 (information disclosure)
CVE-2015-3167 (side-channel key exposure)

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodocs/manual/br2-external: use proper .Note sections
Yann E. MORIN [Sun, 24 May 2015 21:49:56 +0000 (23:49 +0200)]
docs/manual/br2-external: use proper .Note sections

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodocs/manual/br2-external: remove superfluous leading space in code blocks
Yann E. MORIN [Sun, 24 May 2015 21:49:55 +0000 (23:49 +0200)]
docs/manual/br2-external: remove superfluous leading space in code blocks

They are not needed, and other code blocks in the same file are not
indented either.

Remove those leading spaces, so all our code blocks look the same.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiproute2: drop unneeded Werror handling
Peter Korsgaard [Mon, 25 May 2015 20:25:21 +0000 (22:25 +0200)]
iproute2: drop unneeded Werror handling

Upstream has dropped -Werror since the 3.12 release, so there's no point in
us sed'ing it away:

https://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/?id=3140e9a3a343d37a8d828ee27e16ad9f3f9ab389

Reported-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackages/flite: add hash file
Fabio Porcedda [Mon, 25 May 2015 15:30:38 +0000 (17:30 +0200)]
packages/flite: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libjpeg: add hash file
Fabio Porcedda [Mon, 25 May 2015 15:30:37 +0000 (17:30 +0200)]
package/libjpeg: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/directfb: add hash file
Fabio Porcedda [Mon, 25 May 2015 15:30:36 +0000 (17:30 +0200)]
package/directfb: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/knock: add hash file
Fabio Porcedda [Mon, 25 May 2015 15:30:35 +0000 (17:30 +0200)]
package/knock: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/udpcast: add hash file
Fabio Porcedda [Mon, 25 May 2015 15:30:34 +0000 (17:30 +0200)]
package/udpcast: add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/efl/libelementary: disable on static lib only build
Samuel Martin [Sat, 23 May 2015 13:56:39 +0000 (15:56 +0200)]
package/efl/libelementary: disable on static lib only build

libelementary sources include dlfcn.h header when HAVE_FORK symbol is defined;
this is always the case because efl already depends on BR2_USE_MMU.

Fixes:
  http://autobuild.buildroot.org/results/07c/07c97918dab24215f5c5130a9cd2788adca0a27d/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/php: fix build without threads and pcre
Yann E. MORIN [Sat, 23 May 2015 12:57:56 +0000 (14:57 +0200)]
package/php: fix build without threads and pcre

The pcre library bundled in php is not configurable through the usual
--enable/disable options, but wants to be thread-safe by default, so it
wants to use pthreads (uncludes pthread.h and uses pthread_* functions).

So, just override the default configuration to explicitly require the
bundled pcre library be single-threaded when we have no thread and are
not using the external pcre library.

Fixes:
    http://autobuild.buildroot.org/results/f50/f50f4e569466ad74e49a3eac9ea2e6cfc4dd30e3/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Floris Bos <bos@je-eigen-domein.nl>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogptfdisk: ensure correct libintl/libiconv build order
Peter Korsgaard [Mon, 25 May 2015 19:58:03 +0000 (21:58 +0200)]
gptfdisk: ensure correct libintl/libiconv build order

Fixes:
http://autobuild.buildroot.net/results/c7d/c7d48554d76e39cbdf715721ae51e3516a99f97e/

We're explicitly linking against libintl/libiconv if enabled when linking
statically, but weren't ensuring that those libraries had already been built
before gptfdisk leading to linker issues.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/ipmiutil: really disable lanplus
Yann E. MORIN [Sat, 23 May 2015 17:56:21 +0000 (19:56 +0200)]
package/ipmiutil: really disable lanplus

Fixes:
http://autobuild.buildroot.org/results/04a/04a1c48d484debd7894fd32997ed50d3a0110b93/

Due to weird constructs in the Makefiles, lanplus is always built, even
when explicitly disabled with --disable-lanplus .

So, add a patch to enforce disabling lanplus. We're doing an at-minima
patch just for the upcoming Buildroot release, and to avoid diverging
too far from upstream...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/ipmiutil: disable parallel build
Yann E. MORIN [Sat, 23 May 2015 15:40:33 +0000 (17:40 +0200)]
package/ipmiutil: disable parallel build

ipmiutil has a race when generating the object files and the executable,
because it uses very odd (to say the least) constructs in its
Makefile.am, leading to improper dependency-tracking.

Since impmiutil is pretty small, and because it is just mindbloggingly
complex to fix its Makefile.am, just disable parallel build.

Fixes:
    http://autobuild.buildroot.org/results/661/661373306d0440aaea67e394fbbfc47fd4481589/
    http://autobuild.buildroot.org/results/a6c/a6c5f9d8e0e0bad27b8ca1fa217bfda4216f2cd8/
    http://autobuild.buildroot.org/results/f0b/f0bbbd54349b5239872d6de185e16c1d90b3f779/
    http://autobuild.buildroot.org/results/20c/20c09695481c3d1030852330c1d1f1f9489f1f41/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libgsasl: fix typo in variable name
Yann E. MORIN [Sun, 24 May 2015 13:36:05 +0000 (15:36 +0200)]
package/libgsasl: fix typo in variable name

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogptfdisk: fix static linking issue with iconv
Peter Korsgaard [Fri, 22 May 2015 12:49:32 +0000 (14:49 +0200)]
gptfdisk: fix static linking issue with iconv

Fixes:
http://autobuild.buildroot.net/results/e89/e891a5bab72690a530781ad87d5804a53a209b5c/

Similar to libintl, some of the gptfdisk dependencies may link against
libiconv, so we need to do so as well when linking statically.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoUpdate for 2015.05-rc3
Peter Korsgaard [Fri, 22 May 2015 09:53:58 +0000 (11:53 +0200)]
Update for 2015.05-rc3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agofs/jffs2: Fix mkfs.jffs2 --pagesize parameter usage
Michał Leśniewski [Tue, 19 May 2015 18:26:30 +0000 (20:26 +0200)]
fs/jffs2: Fix mkfs.jffs2 --pagesize parameter usage

Fixes #8186

Mkfs.jffs2 accepts a --pagesize parameter, which allows specifying the size
of the virtual memory page size of the target machine, where the image will
be used.  (This is the value of the PAGE_SIZE macro in Linux.) In most cases
the parameter doesn't need to be set as the default value of 4 kB is usually
correct.

The parameter was used incorrectly in Buildroot -- it was set to the page
size of flash memory chip -- this commit fixes this problem.  Now the
--pagesize parameter is not used at all (unless the user explicitly chooses
to use a custom value during configuration).  All existing defconfigs were
corrected to match the new configuration variable names.

[Peter: reword, add Config.in.legacy handling]
Signed-off-by: Michał Leśniewski <mlesniew@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotiff: add hash
Baruch Siach [Fri, 22 May 2015 04:29:52 +0000 (07:29 +0300)]
tiff: add hash

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdk-pixbuf: fix static build with libtiff
Baruch Siach [Fri, 22 May 2015 04:29:51 +0000 (07:29 +0300)]
gdk-pixbuf: fix static build with libtiff

Fixes:
http://autobuild.buildroot.net/results/ce6/ce61d5aaf5dfdda92fcecb08a30b6093926d6f01/
http://autobuild.buildroot.net/results/76b/76b550da06fe547716f089e46d96a1406043268a/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/protobuf: autoreconf is now needed
Samuel Martin [Fri, 22 May 2015 04:30:20 +0000 (06:30 +0200)]
package/protobuf: autoreconf is now needed

Since its update, the *_SITE points to the git repository, so configure
script is not generated in this tarball.

Fixes:
  http://autobuild.buildroot.org/results/ccb/ccba6d8c73b5e826b86065b77b3fe5077db7b99c/
  http://autobuild.buildroot.org/results/57e/57ea34e9b48293075e10f0dd2331de2785730827/
  and many more...

[Peter: drop redundant HOST_*_AUTORECONF]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonewt: not available for static only builds
Peter Korsgaard [Thu, 21 May 2015 22:32:31 +0000 (00:32 +0200)]
newt: not available for static only builds

Fixes:
http://autobuild.buildroot.net/results/a40/a400e1fe7291d3bd3171ad04ce5fd7ba235d39af/
http://autobuild.buildroot.net/results/ec3/ec38d0f1d1faa2a87321bab10f87772eb819adc9/
http://autobuild.buildroot.net/results/7cb/7cbc8cd265d527c7b56d57e511903b23a4a84489/

newt uses autoconf but not automake, and unconditionally tries to build a
.so file - So it doesn't work in static only builds.

The only reverse dependency is network-manager, which already depends on
glibc.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agorpi-userland: not available for static only builds
Peter Korsgaard [Thu, 21 May 2015 22:20:39 +0000 (00:20 +0200)]
rpi-userland: not available for static only builds

Fixes:
http://autobuild.buildroot.net/results/e9e/e9ea569b5fe6fd875b3fa8f4eee82e3fddd95e90/
http://autobuild.buildroot.net/results/c97/c97f7df043469bc51ebbb41ddf30f8e82d4e6bb5/
http://autobuild.buildroot.net/results/ba8/ba82769109f205123834627bbf782bd1811ea43e/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoneardal: properly quote output of pkg-config
Peter Korsgaard [Thu, 21 May 2015 22:04:32 +0000 (00:04 +0200)]
neardal: properly quote output of pkg-config

Commit 5504039c4e (neardal: fix readline/libedit detection with static
linking) added the output of pkg-config to the LIBS shell variable without
adding quotes around it, breaking the logic if the output would ever consist
of more than 1 word.

Now, pkg-config --libs ncurses currently only outputs '-lncurses', so
nothing is really broken (for now atleast), but lets add the quotes before
it does or the syntax gets copied somewhere else where it does.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoportaudio: fix static linking issue with portaudio
Peter Korsgaard [Thu, 21 May 2015 22:00:05 +0000 (00:00 +0200)]
portaudio: fix static linking issue with portaudio

Fixes:
http://autobuild.buildroot.net/results/25f/25f8088ecb276ff4559a56fcc4f1b92d11f7deac/

As opposed to the other audio backends, the configure script does NOT use
pkg-config to figure out how to link with portaudio, breaking static linking
as portaudio uses pthreads.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
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>