Waldemar Brodkorb [Wed, 10 Aug 2016 19:37:48 +0000 (21:37 +0200)]
libxml2: fix m68k uclinux compile
The GCC manual suggest when getting:
relocation truncated to fit: R_68K_GOT16O foobar
to use -mxgot.
Fixes:
http://autobuild.buildroot.net/results/
8a4e26bb1c0c64759e3914eced0a36baa0967f0b/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Wed, 10 Aug 2016 20:03:57 +0000 (22:03 +0200)]
package/kmsxx: bump version for portability fix with musl
Bump the version to get two portability patches (as well as a small,
innocuously-looking minor feature).
Fixes:
http://autobuild.buildroot.net/results/682/
68266cb5b26a62387dc99aef31fc9654c8fcd505/
[and quite a few others...]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 10 Aug 2016 20:27:28 +0000 (22:27 +0200)]
armadillo: propagate clapack dependency
Commit
7b75d8c3fa7b234c948ff37c4f14467900083036 added a new dependency
to the clapack package, but forgot to propagate it to the reverse
dependencies, which in this case are just the armadillo package. This
commit fixes that.
Fixes:
http://autobuild.buildroot.net/results/
f34ad4f0cf094fa31b7dc18522e9eedfc5c2c940/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 10 Aug 2016 13:12:34 +0000 (15:12 +0200)]
xserver_xorg-server: move existing patch, and add to 1.17.4
As reported by Manuel in bug #9161, the commit
19b503b0d26fa16fffc980c287ca844077f3f675 that bumped the X.org server
from 1.18.3 to 1.18.4 forgot to also rename the patch directory, making
the existing patch orphan, while it is still needed. This commit
therefore renames the 1.18.3 directory to 1.18.4.
Moreover, this patch is also needed for the 1.17.x X.org server series
which has been added recently, so this commit also adds the patch to a
new 1.17.4 directory.
Fixes bug #9161.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Wed, 10 Aug 2016 12:54:47 +0000 (14:54 +0200)]
gcc: disable C++ support for Blackfin
As discussed with Waldemar, the C++ support for Blackfin is currently
broken, and we don't have a fix in sight for the 2016.08
release. Therefore, this commit disables C++ support entirely on the
Blackfin architecture in the internal toolchain backend.
This will avoid a significant number of Blackfin build failures, that
occur when building C++ packages.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Rahul Bedarkar [Mon, 8 Aug 2016 17:11:51 +0000 (22:41 +0530)]
lftp: fix static link with readline
When readline is static library, we need to link against ncurses,
it is because, dependent library's symbols are not resolved when
static library is built. Those symbols are resolved when binary tries
to link with static library.
We can't pass linker flags for ncurses by setting LIBS environment
variable via <PKG>_CONF_ENV because it looks like build system is not
taking that into account and even though it would have been, order of
linking is important.
We can't also pass linker flags for ncurses via --with-readline-libs
conf options because it causes lftp_LIB_READLINE macro to take readline
headers from host machine if available. To use --with-readline-libs
we need to set --with-readline=yes and --with-readline-inc to include
dir. But when --with-readline=yes, readline_prefix is computed based
on if headers can be found in /usr/local or /usr. If readline is
installed on host machine, then configure fails since we are using
headers for host machine. If headers are not found in /usr/local or /usr
then only path specified --with-readline-inc is taken into account.
So specifying linker flags for ncurses via --with-readline-libs will
not work in all cases.
So it looks like, updating linker flags directly is only option to fix
static link issue against readline.
Fixes:
http://autobuild.buildroot.net/results/ae9/
ae93bd1b4f6e1ed8f386830d4a51f00d9466f267/
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas: update autoreconf comment in .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Rahul Bedarkar [Mon, 8 Aug 2016 17:11:50 +0000 (22:41 +0530)]
lftp: remove unneeded config options
When installation prefix is specified in "--with-readline" config
option, lftp's build systems figures out include dir and linker flags.
So don't specify --with-readline-{inc,libs} options which are anyways
get ignored by build system.
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 9 Aug 2016 12:44:44 +0000 (14:44 +0200)]
openipmi: needs NPTL support
openipmi uses the pthread_condattr_setclock() function, which is only
available with the NPTL thread implementation.
Fixes:
http://autobuild.buildroot.net/results/
fc4084f8d1ff3fe98066c7cc051c2127bbe77ec5/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 9 Aug 2016 10:03:09 +0000 (12:03 +0200)]
php: add patch to fix static library build
This commit adds a patch to PHP which fixes the build for
BR2_STATIC_LIBS=y configurations.
Fixes:
http://autobuild.buildroot.net/results/
885f418cc26c6832a8a9abf703aecbeea8fbe550/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 9 Aug 2016 10:03:08 +0000 (12:03 +0200)]
php: rework patches as Git formatted patches
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Wed, 10 Aug 2016 02:25:01 +0000 (23:25 -0300)]
flex: add security patch
Fixes:
CVE-2016-6354 - buffer overflow in generated code (yy_get_next_buffer).
Patch status: upstream backport.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Estevam [Wed, 10 Aug 2016 11:16:47 +0000 (08:16 -0300)]
linux-headers: bump 3.{14, 18}.x and 4.{1, 4, 6}.x series
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gustavo Zacarias [Wed, 10 Aug 2016 02:30:16 +0000 (23:30 -0300)]
fontconfig: security bump to version 2.12.1
Fixes:
CVE-2016-5384 - possible double free due to insufficiently validated
cache files.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Tue, 9 Aug 2016 20:25:55 +0000 (22:25 +0200)]
system: zoneinfo usable by musl, too
Currently, we limit installing zoneinfo to non-musl toolchain, by lack
of knowledge on how it would work on musl.
Turns out that musl uses the same zoneinfo format as glibc does.
Make it possible to install the TZ info whatever the C library; for
musl, use tzdata as for glibc.
Thanks Rich! ;-)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Rich Felker <dalias@aerifal.cx>
Cc: Marc Khouri <marc@khouri.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Tue, 9 Aug 2016 19:24:06 +0000 (21:24 +0200)]
package/weston: no-break space U+A0 (U8+C2A0)
Fixes:
http://autobuild.buildroot.org/results/f49/
f49a9cbb7bdc5d9e05dcf0a20bd83f059e234e74/
http://autobuild.buildroot.org/results/1d3/
1d3e7f07388ae11d70103e04d8a14c20d50fc212/
[...]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 7 Aug 2016 21:32:34 +0000 (23:32 +0200)]
openblas: fix build issues on ARM
This commit fixes several build issues of OpenBLAS on ARM:
- The first one occured on ARMv5 platforms, when the ARMV5 OpenBLAS
architecture is used. In this case, OpenBLAS build system forces
-march=armv5, which may not be correct for certain toolchains. As an
example, the Sourcery CodeBench toolchain has an ARMv4 and an ARMv5
sysroot. The ARMv5 sysroot is actually an armv5te sysroot, so when
OpenBLAS forces -march=armv5, gcc thinks it should use the ARMv4
sysroot, causing build failures.
To address this, a patch to completely remove the -march ARM CFLAGS
is added to OpenBLAS.
Fixes:
http://autobuild.buildroot.net/results/
991497b12b70f948169e5ad99eebd0fe7f6209a2/
- The second one occured on ARMv7 platforms, when the ARMV7 OpenBLAS
architecture is used. The OpenBLAS code expects an EABIhf build, so a
dependency is added for EABIhf for both ARMv6 and ARMv7.
Fixes:
http://autobuild.buildroot.net/results/
0ba0bee48a83367fcefab827e8eaa72f0c8fe90b/
- Once the previous ARMv7 problem has been fixed, it turns out that the
ARMv7 specific code in OpenBLAS contains VFPv3 specific
code. Therefore, the user *must* have choosen either VFPv3 or VFPv4,
or the code will not build. VFPv3-D16/VFPv4-D16 are not sufficient,
as more than 16 registers are used by the OpenBLAS code.
To address this, the ARMV7 platform of OpenBLAS is restricted to the
proper VFPv3/VFPv4 selection, and the ARMV6 platform is restricted to
the proper VFPv2 selection.
This problem was not visible in the autobuilders, as it was hidden by
the previous one.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Mon, 8 Aug 2016 21:43:56 +0000 (23:43 +0200)]
mpv: fix build on sparc
This commit adds a new patch for mpv that fixes the stdatomic detection
logic so that it realizes linking against libatomic is needed on some
architectures. This fixes the build of mpv on SPARC. The patch has been
submitted upstream.
Fixes:
http://autobuild.buildroot.net/results/
f607eed9a48c4ca00db43f9d2652e615b4bd7c93/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Mon, 8 Aug 2016 13:11:04 +0000 (15:11 +0200)]
libsigsegv: make the architecture dependencies more robust
While musl and glibc provide the ucontext structure definition on all
architectures they support, it is not the case of uClibc. We have been
excluding more and more architectures over time, but this isn't really
nice as we continuously need to add more. Latest example: the fact that
ucontext on ARM is only available on ARM platforms that support the ARM
instruction set (i.e not on the Thumb-2 only Cortex-M platforms).
Therefore, we introduce a BR2_PACKAGE_LIBSIGSEGV_ARCH_SUPPORTS variable,
which:
- is set to 'y' for musl and glibc
- is set to 'y' for uClibc for the only architectures that are known to
provide ucontext (those are the ones that select ARCH_HAS_UCONTEXT in
uClibc.
Note that we remove the comment, as it would become a way too
complicated comment, and we usually don't add comment for such
complicated situations (see libunwind for a similar example).
Fixes:
http://autobuild.buildroot.net/results/
b1e40b3ec64cd98b535d83e89e5780c46680e095/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Mon, 8 Aug 2016 14:05:16 +0000 (16:05 +0200)]
linux-zigbee: fix build on musl
This commit adds a patch to the linux-zigbee package that fixes the
build on musl by adding a missing <time.h> include.
Fixes:
http://autobuild.buildroot.net/results/
5d56f998b5c5ab9e06cf048e6ec95b8671989cef/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Mon, 8 Aug 2016 12:02:56 +0000 (14:02 +0200)]
dante: fix build on some PowerPC platforms
The dante configure script has some logic to remove the -g flag from
CFLAGS, but this logic is flawed and also removed -g in
-mfloat-gprs=double, turning it into the invalid -mfloatprs=double,
causing a build failure.
This commit adds a patch that gets rid of this -g removal logic, since
it is in fact unnecessary.
Fixes:
http://autobuild.buildroot.net/results/
313370bf05efe7fd87c281a97ecb6e06531a87ed/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 7 Aug 2016 09:19:11 +0000 (11:19 +0200)]
procps-ng: fix BR2_STATIC_LIBS=y build
The procps-ng package currently fails to build on BR2_STATIC_LIBS=y
configurations. Indeed, by default NUMA support is enabled, and it
requires dlopen(). As hinted by the configure script, passing
--disable-numa allows to disable NUMA support.
However, once this is done, another issue pops up: dlopen() is also used
by the SELinux support. But even when SELinux support is disabled, the
procps-ng code incorrectly includes <dlfcn.h>. This is addressed by the
addition of a patch.
Fixes:
http://autobuild.buildroot.net/results/
b385bf435085728aece6323a5006ba9fa6631744/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 6 Aug 2016 10:02:45 +0000 (12:02 +0200)]
webrtc-audio-processing: fix build with musl
webrtc-audio-processing assumes that execinfo.h is available when
__UCLIBC__ is not defined, which is an incorrect assumption, and
specifically not valid for musl.
This commit adds a patch that moves to autoconf based checks for
cxxabi.h and execinfo.h, which solves the problem.
Fixes:
http://autobuild.buildroot.net/results/
480f529a53b321344e499f958be8e5d1d0f58646/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 6 Aug 2016 10:02:44 +0000 (12:02 +0200)]
webrtc-audio-processing: fix build on ARM Cortex-M
The webrtc-audio-processing configure script assumes that if the
host_cpu part of the tuple is "arm", then ARM instructions are
available. This is obviously incorrect for ARM Cortex-M platforms, which
only support the Thumb-2 instruction set.
In order to address this, we add a patch,
0001-configure.ac-fix-architecture-detection.patch, which changes how
webrtc-audio-processing detects the architecture: instead of relying on
the host_cpu part of the tuple, it relies on the built-in definitions of
the compiler.
Not only it fixes the Cortex-M detection, but it also enables ARMv7
optimizations on ARMv7-A: until now they were only enabled when the
host_cpu part of the tuple was armv7, which is never the case in
Buildroot.
However, once this issue is fixed for Cortex-M, the build nonetheless
fails later due to the usage of NPTL-only functions. So we change the
thread dependency to a NPTL dependency.
Fixes:
http://autobuild.buildroot.net/results/
4933082cd7cc5781404c77ccef5c2b9333c5f714/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gary Bisson [Tue, 9 Aug 2016 13:33:04 +0000 (15:33 +0200)]
docs/manual: fix patch naming convention
Otherwise conflicts with the naming convention from previous section.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gwenhael Goavec-Merou [Tue, 9 Aug 2016 13:24:31 +0000 (15:24 +0200)]
gnuradio: backport patch to fix gr-fec compilation
Fix:
http://autobuild.buildroot.net/results/f14/
f14f4f62b5f23c652fa9411d9c569c2ab3394fb5
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Gary Bisson [Tue, 9 Aug 2016 13:21:43 +0000 (15:21 +0200)]
gst1-imx: fix V4L2 plugin build with kernel headers < 3.18
This patch fix the following build issue:
http://autobuild.buildroot.net/results/b46/
b460a770c8f4e992d29dde8fe37fc23a949937f2
It has been submitted to the package maintainers:
https://github.com/Freescale/gstreamer-imx/pull/106
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Tue, 9 Aug 2016 10:25:11 +0000 (12:25 +0200)]
size-stats: fix bug when parsing file names with comma
The size-stats script fails when the usb_modeswitch_data is enabled,
because this package installs files that contain commas in their
name. However, the size-stats script also uses comma as a separator for
its CSV files, causing a "ValueError: too many values to unpack" in:
pkg, fpath = l.split(",")
Fix this by splitting only the two fields that need to be split.
The bug was reported by Matthias <porto.rio@gmx.net>, who also suggested
a fix.
Fixes bug #9136.
Reported-by: Matthias <porto.rio@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Alexander Shiyan [Tue, 9 Aug 2016 08:05:19 +0000 (11:05 +0300)]
qt: Fix missing runtime Qt3Support dependency
Qt3Support module has a runtime dependency on QtSql, see
https://wiki.qt.io/Qt_Library_Cross_Dependencies. This patch fix this
issue.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Alexander Shiyan [Tue, 9 Aug 2016 07:54:16 +0000 (10:54 +0300)]
qt: fix build with ALSA >= 1.1.x
ALSA > 1.1.x are not determined correctly when configuring the library.
A patch, identical to the one used for Qt5, is added to the qt package
to solve this problem.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 5 Aug 2016 21:58:53 +0000 (23:58 +0200)]
owfs: disable PHP support
Since we upgraded PHP to PHP 7.x, the PHP support of OWFS started
failing to build. Since we can hardly fix that on our own, the issue was
reported upstream (https://sourceforge.net/p/owfs/support-requests/32/)
and for now, we will disable PHP support in OWFS.
Fixes:
http://autobuild.buildroot.net/results/
fe6843ec53fbed452d2e38a8577a235f73abb8db/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 5 Aug 2016 20:52:36 +0000 (22:52 +0200)]
netplug: add two patches to fix musl build issues
This commit adds two patches to netplug that are needed for this package
to build with musl:
- One patch to add a missing header inclusion
- One patch to fix a conflicting prototype on __assert_fail().
Fixes:
http://autobuild.buildroot.net/results/
c2a5dfedba46cc8eb3d0c5c43f1f76fe0bb1805f/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Waldemar Brodkorb [Mon, 8 Aug 2016 04:47:48 +0000 (06:47 +0200)]
thrift: fix m68k uclinux compile
The GCC manual suggest when getting:
relocation truncated to fit: R_68K_GOT16O foobar
to use -mxgot.
The failures happens after gnuplot compiles.
Fixes:
http://autobuild.buildroot.net/results/
d1e030c42f43f49575f36ecc82e9dd9018ca4f73/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Waldemar Brodkorb [Mon, 8 Aug 2016 04:47:04 +0000 (06:47 +0200)]
gnuplot: fix m68k uclinux compile
The GCC manual suggest when getting:
relocation truncated to fit: R_68K_GOT16O foobar
to use -mxgot.
Fixes:
http://autobuild.buildroot.net/results/
d1e030c42f43f49575f36ecc82e9dd9018ca4f73/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Waldemar Brodkorb [Mon, 8 Aug 2016 04:46:17 +0000 (06:46 +0200)]
cairo: fix m68k uclinux compile
The GCC manual suggest when getting:
relocation truncated to fit: R_68K_GOT16O foobar
to use -mxgot.
Fixes:
http://autobuild.buildroot.net/results/
31a488316fe3c14729a6dd9259205f8530684cab/
http://autobuild.buildroot.net/results/
dc6b899e3e502d65b2cf2f6d922a4f63857edf82/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Mon, 8 Aug 2016 17:09:59 +0000 (19:09 +0200)]
package/uclibc: add upstream patch to fix Thumb2 builds
When uClibc-ng 1.0.17 was released, there was a regression when building
Thumb2-only for a CPU that is capable of running in arm mode (e.g. an
armv7a cpu).
We hastily added a patch to revert the upstream commit, as a stop-gap
measure, waiting for the actual fix.
That actual fix is there, now. :-)
Drop our revert-patch, and add the upstream patch.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Sat, 6 Aug 2016 21:46:37 +0000 (23:46 +0200)]
package/bdwgc: fix pthread detection on uclinux platforms
bdwgc does not recognize "uclinux" as a valid OS part of the target
tuple which is used by some arm cortex-M toolchains.
Fixes:
http://autobuild.buildroot.net/results/94f/
94fbc1e5afe183e5b071d1e869b2d780025389e2
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 5 Aug 2016 17:08:00 +0000 (19:08 +0200)]
iproute2: use @D instead of IPROUTE2_DIR
We more generally use $(@D) instead of $(pkg_DIR) to refer to the
package source directory, so this commit updates iproute2 to also use
$(@D) everywhere.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 5 Aug 2016 17:07:59 +0000 (19:07 +0200)]
iproute2: fix no-thread build
iproute2 believes that it needs to link with libpthread for its arpd
binary, because "some db implementations require thread". Therefore, our
iproute2.mk explicitly disables the build of arpd when thread support is
not available.
However, the sed expression it uses no longer works. The Makefile used
to look like:
TARGETS = foo baz baz arpd foobar
so replacing " arpd " with a space was working fine. However, the
Makefile got changed in iproute2 to:
ifeq (... berkeleydb available ...)
TARGETS += arpd
endif
i.e, with no space at the end of the line. This made our sed expression
ineffective, causing build issues with no-thread configurations since
arpd was no longer disabled.
To address this, instead of sed-ing the Makefile, we overwrite the
berkeleydb detection of iproute2, by writing to the "Config" file, like
we're doing for other aspects of the package.
Fixes:
http://autobuild.buildroot.net/results/
03a37a2372a4c2e438a073e015c49d9e554b86b7/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 5 Aug 2016 16:35:41 +0000 (18:35 +0200)]
uclibc: proper thread default on m68k and Microblaze
Traditionally, Buildroot has a default of enabling thread
support. However, with the current construct of the thread choice in the
uclibc package, the m68k and microblaze architecture end up with no
thread support as the default.
In order to avoid having to explicit a more complicated "default" value
for the choice, we take a simple approach: we order the 3 possible
choices by order of "preference", since Kconfig selects the first
selectable option in a choice by default.
So, NPTL is first and is the default when available. Then comes
linuxthreads which only gets selected as the default when NPTL is
available. None is offered as a last choice (in the current
implementation, it is never the default, since all architectures can
have thread support, either through NPTL or linuxthreads).
[Thomas: reworked according to Yann's comment that we could rely on the
Kconfig behavior that selects the first available choice option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 6 Aug 2016 22:04:35 +0000 (00:04 +0200)]
am33x-cm3: available only for ELF builds
The am33x-cm3 build system does some objcopy based binary file
manipulation that assumes the compiler for the platform generates ELF
file. While it's true for most ARM platforms, and especially the AM335x
based ones, it is no longer always true since we added support for
Cortex-M. Therefore, this package needs to depend on BR2_BINFMT_ELF.
Fixes:
http://autobuild.buildroot.net/results/
05f46ab28cbfc587e2e031bf38fb975447f8bab6/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 7 Aug 2016 08:46:38 +0000 (10:46 +0200)]
libunwind: fix architecture dependencies
Due to a misplaced parenthesis, the libunwind dependency were
incorrect. Indeed, they were of the form:
default y if LIBC_TYPE && (arm dependency) || (list of other architectures)
Which meant that that the LIBC_TYPE dependency was not taken into
account for the "other architectures". This commit changes that to:
default y if LIBC_TYPE && ((arm dependency) || list of other architectures)
Without this fix, libunwind can be selected for example on
PowerPC/uClibc configurations, while only PowerPC/glibc should be
allowed. This fixes:
http://autobuild.buildroot.net/results/
96c53ff240dcd68fcc9e3d32c4026c9886edcbe7/
Similarly, it also fixes cases where SuperH/uClibc was allowed, while
only SuperH/glibc should be allowed. This fixes:
http://autobuild.buildroot.net/results/
95a6cca21aea9914ba8bb3f571760fc054c53ecd/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sun, 7 Aug 2016 08:20:03 +0000 (10:20 +0200)]
libcofi: disable for static-only builds
The libcofi package unconditionally builds a shared library, so we need
to make it unavailable on BR2_STATIC_LIBS=y configurations.
Fixes:
http://autobuild.buildroot.net/results/
329c09bf123cd5b6dbcfff6251ba7a2c7cce50b8/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 6 Aug 2016 22:11:14 +0000 (00:11 +0200)]
blktrace: disable on PowerPC
This package has been failing to build on PowerPC since March 2016, with
nobody taking care of the problem, so let's disable this package on
PowerPC for the time being. PowerPC is the only architecture on which
blktrace fails to build currently.
Fixes:
http://autobuild.buildroot.net/results/
5a673c692aeb957cd8beb2c2c10ce5fd882ba4b5/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Sat, 6 Aug 2016 22:11:13 +0000 (00:11 +0200)]
blktrace: add missing dependency on Config.in comment
The BR2_PACKAGE_BLKTRACE option "depends on
BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS", but this architecture dependency was
not replicated in the Config.in comment. This commit fixes this
inconsistency.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Vicente Bergas [Sun, 7 Aug 2016 15:18:28 +0000 (17:18 +0200)]
ntp: disable debugging
When running ntp it randomly aborts at ntp-4.2.8p8/libntp/recvbuff.c:326
which seems to be a debugging feature. This patch just disables
debugging, it does not fix the root cause of the problem.
Signed-off-by: Vicente Bergas <vicencb@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Dagg Stompler [Sun, 7 Aug 2016 18:10:53 +0000 (21:10 +0300)]
configs/odroidc2: enable console display
Redirect the console output to the screen and not only to the serial
port.
Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sun, 7 Aug 2016 20:44:36 +0000 (22:44 +0200)]
package/uclibc: fix build on thumb2-only arm cpus
Add a patch to revert an upstream commit that broke building for armv7
thumb2-only CPUs.
Commit pointed out by Thomas.
Fixes:
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/
150333657
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/
150333658
... and all the other atmel_sama5d* defconfigs
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/
150333643
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/
150333644
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sun, 7 Aug 2016 20:44:35 +0000 (22:44 +0200)]
defconfigs/snps_axs_10*: uboot needs dtc
Fixes:
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/
150333758
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/
150333759
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sun, 7 Aug 2016 20:44:34 +0000 (22:44 +0200)]
defconfigs/kb9202: fix headers version
Fixes:
https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/
150333697
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 7 Aug 2016 15:25:46 +0000 (17:25 +0200)]
package/x11r7/xdriver_xf86-video-savage: disable DRI support when not available
Fixes
http://autobuild.buildroot.net/results/ecd/
ecdb6977d282c276cbdf1f3dd0ccfaddff1d1ac5/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Sat, 6 Aug 2016 21:01:23 +0000 (23:01 +0200)]
package/hidapi: depends on NPTL threads
hidapi use NPTL threads functions like pthread_barrier_wait() and
pthread_barrier_destroy(). So the dependency on threads support
doesn't come from libusb package but by hidapi itself.
Fixes:
[microblaze]
http://autobuild.buildroot.net/results/f7e/
f7e778562aa1a65ba46f3b2f705d13ace8870805
[m68k]
http://autobuild.buildroot.net/results/2ec/
2ecd240ccb15de76017942a8960faac6b3f973b4
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Vicente Olivert Riera [Mon, 18 Jul 2016 12:05:39 +0000 (13:05 +0100)]
openblas: P5600 and I6400 cores only available for Codescape toolchains
These two MIPS cores are built with MSA support (-mmsa) which is
currently in GCC trunk. The only toolchains that support it right now
are Codescape MTI and Codescape IMG from Imagination Technologies.
Fixes:
http://autobuild.buildroot.net/results/af5/
af5e9f10287aaf9b9be6228ad7d12b2d926f8051/
http://autobuild.buildroot.net/results/b20/
b201e4072b0b634d5ac86781aee24c698f88d689/
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Luca Ceresoli [Sat, 6 Aug 2016 13:25:48 +0000 (15:25 +0200)]
libpjsip: fix m68k uclinux compile
The GCC manual suggest when getting:
relocation truncated to fit: R_68K_GOT16O foobar
to use -mxgot.
Fixes:
http://autobuild.buildroot.org/results/
e8cdfaf8e2da29a855b5bc09774f3aadee087737/
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sat, 6 Aug 2016 12:44:18 +0000 (14:44 +0200)]
package/lttng-libust: fix build with musl
Backport two patches from upstream to fix build with musl.
Fixes:
http://autobuild.buildroot.org/results/dcb/
dcb6c3aadf6f955016cf3c3f9b917cbec6d29342/
http://autobuild.buildroot.org/results/deb/
deb80eea5ceae3e7f8e0549596dce2fb6a1e7596/
http://autobuild.buildroot.org/results/91e/
91e64477864825c39911e3f3d0a2459f2987c209/
[...and a lot more...]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Philippe Proulx <eeppeliteloop@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Fri, 5 Aug 2016 19:31:49 +0000 (21:31 +0200)]
package/enlightenment: fix build issue without libuuid
Since enlightenment 0.20 uuid.h is always included in e_pixmap.c but
libuuid is checked at configure time only when wayland support is
enabled.
Include uuid.h must guarded by HAVE_WAYLAND.
Fixes:
CC src/bin/src_bin_enlightenment-e_pixmap.o
src/bin/e_pixmap.c:16:18: fatal error: uuid.h: No such file or directory
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Fri, 5 Aug 2016 22:48:30 +0000 (00:48 +0200)]
package/kmsxx: needs headers >= 3.8
kms++ uses V4L2_MEMORY_DMABUF, which was only introduced in linux-3.8.
Fixes:
http://autobuild.buildroot.org/results/8dc/
8dcc74586d68195c72a58cb4944d05dd9f935fa1/
http://autobuild.buildroot.org/results/224/
22467a530a146302ef74b11f69cb5cdc54240876/
http://autobuild.buildroot.org/results/0e5/
0e576ec01bbbf68a05216f4459a8a0613c39c141/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Sat, 6 Aug 2016 09:58:00 +0000 (11:58 +0200)]
package/ncdu: needs MMU
It uses the system() function, which calls fork().
Fixes:
http://autobuild.buildroot.org/results/642/
642f408d384a32033a677d56e6e3cdf572bd798b/
http://autobuild.buildroot.org/results/026/
026657e624928ed6bede5719f96c2eee797076cf/
http://autobuild.buildroot.org/results/86b/
86b66ed92fb714795ba70c228d4d448a1b61cee0/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jul 2016 07:46:41 +0000 (09:46 +0200)]
package/inotify-tools: Fix compilation with gcc6
Fixes
http://autobuild.buildroot.net/results/abc/
abcaf70523863a4cd096a1b063be2e742355849f/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Peter Korsgaard [Sat, 6 Aug 2016 09:39:54 +0000 (11:39 +0200)]
Update for 2016.08-rc1
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard [Sat, 6 Aug 2016 09:24:52 +0000 (11:24 +0200)]
CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Waldemar Brodkorb [Sun, 31 Jul 2016 08:26:20 +0000 (10:26 +0200)]
binutils: fix Blackfin '.rofixup section size mismatch' problems
The bug has already been reported by Stuart Henderson to binutils
upstream: https://sourceware.org/bugzilla/show_bug.cgi?id=13391
Fixes:
http://autobuild.buildroot.net/results/
d5999ae91a1f4dee3d01a0bbc3d8a4c5939ad175/
http://autobuild.buildroot.net/results/
17232204249aeb04150ac43a2424aa26a6b6c807/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Thu, 4 Aug 2016 17:44:51 +0000 (19:44 +0200)]
transmission: fix build when using system libminiupnpc with libutp disabled
Fixes:
http://autobuild.buildroot.net/results/
63a3caac7e1e7b5ab268d9be3cd77617df619659/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Rahul Bedarkar [Thu, 4 Aug 2016 10:06:43 +0000 (15:36 +0530)]
gst1-plugins-bad: fix broken dependency for the hls plugin
HLS plugin can be built with nettle or libgcrypt or openssl
cryptographic backend. But current dependency on gnutls is incorrect.
It has been working so far because gnutls depends on nettle.
gst-plugins-bad's build system for HLS allows user to choose which
cryptographic backend to use. If that is not specified, it internally
checks for nettle or libgcrypt or openssl in order. If none of the
cryptographic backend is available, HLS plugin gets disabled internally.
Select cryptographic backend according to which cryptographic packages
are available. If both libgcrypt or openssl are not available, choose
nettle by default.
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Thu, 4 Aug 2016 22:10:26 +0000 (00:10 +0200)]
package/libuio: select gettext when BR2_NEEDS_GETTEXT_IF_LOCALE is set
gettext is added to libuio dependency when BR2_NEEDS_GETTEXT_IF_LOCALE
is set without selecting it at Kconfig level.
Fixes:
http://autobuild.buildroot.net/results/
321688e16596086d1dad6f489d35edbb7fe7a955
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Vicente Olivert Riera [Fri, 5 Aug 2016 08:57:48 +0000 (09:57 +0100)]
xfsprogs: bump version to 4.7.0
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Romain Naour [Fri, 5 Aug 2016 11:46:32 +0000 (13:46 +0200)]
package/oprofile: introduce a BR2_PACKAGE_OPROFILE_ARCH_SUPPORTS
operf_utils.h defines rmb() for a limited number of architectures, so
add this list to BR2_PACKAGE_OPROFILE_ARCH_SUPPORTS to disable any new
or unsupported architectures.
Doing so, this disable oprofile for m68k which lack of memory barrier
operations.
Remove nios2 dependency since it's not supported by oprofile even if
binutils could be built for nios2.
Fixes:
http://autobuild.buildroot.net/results/
1cc761d8a5715d0a2c6eaacfde7e44b225da1b36
Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: remove BR2_sh64, use BR2_sh instead of BR2_sh4.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Fri, 5 Aug 2016 18:05:01 +0000 (20:05 +0200)]
package/kmsxx: fix static install
Currently, we only try to install the shared libraries.
However, when doing a static build, only the static libs are built,
obviously.
Fix this by only installing relevant libraries.
Fixes:
http://autobuild.buildroot.org/results/82c/
82cfb7451f933b222abe30b5d35d23e409a4af79/
http://autobuild.buildroot.org/results/bb3/
bb3840f14382b6ed77d5947eb3ac5c229286681e/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Fri, 5 Aug 2016 18:05:00 +0000 (20:05 +0200)]
package/kmsxx: detect failure at install-staging
Currently, the staging-install commands do not detect failures to
install the libs.
That's because we use ';' to separate the commands, so we only get the
result of the last one.
Fix that by using multi-line commands, so they each are called on their
own and make would catch the failures.
Partially fixes (only detects the real failure):
http://autobuild.buildroot.org/results/82c/
82cfb7451f933b222abe30b5d35d23e409a4af79
and a few others.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Baruch Siach [Fri, 5 Aug 2016 09:44:36 +0000 (12:44 +0300)]
libsepol: fix static build
Commit
a3ebe45dcb3e (libsepol: bump to version 2.5, 2016-06-26) didn't refresh
correctly the patch adding static build support. Do this now.
Fixes:
http://autobuild.buildroot.net/results/14b/
14bbb7c9c59e7f68f3ae7ad63e075e27a0da2b1e/
http://autobuild.buildroot.net/results/97f/
97f61d5e46a7f479e8de5dd19d49f7a3d84cc86e/
http://autobuild.buildroot.net/results/920/
920e1ddac6bf93707a187e64a4ef7d95aff09e6c/
Cc: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Fri, 5 Aug 2016 12:21:31 +0000 (14:21 +0200)]
ncurses: reinstall l/linux terminfo file
This file was installed prior to the refactoring done in commit
33ba5188351ece027455e460f6cba4245af49f3a ("ncurses: factorize terminfo
files installation").
Reported-by: BenoƮt Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Thu, 4 Aug 2016 20:47:48 +0000 (22:47 +0200)]
package/kodi: Update upstream patch to support libcurl >= 7.50.1
An updated patch was committed to Kodi after Curl added a fix to address
the original problem:
https://github.com/curl/curl/commit/
d6604524ad24daf4581efbe0020da058d2b3af84
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Waldemar Brodkorb [Sun, 31 Jul 2016 08:27:19 +0000 (10:27 +0200)]
gnupg: disable assembly optimization for coldfire
Fixes:
http://autobuild.buildroot.net/results/
d25425cff055a14b9285cefb0775bc138eb2f914/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Waldemar Brodkorb [Sun, 31 Jul 2016 08:28:03 +0000 (10:28 +0200)]
libgcrypt: disable assembly for coldfire
Fixes:
http://autobuild.buildroot.org/results/374/
374158bb0a0e6a16af5d0b909cd05ec52812aaa3/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Fabio Estevam [Fri, 5 Aug 2016 03:53:24 +0000 (00:53 -0300)]
imx6ulpico: linux.fragment: Disable CONFIG_SMP
imx6ul has currently an issue on kernel 4.7 that causes a stall when running
the "reboot" command.
This issue has been reported in the linux-arm-kernel mailing list, but we
don't have a proper fix at the moment.
This problem is not seen when SMP is disabled, so let's disable it for now
until a proper fix becomes available.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Jerzy Grzegorek [Thu, 4 Aug 2016 21:11:42 +0000 (23:11 +0200)]
package/sdl_image: remove trailing \ from the last item of {, HOST_}SDL_IMAGE_CONF_OPTS
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Romain Naour [Thu, 4 Aug 2016 20:51:49 +0000 (22:51 +0200)]
package/libdvdread: needs host-pkgconf
Add host-pkgconf to the dependencies since pkg-config is used to find
libdvdcss.
Fixes:
http://autobuild.buildroot.net/results/e5f/
e5fffdd51bdd6962149a836af1e7a6bbc6bae20c
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Thu, 4 Aug 2016 22:12:25 +0000 (00:12 +0200)]
gdb: fix simulator build failures
Following reports from me of build failures of the GDB simulator for the
Blackfin architecture, Waldemar cooked a
patch (0005-fix-sim-compile.patch) that removes the typedef of SIM_CPU,
because there was a redefinition of this typedef for Blackfin. This was
not causing an issue with recent compilers as redefining the same
typedef is valid with recent compilers, but was causing build failures
with gcc 4.4.x.
However, by removing the common definition of SIM_CPU, this patch broke
the build of the GDB simulator on other architectures, which did not had
an architecture-specific redefinition of SIM_CPU (unlike Blackfin).
The crux of the problem is in a commit from Mike Frysinger, that tries
to refactor the SIM_CPU definition into a common one. Except that it
leaves a redefinition of it for Blackfin. Removing this second
definition however doesn't easily work, due to include ordering
issues. The easiest solution is to simply revert the patch from Mike
Frysinger. This allows to fix the build for all architectures and all
compiler versions.
Fixes:
http://autobuild.buildroot.net/results/
3b82c44ee853fab0e0c63881f0705bb659412917/
http://autobuild.buildroot.net/results/
dafbb93ab38a4285ce42436219d552cceb14828b/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jul 2016 09:17:40 +0000 (11:17 +0200)]
package/libvpx: bump version to 1.6.0
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 31 Jul 2016 08:41:44 +0000 (10:41 +0200)]
package/libvpx: Fix compilation when __uClinux__ is defined
<lddk.h> is a platform-specific header, which is not provided by any C
library today.
Fixes:
http://autobuild.buildroot.net/results/
ae7ba1d5979ebe39aace628fa8ff2c8f08a70a98/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Waldemar Brodkorb [Sun, 31 Jul 2016 10:17:16 +0000 (12:17 +0200)]
libdvdnav: fix nios2 cross-compile
The host is misdetected as OS/2.
Fixes:
http://autobuild.buildroot.net/results/
d5b30d6b5463928ded1a1c1f1f5345a726f6ffaf/
http://autobuild.buildroot.net/results/
917041c7165093f44a5d3b4a5ba56a3d1b59e456/
http://autobuild.buildroot.net/results/
dcfc53b6fc25210cf70a1abf0e24b85f0d971101/
http://autobuild.buildroot.net/results/
79109d06183efa17f6f68c1ea78cbd9927c5c46e/
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 4 Aug 2016 09:04:46 +0000 (11:04 +0200)]
eudev: add patch to fix getrandom() system call on ARM64
When the kernel headers in the toolchain don't provide __NR_getrandom,
eudev has a predefined set of values. However, the provided value for
ARM64 is incorrect, and causes a runtime problem on this architecture
when old kernel headers (not providing __NR_getrandom) are used.
This commit adds a patch to eudev to fix this issue.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Thomas Petazzoni [Wed, 3 Aug 2016 21:48:24 +0000 (23:48 +0200)]
gcc: bump 4.9 series to 4.9.4
Two patches are removed, as they have been upstreamed:
- 130-fix_build_with_gcc-6.patch (svn commit 233721, Git commit
8c3fa311caa86f61b4e28d1563d1110b44340fb2)
- 920-libgcc-remove-unistd-header.patch (svn commit 226092, Git commit
e940d7953f06af11d09229a29ecbcc1ba25b378d)
All other patches have simply been refreshed, with no manual edit
needed.
A build+runtime test has been done with an ARM, Cortex-A8, EABIhf, musl
configuration, booted under Qemu.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fabio Estevam [Thu, 4 Aug 2016 19:19:26 +0000 (16:19 -0300)]
linux-headers: bump 3.18.x and 4.1.x series
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 4 Aug 2016 20:37:01 +0000 (22:37 +0200)]
shellinabox: add dependency on !BR2_STATIC_LIBS
shellinabox uses <dlfcn.h>, so a !BR2_STATIC_LIBS dependency is needed.
Fixes:
http://autobuild.buildroot.net/results/
59dd88e31a5f49231c4131b840fbf1bb76e777e7/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Olivier Singla [Thu, 4 Aug 2016 01:47:12 +0000 (21:47 -0400)]
shellinabox: fix build on musl
This commit fixes the build of shellinabox with the musl C library,
which requires two changes:
- A patch to include <sys/ttydefaults.h>, which is needed to get the
definitions of TTYDEF_*
- A hack to workaround what seems to be a problem in musl itself (musl
does #define utmp utmpx, which causes some symbol conflicts down the
road). Since anyway the utmpx implementation is just a set of stubs
in musl, we simply make shellinabox believe that <utmpx.h> is not
available by passing the appropriate variable. The musl issue has
been reported at http://www.openwall.com/lists/musl/2016/08/04/8.
Fixes:
http://autobuild.buildroot.net/results/
1847cab964957da3c9bf4911a5ad3602b3c82431/
Signed-off-by: Olivier Singla <olivier.singla@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 4 Aug 2016 20:33:40 +0000 (22:33 +0200)]
shellinabox: convert patch to a Git formatted one
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Alexander Dahl [Thu, 4 Aug 2016 10:47:42 +0000 (12:47 +0200)]
ncdu: bump version from 1.9 to 1.11
Signed-off-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Angelo Compagnucci [Wed, 3 Aug 2016 21:26:55 +0000 (23:26 +0200)]
package/mono: bump to version 4.4.2.11
This patch bumps mono to version 4.4.2.11
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni [Thu, 4 Aug 2016 16:19:18 +0000 (18:19 +0200)]
Revert "dtc: install libfdt library and headers for host variant"
This reverts commit
5ca9b7cf66941a66cff736aadaf8a31afe55f964. Installing
dtc headers in $(HOST_DIR) causes some build failures of
host-uboot-tools due to a conflicting libfdt.h header.
The possible solution to solve this problem, based on -isystem, has been
reverted has it was causing too many issues that we didn't want to solve
so close to cutting 2016.08-rc1.
Since the headers of libfdt for the host are currently not needed for
any package in the Buildroot tree, it is easier and safer to just revert
this patch.
Fixes:
http://autobuild.buildroot.net/results/
9fba77f4080bf6bc26e341f3f383cdba26c0e14f/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jerzy Grzegorek [Wed, 3 Aug 2016 21:23:27 +0000 (23:23 +0200)]
package/imagemagick: bump to version 7.0.2-6
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Tue, 2 Aug 2016 20:34:36 +0000 (22:34 +0200)]
ncurses: use foreach make loops instead of shell for loops
The main benefit of using make foreach loops is that they will abort
if one of the iteration of the loop fails. The current for loops will
continue, and only report a failure if the last iteration was a
failure, but will silently ignore other errors.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Tue, 2 Aug 2016 20:34:35 +0000 (22:34 +0200)]
ncurses: factorize terminfo files installation
This long list of commands to copy the terminfo files from staging to
target is really silly and can be factorized using a
NCURSES_TERMINFO_FILES variable, which is then iterated through.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gary Bisson [Wed, 3 Aug 2016 17:09:49 +0000 (19:09 +0200)]
configs: nitrogen*: bump kernel and u-boot version for m4 support
Also adding the '-m4' device tree blobs which allow to disable the
peripherals that are used by the Cortex-M4.
The 6x_bootscript is already setup to load the '-m4' dtb if m4enabled
u-boot variable is set to 1.
The FreeRTOS BSP for both Nitrogen6SX and Nitrogen7 can be found here:
https://github.com/boundarydevices/freertos-boundary
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gary Bisson [Wed, 27 Jul 2016 13:53:34 +0000 (15:53 +0200)]
gst1-imx: bump to version 0.12.2
Changelog:
* imxv4l2videosrc:
* Stricter checks for video device capabilities
* Add support for more video formats like 8/16-bit grayscale
* pxp: Fix incorrect return code which broke blitter with GStreamer 1.8
* blitter:
* Improvements in error logging
* Fixes for RGBx framebuffer format detection
* Fix for subtle tearing problem by implementing triple buffering
* audio:
* Replace objdump-based scan during build configuration
Codec filenames are instead moved to the C code; the libdir
path of the libfslaudiocodec.pc file is used to know where on
the target the files are placed
* Explicitely add the libfslaudiocodec.pc libdir to the MP3 encoder
Fixes build errors in buildroot
* Minor logging fixes
* misc:
* Proper check for region copies in phys_mem_meta
* Add missing G_END_DECLS lines in headers
Tested with the following commands on i.MX6Q (IPU):
# gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
# gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
matroskademux ! imxvpudec ! imxipuvideosink
# gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
matroskademux ! imxvpudec ! imxeglvivsink
Tested with the following commands on i.MX7 (PXP):
# gst-launch-1.0 imxv4l2videosrc device=/dev/video1 ! imxpxpvideosink
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gary Bisson [Wed, 27 Jul 2016 13:53:33 +0000 (15:53 +0200)]
imx-parser: add missing configure options
Enable hard float support when the configuration contains:
BR2_ARM_EABIHF=y
See Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/blob/krogoth/recipes-multimedia/imx-parser/imx-parser.inc
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gary Bisson [Wed, 27 Jul 2016 13:53:32 +0000 (15:53 +0200)]
imx-parser: add install hooks to fix libraries path
By default, all the libraries are installed under /usr/lib/imx-mm
which causes problems at runtime.
[Peter: drop -mindepth/-maxdepth, add comment explaining why this is done]
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gary Bisson [Wed, 27 Jul 2016 13:53:31 +0000 (15:53 +0200)]
imx-codec: add missing configure options
Enable VPU and hard float support when the configuration contains:
BR2_ARM_EABIHF=y
BR2_PACKAGE_IMX_VPU=y
See Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/blob/krogoth/recipes-multimedia/imx-codec/imx-codec.inc
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gary Bisson [Wed, 27 Jul 2016 13:53:30 +0000 (15:53 +0200)]
imx-codec: add install hooks to fix libraries path
By default, all the libraries are installed under /usr/lib/imx-mm
which causes problems at runtime.
The hooks are inspired from the mechanism used in the Yocto recipe:
https://github.com/Freescale/meta-fsl-arm/blob/krogoth/recipes-multimedia/imx-codec/imx-codec.inc
Tested with the following commands:
# gst-launch-0.10 audiotestsrc ! mfw_mp3encoder ! fakesink
# gst-launch-1.0 audiotestsrc ! imxmp3audioenc ! fakesink
[Peter: drop -mindepth/-maxdepth, add comment explaining why this is done]
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Tue, 2 Aug 2016 22:19:40 +0000 (00:19 +0200)]
system: move locale purging options to the "System configuration" menu
The options to purge locales and to generate locale data are currently
located in the toolchain menu. However, these options are not really
related to the toolchain per-se, they are more system-level
configuration options, much like the timezone selection option we
already have in the "System configuration" menu.
Therefore, it makes more sense to have the locale-related options in
the "System configuration" menu as well.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas Petazzoni [Tue, 2 Aug 2016 22:19:39 +0000 (00:19 +0200)]
toolchain: reduce the list of locales to keep by default
Our current list of locales to keep by default is "C en_US de fr". It
doesn't make much sense to keep "de" and "fr" more than any other
language. So let's keep only the "C" and "en_US" locales by default,
and leave it to the user to specify other locales to keep if needed.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>