buildroot.git
10 years agosane-backends: uses fork(), not available on noMMU systems
Thomas Petazzoni [Sat, 17 May 2014 09:31:14 +0000 (11:31 +0200)]
sane-backends: uses fork(), not available on noMMU systems

sane-backends currently doesn't build with the ADI external
toolchains, due to an internal compiler failure. However, using the
internal toolchain backend for Blackfin goes past this internal
compiler failure, but raises the problem that sane-backends uses
fork(). Sane-backends has a --enable-pthreads option that allows to
use threads instead of forking in some parts of sane, but there are
still some other areas of sane-backends that continue to use fork().

Since the probability of using sane-backends on a noMMU system is
fairly small, we'll just disable this package for now on such
architectures, until someone cares enough to investigate deeper.

Fixes:

  http://autobuild.buildroot.org/results/136/136100c3a2d843b7915fdd83d23d8b301fee577e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotstools: uses fork() therefore needs MMU
Thomas Petazzoni [Sat, 17 May 2014 09:17:44 +0000 (11:17 +0200)]
tstools: uses fork() therefore needs MMU

Fixes:

  http://autobuild.buildroot.org/results/4f6/4f611e085a3e21319a98f5383adf2caac77a0bd6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoelfutils: disable on Blackfin, problem of assembly symbol prefix
Thomas Petazzoni [Sat, 17 May 2014 08:54:03 +0000 (10:54 +0200)]
elfutils: disable on Blackfin, problem of assembly symbol prefix

Fixes:

  http://autobuild.buildroot.org/results/922/92291286e86f9ea943ae7aa58cbd884c8db0c5d2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoelfutils: propagate architecture dependency to comment
Thomas Petazzoni [Sat, 17 May 2014 08:52:51 +0000 (10:52 +0200)]
elfutils: propagate architecture dependency to comment

elfutils depends on !BR2_avr32, but this dependency was not properly
propagated to the comment about toolchain options. This commit fixes
that.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojack2: not available on ARC
Thomas Petazzoni [Sat, 17 May 2014 08:30:57 +0000 (10:30 +0200)]
jack2: not available on ARC

ARC lacks some compiler intrinsics to build jack2.

Fixes:

  http://autobuild.buildroot.org/results/c21/c218be876d3abf7a8e212b6d526595bfd835e1c5/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojack2: requires MMU support
Thomas Petazzoni [Sat, 17 May 2014 08:30:04 +0000 (10:30 +0200)]
jack2: requires MMU support

jack2 uses fork(), so it's not available on non-MMU architectures.

Fixes:

  http://autobuild.buildroot.org/results/0d4/0d441bf1831b2a657b466e44c29423c45c07decd/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibdvd{nav, read}: add patches to fix build on NIOS II
Thomas Petazzoni [Sat, 17 May 2014 08:28:08 +0000 (10:28 +0200)]
libdvd{nav, read}: add patches to fix build on NIOS II

Fixes:

  http://autobuild.buildroot.org/results/628/62839c4b2e687b940b97ad61bceb41cd5eb6e17a/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/avahi: does not build with static-only
Yann E. MORIN [Fri, 16 May 2014 20:22:59 +0000 (22:22 +0200)]
package/avahi: does not build with static-only

... and propagate to reverse dependencies.

Fixes (which I reproduced here):
    http://autobuild.buildroot.net/results/ea2/ea2c8f20c4032bf82876805ea787a55834091cec

Should fix (which I did not even try to reproduce):
    http://autobuild.buildroot.net/results/4ef/4ef5bfc17f50bddb00f7ef3d62fc1fe963b7da82
    http://autobuild.buildroot.net/results/76e/76e4854812b0ef3862c080eead4012b35ef27f0f
    http://autobuild.buildroot.net/results/5bf/5bfb3fd9fe61bef5f998dc5999ce2060c334662c
    http://autobuild.buildroot.net/results/dc6/dc607c35471ef6dda04e06ad05ae7794615af578

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoudev: replace "echo -en" with printf
Maxime Hadjinlian [Wed, 14 May 2014 10:26:53 +0000 (12:26 +0200)]
udev: replace "echo -en" with printf

printf is POSIX-compliant, echo -e/n is not.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoeudev: replace "echo -en" with printf
Maxime Hadjinlian [Wed, 14 May 2014 10:26:52 +0000 (12:26 +0200)]
eudev: replace "echo -en" with printf

printf is POSIX-compliant, echo -e/n is not.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonetsnmp: cleanup configure flags handling
Peter Korsgaard [Fri, 16 May 2014 20:28:38 +0000 (22:28 +0200)]
netsnmp: cleanup configure flags handling

No functional change, but cleaner.

Remove the double --disable-manuals and move the debug handling together
with the other optional configure flags.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonetsnmp: Remove ldconfig calls
Bernd Kuhls [Wed, 14 May 2014 04:51:12 +0000 (06:51 +0200)]
netsnmp: Remove ldconfig calls

ldconfig breaks links created by gpu-viv-bin-mx6q.

fixes
http://autobuild.buildroot.net/results/ab5/ab57dd3729d529366808cbfc802f49360b2ec2b9/

[Peter: use NETSNMP_INSTALL_*_OPT, only install initscript for sysv init]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt5quick1: add missing dependency on network module
Fatih Aşıcı [Tue, 13 May 2014 06:52:46 +0000 (09:52 +0300)]
qt5quick1: add missing dependency on network module

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt5quick1: removed OpenGL dependencies
Wojciech Slenska [Mon, 5 May 2014 17:06:46 +0000 (19:06 +0200)]
qt5quick1: removed OpenGL dependencies

