summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* package/connman: disable for musl toolchainsRomain Naour2016-08-192-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Connman doesn't build with musl toolchains due to several "classic" musl issues [1] (mixes userspace and kernel headers, missing header) Upstream received some fixes [2] but they are not yet merged. Also, gresolv.c use res_ninit() function which is not available with musl. A fix from Alpinelinux is available [3] but it require some invasive changes. Disable connman for musl toolchains for now, and wait for upstream fixes. [1] http://wiki.musl-libc.org/wiki/FAQ [2] https://lists.01.org/pipermail/connman/2016-August/000880.html https://lists.01.org/pipermail/connman/2016-August/000881.html https://lists.01.org/pipermail/connman/2016-August/000882.html [3] https://github.com/openembedded/openembedded-core/commit/d08f9d7145ba14ce9fbf320719c05560be69212f Fixes: http://autobuild.buildroot.net/results/e88/e88b4dbd4b79fc983b8f7d33da3287966854f8ca [...] Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* igd2-for-linux: bump to version 1.2Fabrice Fontaine2016-08-192-2/+2
| | | | | | | | | | | | This update contains a single upstream commit, intended at fixing the static linking issue. Fixes: http://autobuild.buildroot.net/results/66aff89ea92f5a940dfa7ed3b0bdffb938dd998c/ Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/ustr: don't run ldconfigYann E. MORIN2016-08-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ustr Makefile.in (as introduced by the Debian patch we apply), is probably not parallel-safe: 402 install: install-opt install-dbg 403 404 install-opt: install-dirs install-opt-lib install-common 405 406 install-dbg: install-dirs install-dbg-lib install-common 407 408 install-opt-lib install-dbg-lib install-common: install-dirs [--SNIP--] 424 install-opt-lib: $(OPT_LIB_STATIC) $(OPT_LIB_SHARED) ustr.pc 425 @echo Installing files 426 install -m 644 -t $(DESTDIR)$(libdir) $(OPT_LIB_STATIC) 427 install -m 755 -t $(DESTDIR)$(libdir) $(OPT_LIB_SHARED) 428 -rm -f $(DESTDIR)$(libdir)/$(OPT_LIB_SHARED_NAME) 429 ln -s $(OPT_LIB_SHARED) $(DESTDIR)$(libdir)/$(OPT_LIB_SHARED_NAME) 430 -rm -f $(DESTDIR)$(libdir)/$(OPT_LIB_SHAREDEV) 431 ln -s $(OPT_LIB_SHARED_NAME) $(DESTDIR)$(libdir)/$(OPT_LIB_SHAREDEV) 432 -rm -f $(DESTDIR)$(libdir)/$(OPT_LIB_SHAREDEV_BSO) 433 ln -s $(OPT_LIB_SHARED_NAME) $(DESTDIR)$(libdir)/$(OPT_LIB_SHAREDEV_BSO) 434 $(LDCONFIG) -n $(DESTDIR)$(libdir) 435 install -pm 644 -t $(DESTDIR)$(libdir)/pkgconfig ustr.pc 436 437 install-dbg-lib: $(DBG_LIB_STATIC) $(DBG_LIB_SHARED) ustr-debug.pc 438 @echo Installing files 439 install -m 644 -t $(DESTDIR)$(libdir) $(DBG_LIB_STATIC) 440 install -m 755 -t $(DESTDIR)$(libdir) $(DBG_LIB_SHARED) 441 -rm -f $(DESTDIR)$(libdir)/$(DBG_LIB_SHARED_NAME) 442 ln -s $(DBG_LIB_SHARED) $(DESTDIR)$(libdir)/$(DBG_LIB_SHARED_NAME) 443 -rm -f $(DESTDIR)$(libdir)/$(DBG_LIB_SHAREDEV) 444 ln -s $(DBG_LIB_SHARED_NAME) $(DESTDIR)$(libdir)/$(DBG_LIB_SHAREDEV) 445 -rm -f $(DESTDIR)$(libdir)/$(DBG_LIB_SHAREDEV_BSO) 446 ln -s $(DBG_LIB_SHARED_NAME) $(DESTDIR)$(libdir)/$(DBG_LIB_SHAREDEV_BSO) 447 $(LDCONFIG) -n $(DESTDIR)$(libdir) 448 install -pm 644 -t $(DESTDIR)$(libdir)/pkgconfig ustr-debug.pc As Thomas already noticed [0], the two interesting rules above are not dependent one on the other, so can be run in parallel. So, while one is doing its rm'n'ln dance, the other can be running an ldconfig, which has the side effect of creating the missing symlinks. So, we can see this sequence: install-opt-lib: install-dbg-lib: ldconfig rm -f .../$(OPT_LIB_SHAREDEV) \ `-> symlink(..., .../$(OPT_LIB_SHAREDEV)) ln -s .../$(OPT_LIB_SHAREDEV) In this case, ldconfig uses the opportunity-window between the rm and the ln to create the link; so the ln does not work, as the target already exist. We fix that by not running ldconfig at all in Buildroot, we just pass LDCONFIG=/bin/true . Fixes (hopefully, since I was not even able to reproduce the failure): http://autobuild.buildroot.org/?reason=ustr-1.0.4 http://autobuild.buildroot.org/results/936/93626f55625ed7900c147bfd79ff7802366639b1/ http://autobuild.buildroot.org/results/18b/18b6ec537da9e9055f58a8649c0719dc64df1bcf/ [...] [0] http://lists.busybox.net/pipermail/buildroot/2016-May/161923.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Cc: Arnout Vandecappelle <arnout@mind.be> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux-pam: uses fork(), needs MMUWaldemar Brodkorb2016-08-195-0/+7
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/8c9a5fe52f762b4ff4444cf41efdf0d3cf203986/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openmpi: disallow on sparcThomas Petazzoni2016-08-191-0/+4
| | | | | | | | | | | openmpi's configure script refuses to build on Sparc v8 architecture, so let's disable this package on sparc 32 bits entirely. Fixes: http://autobuild.buildroot.net/results/be6cb8e2437d345b709cf76357a4420e9beadb5c/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* hplip: needs dynamic libraryThomas Petazzoni2016-08-191-2/+4
| | | | | | | | | | | hplip needs libdl functionality, so it should depend on !BR2_STATIC_LIBS. Fixes: http://autobuild.buildroot.net/results/afc01af153b42d13845e2f2828f642e8ccea7e06/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/qlibc: drop a musl-compatibility patchYann E. MORIN2016-08-191-59/+0
| | | | | | | | | We now always have a sys/cdefs.h, so we can drop this patch. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/linknx: drop a musl-compatibility patchYann E. MORIN2016-08-191-37/+0
| | | | | | | | | We now always have a sys/cdefs.h, so we can drop this patch. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libsepol: drop a musl-compatibility patchYann E. MORIN2016-08-191-1074/+0
| | | | | | | | | We now always have a sys/cdefs.h, so we can drop this patch. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/bcusdk: drop a musl-compatibility patchYann E. MORIN2016-08-192-48/+0
| | | | | | | | | | | We now always have a sys/cdefs.h, so we can drop this patch. Renumber remaining patch. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/android-tools: drop musl-compatibility cdefs patching outYann E. MORIN2016-08-193-179/+43
| | | | | | | | | | | | | | | | We now always have a sys/cdefs.h, so we no longer need to patch it out. Simplify the patch by removing any hunk removing cdefs.h or the use of __BEGIN_DECLS/__END_DECLS. However, it must be included when macros it defines are being used. Also, renumber patches to guarantee ordering (static patch was added before big-endian one). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/aircrack-ng: drop a musl-compatibility patchYann E. MORIN2016-08-191-53/+0
| | | | | | | | | We now always have a sys/cdefs.h, so we can drop this patch. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rpcbind: fix musl buildYann E. MORIN2016-08-191-0/+243
| | | | | | | | | | | | | | | | | | | | | | rpcbind uses the __P() macro defined in sys/cdefs.h but does not includes it explicitly, relying on the glibc behaviour to include it from its own headers. But this macro does nothing but expands as its argument. In the past, it did provide support for pre-ANSI compilers that did not support function prototypes. Those are now gone, and glibc provides this macro for legacy code. Patch out the use of __P() altogether. Fixes: http://autobuild.buildroot.org/results/346/346c5b562c244ddb039db2f86f71d670a01ed9ce/ http://autobuild.buildroot.org/results/d77/d77454265c45539178c008c5d92509c441447675/ and numerous such autobuild failures 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>
* package/musl-compat-headers: provide compatibility headers not in muslYann E. MORIN2016-08-1911-37/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | musl provides neither sys/queue.h nor sys/cdefs.h. Those two headers are however quite widely used in a lot of packages (though they should at least not use cdefs.h which is only full of mostly-legacy macros, and which is mostly an internal header of glibc and was never really meant to be exposed to, and used by packages). But we don't live in an ideal world, so a lot of packages break when those two headers are missing. We already took care of sys/queue.h with the netbsd-queue package. But the need for cdefs.h is getting more and more pressing. We rename the netbsd-queue package into musl-compat-headers, and we make it install sys/queue.h (from NetBSD) and sys/cdefs.h (a minimalist one we bundle in Buildroot). We can't use the cdefs.h from NetBSD because it includes machine-dependent headers; instead we bundle a very minimalistic one, that covers only what we need. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* linux: cpupower needs gettextYann E. MORIN2016-08-192-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cpupower linux tool needs gettext, always (even without locales). We need to disable NLS, otherwise it tries to compile the .po files. We also need to pass -lintl, otherwise it forgets to link with it (because, the world is glibc-only, you did not know? And glibc does not need we link with -lintl, so why would we? Oh, yes, we also reinvented our super intelligent one-off Makefile rather than use one of the standard buildsystems). Fixes #9181: CC utils/helpers/sysfs.o In file included from utils/helpers/amd.c:9:0: ./utils/helpers/helpers.h:13:21: fatal error: libintl.h: No such file or directory #include <libintl.h> ^ Without NLS=false (yes, we could depend on host-gettext): MSGFMT po/de.gmo make[3]: msgfmt: Command not found Without LDFLAGS=-lintl: CC cpupower ./utils/cpupower.o: In function `main': cpupower.c:(.text.startup+0x1a4): undefined reference to `libintl_textdomain' ./utils/idle_monitor/cpupower-monitor.o: In function `list_monitors': cpupower-monitor.c:(.text+0x5dc): undefined reference to `libintl_gettext' ./utils/cpupower-set.o: In function `cmd_set': cpupower-set.c:(.text+0x38): undefined reference to `libintl_textdomain' ./utils/cpupower-info.o: In function `cmd_info': cpupower-info.c:(.text+0x20): undefined reference to `libintl_textdomain' collect2: error: ld returned 1 exit status Reported-by: Joergen Pihlflyckt <Jorgen.Pihlflyckt@ajeco.fi> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Joergen Pihlflyckt <Jorgen.Pihlflyckt@ajeco.fi> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* manual: fix typoRodrigo Rebello2016-08-191-1/+1
| | | | | Signed-off-by: Rodrigo Rebello <rprebello@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libiio: Add a patch to fix compilation with old glibcPaul Cercueil2016-08-191-0/+30
| | | | | | | | | | | Cherry-picked from upstream. Fixes: http://autobuild.buildroot.net/results/fa7f7db861c342f4d189f74b983ae9d2751cf29b/ Signed-off-by: Paul Cercueil <paul.cercueil@analog.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/rt-tests: add syscall-number for sched_(gs)etattr() for SH4Romain Naour2016-08-191-0/+34
| | | | | | | | | | | | | | | The dependency on kernel headers >= 3.14 was added by b9fa6c00b1213fd038f2aed52057f22c7e18fd4b since librttest requires __NR_sched_setattr and __NR_sched_getattr syscalls (rt-sched). But these syscalls have just been added to kernel 4.8 for SH4. Fixes: http://autobuild.buildroot.net/results/67fc16366717f34df492683a14ecd23376e23110 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* uclibc: ARC: Support syscall ABI v4Zakharov Vlad2016-08-191-0/+54
| | | | | | | | | | | | | When used with GCC 6 ABIv4 is used. Missing this patch leads to numerous runtime errors. The patch has already been accepted in uclibc-ng: http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=3e40f9669279f005f7154892539166f5081fbcb2 So the patch should be removed after update to a new version of uclibc-ng. Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* core/pkg-autotools: don't use APPLY_PATCHES for libtool patchesRomain Naour2016-08-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since [1] <package>-reconfigure target is broken. $ make elementary-reconfigure Applying buildroot-libtool-v2.4.4.patch using patch: Error: duplicate filename 'buildroot-libtool-v2.4.4.patch' Conflicting files are: already applied: buildroot/support/libtool/buildroot-libtool-v2.4.4.patch to be applied : buildroot/support/libtool/buildroot-libtool-v2.4.4.patch When a package uses AUTORECONF, the libtool patch can be applied a second time on the same ltmain.sh in the same directory as the <package>-reconfigure target is called. This is not a problem since autoreconf will overwrite the previously patched files. But with the check introduced by [1], apply-patches.sh throw an error when the package is reconfigured since the libtool patch is already present in .applied_patches_list. In addition to this, the .applied_patches_list file generated by apply-patches.sh while patching ltmain.sh is not in the top-level package source directory. Instead a duplicated .applied_patches_list is generated beside the patched ltmain.sh which can be in a subdirectory. As noticed by Arnout Vandecappelle [2], the apply-patches.sh script doesn't bring anything for the libtool patches. "apply_patches.sh does the following: * It handles directories -> not needed here. * It handles compressed patches and tarballs -> not needed. * It handles series files -> not needed. * It handles errors in case of multiple patches -> not needed since it's only one patch. * It detects errors based on *.rej files -> not needed since it's only a single patch so patch exit code is OK. * It writes the patch list -> for libtool, this is quite silly because it will be written in the directory where ltmain.sh is found, not in the top-level directory, so you have these patch lists spread over the source tree." So use patch directly rather than apply-patches. [1] 19241598147e7555dce40b6dd44b28ef22b67ed9 [2] http://lists.busybox.net/pipermail/buildroot/2016-August/169810.html Signed-off-by: Romain Naour <romain.naour@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* squeezelite: needs NPTLWaldemar Brodkorb2016-08-181-3/+3
| | | | | | | | | | | | It uses PTHREAD_PRIO_INHERIT, which isn't available in Linuxthreads. Fixes: http://autobuild.buildroot.net/results/455465c332d291929c1612d18a9e7448d9c76e73/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> [Thomas: drop comment about the NPTL dependency being related to alsa-lib, as it's not the case. Suggested by Baruch.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libconfuse: add optional dependency on gettextRahul Bedarkar2016-08-181-0/+4
| | | | | | | | | When available, libconfuse will use the libintl provided by the gettext package. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> [Thomas: make it really an optional dependency.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* nettle: add security patchGustavo Zacarias2016-08-182-0/+183
| | | | | | | | Fixes: CVE-2016-6489 - RSA code is vulnerable to cache sharing related attacks. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lldpd: explicit optional dependenciesYann E. MORIN2016-08-181-0/+8
| | | | | | | | | | check and valgrind are optional depenencies of lldpd, so we must depend on them when either is enabled. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pkg-cmake.mk: set CMAKE_SYSROOT variable in toolchainfile.cmakeSamuel Martin2016-08-181-0/+1
| | | | | | | | | | | | | | | | | | This change enforces the CMAKE_SYSROOT value set in the toolchainfile.cmake. This fix overrides the CMake heuristics used to guess it, and turns off some non-desirable behavior adding "-isystem ..." flags to the compiler command line, misleading the compiler and making the build failed due to some unfound standard headers. Fixes: http://autobuild.buildroot.net/results/f7e/f7e92678e91a6cb15ccf32d4a7d75b39f49d6000/defconfig (and others) Cc: Ben Boeckel <mathstuf@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ulogd: fix build with muslRahul Bedarkar2016-08-183-0/+906
| | | | | | | | | | | Add upstream patches to fix build issue with musl. Fixes: http://autobuild.buildroot.net/results/c42/c42db6f8c89df87e9b55d6c7aaf6098d64d8ffdb/ Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gnupg: security bump to version 1.4.21Baruch Siach2016-08-182-3/+5
| | | | | | | | | | Fixes CVE-2016-6313: An attacker who obtains 580 bytes from the standard RNG can trivially predict the next 20 bytes of output. Add cryptographically secure sha256 hash. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libgcrypt: security bump to version to version 1.7.3Baruch Siach2016-08-182-4/+4
| | | | | | | | | Fixes CVE-2016-6316: Bug in the mixing functions of Libgcrypt's random number generator. An attacker who obtains 4640 bits from the RNG can trivially predict the next 160 bits of output. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* stella: fix compiler search in configure scriptZakharov Vlad2016-08-171-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In configure script there are some tests that are looking for a suitable compiler. For this purpose script tries to compile and link some C++ code that is hardcoded in the body of script. The problem is that only linker flags ($LDFLAGS) are passed to the compiler when the script is compiling test code. Therefore some necessary command line options can be lost and this would lead to errors. This exactly happens to ARC: 1. -matomic option is lost as it compiler option, 2. test code compilation fails, 3. the script decides not to use arc-buildroot-linux-uclibc-g++, 4. scipt checks host compiler (x86_64-linux-gnu-g++ in your case), 5. package is being built for x86_64, not for ARC. About last 2 steps - I don't know why configure script should try to build stella for host machine. As for me an error should be raised and a build should be stopped. But this is up to stella developers. Current patch adds compiler options ($CXXFLAGS) when compiling test code in configure script. Fixes stella build for ARC, e. g.: http://autobuild.buildroot.net/results/c23/c23d655137b1c1825b1da69b18307c6a1d4b23b8// [Peter: s/CPPFLAGS/CXXFLAGS/] Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* busybox: add upstream fixes for 1.25.0Gustavo Zacarias2016-08-173-0/+56
| | | | | | | | | Add upstream patches to fix gzip (bug #9131 - incorrect compression levels), ip (route add bug) and ntpd (CVE-2016-6301 - NTP server denial of service). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Update for 2016.08-rc2Peter Korsgaard2016-08-174-10/+61
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* website/news.html: fix 2016.08-rc1 release datePeter Korsgaard2016-08-171-1/+1
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* website/news.html: add 2016.08-rc1 announcement linkPeter Korsgaard2016-08-171-1/+2
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* jasper: add security patchesGustavo Zacarias2016-08-175-0/+262
| | | | | | | | | | | | | | Fixes: CVE-2016-2116 - Memory leak in jas_iccprof_createfrombuf causing memory consumption. CVE-2016-1577 - Double free vulnerability in jas_iccattrval_destroy. CVE-2016-1867 - out-of-bounds read in the jpc_pi_nextcprl() function. CVE-2015-5221 - Use-after-free and double-free flaws in Jasper JPEG-2000 library. CVE-2015-5203 - double free in jasper_image_stop_load() Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* wayland: fix musl build issueRahul Bedarkar2016-08-171-0/+31
| | | | | | | | | | | | | | | | | | | | | | | With musl C library, we see following build failure. src/scanner.c: In function 'find_enumeration': src/scanner.c:811:2: error: unknown type name 'uint' uint idx = 0, j; ^ uint is defined in <sys/types.h> header. It is usually included by <stdlib.h> but in musl stdlib.h doesn't include it. This patch adds upstream patch where uint32_t is used instead of uint. Fixes: http://autobuild.buildroot.net/results/fcf/fcf6dd3bd31f92eadbcae17338e5887a23e43ff9/ Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mtd: fix musl build issueRahul Bedarkar2016-08-171-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | With musl C library, we get following build error integck.c:37:28: fatal error: bits/stdio_lim.h: No such file or directory #include <bits/stdio_lim.h> ^ compilation terminated. make[2]: *** [integck] Error 1 Header <bits/stdio_lim.h> is not available in musl C library. However <stdio.h> has all definition that <bits/stdio_lim.h> supposed to be providing. Moreover <bits/stdio_lim.h> shouldn't be included directly instead we should be using <stdio.h>. Since we already include <stdio.h> and in case of uClibc or glibc <bits/stdio_lim.h> gets included internally, we can safely remove it. Fixes: http://autobuild.buildroot.net/results/175/1754861457af520480cc34d7d2d0edff2868ff66/ Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/qt: webkit needs gst-plugins-baseYann E. MORIN2016-08-172-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QtWebkit needs gstreamer-0.10 and the 'app' plugins, so we depend on gstreamer and select the required plugins. We can't select gstreamer as that would cause circular dependencies in kconfig: package/kodi/Config.in:37:error: recursive dependency detected! package/kodi/Config.in:37: symbol BR2_PACKAGE_KODI depends on BR2_PACKAGE_KODI_EGL_GLES package/kodi/Config.in:16: symbol BR2_PACKAGE_KODI_EGL_GLES depends on BR2_PACKAGE_HAS_LIBEGL package/opengl/libegl/Config.in:1: symbol BR2_PACKAGE_HAS_LIBEGL is selected by BR2_PACKAGE_MESA3D_OPENGL_EGL package/mesa3d/Config.in:150: symbol BR2_PACKAGE_MESA3D_OPENGL_EGL is selected by BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL package/mesa3d/Config.in:92: symbol BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL depends on BR2_PACKAGE_MESA3D package/mesa3d/Config.in:1: symbol BR2_PACKAGE_MESA3D is selected by BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV package/x11r7/xdriver_xf86-video-imx-viv/Config.in:1: symbol BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV depends on BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 package/freescale-imx/imx-gpu-viv/Config.in:34: symbol BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 is part of choice <choice> package/freescale-imx/imx-gpu-viv/Config.in:27: choice <choice> contains symbol <choice> package/freescale-imx/imx-gpu-viv/Config.in:27: choice <choice> contains symbol BR2_PACKAGE_FREESCALE_IMX package/freescale-imx/Config.in:1: symbol BR2_PACKAGE_FREESCALE_IMX is selected by BR2_PACKAGE_GST_FSL_PLUGINS package/gstreamer/gst-fsl-plugins/Config.in:8: symbol BR2_PACKAGE_GST_FSL_PLUGINS depends on BR2_PACKAGE_GSTREAMER package/gstreamer/gstreamer/Config.in:5: symbol BR2_PACKAGE_GSTREAMER is selected by BR2_PACKAGE_QT_WEBKIT package/qt/Config.in:464: symbol BR2_PACKAGE_QT_WEBKIT depends on BR2_PACKAGE_QT package/qt/Config.in:5: symbol BR2_PACKAGE_QT is selected by BR2_PACKAGE_PYTHON_PYQT package/python-pyqt/Config.in:5: symbol BR2_PACKAGE_PYTHON_PYQT depends on BR2_PACKAGE_PYTHON package/python/Config.in:5: symbol BR2_PACKAGE_PYTHON is selected by BR2_PACKAGE_KODI This one is fairly complicated to fix properly, so it is easier to just depend on gstreamer. Also rework the comment when QtWebkit is not available. Fixes: http://autobuild.buildroot.org/results/84d/84d338b70c8ce3f21dd202de387326f18526aa63/ http://autobuild.buildroot.org/results/379/379ad4eadf5af7e1d5b977bc229d3fcaba25b4fe/ [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux: bump defaut to version 4.7.1Gustavo Zacarias2016-08-171-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux-headers: bump 3.14.x and 4.{4, 6, 7}.x seriesGustavo Zacarias2016-08-171-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libsidplay2: Fix build with gcc6Bernd Kuhls2016-08-171-0/+44
| | | | | | | | | Fixes http://autobuild.buildroot.net/results/787/787c715814b09d380ca521712f54cbcf5ae121d6/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ffmpeg: don't pass --enable-mipsfpu on non-MIPS platformThomas Petazzoni2016-08-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | The current logic to pass the --{enable,disable}-mipsfpu option is: ifeq ($(BR2_MIPS_SOFT_FLOAT),y) FFMPEG_CONF_OPTS += --disable-mipsfpu else FFMPEG_CONF_OPTS += --enable-mipsfpu endif In practice, this means that on MIPS soft-float, --disable-mipsfpu is passed, and that in *all* other cases, --enable-mipsfpu is passed, including if we are *not* targetting the MIPS architecture. Even though this doesn't seem to cause any problem, it is a bit weird to see --enable-mipsfpu when you're building ffmpeg for a non-MIPS architecture, so we better fix this by enclosing the MIPS-related options in a MIPS condition. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ffmpeg: explicitly disable NEON supportThomas Petazzoni2016-08-171-0/+2
| | | | | | | | | | | | | When BR2_ARM_CPU_HAS_NEON=y, we pass --enable-neon. However, when BR2_ARM_CPU_HAS_NEON is disabled, we don't pass anything. This generally works fine, but turned out to integrate NEON code in ARMv7-M builds (since it's ARMv7, ffmpeg assumed it should enable NEON code). Even though ffmpeg is now disabled for ARMv7-M, it still makes sense to be explicit, and disable NEON support when the CPU doesn't have it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* spidev_test: fix musl buildBaruch Siach2016-08-171-0/+9
| | | | | | | | | | | | | | | | | | | | spidev.h needs _IOC_SIZEBITS. Add linux/ioctl.h for that to fix build under musl. The patch suggested upstream (https://patchwork.kernel.org/patch/9276909/) does not apply to the spidev_test.c version we currently use. A backported patch would break once we bump spidev_test.c. A bump+patch solution would break if/when upstream accepts this patch. That's why this commit uses the unusual sed patching to keep compatibility with current and future spidev_test.c versions. Fixes: http://autobuild.buildroot.net/results/128/1284a36c70ff8a1412e2128266c6654b2aa5b2da/ http://autobuild.buildroot.net/results/0ad/0adea6121b238adf0e64d455a7573b1a31c38264/ http://autobuild.buildroot.net/results/21b/21b92651ce456f3819eef315cecd92ff70b9e98f/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/sg3_utils: fix uclinux buildYann E. MORIN2016-08-162-0/+19
| | | | | | | | | | | | | | | | | | | | | sg3_utils grep for '^linux' as the host OS to decide if we are targetting Linux. However, on noMMU targets, the host OS can be 'uclinux' instead of just plain 'linux', which make sg3_util confused and thus it forgets to include some source files in the build, resulting in link failures. Fix that by ammending the regexp that recognises Linux. We now need to run autoreconf. Fixes: http://autobuild.buildroot.org/results/79a/79a572f67bafa6a007256a5f22529c2daabd5733/ http://autobuild.buildroot.org/results/4f7/4f7ea4bb4c4c12ceb9cd08bfb6720386f5bdea0b/ [Peter: fix typos as pointed out by Arnout] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/quota: fix static build with e2fsprogsYann E. MORIN2016-08-161-0/+5
| | | | | | | | | | | | | | | | | quota does not use pkg-config to find e2fsprogs libs, so it misses out on the fact that it may require -pthread when doing static links. Fix that by manually adding -pthread in case of the static build (of course, only if the toolchain has threads). Fixes: http://autobuild.buildroot.org/results/733/733145e94d7c4f3b11e867c60a1e8f8e049a3ce0/ http://autobuild.buildroot.org/results/666/6666f7c07339830fb45a5decb8825560ee432ce5/ http://autobuild.buildroot.org/results/f5b/f5b1d57bd26adaf125555b97ff1eb9faf223a293/ [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/axel: fix link orderYann E. MORIN2016-08-161-2/+3
| | | | | | | | | | | | | libintl may use thread-related functions, so -lpthread must come after -lintl. Fixes: http://autobuild.buildroot.org/results/e9d/e9d89fd5b24a76a3c5ab9dc8f01f4643f7c13396/ [Peter: use -lpthread in comment as suggested by Arnout] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux: fix comment about version choiceYann E. MORIN2016-08-161-4/+3
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* barebox: fix ARCH value for arm64Raphaƫl Poggi2016-08-161-0/+2
| | | | | | | | barebox 2016.08 added arm64 support using ARCH=arm. [Peter: extend commit message to clarify] Signed-off-by: Raphael Poggi <poggi.raph@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* uclibc: add upstream patch for CVE-2016-4429Waldemar Brodkorb2016-08-161-0/+59
| | | | | | | | Add security related bugfix to fix CVE-2016-4429 from GNU libc project. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* poco: fix m68k compileWaldemar Brodkorb2016-08-161-0/+19
| | | | | | | | | | | | Add a patch from double-conversion upstream project which is bundled with poco to fix compile for m68k. Fixes: http://autobuild.buildroot.net/results/791917c1343f53e12f27b06cfd5e1d2e88078014/ http://autobuild.buildroot.net/results/349d4b49d65a652551c4de20233684bb4ffa5ae3/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud