buildroot.git
10 years agogoogle-breakpad: integration into Makefile and Config.in
Pascal Huerst [Thu, 31 Jul 2014 20:08:55 +0000 (22:08 +0200)]
google-breakpad: integration into Makefile and Config.in

Add a new config option that allows to specify a list of files
to dump symbols from, and generate a database of symbols, in
stagins/usr/share/google-breakpad/.

Signed-off-by: Pascal Huerst <pascal.huerst@gmail.com>
[yann.morin.1998@free.fr: add dependency on the host variant; fix
 script; add commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: remove leftover debugging, rewrap Config.in help text,
propagate dependencies correctly.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibarchive: bump to version 3.1.2
Gustavo Zacarias [Thu, 31 Jul 2014 18:10:32 +0000 (15:10 -0300)]
libarchive: bump to version 3.1.2

Switch to proper upstream source.
And account for many auto dependencies that were missing.
Also fixes link issues:
http://autobuild.buildroot.net/results/774/7747a043123e958952a16e0c0db823296c4e0594/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux-pam: unavailable for static builds
Gustavo Zacarias [Wed, 30 Jul 2014 23:14:51 +0000 (20:14 -0300)]
linux-pam: unavailable for static builds

Fixes:
http://autobuild.buildroot.net/results/3bb/3bb8d4662995a11e8e6cc5fdaaba9e25d4c0e0ec/

[Thomas: add more details about the non availability for static builds
as a comment in the Config.in file.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibqmi: bump to 1.10.2
Yegor Yefremov [Wed, 30 Jul 2014 22:05:33 +0000 (00:05 +0200)]
libqmi: bump to 1.10.2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibndp: bump to 1.4
Yegor Yefremov [Wed, 30 Jul 2014 22:05:32 +0000 (00:05 +0200)]
libndp: bump to 1.4

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRemove unsupported libcue from package mpd
Joerg Krause [Wed, 30 Jul 2014 22:45:43 +0000 (00:45 +0200)]
Remove unsupported libcue from package mpd

Support for libcue has been removed for mpd since version 0.17.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoudev: remove left-over S10udev script from udev virtual package
Danomi Manchego [Thu, 31 Jul 2014 02:32:24 +0000 (22:32 -0400)]
udev: remove left-over S10udev script from udev virtual package

The S10udev script is not installed or referenced, and eudev has its own
S10udev.  So we can simply remove it.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoptpd2: fix static linking
Gustavo Zacarias [Wed, 30 Jul 2014 22:16:25 +0000 (19:16 -0300)]
ptpd2: fix static linking

Do the same as in commit b64a06d7b70bd7b160826bf9b97e60e18171913d
to avoid missing libraries needed by libpcap. Fixes:
http://autobuild.buildroot.net/results/1a1/1a1dadfa2b22074d401b013606f0cede66efe826/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoimagemagick: bump to version 6.8.9-6
Jerzy Grzegorek [Thu, 31 Jul 2014 08:48:50 +0000 (10:48 +0200)]
imagemagick: bump to version 6.8.9-6

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba4: bump to version 4.1.10
Gustavo Zacarias [Thu, 31 Jul 2014 15:21:18 +0000 (12:21 -0300)]
samba4: bump to version 4.1.10

Lots of bugfixes, enhancements to provisioning and printing support via
cups.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRevert "packages: autoreconf non-vanilla libtool packages"
Gustavo Zacarias [Thu, 31 Jul 2014 14:19:46 +0000 (11:19 -0300)]
Revert "packages: autoreconf non-vanilla libtool packages"

Now that we've got a cleaner/fuzzier libtool 1.5 static patch we can
discard the temporary workaround.

This reverts commit e573f5d3267e5916c580e499ecd127c60107b8e1.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/libtool: improve version 1.5 static patching
Gustavo Zacarias [Thu, 31 Jul 2014 14:19:45 +0000 (11:19 -0300)]
support/libtool: improve version 1.5 static patching

Alter the libtool 1.5.x support patch to accomodate for wildly different
versions of ltmain.sh
Just make it alter incoming args from -static to -all-static which seems
to apply to all the different variants out there since argument parsing
is unlikely to change much.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackages: autoreconf non-vanilla libtool packages
Gustavo Zacarias [Thu, 31 Jul 2014 03:02:20 +0000 (00:02 -0300)]
packages: autoreconf non-vanilla libtool packages

Some packages no longer apply the libtool patch since commit
97703978ac870ce2b14ad144f8e082de82aa2c64 because they use a non-vanilla
version of libtool 1.5.x

Fixes many failures like:
http://autobuild.buildroot.net/results/34e/34e4898e2bdc08e5d34e16e556384b3086b76467/
http://autobuild.buildroot.net/results/ecf/ecf4e7d6812f972d05c95203fb665235856c0817/
http://autobuild.buildroot.net/results/5d9/5d9a05fb70e8a65f2399c4f38375aeafb9686ea4/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobind: fix static openssl linking
Gustavo Zacarias [Wed, 30 Jul 2014 20:10:26 +0000 (17:10 -0300)]
bind: fix static openssl linking

Apparently LIBS (environment) isn't pushed to LIBS (autoconf) for the
tests, hence when static linking openssl it misses libz and assumes some
basic digests required for ecdsa support are missing, which is false. Fixes:
http://autobuild.buildroot.net/results/204/20411901d1bc6811e1ef8fa39457257d6bf1a146/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopolarssl: disable microblaze inline assembly
Gustavo Zacarias [Wed, 30 Jul 2014 18:56:14 +0000 (15:56 -0300)]
polarssl: disable microblaze inline assembly

Fixes:
http://autobuild.buildroot.net/results/4d5/4d54958ded61a0d929d992e4ca0bb31c996953cb/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/libtool: make -static behave like -all-static
Thomas Petazzoni [Wed, 30 Jul 2014 20:36:34 +0000 (22:36 +0200)]
support/libtool: make -static behave like -all-static

After switching TARGET_LDFLAGS from --static to -static, one issue
appears: from the point of view of libtool, -static only means to link
statically against the 'uninstalled libtool libraries' (i.e the
libraries that libtool has built in the current package), but
otherwise links dynamically with the other libraries. To really get a
completely static build, you need to pass -all-static to
libtool. Unfortunately, -all-static is only a valid option for
libtool, not as a general LDFLAGS, so we cannot to TARGET_LDFLAGS =
-all-static without breaking virtually all packages.

As pointed out 10 years ago on the libtool mailing list, the current
naming of the options is very confusing and the source of issues, and
there was a proposal to change -static to have the behavior of
-all-static, and instead introduce a separate -lt-static to have the
current behavior of -static. But that never got merged, because it was
breaking the current behavior. See:

  http://lists.gnu.org/archive/html/libtool/2004-11/msg00017.html

However, in Buildroot, when we pass -static, we really mean it, and we
want a completely static build. Therefore, this patch adapts our
ltmain.sh patches so that they alter the behavior of -static to make
it work like -all-static. The changes are small and quite easy to
understand, and have been tested to work fine with a small selection
of packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage infra: add -static to C/CXXFLAGS
Gustavo Zacarias [Sun, 25 May 2014 22:13:00 +0000 (19:13 -0300)]
package infra: add -static to C/CXXFLAGS

Generic infra packages might not use LDFLAGS at all so add -static for
static builds to CFLAGS and CXXFLAGS too.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage infra: revert 0a4bd19f
Gustavo Zacarias [Sun, 25 May 2014 22:12:59 +0000 (19:12 -0300)]
package infra: revert 0a4bd19f

Revert commit 0a4bd19f4a136930c611027942ce43124a81c5cb
Using --static is not documented and actually breaks static linking
according to my tests.
Fixes:
http://autobuild.buildroot.net/results/327/327c18db4e5d0ddc2c72a4684e103c19a1405e50/
...for external toolchains

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogcc-final: disable shared build for static
Gustavo Zacarias [Sun, 25 May 2014 22:12:57 +0000 (19:12 -0300)]
gcc-final: disable shared build for static

Disable shared build for host-gcc-final when building for static targets.
We really want static or shared, there's no such thing as "preferring static"
since we can't choose with any degree of granularity for which packages.
And it confuses linking scripts having both available at the same time. Fixes:
http://autobuild.buildroot.net/results/c54/c54bdf88eff6d60c7001cb0e2cb6792cc75178db/

[Thomas: slightly amend the commit to factorize the installation of
static libraries.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibiconv: disable building the preloadable library
Gustavo Zacarias [Sun, 25 May 2014 22:12:58 +0000 (19:12 -0300)]
libiconv: disable building the preloadable library

We were already removing the preloadable iconv library (that can be
used through LD_PRELOAD to override the C library iconv
implementation) from staging/target, but it was still built. And this
causes issues in static only scenarios, so this patch changes that to
not even build/install the preloadable library.

[Thomas: changed Gustavo's patch to take into the fact that we never
need the preloadable library.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobinutils, gdb: support unified binutils-gdb git repository
Anton Kolesov [Tue, 29 Jul 2014 12:54:37 +0000 (16:54 +0400)]
binutils, gdb: support unified binutils-gdb git repository

If Binutils and/or GDB are fetched from the unified binutils-gdb
repository, then the tarball will contain both Binutils and GDB
sources, unlike the "normal" tarballs that contain only the titular
package. To keep packages separated in Buildroot we need to disable
undesired components when configuring.

Binutils and GDB migrated to a common Git repository in the October
2013 [1]. Previous Git repositories were incomplete copies of CVS
repository which copied only the relevant files (no binutils files in
GDB, and vice versa). In the new binutils-gdb repository there is no
such separation and a result all files exist in directory after
checkout. So if "configure" and "make" are used without explicit
targets, all projects will be built: binutils, ld, gas, bfd, opcodes,
gdb, etc. In case of Buildroot this would mean that selecting Binutils
only, still will build both Binutils and GDB.  And if GDB is selected
as well, then both packages will be built two times, and Binutils from
GDB directory will overwrite initial build of Binutils (or vice versa
if Binutils will be built after the GDB). This is a serious problem,
because binutils and GDB use separate branches in this common
repository. In case of Buildroot this means that separate Git commits
(or tags) should be used when downloading source from Git.

This affects only Git repositories, because GNU release tarballs still
contain only relevant packages.

This change is backward compatible, because if "normal" tarball is
used (without extra directories), than --disable-* configure options
are just ignored by configure.

[1] https://sourceware.org/ml/gdb/2013-10/msg00071.html

[Thomas: use variables to factorize options, and add comments in the
relevant .mk files to explain what's going on.]

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libdrm: Bump version to 2.4.56
Bernd Kuhls [Wed, 30 Jul 2014 05:09:18 +0000 (07:09 +0200)]
package/libdrm: Bump version to 2.4.56

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agompd: bump to version 0.18.12
Gustavo Zacarias [Wed, 30 Jul 2014 11:58:36 +0000 (08:58 -0300)]
mpd: bump to version 0.18.12

Small bugfixes and improvements, and patches upstreamed.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoopenssh: disable PIE when building for ARC
Alexey Brodkin [Wed, 30 Jul 2014 12:32:21 +0000 (16:32 +0400)]
openssh: disable PIE when building for ARC

Fixes build failure reported here:
http://autobuild.buildroot.net/results/262/26218e028f3d2c77c5192b45154627f08384b688/

uClibc toolchain for ARC doesn't support PIE

Attempt to build anything with "-pie" option lead to linker failure:

arc-buildroot-linux-uclibc-gcc -pie test.c
ld: ../4.8-r3/bin/../arc-buildroot-linux-uclibc/sysroot/usr/lib/crt1.o: warning: unresolvable relocation against symbol `__uClibc_main' from .text section
ld: ../4.8-r3/bin/../lib/gcc/arc-buildroot-linux-uclibc/4.8.0/crtbegin.o: warning: unresolvable relocation against symbol `__deregister_frame_info@@GCC_3.0' from .text section
ld: ../4.8-r3/bin/../lib/gcc/arc-buildroot-linux-uclibc/4.8.0/crtbegin.o: warning: unresolvable relocation against symbol `__deregister_frame_info@@GCC_3.0' from .text section
ld: ../4.8-r3/bin/../lib/gcc/arc-buildroot-linux-uclibc/4.8.0/crtbegin.o: warning: unresolvable relocation against symbol `__register_frame_info@@GCC_3.0' from .text section
ld: ../4.8-r3/bin/../lib/gcc/arc-buildroot-linux-uclibc/4.8.0/crtbegin.o: warning: unresolvable relocation against symbol `__register_frame_info@@GCC_3.0' from .text section

In its turn this behavior confuses configure script of openssh so some options
get set improperly. In particular "strnvis" gets determined as existing which
causes failure during compilation:

log.c:67:25: error: 'VIS_SAFE' undeclared (first use in this function)
 #define LOG_STDERR_VIS (VIS_SAFE|VIS_OCTAL)

With disabled PIE ("--without-pie") openssh gets built without issues.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoflex: delete broken flex++ symlink from target
Danomi Manchego [Tue, 29 Jul 2014 01:35:34 +0000 (21:35 -0400)]
flex: delete broken flex++ symlink from target

When flex is built for the target without installing the
flex binary, a flex++ symlink installed by flex's Makefile
points to the missing flex executable.  This mod adds
a post target install hook to remove the broken symlink.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux: remove support of linux26-* targets
Thomas De Schampheleire [Thu, 24 Jul 2014 17:49:34 +0000 (19:49 +0200)]
linux: remove support of linux26-* targets

The linux-* mirror targets of linux26-* have been added a very long time ago
(2010) and linux 2.6 is now considered 'old' anyway. It no longer makes
sense to support these linux26-* targets, so this patch removes them.

This is a simplification introduced in preparation of the kconfig-package
infrastructure.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: use $(MAKE) iso $(MAKE1) for menuconfig target
Thomas De Schampheleire [Thu, 24 Jul 2014 17:49:29 +0000 (19:49 +0200)]
uclibc: use $(MAKE) iso $(MAKE1) for menuconfig target

There is no real reason to run uclibc-menuconfig in non-parallel mode,
even though one can neither expect performance benefits from a parallel
menuconfig.
Nevertheless, $(MAKE) is the default, so this patch removes the unnecessary
non-default $(MAKE1) usage for uclibc-menuconfig.

This is a simplification introduced in preparation of the kconfig-package
infrastructure.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: update-config: preserve freshly configured settings
Thomas De Schampheleire [Fri, 18 Jul 2014 18:54:56 +0000 (20:54 +0200)]
uclibc: update-config: preserve freshly configured settings

In the sequence:

make uclibc-menuconfig
make uclibc-update-config

the freshly configured settings from the menuconfig are lost during the
update-config step. This is because update-config depends on the configure
step, which starts by copying the config file to the build directory.

Instead, stop depending on the configure step from update-config, and
introduce a new stamp file .stamp_config_fixup_done, which applies any
fixups on the .config file.
An alternative solution would be to add a call to UCLIBC_FIXUP_DOT_CONFIG to
the relevant targets instead of depending on a new stamp file. The advantage
of the stamp file, though, is that we avoid redoing the fixup unnecessarily.
Moreover, in the light of the plan to extract the kconfig-specific bits into
a separate kconfig-package infrastructure, the stamp file rules are more
easily moved into such an infrastructure, while the alternative solution
requires the package .mk file to explicitly call the FIXUP rules which may
more easily be forgotten.

No longer depending on the configure step has the added bonus that
'uclibc-update-config' no longer needs the toolchain to be available, which
makes:
    make clean uclibc-menuconfig uclibc-update-config
much faster and user-friendly.

Additionally, make sure that 'make clean uclibc-update-config' works
properly, by depending on .stamp_config_fixup_done so that the config file
is present and fixed.

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

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: menuconfig: take into account initial settings from config file
Thomas De Schampheleire [Fri, 18 Jul 2014 18:54:55 +0000 (20:54 +0200)]
uclibc: menuconfig: take into account initial settings from config file

When executing the sequence 'make clean uclibc-menuconfig', the configured
config file is not taken into account and one starts from the default
settings.

This patch adds an explicit target for the config file and lets the
configure and menuconfig steps depend on it, fixing the problem.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: rename SETUP_DOT_CONFIG to FIXUP_DOT_CONFIG
Thomas De Schampheleire [Fri, 18 Jul 2014 18:54:54 +0000 (20:54 +0200)]
uclibc: rename SETUP_DOT_CONFIG to FIXUP_DOT_CONFIG

In a subsequent patch, the behavior of UCLIBC_SETUP_DOT_CONFIG will change
so that it only applies fixups to the (already copied) configuration file.
This patch renames this function to UCLIBC_FIXUP_DOT_CONFIG to better match
the future behavior.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: build tests after uClibc libs are installed to staging location
Alexey Brodkin [Tue, 22 Jul 2014 14:27:58 +0000 (18:27 +0400)]
uclibc: build tests after uClibc libs are installed to staging location

If libuClibc is not installed to staging on attempt to build tests following
errors happen:

============
  TEST_LINK termios/ termios
.../host/usr/arc-buildroot-linux-uclibc/sysroot/usr/lib/crt1.o: In function `__start':
.../build/uclibc/libc/sysdeps/linux/arc/crt1.S:53: undefined reference to `__uClibc_main'
termios.o: In function `main':
.../build/uclibc/test/termios/termios.c:13: undefined reference to `printf'
.../build/uclibc/test/termios/termios.c:14: undefined reference to `printf'
.../build/uclibc/test/termios/termios.c:16: undefined reference to `stdout'
.../build/uclibc/test/termios/termios.c:16: undefined reference to `fileno'
.../build/uclibc/test/termios/termios.c:16: undefined reference to `ioctl'
.../build/uclibc/test/termios/termios.c:19: undefined reference to `perror'
.../build/uclibc/test/termios/termios.c:21: undefined reference to `printf'
.../host/usr/lib/gcc/arc-buildroot-linux-uclibc/4.8.0/../../../../arc-buildroot-linux-uclibc/lib/libgcc_s.so.1: undefined reference to `memcpy'
.../host/usr/lib/gcc/arc-buildroot-linux-uclibc/4.8.0/../../../../arc-buildroot-linux-uclibc/lib/libgcc_s.so.1: undefined reference to `malloc'
.../host/usr/lib/gcc/arc-buildroot-linux-uclibc/4.8.0/../../../../arc-buildroot-linux-uclibc/lib/libgcc_s.so.1: undefined reference to `abort'
.../host/usr/lib/gcc/arc-buildroot-linux-uclibc/4.8.0/../../../../arc-buildroot-linux-uclibc/lib/libgcc_s.so.1: undefined reference to `calloc'
.../host/usr/lib/gcc/arc-buildroot-linux-uclibc/4.8.0/../../../../arc-buildroot-linux-uclibc/lib/libgcc_s.so.1: undefined reference to `dl_iterate_phdr'
.../host/usr/lib/gcc/arc-buildroot-linux-uclibc/4.8.0/../../../../arc-buildroot-linux-uclibc/lib/libgcc_s.so.1: undefined reference to `realloc'
.../host/usr/lib/gcc/arc-buildroot-linux-uclibc/4.8.0/../../../../arc-buildroot-linux-uclibc/lib/libgcc_s.so.1: undefined reference to `memset'
.../host/usr/lib/gcc/arc-buildroot-linux-uclibc/4.8.0/../../../../arc-buildroot-linux-uclibc/lib/libgcc_s.so.1: undefined reference to `strlen'
.../host/usr/lib/gcc/arc-buildroot-linux-uclibc/4.8.0/../../../../arc-buildroot-linux-uclibc/lib/libgcc_s.so.1: undefined reference to `free'
collect2: error: ld returned 1 exit status
make[3]: *** [termios] Error 1
============

And the simplest solution is to build tests right before installation in
UCLIBC_INSTALL_TARGET_CMDS which follows UCLIBC_INSTALL_STAGING_CMDS so
all required libs are in place.

Interesting note - if one enables uClibc tests after initial full buildroot
build mentioned errors don't happen. This is because uClibc libc libs are
already installed to staging. That's why I didn't noticed this problem before.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxdriver_xf86-video-intel: Bump version to 2.99.914
Bernd Kuhls [Tue, 29 Jul 2014 21:34:16 +0000 (23:34 +0200)]
xdriver_xf86-video-intel: Bump version to 2.99.914

- enable sna module by default
- optionally enable uxa module if DRI2 support is enabled
- add support for DRI3
- dependencies for DRI1/2/3 modules are provided by xserver_xorg-server,
  therefore remove mesa3d dependency
- clean-up ums/kms options, configure picks sane defaults
- replace dependencies xproto_randrproto & xproto_renderproto with xlib_libXrandr

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxserver_xorg-server: Add support for DRI3
Bernd Kuhls [Tue, 29 Jul 2014 21:34:15 +0000 (23:34 +0200)]
xserver_xorg-server: Add support for DRI3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopopt: now needs gettextize
Gustavo Zacarias [Tue, 29 Jul 2014 21:03:26 +0000 (18:03 -0300)]
popt: now needs gettextize

Because of df9244ff3738face50605eacf4d4f15d963de915 we now need to
gettextize popt. Fixes:
http://autobuild.buildroot.net/results/6e2/6e27c98407f114df07eb5cd16a843420fdb72bf4/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython: new module cffi
Oli Vogt [Tue, 20 May 2014 01:53:00 +0000 (13:53 +1200)]
python: new module cffi

Foreign Function Interface for Python calling C code.

[Thomas: add dependency on host-pkgconf and libffi, enable on Python 3
since the module builds fine and loads fine with Python 3 as well.]

Signed-off-by: oli vogt <oli.vogt.pub01@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agohttping: fix math library linking
Yuvaraj Patil [Wed, 23 Jul 2014 11:47:22 +0000 (17:17 +0530)]
httping: fix math library linking

Add the math library directive '-lm' to linker options at the end.
The order of the math library directive '-lm' matters.

Fixes:

  http://autobuild.buildroot.net/results/843/84382290696e72c23995f5ed020ad5c157817012/

Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodocs/manual: add sob line for patch series
Waldemar Brodkorb [Tue, 29 Jul 2014 15:01:30 +0000 (17:01 +0200)]
docs/manual: add sob line for patch series

The -s is missing in the documentation when teaching how to use 'git
format-patch' to automatically add the sob line.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluarocks: refactor with TARGET_FINALIZE_HOOKS
Francois Perrad [Tue, 29 Jul 2014 18:18:15 +0000 (20:18 +0200)]
luarocks: refactor with TARGET_FINALIZE_HOOKS

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl: refactor with TARGET_FINALIZE_HOOKS
Francois Perrad [Tue, 29 Jul 2014 18:18:14 +0000 (20:18 +0200)]
perl: refactor with TARGET_FINALIZE_HOOKS

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: fix networking support on sparc
Waldemar Brodkorb [Tue, 29 Jul 2014 14:58:07 +0000 (16:58 +0200)]
uclibc: fix networking support on sparc

While updating the default config for Sparc, I noticed that networking
is broken. The reason is a uClibc backport patch from uClibc
master. This commit adds a fix on top of it, which was submitted to
upstream uClibc.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqemu/sparc-ss10: update defconfig to Linux 3.15.x
Waldemar Brodkorb [Tue, 29 Jul 2014 14:57:33 +0000 (16:57 +0200)]
qemu/sparc-ss10: update defconfig to Linux 3.15.x

Update defconfig to 3.15, tested with Qemu 2.0.0.
Removed hint about framebuffer, as -display none is used.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux: bump default to version 3.15.7
Gustavo Zacarias [Mon, 28 Jul 2014 22:43:25 +0000 (19:43 -0300)]
linux: bump default to version 3.15.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux-headers: bump 3.{3, 10, 14, 15}.x series
Gustavo Zacarias [Mon, 28 Jul 2014 22:43:24 +0000 (19:43 -0300)]
linux-headers: bump 3.{3, 10, 14, 15}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopopt: solve the glob_pattern_p() problem
Thomas Petazzoni [Tue, 29 Jul 2014 18:08:01 +0000 (20:08 +0200)]
popt: solve the glob_pattern_p() problem

The current popt build system tests the existence of <glob.h>, and
then assumes that if __GLIBC__ is defined, then glob_pattern_p() must
be available. Unfortunately, that's not true with uClibc: <glob.h> may
be installed, but not necessarily the GNU glob extensions... and
uClibc defines __GLIBC__. This is causing build issues with certain
uClibc toolchains that do not have GNU glob extensions enabled.

To fix this, we introduce a patch called popt-03-glob-detection.patch
which adds a new AC_CHECK_FUNCS() test for glob_pattern_p() and uses
the result to know if this function is available, instead of testing
__GLIBC__.

In order for this patch to work, the popt package must be
autoreconfigured, so another patch, popt-02-fix-autoreconf.patch, is
needed to make the package autoreconfigure properly. And also
POPT_AUTORECONF = YES is added to popt.mk.

Finally, this change avoids the need for the Blackfin toolchain
specific testing, which we forgot to update when introducing the
2014R1 version of the Blackfin toolchain. With this new solution,
there will be no need to update the popt.mk file when new Blackfin
toolchains are added.

Fixes:

  http://autobuild.buildroot.org/results/e09/e09e24fec240382a3197fef3e98eb9a22f76420a/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yuvaraj Patil <yuvaraj.patil@wipro.com>
Cc: Sonic Zhang <sonic.zhang@analog.com>
10 years agopopt: rename patch to use the correct naming convention
Thomas Petazzoni [Tue, 29 Jul 2014 18:02:13 +0000 (20:02 +0200)]
popt: rename patch to use the correct naming convention

This patch renames the popt patch popt-1.14_no-wchar.patch to
popt-01-no-wchar.patch in order to follow the naming convention used
in all packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoPPC: fix ltrace build on PPC32
Alexandre Belloni [Tue, 29 Jul 2014 11:16:09 +0000 (13:16 +0200)]
PPC: fix ltrace build on PPC32

Add a patch to fix the build on PPC32 platform. That patch has been
submitted upstream.

Fixes:

  http://autobuild.buildroot.org/results/446/4460aac38225289ef58a8693da9ae520ae07a226/

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoicu: fix build after custom data library patch
Thomas Petazzoni [Tue, 29 Jul 2014 11:23:34 +0000 (13:23 +0200)]
icu: fix build after custom data library patch

Commit abded6bfead49d61c24a45d811a83ca082adf677 ("icu: add an option
to add a custom data library file") broke the build because of an
improper test on a non-qstripped variable. This commit fixes that.

Fixes:

  http://autobuild.buildroot.org/results/02a/02a0800b01a4bf8734d601f79dc12663fe8f7542/
  and many other similar occurences of the same issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython-flup: re-add MIT license
Thomas Petazzoni [Tue, 29 Jul 2014 07:17:05 +0000 (09:17 +0200)]
python-flup: re-add MIT license

The MIT license was in the original submission, but I had removed it
since I couldn't find where it was used. It is indeed used in
flup/server/paste_factory.py as noted by the original
submitter. Therefore, this commit adds the MIT license as one of the
licenses of python-flup.

Reported-by: Oli Vogt <oli.vogt.pub01@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoflickcurl: adjust openssl dependency
Thomas Petazzoni [Mon, 28 Jul 2014 21:26:53 +0000 (23:26 +0200)]
flickcurl: adjust openssl dependency

flickcurl does not specifically need openssl: it needs libcurl to have
crypto support to access https:// URLs. So, instead of depending on
openssl in FLICKCURL_DEPENDENCIES, this commit simply leaves it to the
Config.in file to select either OpenSSL, gnutls or libnss to make sure
libcurl will use one of these libraries.

Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoflickcurl: remove ca-certificates as a build dependency
Thomas Petazzoni [Mon, 28 Jul 2014 21:25:20 +0000 (23:25 +0200)]
flickcurl: remove ca-certificates as a build dependency

ca-certificates is a runtime dependency only, so selecting it in the
Config.in file is sufficient, adding it to FLICKCURL_DEPENDENCIES is
not useful.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoflickcurl: new package
Peter Korsgaard [Mon, 28 Jul 2014 20:58:08 +0000 (22:58 +0200)]
flickcurl: new package

We need two patches from upstream git as flickr now requires https access.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[yann.morin.1998@free.fr: fix the kconfig recursive loop when selecting
 a SSL implementation]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/lftp: inverse the openssl/gnutls selection
Yann E. MORIN [Mon, 28 Jul 2014 20:58:07 +0000 (22:58 +0200)]
package/lftp: inverse the openssl/gnutls selection

openssl is more widely used than gnutls. Other packages prefer openssl
over gnutls and would like to do the select in the opposite direction.

So switch lftp to use openssl by default, and only revert to using
gnutls if explicitly selected by the user.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoicu: add an option to add a custom data library file
Johan Derycke [Tue, 13 May 2014 16:10:18 +0000 (18:10 +0200)]
icu: add an option to add a custom data library file

[Thomas:
 - use one single BR2_PACKAGE_ICU_CUSTOM_DATA_PATH string option
   instead of a boolean option + a string option, which always causes
   a lot of issues with random configurations that enable the boolean
   option, but do not provide a valid value for the string option.
 - enclose the definition of ICU_COPY_CUSTOM_DATA into the condition.]

Signed-off-by: Johan Derycke <johan.derycke@barco.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux: support multiple custom DTS files
Philippe Proulx [Fri, 25 Jul 2014 21:25:32 +0000 (17:25 -0400)]
linux: support multiple custom DTS files

[Thomas: fix minor typo in help text.]

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl: handle BR2_PREFER_STATIC_LIB
Francois Perrad [Sun, 27 Jul 2014 16:34:37 +0000 (18:34 +0200)]
perl: handle BR2_PREFER_STATIC_LIB

[Thomas: fix commit title, use one line for both CONF_OPT options.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxapp_xconsole: Needs MMU
Bernd Kuhls [Mon, 28 Jul 2014 19:03:34 +0000 (21:03 +0200)]
xapp_xconsole: Needs MMU

Fixes
http://autobuild.buildroot.net/results/be8/be89847832a2588dbda8dd921edb09b2af130e03/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopostgresql: enable staging installation
Nathaniel Roach [Mon, 28 Jul 2014 11:57:28 +0000 (19:57 +0800)]
postgresql: enable staging installation

Certain packages need the headers/libraries from Postgresql to build
properly.

[Thomas: slightly reword the commit message.]

Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoltris: needs MMU
Yuvaraj Patil [Mon, 28 Jul 2014 13:58:14 +0000 (19:28 +0530)]
ltris: needs MMU

This package needs MMU. Hence added dependency on BR2_USE_MMU

Fixes:
http://autobuild.buildroot.net/results/5cf/5cf2262460a72ce51b479a42fca61cea5f6e23fd//

Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-module-build: bump to version 0.4206
Francois Perrad [Mon, 28 Jul 2014 16:50:20 +0000 (18:50 +0200)]
perl-module-build: bump to version 0.4206

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-net-ssleay: bump to version 1.65
Francois Perrad [Mon, 28 Jul 2014 16:50:19 +0000 (18:50 +0200)]
perl-net-ssleay: bump to version 1.65

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoperl-mojolicious: bump to version 5.21
Francois Perrad [Mon, 28 Jul 2014 16:50:18 +0000 (18:50 +0200)]
perl-mojolicious: bump to version 5.21

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain: add option to copy the gconv libraries
Yann E. MORIN [Sun, 27 Jul 2014 19:28:32 +0000 (21:28 +0200)]
toolchain: add option to copy the gconv libraries

The gconv libraries are used to translate between different character sets
('charsets', even 'csets' sometimes). Some packages need them to present
text to the user (eg. XBMC Gotham).

In (e)glibc they are implemented by the internal implemenation of iconv,
called gconv, and are provided as dlopen-able libraries.

Note that some gconv modules need extra libraries (shared by more than
one gconv module), so we must, when adding a subset of modules, scan the
installed modules in search of the missing libraries.

[Thomas: add general explanation in expunge-gconv-modules and fix
coding style.]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Eric Limpens <limpens@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5: Need pcre with UTF support
Jérôme Pouiller [Wed, 16 Jul 2014 16:05:07 +0000 (18:05 +0200)]
qt5: Need pcre with UTF support

Enabling PCRE16 is not enough for Qt5. PCREUTF is also necessary, else
Qt5 may complain with this kind of (non fatal) message:
  QRegularExpressionPrivate::doMatch(): called on an invalid QRegularExpression object

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystem: move tz setup outside of default skeleton clause
Danomi Manchego [Sun, 27 Jul 2014 17:24:11 +0000 (13:24 -0400)]
system: move tz setup outside of default skeleton clause

Allow time zone setup and installation for configurations
using custom skeletons as well as default skeletons.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodropbear: bump to version 2014.64
Gustavo Zacarias [Sun, 27 Jul 2014 16:46:05 +0000 (13:46 -0300)]
dropbear: bump to version 2014.64

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/fetchmail: gettextize to match the new gettext version
Bernd Kuhls [Sun, 27 Jul 2014 15:44:37 +0000 (17:44 +0200)]
package/fetchmail: gettextize to match the new gettext version

The gettext macros in the package are from a gettext version older than
the one we have in Buildroot, so autoreconf fails.

Run gettextize prior to running autoreconf, like we do in wget.

Fixes:
http://autobuild.buildroot.net/results/8dd/8dd6651ce99c0b81497fd285909b2b614009e273/
http://autobuild.buildroot.net/results/0bb/0bbfddda94ac7f75f74a54157c27de5b4fb3e559/
http://autobuild.buildroot.net/results/92b/92bcb493619ce4508bc4571cbfc3d5c3bdf49ff4/
http://autobuild.buildroot.net/results/768/768efd71745c72cec159edaa92e266167629ec5d/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoltrace: use current master
Alexandre Belloni [Thu, 24 Jul 2014 21:59:21 +0000 (23:59 +0200)]
ltrace: use current master

ltrace 0.7.3 is the latest release but it is actually broken on ARM
since PTRACE_SINGLESTEP emulation has been removed, see:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=425fc47adb5bb69f76285be77a09a3341a30799e

It fails with:
PTRACE_SINGLESTEP: Input/output error

Using master solves that until a new release is made.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython-daemon: new package
David Bachelart [Thu, 24 Jul 2014 15:43:23 +0000 (17:43 +0200)]
python-daemon: new package

[Thomas: adjust license information to use SPDX code for Python
license, add GPLv2+ which is used for the tests, and fix the license
file variable.]

Signed-off-by: David Bachelart <david.bachelart@bbright.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython-ipython: new package
Philippe Proulx [Thu, 24 Jul 2014 19:08:49 +0000 (15:08 -0400)]
python-ipython: new package

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython-flup: new package
Oli Vogt [Sun, 25 May 2014 08:24:17 +0000 (20:24 +1200)]
python-flup: new package

This module is useful to implement a fastCGI webserver
Tested with ARM and Python 2.7.6

[Thomas: fix license informations.]

Signed-off-by: oli vogt <oli.vogt.pub01@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodocs/manual: enhance doc for BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y
Yann E. MORIN [Fri, 25 Jul 2014 21:28:14 +0000 (23:28 +0200)]
docs/manual: enhance doc for BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y

The BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y symbols can be used to denote the
lowest required kernel headers version, but also the highest supported
version. Document that.

Use the `...` construct instead of +...+ used eveywhere else, otherwise
asciidoc would render +<=+ to the ⇐ arrow, while `...` does no rendering
at all.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython-numpy: add patch to fix build on uClibc
Thomas Petazzoni [Wed, 23 Jul 2014 18:33:21 +0000 (20:33 +0200)]
python-numpy: add patch to fix build on uClibc

Fixes:

  http://autobuild.buildroot.org/results/01d/01da44bc4b644a46326d8fbd87708b7a98971487/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython3: define license and license files
Thomas Petazzoni [Wed, 23 Jul 2014 18:33:20 +0000 (20:33 +0200)]
python3: define license and license files

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython3: optional decimal module support
Thomas Petazzoni [Wed, 23 Jul 2014 18:33:19 +0000 (20:33 +0200)]
python3: optional decimal module support

This commit makes the decimal module support optional: since Python
3.3 it relies on an external library. The source code of this library
is available built-in as part of the Python sources, but in Buildroot
we generally prefer to use the external library when possible.

To achieve this, this commit adds a patch to Python that is similar to
the one we use for expat support, but this time for the
libmpdec/mpdecimal library.

As a consequence, since mpdecimal now builds properly even when
<fenv.h> is not available (on i386), this commit fixes:

  http://autobuild.buildroot.org/results/b64/b64d5c941a7cac00619da3a0696939f86a8eafc2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agompdecimal: new package
Thomas Petazzoni [Wed, 23 Jul 2014 18:33:18 +0000 (20:33 +0200)]
mpdecimal: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluarocks: allow to work with host-luainterpreter
Francois Perrad [Sat, 19 Jul 2014 14:38:57 +0000 (16:38 +0200)]
luarocks: allow to work with host-luainterpreter

when we embed luajit on target,
we use luarocks with host-luajit instead of host-lua,
in order to use the same interpreter on the both side.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluainterpreter: add host variant
Francois Perrad [Sat, 19 Jul 2014 14:38:56 +0000 (16:38 +0200)]
luainterpreter: add host variant

host-luainterpreter is host-lua or host-luajit

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluajit: add host variant
Francois Perrad [Sat, 19 Jul 2014 14:38:55 +0000 (16:38 +0200)]
luajit: add host variant

the goal is to use host-luajit with pkg-luarocks
when luajit is on the selected luainterpreter for the target

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agohostapd: EAP support needs shared library support
Thomas Petazzoni [Wed, 23 Jul 2014 18:38:45 +0000 (20:38 +0200)]
hostapd: EAP support needs shared library support

Fixes:

  http://autobuild.buildroot.org/results/dcb/dcbdc25cd5b46917c8f740d492db7512021462fa/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogst-fsl-plugins: fix build for kernel headers >= 3.10
Gary Bisson [Sat, 26 Jul 2014 05:34:30 +0000 (22:34 -0700)]
gst-fsl-plugins: fix build for kernel headers >= 3.10

This package couldn't build using a toolchain with kernel headers >=
3.10 because of the use of VIDIOC_DBG_G_CHIP_IDENT. As stated in
videodev2.h, this ioctl should never be used.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/rtmpdump: Fix static build
Bernd Kuhls [Sun, 27 Jul 2014 07:57:20 +0000 (09:57 +0200)]
package/rtmpdump: Fix static build

Fixes
http://autobuild.buildroot.net/results/04c/04cc4f4878466715d980442bd7114fecbeb51c0b/

Quote from README:

A shared library is now built by default, in addition to the static
library. You can also turn it off if desired

  $ make SHARED=

The rtmpdump programs still link to the static library, regardless.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/fetchmail: Fix checking for statically build OpenSSL with libz dependency
Bernd Kuhls [Sun, 27 Jul 2014 07:45:28 +0000 (09:45 +0200)]
package/fetchmail: Fix checking for statically build OpenSSL with libz dependency

Fixes
http://autobuild.buildroot.net/results/48a/48ad6d3659cf1f04581b7e3d115bebf454ff17fd/

To fix the error add "-lz" to LIBS variable and re-order the libraries in
configure.ac. Please note line 797 in configure.ac:
dnl XXX FIXME: use pkg-config if available!

Quote of the compile error:

configure: Enabling OpenSSL support in /home/br/br/output/host/usr/i486-buildroot-linux-uclibc/sysroot/usr.
checking for additional library dependencies of SSL... error
configure: error: cannot link with SSL - check config.log

In config.log multiple linking errors to libz can be found:

configure:10099: /home/br/br/output/host/usr/bin/i486-ctng-linux-uclibc-gcc -o
  conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64
  /home/br/br/output/host/usr/i486-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(c_zlib.o):
  In function `zlib_stateful_c_zlib.c:(.text+0x56): undefined reference to `inflate'

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agordesktop: needs mmu
Gustavo Zacarias [Sun, 27 Jul 2014 03:58:54 +0000 (00:58 -0300)]
rdesktop: needs mmu

Fixes:
http://autobuild.buildroot.net/results/8f2/8f24a81516383feaffed485c85958e7a1c68176c/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibfslvpuwrap: fix tests of return value from IOGetVirtMem
Gary Bisson [Fri, 25 Jul 2014 06:43:13 +0000 (23:43 -0700)]
libfslvpuwrap: fix tests of return value from IOGetVirtMem

Same as similar patches for imx-vpu, the returned value from
IOGetVirtMem was not properly checked.

[Thomas: add upstream reference to the patch, suggested by Yann
E. Morin.]

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibpcap: fix build for uclinux target
Baruch Siach [Fri, 25 Jul 2014 05:47:15 +0000 (08:47 +0300)]
libpcap: fix build for uclinux target

As usual, uclinux is also linux. Also, -lpthread is needed to link the canusb
test.

Fixes:
http://autobuild.buildroot.net/results/3af/3af796bc0eaa8563f0fd1dfce090083482fa57b9/

[Thomas: fix typo in SoB line inside the newly added patch.]

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqemu/mipsel-malta: update defconfig to Linux 3.15.x
Waldemar Brodkorb [Fri, 25 Jul 2014 12:40:37 +0000 (14:40 +0200)]
qemu/mipsel-malta: update defconfig to Linux 3.15.x

Update to 3.15.x, remove ext3 support, use ext4 as
default.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqemu/mips-malta: update defconfig to Linux 3.15.x
Waldemar Brodkorb [Fri, 25 Jul 2014 12:39:42 +0000 (14:39 +0200)]
qemu/mips-malta: update defconfig to Linux 3.15.x

Update to 3.15.x, disable ext3, use ext4 as default.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqemu/mips64el-malta: update defconfig to Linux 3.15.x
Waldemar Brodkorb [Fri, 25 Jul 2014 12:38:52 +0000 (14:38 +0200)]
qemu/mips64el-malta: update defconfig to Linux 3.15.x

Update defconfig to 3.15.x.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqemu/mips64-malta: update defconfig to Linux 3.15.x
Waldemar Brodkorb [Fri, 25 Jul 2014 12:38:16 +0000 (14:38 +0200)]
qemu/mips64-malta: update defconfig to Linux 3.15.x

Update default to 3.15.x.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agox11vnc: needs MMU
Yuvaraj Patil [Fri, 25 Jul 2014 11:58:50 +0000 (17:28 +0530)]
x11vnc: needs MMU

This package needs MMU. Hence this commit adds the dependency on
BR2_USE_MMU

Fixes:

  http://autobuild.buildroot.net/results/b9d/b9d27977a231d186fe5289232f5d3995ec756266/

Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobusybox: enable fdisk in default config
Gustavo Zacarias [Fri, 25 Jul 2014 13:42:59 +0000 (10:42 -0300)]
busybox: enable fdisk in default config

As noted by mnemoc on IRC the default busybox config doesn't enable
fdisk and util-linux is hidden by !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS.
On modern systems fdisk usage is becoming more common so enable it, it
just adds up ~25 KiB to total binary size.
People who are on the edge for space savings will normally customize
their busybox config.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agophp: security bump to version 5.5.15
Gustavo Zacarias [Fri, 25 Jul 2014 12:51:05 +0000 (09:51 -0300)]
php: security bump to version 5.5.15

Fixes:
CVE-2014-4670 (SPL Iterators use-after-free)

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: add hook to disable ldconfig.service
Eric Le Bihan [Fri, 25 Jul 2014 15:31:41 +0000 (17:31 +0200)]
systemd: add hook to disable ldconfig.service

Since version 215, systemd installs a service to execute /sbin/ldconfig
when the sysinit target is reached.

Unfortunately, /sbin/ldconfig is not installed on a target built using a
glibc-based toolchain.

As this service is not mandatory, it is now disabled, thus avoiding a
warning in the journal.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: bump to version 215
Eric Le Bihan [Fri, 25 Jul 2014 15:31:40 +0000 (17:31 +0200)]
systemd: bump to version 215

Bump systemd to version 215.

Also refresh the patch reverting the use of `ln --relative`.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/Makefile.in: fix coding style regarding the '=' sign
Fabio Porcedda [Fri, 25 Jul 2014 16:38:37 +0000 (18:38 +0200)]
package/Makefile.in: fix coding style regarding the '=' sign

As stated in the buildroot user manual add just a single space before
and after a '=' sign.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluarocks: move the option --deps-mode
Francois Perrad [Fri, 25 Jul 2014 18:21:25 +0000 (20:21 +0200)]
luarocks: move the option --deps-mode

The option moves from `luarocks make` command to the LuaRocks config file.

This change and the merge of PR https://github.com/keplerproject/luarocks/pull/236
in LuaRocks 2.2.0 avoids the confusing message "Missing dependency"

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluarocks: bump to version 2.2.0beta1
Francois Perrad [Fri, 25 Jul 2014 18:21:24 +0000 (20:21 +0200)]
luarocks: bump to version 2.2.0beta1

this version includes a new default repository for rocks

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain: include C libraries in legal-info
Yann E. MORIN [Fri, 25 Jul 2014 20:06:27 +0000 (22:06 +0200)]
toolchain: include C libraries in legal-info

So far, the legal-info infrastructure was not exporting the legal
info for the C libraries. This is because the legal-info only acts
on packages defined in $(TARGETS).

But the C libraries are never added to $(TARGETS), since there is no
corresponding BR2_PACKAGE_<C-LIBRARY>.

This patch adds such symbols for the 4 C libraries we support in our
internal backend: uClibc, glibc, eglibc and musl.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/eudev: Update project URL in Config.in
Bernd Kuhls [Fri, 25 Jul 2014 19:18:46 +0000 (21:18 +0200)]
package/eudev: Update project URL in Config.in

Suggested by Arnout:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/90060/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxlib_libXext: Bump version to 1.3.3
Bernd Kuhls [Fri, 25 Jul 2014 18:29:51 +0000 (20:29 +0200)]
xlib_libXext: Bump version to 1.3.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>