Qt5Quick1 module doesn't need OpenGL libs and declarative module.

This module can be used to port qt4 qml apps to qt5. Patch has been tested
with linuxfb output plugin.

Signed-off-by: Wojciech Slenska <wojciech.slenska@gmail.com>
Reviewed-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibnss: Disable for MIPS64 n32 platforms
Vicente Olivert Riera [Tue, 13 May 2014 08:46:14 +0000 (09:46 +0100)]
libnss: Disable for MIPS64 n32 platforms

This package fails to compile for MIPS64 n32 platforms. We are in
conversations with upstream to fix this problem. Meanwhile we disable
this package until we fix it.

Fixes:
   http://autobuild.buildroot.net/results/0e3/0e3f1482d6f2f9bddc53d4e78b575120a2729e1d/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxserver_xorg-server: fix fontrootdir configuration
Filippo Sironi [Tue, 13 May 2014 13:59:49 +0000 (15:59 +0200)]
xserver_xorg-server: fix fontrootdir configuration

The --with-fontdir switch has been substituted by the --with-fontrootdir
switch a few versions ago. The use of the old configuration switch was
causing error messages like the following:

_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/*/
[dix] Could not init font path element ${prefix}/share/fonts/X11/*/, removing from list!

Signed-off-by: Filippo Sironi <filippo.sironi@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibunwind: depend on libatomic_ops when available
Baruch Siach [Thu, 15 May 2014 18:42:41 +0000 (21:42 +0300)]
libunwind: depend on libatomic_ops when available

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoluajit: fix a runtime error
Francois Perrad [Thu, 15 May 2014 17:17:55 +0000 (19:17 +0200)]
luajit: fix a runtime error

this patch fixes :
    luajit: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: add xtensa fixes for 7.5.1
Max Filippov [Thu, 15 May 2014 15:37:20 +0000 (19:37 +0400)]
gdb: add xtensa fixes for 7.5.1

Two fixes for xtensa are still applicable to gdb-7.5.1, which is now the
default; copy them from 7.4.1. This fixes native gdb build for xtensa.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: replace xtensa patches with proper backports from binutils-gdb
Max Filippov [Thu, 15 May 2014 15:37:19 +0000 (19:37 +0400)]
gdb: replace xtensa patches with proper backports from binutils-gdb

The functionality is unchanged.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojack2: force host-python dependency for waf build-system
Samuel Martin [Wed, 14 May 2014 10:46:16 +0000 (12:46 +0200)]
jack2: force host-python dependency for waf build-system

jack2 uses Waf 1.6.11. The waf configure program combines a part of
python script with a compiled blob. According to Waf documentation,
waf currently supports python interpreter from version 2.3 to 3.1.

However, Buildroot provides python-3.4. So, let's uses host python2
interpreter for building jack2.

This patch also cleanup whitespace, replacing wrongly used spaces with
tabs.

Fixed:
  http://autobuild.buildroot.net/results/913/913bb1836076be9f201bf6641c7614708d6916bc/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobinutils: add patch to fix AArch64 glibc build issue
Thomas Petazzoni [Thu, 15 May 2014 15:56:35 +0000 (17:56 +0200)]
binutils: add patch to fix AArch64 glibc build issue

The autobuilders are not able to build glibc on AArch64 since we moved
to the internal toolchain backend as the default for AArch64. The
reason is that the cross-ld segfaults while linking of the glibc
utilities. Unfortunately, the issue has so far been impossible to
reproduce outside of the autobuilder CI loop itself: even on the same
machine, in the same chroot, the issue does not appear.

Today, Will Newton helped me analyze a bit further the problem. In the
logs of the build machine, we have found that the following segfault
notification matched the dates of the autobuilder failures:

/var/log/syslog:May 15 10:39:20 sd-56966 kernel: [767023.832598] ld[6846]: segfault at 1b2c002 ip 00000000004caf80 sp 00007fffaa308df8 error 4 in ld[400000+1b9000]
/var/log/syslog.2.gz:May 13 07:58:24 sd-56966 kernel: [585094.434264] ld[17761]: segfault at 154b002 ip 00000000004caf80 sp 00007fff0d400168 error 4 in ld[400000+1b9000]
/var/log/syslog.3.gz:May 12 20:24:08 sd-56966 kernel: [543558.227915] ld[14841]: segfault at 2706002 ip 00000000004caf80 sp 00007fffc08d41c8 error 4 in ld[400000+1b9000]
/var/log/syslog.4.gz:May 11 19:51:59 sd-56966 kernel: [455484.523033] ld[50162]: segfault at 1f00002 ip 00000000004caf80 sp 00007fff14a02328 error 4 in ld[400000+1b9000]
/var/log/syslog.4.gz:May 12 05:13:37 sd-56966 kernel: [489085.120089] ld[32067]: segfault at 2430002 ip 00000000004caf80 sp 00007fffc448db48 error 4 in ld[400000+1b9000]
/var/log/syslog.6.gz:May  9 15:20:38 sd-56966 kernel: [266948.197141] ld[13483]: segfault at ff0002 ip 00000000004caf80 sp 00007fff7e4fe948 error 4 in ld[400000+1b9000]
/var/log/syslog.7.gz:May  8 16:45:08 sd-56966 kernel: [185853.688607] ld[1757]: segfault at 20b1002 ip 00000000004caf80 sp 00007fffd07d5ae8 error 4 in ld[400000+1b9000]

See
http://autobuild.buildroot.org/?reason=glibc-2.18-svnr23787&arch=aarch64
for the autobuilder results.

So, the segfault always happens while accessing an address 2 bytes
after the beginning of a page: it looks like a buffer overflow, which
gets triggered because the object is placed towards the end of the
previous page, and crosses over the next, unallocated page.

Moreover, we looked at the 0x4caf80 address in an AArch64 cross-ld
built by Buildroot, and it turns out that it is part of the
iterative_hash() function. This nicely correlates with the patch that
Will Newton had pointed in
http://lists.busybox.net/pipermail/buildroot/2014-May/095881.html as a
fix for invalid memory accesses reported by Valgrind in the AArch64
cross-ld, specifically around the same area of 'ld'.

Therefore, even though we have not been able to reproduce the issue
outside of the autobuilders, and cannot confirm that the patch is
fixing the issue, I propose to integrate this binutils patch into
Buildroot. It is anyway an upstream binutils patch, which fixes a real
problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopostgresql: disable spinlock support for microblaze (el/be)
Peter Seiderer [Thu, 15 May 2014 16:42:11 +0000 (18:42 +0200)]
postgresql: disable spinlock support for microblaze (el/be)

Fixes:
  http://autobuild.buildroot.org/results/686/6860988c9edb62d0d32cc6b0bd6af4f35ca0e343/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolsof: don't use host toolchain to determine target libc
Baruch Siach [Wed, 14 May 2014 12:45:08 +0000 (15:45 +0300)]
lsof: don't use host toolchain to determine target libc

The lsof Configure script builds a test program using the host toolchain to
test whether glibc is used. This test is broken in cross compilation
environment. Set LINUX_CLIB to avoid the test. This should give the correct
result even for non glibc toolchains, since all libc variants we support have
the netinet/tcp.h header.

Fixes:
http://autobuild.buildroot.net/results/a1f/a1f0572dbf968c21f70b35cefff7ef7a1d9a348a/

Cc: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-stats: fix whitespaces
Fabio Porcedda [Wed, 14 May 2014 11:24:14 +0000 (13:24 +0200)]
pkg-stats: fix whitespaces

Remove some spaces before tabs and add the empty line at end of file.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-stats: add luarocks perl python virtual infrastructures
Fabio Porcedda [Wed, 14 May 2014 11:24:13 +0000 (13:24 +0200)]
pkg-stats: add luarocks perl python virtual infrastructures

Recognize the recently added infrastructures: luarocks, perl, python,
virtual.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomtr: drop unneeded 'call' from autotools-package invocation
Fabio Porcedda [Wed, 14 May 2014 11:47:36 +0000 (13:47 +0200)]
mtr: drop unneeded 'call' from autotools-package invocation

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenpowerlink: add Intel I210 chip support
Romain Naour [Thu, 8 May 2014 23:05:13 +0000 (01:05 +0200)]
openpowerlink: add Intel I210 chip support

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenpowerlink: use git repository instead of zip archive
Romain Naour [Thu, 8 May 2014 23:05:12 +0000 (01:05 +0200)]
openpowerlink: use git repository instead of zip archive

Since commit 6c5c08b854e4490697076ae3c5a9c587d8672c63,
openpowerlink package is rebuilt at every make call because
.stamp_downloaded is missing in the build directory.[D

The culprit is OPENPOWERLINK_EXTRACT_CMDS that remove and
replace the build directory.

unzip extract a directory "openPOWERLINK-V1.08.4" and
Buildroot expect a directory "openpowerlink-V1.08.4"

It is easier to use git repository instead of zip archive and
avoids rename the directory openPOWERLINK to openpowerlink.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocairo: fix build of any2ppm if no fork().
Eric Le Bihan [Fri, 25 Apr 2014 09:27:15 +0000 (11:27 +0200)]
cairo: fix build of any2ppm if no fork().

The test program any2ppm can run as daemon. This feature can be disabled
at compile time, if the required headers are not present. However the
support for fork() is not checked.

Fixes http://autobuild.buildroot.net/results/4f2/4f271d55d7060d412aa336cfc2da3be3538d3594/.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/rsyslog: needs MMU (fork)
Bernd Kuhls [Wed, 14 May 2014 19:36:13 +0000 (21:36 +0200)]
package/rsyslog: needs MMU (fork)

fixes http://autobuild.buildroot.net/results/5c0/5c03bf3a1e4e922a18b40f854ff59d905a93a89f/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/directfb: Disable dynload when BR2_PREFER_STATIC_LIB is enabled
Bernd Kuhls [Wed, 14 May 2014 19:11:56 +0000 (21:11 +0200)]
package/directfb: Disable dynload when BR2_PREFER_STATIC_LIB is enabled

fixes http://autobuild.buildroot.net/results/a74/a74b97053d7cad4fcce59f658a4b7b4340284b80/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/rsyslog: Add missing optional dependency libcrypt
Bernd Kuhls [Wed, 14 May 2014 18:28:52 +0000 (20:28 +0200)]
package/rsyslog: Add missing optional dependency libcrypt

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: bump to version 3.14.4
Gustavo Zacarias [Tue, 13 May 2014 21:30:49 +0000 (18:30 -0300)]
linux: bump to version 3.14.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{4.10.14}.x series
Gustavo Zacarias [Tue, 13 May 2014 21:30:48 +0000 (18:30 -0300)]
linux-headers: bump 3.{4.10.14}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibunwind: add patch to fix behavior for ARM < v6
Thomas Petazzoni [Tue, 13 May 2014 21:47:37 +0000 (23:47 +0200)]
libunwind: add patch to fix behavior for ARM < v6

Since libatomic_ops does not implement real atomic operations for
ARMv4 and ARMv5, libunwind must define AO_REQUIRE_CAS do indicate it
requires compare-and-swap operations, even if not available as real
atomic operations for the current architecture. In this case,
libatomic_ops will rely on emulated atomic operations, which also
require linking against libatomic_ops, which was until now not done by
libunwind.

This fixes the mysterious ltrace build issue:

  http://autobuild.buildroot.org/results/e1b/e1b330abfa2d80f3f30bc3359428ea429c690eb8/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenvpn: bump to version 2.3.4
Gustavo Zacarias [Tue, 13 May 2014 21:57:04 +0000 (18:57 -0300)]
openvpn: bump to version 2.3.4

Fixes TLS version interoperability issues.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoflann: disallow static library build
Thomas Petazzoni [Tue, 13 May 2014 20:45:37 +0000 (22:45 +0200)]
flann: disallow static library build

Even though flann build system uses CMake, it always tries to build a
shared library, even if BUILD_SHARED_LIBS=OFF is passed. It could
probably be fixed in flann's CMakeLists.txt, but that's not really
worth the effort if upstream doesn't support it.

Therefore, we simply disallow the flann package in purely static
builds.

Fixes:

  http://autobuild.buildroot.org/results/a4e/a4ec0e9f28cd12ce770718fb407bbb4dc93b528b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoclapack: disable on blackfin
Samuel Martin [Tue, 13 May 2014 09:11:40 +0000 (11:11 +0200)]
clapack: disable on blackfin

The "_" symbol prefix added by the blackfin toolchain causes "undefined
symbol" build failures when the compiler is trying to link a binary
with libblas and/or liblapack.

This patch also disables clapack reverse dependencies: armadillo.

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

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobtrfs-progs: disable for avr32
Gustavo Zacarias [Tue, 13 May 2014 09:36:44 +0000 (06:36 -0300)]
btrfs-progs: disable for avr32

Toolchain issues prevent it from being built, also there's no AVR32 with
proper storage ports for such a filesystem. Fixes:
http://autobuild.buildroot.net/results/06501fd32c30549810c12f0ad50f510c4b74ee63/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoUpdate for 2014.05-rc1
Peter Korsgaard [Tue, 13 May 2014 08:49:03 +0000 (10:49 +0200)]
Update for 2014.05-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowpa_supplicant: detect readline support in wpa_cli
Oscar Hellström [Mon, 12 May 2014 16:16:09 +0000 (18:16 +0200)]
wpa_supplicant: detect readline support in wpa_cli

Signed-off-by: Oscar Hellström <oscar.hellstrom@vinnter.se>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocrda: disable on NIOS II
Thomas Petazzoni [Mon, 12 May 2014 22:12:28 +0000 (00:12 +0200)]
crda: disable on NIOS II

Building crda on NIOS II triggers the infamous _gp linker issue. Since
nobody cared, let's disable this package on NIOS II for the moment.

Fixes:

  http://autobuild.buildroot.net/results/272/272f18410e4855ab6b3bfd8a44243c1ebecf6abe/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocppcms: needs NPTL support
Thomas Petazzoni [Mon, 12 May 2014 22:09:19 +0000 (00:09 +0200)]
cppcms: needs NPTL support

cppcms uses some thread functions that are not available in certain
uClibc thread implementations. Even though a bit more restrictive than
necessary, adding a NPTL dependency is the easiest solution, and is
quite logical for a relatively large and complex package such as
cppcms.

Fixes:

  http://autobuild.buildroot.net/results/a26/a26574419aacbea4140dfca1d503bcab599edd71/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Mon, 12 May 2014 22:01:35 +0000 (00:01 +0200)]
CHANGES: update with recent changes

And move the xbmc packages to the new packages list, as that's what they
are.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoaiccu: not available on NIOS II
Thomas Petazzoni [Mon, 12 May 2014 22:00:50 +0000 (00:00 +0200)]
aiccu: not available on NIOS II

Building aiccu does not work on NIOS II due to the _gp problem, and
nobody is interested to fix it for now, so we simply disallow this
package. While we're at it, we propagate the AVR32 exclusion to the
comment.

Fixes:

  http://autobuild.buildroot.net/results/786/7864cd5789a9f9b9f0603d738f4e63822d8469dd/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain-external: Sourcery CodeBench ARM 2013.05 affected by PR58595
Thomas Petazzoni [Mon, 12 May 2014 21:10:35 +0000 (23:10 +0200)]
toolchain-external: Sourcery CodeBench ARM 2013.05 affected by PR58595

Fixes:

  http://autobuild.buildroot.org/results/6b3/6b342c2d101348e4d39285f45481e2aafa3d8b3f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomesa3d: Fix gbm related compile error
Bernd Kuhls [Sat, 10 May 2014 10:02:16 +0000 (12:02 +0200)]
mesa3d: Fix gbm related compile error

https://bugs.freedesktop.org/show_bug.cgi?id=78225#c1
"AFAICS both gbm backends require DRI"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomesa3d: use --enable-shared-glapi also for Gallium drivers
Bernd Kuhls [Sat, 10 May 2014 10:02:15 +0000 (12:02 +0200)]
mesa3d: use --enable-shared-glapi also for Gallium drivers

Needed since this upstream commit:
http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?h=10.2&id=0432aa064bf5d4d0ad8fc3c4d648b8feb238ddfa

Remove --disable-shared-glapi from the non-DRI-block, this
would break with enabled Gallium drivers.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobinutils: backport R_XTENSA_DIFF* relocation signedness fix
Max Filippov [Wed, 7 May 2014 22:51:05 +0000 (02:51 +0400)]
binutils: backport R_XTENSA_DIFF* relocation signedness fix

This fixes the following build errors:

  qlatincodec.o:(.debug_line+0xcd7): dangerous relocation: overflow after relaxation
  qmetaobject.o:(.debug_frame+0xa89): dangerous relocation: overflow after relaxation

Fixes:
  http://autobuild.buildroot.net/results/f51/f51c87ae3c883cc36b06c0741999b52e48e4c943/
  http://autobuild.buildroot.net/results/bcb/bcbf25e4054911a7a192bdb5c92e0ebd50e9666c/
  http://autobuild.buildroot.net/results/8a8/8a8a0f8cca293ce1f383421ba8b1223b4266e3bc/
  http://autobuild.buildroot.net/results/a54/a54f3707781dc193292eda7d1723fce6487d6980/

Backported from: 1058c7532d0b012ac329219264ddad59049fb6e6
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobinutils: backport first section frag alignment fix for xtensa gas
Max Filippov [Wed, 7 May 2014 22:51:04 +0000 (02:51 +0400)]
binutils: backport first section frag alignment fix for xtensa gas

This fixes the following build error often seen during linux kernel
linking step with relaxation enabled:

  dangerous relocation: call8: misaligned call target: (.text.unlikely+0x63)

Backported from: a35d5e823fdfe8a6e7e05ca8e3fb8bb5697335b1
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: add information about INSTALL_IMAGES_CMDS
Ryan Barnett [Fri, 9 May 2014 00:20:11 +0000 (19:20 -0500)]
manual: add information about INSTALL_IMAGES_CMDS

The Buildroot manual currently does not contain any mention of the
<pkg>_INSTALL_IMAGES_CMDS which could potentially be of interest when
developing a new 'generic-package'.

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
CC: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/xbmc: add missing dependency on libtheora
Yann E. MORIN [Thu, 8 May 2014 22:28:45 +0000 (00:28 +0200)]
package/xbmc: add missing dependency on libtheora

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomesa3d: Add patch note about upstream bug
Bernd Kuhls [Sat, 10 May 2014 10:02:19 +0000 (12:02 +0200)]
mesa3d: Add patch note about upstream bug

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosysstat: fix passing CFLAGS to make
Max Filippov [Mon, 12 May 2014 03:27:06 +0000 (07:27 +0400)]
sysstat: fix passing CFLAGS to make

SYSSTAT_MAKE_OPT is a string used to pass options to make, '+=' operator
doesn't have any special meaning inside it, so CFLAGS+=... is passed to
shell, overwriting previous CFLAGS value.

Replace CFLAGS+="..." with CFLAGS="$(TARGET_CFLAGS) ...".

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoebtables: fix passing CFLAGS to configure
Max Filippov [Mon, 12 May 2014 03:27:05 +0000 (07:27 +0400)]
ebtables: fix passing CFLAGS to configure

EBTABLES_K64U32 is a string passed directly to the configure script,
'+=' operator doesn't have any special meaningi inside it, so
CFLAGS+=-DKERNEL_64_USERSPACE_32 is passed to shell, overwriting previous
CFLAGS value.

Replace CFLAGS+="-DKERNEL_64_USERSPACE_32" with -DKERNEL_64_USERSPACE_32
and pass CFLAGS="$(TARGET_CFLAGS) $(EBTABLES_K64U32)".

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcgroup: fix passing CFLAGS/LDFLAGS to configure
Max Filippov [Mon, 12 May 2014 03:27:04 +0000 (07:27 +0400)]
libcgroup: fix passing CFLAGS/LDFLAGS to configure

LIBCGROUP_CONF_ENV is a string used to pass environment variables to the
confgiure script, '+=' operator doesn't have any special meaning inside
it, so CFLAGS+=... is passed to shell, overwriting previous CFLAGS
value. Replace CFLAGS+="..." with CFLAGS="$(TARGET_CFLAGS) ...".

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosqlcipher: fix passing CFLAGS/LDFLAGS to configure
Max Filippov [Mon, 12 May 2014 03:27:03 +0000 (07:27 +0400)]
sqlcipher: fix passing CFLAGS/LDFLAGS to configure

SQLCIPHER_CONF_ENV is a string used to pass environment variables to the
confgiure script, '+=' operator doesn't have any special meaning inside
it, so CFLAGS+=... is passed to shell, overwriting previous CFLAGS
value. Replace CFLAGS+="..." with CFLAGS="$(TARGET_CFLAGS) ...".

Fixes:
  http://autobuild.buildroot.net/results/dbf/dbf947ad6442fa8e57201ffcc96871361bf39ad7/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocmake: disable building of ccmake
Fabio Porcedda [Mon, 12 May 2014 11:19:36 +0000 (13:19 +0200)]
cmake: disable building of ccmake

To speedup building disable ccmake because it's not needed by buildroot.
Also disabling ccmake get rid of the ncurses optional unspecified
dependency for the sake of reproducible builds.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Alexander Potashev <aspotashev@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobuild log: add message when starting target-finalize target
Thomas De Schampheleire [Mon, 12 May 2014 14:19:27 +0000 (16:19 +0200)]
build log: add message when starting target-finalize target

The target-finalize target does a large number of actions (removing
unnecessary files, stripping objects, etc.) but does not have a header. This
makes it seem that all these actions are done as part of the last action
before target-finalize, for example:
    >>> makedevs undefined Installing to target

To make a clear distinction, add a message to the beginning of
target-finalize:
    >>>   Finalizing target directory

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobarebox: bump to version 2014.05.0
Fabio Porcedda [Mon, 12 May 2014 09:19:23 +0000 (11:19 +0200)]
barebox: bump to version 2014.05.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoprotobuf: host-protobuf can only be built on certain architectures
Thomas Petazzoni [Mon, 12 May 2014 17:45:48 +0000 (19:45 +0200)]
protobuf: host-protobuf can only be built on certain architectures

The host-protobuf package can only build on certain architectures. For
example, host-protobuf does not build on PowerPC platforms, causing
build failures on the autobuilders. Since we don't really care about
build platforms other than x86 and x86-64, this commit restricts the
build of host-protobuf to these architectures only, even though if
technically it could build on ARM and MIPS.

Fixes:

 http://autobuild.buildroot.org/results/9b9/9b9b20b0e4694b11425cdc2382650cdc2774e400/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibbluray: needs dynamic library support
Thomas Petazzoni [Mon, 12 May 2014 18:23:52 +0000 (20:23 +0200)]
libbluray: needs dynamic library support

The dependency is propagated to XBMC, even though XBMC currently
requires an (e)glibc toolchain, which always have dynamic library
support. This is just in case one day XBMC can be built against
uClibc.

Fixes:

  http://autobuild.buildroot.org/results/3fa/3fae35ebcf14d6f38284d8318f61f9b99998794c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcec: fix build issue on AVR32
Thomas Petazzoni [Mon, 12 May 2014 19:36:29 +0000 (21:36 +0200)]
libcec: fix build issue on AVR32

Fixes:

  http://autobuild.buildroot.org/results/89d/89d8165b455cd7131e4c0729cec50dad8980ceb1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibmbus: fix upstream location
Thomas Petazzoni [Mon, 12 May 2014 20:10:48 +0000 (22:10 +0200)]
libmbus: fix upstream location

The libmbus tarball is no longer available at
http://www.freescada.com/public-dist. Apparently, the new upstream is
at http://www.rscada.se/libmbus/ and tarballs are at
http://www.rscada.se/public-dist/. Without this patch, the current
download of libmbus-0.8.0.tar.gz downloads an HTML document with an
error, which cannot be extracted, obviously.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: fix typos
Peter Korsgaard [Mon, 12 May 2014 20:16:28 +0000 (22:16 +0200)]
CHANGES: fix typos

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoradvd: not available on AVR32
Thomas Petazzoni [Mon, 12 May 2014 20:04:08 +0000 (22:04 +0200)]
radvd: not available on AVR32

radvd needs some C library definitions not available in old uClibc
versions. Since we don't care much about AVR32, we simply disallow the
radvd package on this architecture.

Fixes:

  http://autobuild.buildroot.org/results/f03/f0367a30e8d772eb5e955a85b853ec3e43fe54b3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Mon, 12 May 2014 20:03:28 +0000 (22:03 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoARC: allow uImage creation for ARC
Mischa Jonker [Fri, 9 May 2014 14:08:42 +0000 (18:08 +0400)]
ARC: allow uImage creation for ARC

Starting from U-Boot v2014.04 ARC architecture is supported,
so now it's possible to create uImage for ARC as well.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouboot-tools: bump to version 2014.04
Alexey Brodkin [Wed, 30 Apr 2014 06:54:51 +0000 (10:54 +0400)]
uboot-tools: bump to version 2014.04

U-Boot v2014.04 introduced significant changes in its build infrastrcture.

Among things related to buildroot are:
1. Special new target ("tools-only") was added for building host tools alone

2. Tools cross-building for target is no longer possible with substitution of
HOSTxx with TARGETxx because host binaries won't be built. Instead we just set
CROSS_COMPILE and CROSS_BUILD_TOOLS variables.

3. Most of make targets now require U-Boot to be configured before building.
So for building generic "fw_printenv" we now need to make "env" target config-
independent.

4. HOSTCPPFLAGS are not used anywhere, so dropping
"uboot-tools-02-hostcflags-override-fix.patch"

Also due to lincese boilerplate change in sources
"uboot-tools-01-drop-configh-from-tools.patch" required subtle changes.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofreetype: freetype-patch: depends on host-automake
Fabio Porcedda [Mon, 5 May 2014 14:08:22 +0000 (16:08 +0200)]
freetype: freetype-patch: depends on host-automake

The "make freetype-patch" fails because does not found autogen.sh,
because autogen.sh available only for the configure stage.
To fix this add host-automake as a prerequisite to freetype-patch.

This change also fix the support to top-level parallel make.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt5connectivity: the poster example needs no widgets, but it needs quick
Vicente Olivert Riera [Thu, 8 May 2014 10:19:53 +0000 (11:19 +0100)]
qt5connectivity: the poster example needs no widgets, but it needs quick

Adding an upstream patch to fix an autobuild failure.

Upstream commit:
   https://qt.gitorious.org/qt/qtconnectivity/commit/0156038682cc40d44fedfc28dc9b78d1a0e6203b

Fixes:
   http://autobuild.buildroot.net/results/d12/d120355cbb42307d35e59bc4528e973a2b12150e/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agop11-kit: fix build against linuxthreads
Baruch Siach [Mon, 5 May 2014 10:34:48 +0000 (13:34 +0300)]
p11-kit: fix build against linuxthreads

Fixes:
http://autobuild.buildroot.net/results/9e9/9e9c83461fec44c85919e07a3ce2c5ca49ff9cf5/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain-external: Fix EABIhf check
Stefan Sørensen [Fri, 9 May 2014 11:44:00 +0000 (13:44 +0200)]
toolchain-external: Fix EABIhf check

Currently the check for EABI/EABIhf toolchains looks for the
Tag_ABI_VFP_args attribute in the crt1.o file which gcc adds in an
EABIhf toolchain.
In uClibc, however, crt1.o is not compiled from c but assembly, so the
Tag_ABI_VFP_args attribute is not added in the object file. This causes
the EABIhf check in the external toolchain logic to fail for
uClibc-based toolchains.

Fix by compiling a dummy .c file and trying to link the object against the
C library. Since it is impossible to mix EABI and EABIhf code, a mismatch
between the buildroot and toolchain ABI settings will be detected during
this link step.

Fixes bug #6842: https://bugs.busybox.net/show_bug.cgi?id=6842

[Peter: fix final 'fi']
Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
[ThomasDS: do full link iso readelf test, update commit message]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoprotobuf: limit to supported architectures
Arnout Vandecappelle [Sat, 10 May 2014 20:09:30 +0000 (22:09 +0200)]
protobuf: limit to supported architectures

protobuf 2.5.0 adds an atomic operations implementation that is limited
to a few architectures only. mips64el and armeb don't work either.

Fixes (among others)
http://autobuild.buildroot.net/results/ae9fa612d0b6c9d593504206d5cedd480ad2547e/

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibeio: needs threads
Baruch Siach [Sun, 11 May 2014 08:34:52 +0000 (11:34 +0300)]
libeio: needs threads

Fixes:
http://autobuild.buildroot.net/results/278/27854bf8425d64dbb475653161bbf1f386173366/

libeio only reverse dependency (enlightenment) depends on
BR2_TOOLCHAIN_HAS_THREADS already.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofs: use our own tools when calling the fakerooted script
Yann E. MORIN [Sat, 10 May 2014 13:52:22 +0000 (15:52 +0200)]
fs: use our own tools when calling the fakerooted script

export PATH=$(BR_PATH) so that the fakerooted script uses our
own tools before any of the host-system ones.

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofs: use our own mkpasswd when creating users
Yann E. MORIN [Sat, 10 May 2014 13:39:46 +0000 (15:39 +0200)]
fs: use our own mkpasswd when creating users

Export PATH=$(BR_PATH) so that our own mkpasswd is found before
any existing host-system one.

Reported-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agozeromq: explicitly add -lstdc++ for static build
Arnout Vandecappelle [Thu, 8 May 2014 23:24:27 +0000 (01:24 +0200)]
zeromq: explicitly add -lstdc++ for static build

Fixes http://autobuild.buildroot.net/results/7c552e514f8c13ba8cdd420dc5bbf5edac915a83

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs: bump kernel used for the RPi
Yann E. MORIN [Thu, 8 May 2014 21:11:02 +0000 (23:11 +0200)]
configs: bump kernel used for the RPi

Fixes some USB-related bugs.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/rpi-userland: bump version
Yann E. MORIN [Thu, 8 May 2014 21:11:01 +0000 (23:11 +0200)]
package/rpi-userland: bump version

Allow stereo modes to be selected for output; enable NTSC output.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/rpi-firmware: bump
Yann E. MORIN [Thu, 8 May 2014 21:11:00 +0000 (23:11 +0200)]
package/rpi-firmware: bump

Undocumented changes (probably related to HDMI).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqemu x86/x86_64: Add kernel IPC support
Martin Bark [Thu, 24 Apr 2014 18:47:40 +0000 (19:47 +0100)]
qemu x86/x86_64: Add kernel IPC support

The alsa utils packages require a kernel with IPC support to run.  The
kernel config for the x86 and x86_64 qemu build includes sound support
using the hda driver but without the IPC support the alsa utils won't work.
This patch adds IPC support to the x86 and x86_64 kernel to allow alsa
utils to run and brings the kernel config inline with kernel configs for
other qemu boards.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqdecoder: autoreconf and fix c99 detection
Peter Korsgaard [Fri, 9 May 2014 14:22:12 +0000 (16:22 +0200)]
qdecoder: autoreconf and fix c99 detection

Fixes http://autobuild.buildroot.net/results/da8/da8ce760cdabeb9d4cda00dcc801817e4b4eb12c/

As we're patching configure.ac we need to autoreconf the package.
After reconf, the c99 check fails, so force it like we do elsewhere.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoiptraf-ng: uses fork(), needs MMU
Peter Korsgaard [Fri, 9 May 2014 13:36:18 +0000 (15:36 +0200)]
iptraf-ng: uses fork(), needs MMU

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosamba4: update to upstream patches
Gustavo Zacarias [Fri, 9 May 2014 12:31:37 +0000 (09:31 -0300)]
samba4: update to upstream patches

Update the package to use patches that have been applied upstream and
update their status comment accordingly.

f_fsid checks have been fixed via upstream patch that allows the cache
to work properly on the result.

Builtin heimdal tools can be worked around via the --bundled-libraries
option to disable those components (even if they are not libraries it
can be done that way).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.12.x series
Gustavo Zacarias [Fri, 9 May 2014 12:30:46 +0000 (09:30 -0300)]
linux-headers: bump 3.12.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoiptraf-ng: new package
Ezequiel Garcia [Wed, 7 May 2014 20:07:28 +0000 (17:07 -0300)]
iptraf-ng: new package

[Peter: needs IPv6, doesn't need threads. Fix ncurses library handling]
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocmake: forward HOST_{C, LD}FLAGS as cmake flags
Samuel Martin [Fri, 9 May 2014 09:07:27 +0000 (11:07 +0200)]
cmake: forward HOST_{C, LD}FLAGS as cmake flags

During the CMake bootstrap phase, the {C,LD}FLAGS set in the bootstrap
environment are not forwarded/converted as CMake flags.

The CMake build contains a bootstrap phase building a minimal CMake
program using a standard Makfile, then reconfigures itself with this
minimal program.

On system with no ncurses installed, and because the prefix option
points to $(HOST_DIR)/usr, if host-cmake was built after host-ncurses,
then ncurses libraries and headers are correctly found (in the host
tree) during the second configuration (because of the prefix). However,
it fails at building ccmake (the curses interface) because the
CMAKE_C_FLAGS, CMAKE_CXX_FLAGS and CMAKE_EXE_LINKER_FLAGS do not
point to the host tree.

Because these flags are needed when running the bootstrap script,
this patch makes sure the same flags are set when running the second
configuration.

Reported-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotcl: needs threads
Peter Korsgaard [Thu, 8 May 2014 21:14:17 +0000 (23:14 +0200)]
tcl: needs threads

Fixes http://autobuild.buildroot.net/results/486/48696710a270ac69d6d62654779f164075cb3451/

Tcl itself has a --disable-threads configure flag, but it unconditially
configures its packages with --enable-threads, causing build failure.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibenca: Move build host tool to PRE_BUILD_HOOKS
Maxime Hadjinlian [Mon, 5 May 2014 13:24:07 +0000 (15:24 +0200)]
libenca: Move build host tool to PRE_BUILD_HOOKS

The make_hash host tool, should be built during a PRE_BUILD_HOOKS and
not a POST_CONFIGURE_HOOKS.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: Add PRE_*_HOOKS for every step
Maxime Hadjinlian [Mon, 5 May 2014 13:04:20 +0000 (15:04 +0200)]
infra: Add PRE_*_HOOKS for every step

Add PRE_*_HOOKS to all the different steps through which a package may go.

This will help avoid using POST_*_HOOKS to do tasks that should be done
in the PRE_*_HOOKS of the next step.
Otherwise, when the user would do a make foo-re<step>, this would not do
what was really intented, the POST_*_HOOK of the preceding step not
being executed.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[ThomasDS: rebase, add images hooks to manual]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcec: Add patch to fix assert with XBMC Gotham
Maxime Hadjinlian [Thu, 8 May 2014 08:59:43 +0000 (10:59 +0200)]
libcec: Add patch to fix assert with XBMC Gotham

With the new XBMC, on RaspberryPi, libcec throws an asserts in RPi
userland's code which forbid XBMC Gotham to start.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcec: Bump version
Maxime Hadjinlian [Thu, 8 May 2014 08:59:42 +0000 (10:59 +0200)]
libcec: Bump version

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agognutls: bump to version 3.2.14
Gustavo Zacarias [Thu, 8 May 2014 16:52:29 +0000 (13:52 -0300)]
gnutls: bump to version 3.2.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonmap: bump to version 6.46
Gustavo Zacarias [Thu, 8 May 2014 16:52:28 +0000 (13:52 -0300)]
nmap: bump to version 6.46

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofping: bump to version 3.10
Gustavo Zacarias [Thu, 8 May 2014 16:52:27 +0000 (13:52 -0300)]
fping: bump to version 3.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/arm: drop ARM(7TDMI/720T/740T) support
Gustavo Zacarias [Wed, 7 May 2014 17:10:05 +0000 (14:10 -0300)]
arch/arm: drop ARM(7TDMI/720T/740T) support

The toolchain currently doesn't build for nommu ARM and is in need of
serious work.
Problem is there are no emulation targets and real ARM(7TDMI/720T/740T)
hardware that's capable of running linux (enough memory, having a
memory controller...) is VERY rare and uses very old versions to
make it usable.

The ARM nommu focus should go into Cortex M series processors that are
obtainable at reasonable cost on modern hardware that has external
memory controllers.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain: remove nommu option for MIPS
Gustavo Zacarias [Wed, 7 May 2014 17:10:04 +0000 (14:10 -0300)]
toolchain: remove nommu option for MIPS

MIPS nommu never took off, the only MIPS processors without MMU are
microcontrollers and the only uclinux effort for them has non-upstream
patches against very very old versions.
See http://www.xiptech.com/uclinuxformips.htm

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoulogd: forcibly disable mysql when not present
Gustavo Zacarias [Wed, 7 May 2014 16:04:48 +0000 (13:04 -0300)]
ulogd: forcibly disable mysql when not present

Forcibly disable mysql support when we don't want it since ulogd's
configure script can pick up the host mysql_config thus leading to a
build failure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>