summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update for 2015.08-rc2Thomas Petazzoni2015-08-244-6/+50
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* apitrace: bump to version 7.0Vicente Olivert Riera2015-08-241-1/+1
| | | | | | | | | | | | | | | Our current apitrace version can't detect the host-python version correctly, so if both host-python and host-python3 where installed, it will take the last one and it will fail with an "invalid syntax" error. The latest apitrace version has this problem solved and it detects the host-python version correctly. Fixes: http://autobuild.buildroot.net/results/22a/22a73b4ba0adcc874ecc153917ae6edcfd4d37af/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* tftpd: fix init scriptPeter Korsgaard2015-08-241-2/+2
| | | | | | | The daemon binary is tftpd, not in.tftpd. While we are at it, drop the unneeded /usr/local from the PATH. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/dropbear: fix when readlink is from busyboxYann E. MORIN2015-08-243-3/+3
| | | | | | | | | | | | | | | | | | Busybox "readlink -f" does not canonicalise paths when the target is missing, while coreutils do. Fix that by: - making an absolute symlink - dropping "-f" when calling readlink Fixes #8276. Reported-by: Jason Tang <tang@jtang.org> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Paul Cercueil <paul@crapouillou.net> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com> Tested-by: Jason Tang <tang@jtang.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* arch/arm: add missing arm1136j-s variantPeter Korsgaard2015-08-241-0/+6
| | | | | | Identical to arm1136jf-s, except that is doesn't have a vfp unit. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux: enable all options needed by xtables-addonsYann E. MORIN2015-08-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | Both of CONFIG_NF_CONNTRACK and CONFIG_NF_CONNTRACK_MARK are needed by xtables-addons. Although the current code does enable them in the linux' .config file, the former is protected behind CONFIG_NETFILTER_ADVANCED, which may be missing from a user-supplied (def)config file, and is missing from some of the bundled defconfigs as well. For example, the following defconfig fails to build: BR2_TOOLCHAIN_EXTERNAL=y BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_DEFCONFIG="i386" BR2_PACKAGE_XTABLES_ADDONS=y So, also force-enable CONFIG_NETFILTER_ADVANCED. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: add comment about ipkg/opkg/rpmYann E. MORIN2015-08-231-0/+12
| | | | | | | | | | | | | | | | | | Too often the question is raised, that ipkg, opkg and rpm do not work, and users complain they can not install packages. Even though we do have a clear and clearly explained section in our manual, people do not read it (when will users read manuals? sigh...). So, add a big fat comment about ipkg/opkg/rpm, that Buildroot does not generate binary packages and does not provide any package database for any of those package manager. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/librtas: only show comment on supported architecturesYann E. MORIN2015-08-201-0/+1
| | | | | | | | | | librtas is only available for PPC and PPC64, so only show the comment about the (e)glibc dependency for those archs. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Sam Bobroff <sam.bobroff@au1.ibm.com> Reviewed-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/weston: mark the RDP backend as brokenYann E. MORIN2015-08-201-0/+5
| | | | | | | | | | | | | | | | | weston needs FreeRDP from master, as it uses new settings only introduced in there. Since it is too late in the release cycle to bump FreeRDP, just mark the weston RDP backend as broken. Fixes: http://autobuild.buildroot.org/results/ef6/ef685a41a56e81dc93a40f23f8cd55860f44e055/ http://autobuild.buildroot.org/results/c42/c42d72498e05364a718748caef74bba6c423d7d1/ http://autobuild.buildroot.org/results/c78/c783695a5b1a18976361ea36627505b281b11781/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libselinux: mark as not available on ARCThomas Petazzoni2015-08-194-2/+9
| | | | | | | | | | | | | | | libselinux causes some build problems due to the toolchain on ARC, which haven't been solved so far. As a temporary solution for Buildroot 2015.08, this commit makes libselinux (and its reverse dependencies) unavailable on ARC. Of course, once the toolchain problem is addressed, this commit can be reverted to re-enable libselinux on ARC. Fixes: http://autobuild.buildroot.org/results/220/2207f6aad44a6988bf07b02b583b6418ad930dc8/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boost: fix build on ARCThomas Petazzoni2015-08-191-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a patch to Boost to make it use the eventfd() function provided by the C library when uClibc is used, rather than falling back to using directly the __NR_eventfd system call. This fixes the build on ARC, which doesn't define __NR_eventfd. The original problem is that uClibc pretends to be glibc 2.2, which didn't had eventfd(), so Boost makes the system call manually. uClibc-ng, in its next release, will pretend to be glibc 2.10 (see http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=4ff3a6c8eb91db71d6dc3d2932b66e848bd20ac3), which will also fix the problem, but requires bumping the uClibc version, rebuilding the external toolchains, and so on. Ideally, Boost should be doing a compile test to detect if eventfd() is available or not, but the Boost build system is so brain-damaged that doing so would require way too much effort. Fixes: http://autobuild.buildroot.org/results/22b/22b710346d2cd78b7b51cdccd18d670bb6ac5d24/ and many similar build failures [Peter: minor tweaks to description] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mono: depend on shared library supportThomas Petazzoni2015-08-191-2/+4
| | | | | | | | | | | | | | | The mono source code includes <dlfcn.h>, which is only available when shared library support is available. While it might be possible to do a fully static installation of Mono, it probably isn't very useful. While we're at it, this commit also makes sure that the Config.in comment is not visible when the architecture doesn't support Mono. Fixes: http://autobuild.buildroot.net/results/5d99bdf77f1942fa403081267c362aa1f8fd0dab/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* qt5base: install libQt5XcbQpa.so for xcb backendMatthew Shyu2015-08-191-0/+1
| | | | | | | | | | | When the XCB backend is selected, the libqxcb.so plugin is installed, and is linked against libQt5XcbQpa.so. However, until, Buildroot was not installing this library. This commit fixes this. [Thomas: tweak commit log.] Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpthsem: fix setjmp/longjmp detectionThomas Petazzoni2015-08-191-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libpthsem has been affected since quite a while by build issues, but occuring only on Nathaniel Roach's autobuilder. The failure message is: error: #error "Unsupported Linux (g)libc version and/or platform" This message comes from pth_mctx.c file, which implements five methods for machine context initialization: VARIANT 1: THE STANDARDIZED SVR4/SUSv2 APPROACH VARIANT 2: THE SIGNAL STACK TRICK VARIANT 3: LINUX SPECIFIC JMP_BUF FIDDLING VARIANT 4: INTERACTIVE SPECIFIC JMP_BUF FIDDLING VARIANT 5: WIN32 SPECIFIC JMP_BUF FIDDLING The "Unsupported (g)libc version and/or platform" only appears when "VARIANT 4" is used, since VARIANT 4 only supports a very limited number of platforms. So when building with Nathaniel's autobuilder, VARIANT 4 is chosen. However, when you build libpthsem on some other machine than Nathaniel's autobuilder, VARIANT 2 is chosen, and works regardless of the glibc version or architecture. VARIANT 2 is chosen when: !PTH_MCTX_DSP(sjljlx) &&\ !PTH_MCTX_DSP(sjljisc) &&\ !PTH_MCTX_DSP(sjljw32) On both Nathaniel's autobuilder, and on a different machine, the PTH_MCTX_MTH macro gives sjlj: #define PTH_MCTX_MTH_use PTH_MCTX_MTH_sjlj However, on a "normal" machine, the PTH_MCTX_DSP macro gives ssjlj: #define PTH_MCTX_DSP_use PTH_MCTX_DSP_ssjlj While on Nathaniel's autobuilder, it gives: #define PTH_MCTX_DSP_use PTH_MCTX_DSP_sjljlx This explains why VARIANT 4 is being used on Nathaniel's autobuilder, while VARIANT 2 is used when building on other platforms. The decision of the value for PTH_MCTX_DSP is derived as follows in configure.ac: AC_CHECK_SJLJ(sjlj=yes, sjlj=no, sjlj_type) [...] elif test ".$sjlj" = .yes; then mctx_mth=sjlj mctx_dsp=$sjlj_type [...] AC_DEFINE_UNQUOTED(PTH_MCTX_DSP_use, [PTH_MCTX_DSP_$mctx_dsp], [define for machine context dispatching]) So basically, the value of PTH_MCTX_DSP is $sjlj_type, as returned by the AC_CHECK_SJLJ autoconf macro, implemented in acinclude.m4. However, reading this macro is quite informative: it does a number of tests that are not cross-compile friendly. Especially, it looks at the kernel version with 'uname -r' to decide whether the Linux system is braindead or not. If the system runs a 2.2.x kernel or newer 2.x, or a 3.x kernel, everything is fine, the system is not braindead, and sjlj_type is set to ssjlj. However, if the build system runs a 4.x kernel, then it is considered as braindead, and sjlj_type is set to sjljlx. And indeed, Nathaniel's autobuilder is running a 4.x kernel, while all other autobuilders run 2.x or 3.x kernels. Since for all sane Linux systems, this AC_CHECK_SJLJ macro concludes that the setjmp/longtmp type is ssjlj, this commit takes the simplest route of forcing this value, skipping the broken detection. Note that we're overriding ac_cv_check_sjlj instead of using the --with-mctx-* options, since the latter do not work properly in the context of Nathaniel's autobuilder, as the broken cross-compilation tests continue to cause problems. Fixes: http://autobuild.buildroot.org/results/3dd/3dd66d70c2e36f2d9fb0a0fe01bbdec009d55067/ and many similar build failures This patch has been tested by Nathaniel Roach in the context of his autobuilder instance which was causing the original problem. Tested-by: Nathaniel Roach <nroach44@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libiio: test programs require threadsBaruch Siach2015-08-181-0/+4
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/228/228a32167d05337acf17b0e3689aa91e8a67d8fb/ http://autobuild.buildroot.net/results/86a/86adb968659fec56684ba80e1c4230230fd7a1c8/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fs: iso9660: change boot menu entry textVivien Didelot2015-08-181-2/+3
| | | | | | | | | | Replace Grub-specific "menu.lst" with "menu config" in the BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU Kconfig entry text, and mention missing grub.cfg for Grub 2. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/protobuf: needs dynamic librariesYann E. MORIN2015-08-183-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eventhough it should be theoretically possible to build protobuf in static-only, configure.ac includes an m4 macro, ACX_PTHREAD defined in m4/acx_pthread.m4, which forcibly checks for threads *with* shared libs, and is completely broken for static-only (as it forces -shared whatever the user selection), ending up with these configure results: checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking whether to check for GCC pthread/shared inconsistencies... yes checking whether -pthread is sufficient with -shared... no checking whether -lpthread fixes that... no checking whether -lc_r fixes that... no configure: WARNING: Impossible to determine how to use pthreads with shared libraries checking whether what we have so far is sufficient with -nostdlib... no checking whether -lpthread saves the day... no configure: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib Fixing this macro is far from trivial; protobuf in a static-only scenario is probably not too common. So, just disable protobuf for static-only builds. Fixes: http://autobuild.buildroot.org/results/3ef/3efb86c7e8ec2db5d953d634470cafae79bd34cf/ http://autobuild.buildroot.org/results/96a/96ae1108fc3193df2a93a779057130b774379655/ http://autobuild.buildroot.org/results/00c/00c29795980319d38823eec1301e9ebd860ebd2a/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Nimai Mahajan <nimaim@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/protobuf-c: threads dependency is a direct dependencyYann E. MORIN2015-08-181-1/+1
| | | | | | | | | | | | | | Currently, protobuf-c's dependency on threads is labelled as being inherited from protobuf. This is wrong, as protobuf-c does not depend on protobuf, and such dependency was removed in e16865a (protobuf-c: Don't require protobuf on target), but forgot to remove the corresponding comment. Remove it now. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ola: Add patch to fix linking issueSimon Marchi2015-08-181-0/+26
| | | | | | | | | | | | | | | | | | | | This patch fixes this autobuild failure: http://autobuild.buildroot.net/results/e14/e14e1700d4fe359c56be57587bdb509e002e5753/build-end.log The problem is caused by the -fvisibility-inlines-hidden switch. Removing the switch is probably the least intrusive way we can make the problem go away. The first solution that was considered was to move the definition of the offending method to the .cpp file. However, with other combinations of compilers and platforms, I suppose it could happen with other methods as well. Removing the switch ensures we catch them all. Built-tested with the config from the build bot, as well as with all OLA options/plugins enabled. Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* webkitgtk24: fix MIPS64 n64 ABI detectionVicente Olivert Riera2015-08-181-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | webkitgtk24 is failing to compile for MIPS64 n64 because the ABI is not detected correctly. It causes failures like these ones: ./Source/JavaScriptCore/runtime/JSCJSValueInlines.h:201:53: error: cast from 'JSC::JSCell*' to 'int32_t {aka int}' loses precision [-fpermissive] [snip] ./Source/WTF/wtf/StdLibExtras.h:137:5: error: static assertion failed: bitwise_cast size of FromType and ToType must be equal! Bug report: https://bugs.webkit.org/show_bug.cgi?id=145113 Upstream patch: http://trac.webkit.org/changeset/185863 Fixes: http://autobuild.buildroot.net/results/0d5/0d56a5bf6e92e7344dcee7acb85e176198f703e7/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* msmtp: don't try to use IDN featureViallard Anthony2015-08-181-0/+1
| | | | | | | | | | | | | | | | | autoconf can't detect if AI_IDN is really supported (http://sourceforge.net/p/msmtp/code/ci/907916e8089ea9303a7c091b763087530c88a063/), so a --disable-gai-idn flag was added to explicitly disable the usage of IDN. Before this patch, msmtp failed to send mail with the following output: msmtp: cannot locate host smtp.mandrillapp.com: Bad value for ai_flags [Thomas: tweak commit log.] Signed-off-by: Anthony Viallard <viallard@syscom-instruments.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* wireshark: security bump to version 1.12.7Gustavo Zacarias2015-08-182-4/+4
| | | | | | | | | | | | | | | | Fixes: wnpa-sec-2015-21 - Protocol tree crash. wnpa-sec-2015-22 - Memory manager crash. wnpa-sec-2015-23 - Dissector table crash. wnpa-sec-2015-24 - ZigBee crash. wnpa-sec-2015-25 - GSM RLC/MAC inifite loop. wnpa-sec-2015-26 - WaveAgent crash. wnpa-sec-2015-27 - OpenFlow infinite loop. wnpa-sec-2015-28 - Ptvcursor crash. wnpa-sec-2015-29 - WCCP crash. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mosh: fix dependenciesYann E. MORIN2015-08-181-3/+4
| | | | | | | | | | | | | | | | mosh selects protobuf, so it needs to propagate *all* its dependencies. Fixes: http://autobuild.buildroot.org/results/1e7/1e7d28018252fa48ee1ccd68d0a21afb3e0f072f/ http://autobuild.buildroot.org/results/a91/a91ea29454a6f8eefc0bf4f0eb137dd8e061f028/ http://autobuild.buildroot.org/results/ecb/ecb67c1d1b04a79ad9fbe4a09121ec492fe1501c/ [...] [Thomas: add missing C++ comment.] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Christian Stewart <christian@paral.in> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* gnutls: security bump to version 3.3.17.1Gustavo Zacarias2015-08-182-2/+2
| | | | | | | Fixes GNUTLS-SA-2015-3 - Double free in certificate DN decoding. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain/external: ensure gcc version is knownYann E. MORIN2015-08-181-0/+4
| | | | | | | | | | | | | | Currently, when a preconfigured prebuilt toolchain forgets to specify its gcc version, the error message is a bit misleading, like: Incorrect selection of gcc version: expected .x, got 4.9.2 Add a an explicit check for the gcc version being set, that reports a better error message. 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/systat: fix linking with -lintlYann E. MORIN2015-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | When linking, libraries should be listed in the reverse-dependency order, that is the library/ies with no dependency last, preceded by libraries that depend on them. And most importantly, libraries should be listed *after* the local objects, .o files. Currently, sysstat uses CFLAGS to shoehorn the -lintl linker flags, which is incorrect, as the CFLAGS are passed before the object files. However, sysstat has a LFLAGS variable that, presumably, is to be used to pass linker flags. This is where we want to shoehorn -lintl. Fixes: http://autobuild.buildroot.org/results/8cc/8cc547074de23b9482ad110234ef7458a44e174a/ http://autobuild.buildroot.org/results/360/360f7b8252dc9f6bb47841b1d7207a121f90048c/ http://autobuild.buildroot.org/results/04c/04cfc76a09e089985549a4320f34f6669d21cab5/ http://autobuild.buildroot.org/results/818/818c08decf4a6190a9ed39915eae4cd3d2779880/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lightning: requires share library supportBaruch Siach2015-08-181-0/+6
| | | | | | | | | | | | Uses -ldl unconditionally. Fixes: http://autobuild.buildroot.net/results/55d/55d30db7212863d9f898bb929f0c75d529036bad/ http://autobuild.buildroot.net/results/6c3/6c37a1cd353b7cac854cc85d29a8232233414c68/ http://autobuild.buildroot.net/results/459/459ab12bc3eeb493f39efa2450bc829a351ee3a3/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nbd: fix static buildsYann E. MORIN2015-08-181-0/+28
| | | | | | | | | | | | Fixes: http://autobuild.buildroot.org/results/aa8/aa8a1ac35a93e1c8b9fddbc2b5d66ecaa921f31e/ (arm) http://autobuild.buildroot.org/results/e5b/e5bd05623dd6c57bb0338592ecd21a5ba0cbe95a/ (arc) http://autobuild.buildroot.org/results/e0f/e0fd23eec2dd31bece122d84515b2b7cb14594b8/ (ppc) http://autobuild.buildroot.org/results/3a2/3a2d4124f78d4e504e8e961fabe038e570923408/ (mips) ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/bwm-ng: fix build failures with gcc-5Yann E. MORIN2015-08-183-4/+4
| | | | | | | | | | | | | | | | | | | | Bumping to the latest release, for 0.6 -> 0.6.1 to fix gcc-5 build failures due to incorrect definitions of 'static' functions. The project also has a new home. Fixes: http://autobuild.buildroot.org/results/546/546b332cf95a48412d88add2feec2ffd4712857c/ http://autobuild.buildroot.org/results/751/751797f3b97839f69626682ce81dca9bcb2cff22/ ... [Thomas: keep only the locally calculated sha256 hash, and do not mention the commented SF.net hash, since SF.net is no longer the official upstream location.] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libpfm4: disable WerrorJörg Krause2015-08-181-1/+2
| | | | | | | | | | | | | | | | | | Set `DBG` to an empty value to disable -Werror when building libpfm4. Build aborts with a musl toolchain because of warnings about redirecting incorrect header includes. So -Werror shouldn't be used in released code since it can cause random build failures on moderate warnings. It also depends on the used toolchain since different toolchains may or may not print the same warnings. Fixes: http://autobuild.buildroot.net/results/6df/6df9b94a79be1dc5ba878f7b67bf9ad4ce2f2e98/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/audit: not available for muslYann E. MORIN2015-08-182-2/+4
| | | | | | | | | | | | | | | | | | | audit uses strndupa() which is missing from musl. Even though the implementation of strndupa is not too complex, we won't go as far as duplicating it in audit, and we just disable audit for the musl C library. Fixes; http://autobuild.buildroot.org/results/e22/e22a70f9ff14bc52f642a6135da44c14e41b6cbb/ http://autobuild.buildroot.org/results/233/2333c9b3d8f81b15602263b918d422e440f09d60/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Cc: Matthew Weber <matthew.weber@rockwellcollins.com> Cc: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/cifs-utils: add upstream patch to fix musl buildJörg Krause2015-08-171-0/+31
| | | | | | | | | | | | | | | | | | | | | Fixes build error with the musl C library: ``` error: '_PATH_MOUNTED' undeclared (first use in this function) ``` Fixes: http://autobuild.buildroot.net/results/44e/44e800d9933160c48b9c2447d63eeb37a0065d03/ http://autobuild.buildroot.net/results/b9f/b9f918bba4952566e3818fb99f45a7e425acf727/ http://autobuild.buildroot.net/results/8de/8dec8c46ad1959066101efe7cc1781f3d4732028/ http://autobuild.buildroot.net/results/cc3/cc38e7581b4bba362a9be388099b0ea237f4e580/ and many more. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/beecrypt: fix C++ supportYann E. MORIN2015-08-172-2/+5
| | | | | | | | | | | | C++ support unconditionally needs shared libraries; it uses dlopen/dlsym. Also, fix the conditions under which the comment is shown. Finally, explicitly require C++ support when configuring. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* clapack: fix build with muslAlex Suykov2015-08-172-0/+40
| | | | | | | | | | Fixes http://autobuild.buildroot.net/results/a94f097193cd5444dee5cd9df9d544ce736a7e7e/ http://autobuild.buildroot.net/results/036014e492f7caf793b92a9822ab6a0b1a54f2e8/ Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libnetfilter_queue: fix build with muslYann E. MORIN2015-08-171-0/+45
| | | | | | | | | | | | Backport a patch from upstream. Fixes: http://autobuild.buildroot.org/results/59b/59bd31c10a0d445d2ea56550a36920ecb2ef89ed/ http://autobuild.buildroot.org/results/60a/60ab98b4cf909b04a57207b2326e9f8080d1721b/ http://autobuild.buildroot.org/results/7db/7db3a5c2bebabfdc26947f45382893bb14656617/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/oprofile: fix static linkingYann E. MORIN2015-08-171-0/+6
| | | | | | | | | | | | | | | | | | When getext is enabled, popt links with -lintl, specifies it in its popt.pc and has done so for the past 6+ years. But oprofile does not use pkconfig to find popt, so misses -lintl, which is important for a static build. We have to do the call to pkgconfig manually... Fixes: http://autobuild.buildroot.org/results/a48/a485f2171a3fcbfa2e0e5aec8e653cf88512615d/ http://autobuild.buildroot.org/results/b37/b374874f1915ab1d7aa6262604ccc8db102bb0b0/ http://autobuild.buildroot.org/results/261/2616a63081ed8c55c7ca1a6879b1a6a14e19f918/ http://autobuild.buildroot.org/results/73f/73f34ab59d54ded68ff60608a0212a6e5a5190e5/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/dosfstools: fix build with muslYann E. MORIN2015-08-171-0/+45
| | | | | | | | | | | | | | | Use correct and standard int types. Fixes: http://autobuild.buildroot.org/results/a09/a0923d7f6d4dbae02eba4c5024bbdae3a52aa85a/ http://autobuild.buildroot.org/results/62b/62b1a71c4fedb6f9209663e7544d7a36fb42c580/ http://autobuild.buildroot.org/results/e80/e808e692220ced315d30d8ee9c93bdf4a5e32a03/ http://autobuild.buildroot.org/results/7b7/7b778b7a9ec8c91ec3cea6ee81c6f5c75f0b959a/ [Thomas: update upstream status.] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pkg-kernel-module: die if kernel module support is disabledNoé Rubinstein2015-08-171-0/+4
| | | | | | | | | | | | Test the configuration of the kernel to see if loadable module support is enabled, and error out otherwise. This makes build failures of external kernel modules less confusing. [Thomas: tweak the commit log.] Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libv4l: update homepage linkBaruch Siach2015-08-171-1/+1
| | | | | | | | The official wiki page is more informative and up to date. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* fs/common: add <fs>_POST_GEN_HOOKS supportThomas Petazzoni2015-08-101-0/+4
| | | | | | | | | | | | | | | | | The common filesystem infrastructure already supports a <fs>_PRE_GEN_HOOKS variable, which allows filesystem makefiles to register some actions to be done before the root filesystem image is generated. This commit adds a similiar <fs>_POST_GEN_HOOKS variable, which will allow filesystem makefiles to do some actions after the filesystem image has been generated. It will initially be used by the iso9660 filesystem to delete the temporary directory it creates. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* postgresql: fix sparc compile issueWaldemar Brodkorb2015-08-101-0/+38
| | | | | | | | | | | | | | | Fixes autobuilder compile error: http://autobuild.buildroot.net/results/f374d3535cf91f139ce80703cd2d0a2be5d3b2b1/ The predefines are wrong: ./output/host/usr/bin/sparc-buildroot-linux-uclibc-gcc -dM -E - </dev/null|grep sparc #define sparc 1 #define __sparc__ 1 #define __sparc 1 #define __sparc_v8__ 1 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/util-linux: fix vipw build with muslRomain Naour2015-08-101-0/+35
| | | | | | | | | | | | | | __P() is used for compatibility with old K&R C compilers. With ANSI C this macro has no effect. This fixes a compilation error with musl libc because of undeclared __P. Fixes: http://autobuild.buildroot.net/results/237/2377ae85bb9d85ba4c02706207f0b3bde3ccd027 Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/php: security bump to version 5.6.12Bernd Kuhls2015-08-102-2/+2
| | | | | | http://www.php.net/ChangeLog-5.php#5.6.12 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* tinc: disable PIE on ARCAlexey Brodkin2015-08-101-0/+6
| | | | | | | | | | | | | | | | Even though ARC gcc understands "-pie" option and attempts to generate PIE binaries as of today PIE is not really supported for user-space applications. So we disable PIE detection if building for ARC. That fixes http://autobuild.buildroot.net/results/2b1/2b1aa474fc432f3f79b03c4577d68642bb7e0f9c and also prevents execution of non-supported PIE binary in runtime. [Thomas: fix indentation.] Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/mesa3d: needs dynamic libraryBernd Kuhls2015-08-102-11/+8
| | | | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/5ee/5eef099e82e7a65d9b459d88fcb82b468ccf8fed/ http://autobuild.buildroot.net/results/e5c/e5c0e693505798ec366328ed87de3460cd07894d/ http://autobuild.buildroot.net/results/c6b/c6b6a21f73fc84f4784dd00de504ef0eea3bdaf1/ http://autobuild.buildroot.net/results/abd/abd3e2850ee457fc456de3f1641b92405d995e16/ http://autobuild.buildroot.net/results/2c4/2c40fe209e6006fdf148e547b1fafe9180afc85d/ [Thomas: remove propagation of the dynamic library dependency to glmark2 and mesa3d-demos, since none of them select mesa3d.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libsodium: disable PIE on ARCAlexey Brodkin2015-08-101-0/+4
| | | | | | | | | | | | | | Even though ARC gcc understands "-pie" option and attempts to generate PIE binaries as of today PIE is not really supported for user-space applications. So we disable PIE detection if building for ARC. That fixes http://autobuild.buildroot.net/results/be4/be46b621ce5443788b0a1bc9fab614c4ca5d0859 and also prevents execution of non-supported PIE binary in runtime. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain/external: better check for gcc-5Yann E. MORIN2015-08-091-8/+4
| | | | | | | | | | | | | | | | | | | gcc will always report a three-digit version sting, like 4.9.3 or 5.1.0. For gcc before 5, we want to check the first two digits, while starting with gcc 5, we are only concerned about the first digit. So, change our matching code to test for the leading part of the version string, up to the first dot after as-many version digit we're interested in. Note: we're adding the dot in the .mk code rather than in the Kconfig symbol, because it seemed cleaner to do so. Reported-by: Jörg Krause <joerg.krause@embedded.rocks> 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/sysdig: Fix typo in commentBernd Kuhls2015-08-091-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/powertop: add missing headers for muslRomain Naour2015-08-092-0/+70
| | | | | | | | | | | Reported upstream: https://github.com/fenrus75/powertop/pull/20 Fixes: http://autobuild.buildroot.net/results/713/713df99bebd625434e029abdf360574de879afa3/ Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* haveged: for sparc we need generic clockgettimeWaldemar Brodkorb2015-08-091-0/+4
| | | | | | | | | | | This fixes autobuilder error: http://autobuild.buildroot.net/results/5b8bbc30f347140309ab2f81e1fe50f517356a3e/ As sparcv9 assembly is used, we need to enable generic clock_gettime for sparcv8 systems. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud