aboutsummaryrefslogtreecommitdiff
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* package/ffmpeg: bump version to 2.5.1Gravatar Bernd Kuhls2014-12-202-2/+2
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xserver_xorg-server: security bump to 1.16.3Gravatar Bernd Kuhls2014-12-202-1/+4
| | | | | | | | | - for a list of fixed CVE´s check http://lists.x.org/archives/xorg-announce/2014-December/002506.html - added hash file Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/vlc: Update SITE urlGravatar Bernd Kuhls2014-12-201-1/+1
| | | | | | | old SITE is now password-protected Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libdvbcsa: Update SITE urlGravatar Bernd Kuhls2014-12-201-1/+1
| | | | | | | old SITE is now password-protected Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* orc: bump versionGravatar Peter Korsgaard2014-12-202-1/+3
| | | | | | And add hash file. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ympd: fix license typoGravatar Jerzy Grzegorek2014-12-191-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libbluray: bump version to 0.6.2Gravatar Bernd Kuhls2014-12-192-2/+4
| | | | | | | | - old SITE is now password-protected - add hash Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* gcc: bump 4.8.x series to version 4.8.4Gravatar Gustavo Zacarias2014-12-1912-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* jasper: add patches to fix CVE-2014-8137 and CVE-2014-8138Gravatar Gustavo Zacarias2014-12-193-0/+83
| | | | | | | | | Fixes: CVE-2014-8137 - double-free in jas_iccattrval_destroy() CVE-2014-8138 - heap overflow in jp2_decode() Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* git: security bump to version 2.2.1Gravatar Gustavo Zacarias2014-12-192-2/+2
| | | | | | | | | Fixes: CVE-2014-9390 - arbitrary command execution vulnerability on case-insensitive file systems. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* erlang: fix typo in dependenciesGravatar Frank Hunleth2014-12-181-1/+1
| | | | | | | If libatomic_ops was enabled, then the host-erlang dependency was lost. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/snappy: add dependency on host-pkgconfGravatar Steve James2014-12-181-0/+1
| | | | | | | | | | | | | | | | Snappy doesn't configure without host pkg-config, causing this totally unhelpful diagnostic from autoconf: configure.ac:42: error: possibly undefined macro: AC_DEFINE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:44: error: possibly undefined macro: AC_MSG_FAILURE So add host-pkgconf to the package's DEPENDENCIES list. Signed-off-by: Steve James <ste@junkomatic.net> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: cleanup whitespace of assignmentsGravatar Jerzy Grzegorek2014-12-186-8/+8
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* icu: bump to version 54.1Gravatar Gustavo Zacarias2014-12-184-55/+62
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boost: bump to version 1.57.0Gravatar Gustavo Zacarias2014-12-182-1/+4
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* mpd: bump to version 0.19.7Gravatar Gustavo Zacarias2014-12-182-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* tcpreplay: bump to version 4.1.0Gravatar Gustavo Zacarias2014-12-182-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux-pam: add security patchesGravatar Gustavo Zacarias2014-12-1810-0/+105
| | | | | | | | | | | To fix: CVE-2013-7041 - use case sensitive comparison in pam_userdb CVE-2014-2583 - potential path traversal issue in pam_timestamp Also add hash file (computed, the hash files upstream cover up to 1.1.7) Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* php: security bump to version 5.5.20Gravatar Gustavo Zacarias2014-12-182-2/+2
| | | | | | | | Fixes: CVE-2014-8142 - Use after free vulnerability in unserialize() Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* jquery: bump to version 1.11.2Gravatar Gustavo Zacarias2014-12-182-1/+3
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nftables: bump to version 0.4Gravatar Gustavo Zacarias2014-12-162-1/+3
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libnftnl: bump to version 1.0.3Gravatar Gustavo Zacarias2014-12-163-164/+120
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libnss: security bump to version 3.17.3Gravatar Gustavo Zacarias2014-12-162-3/+3
| | | | | | | | | | | | Fixes CVE-2014-1569 - The definite_length_decoder function in lib/util/quickder.c in Mozilla Network Security Services (NSS) before 3.16.2.4 and 3.17.x before 3.17.3 does not ensure that the DER encoding of an ASN.1 length is properly formed, which allows remote attackers to conduct data-smuggling attacks by using a long byte sequence for an encoding. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* apr-util: add hash fileGravatar Gustavo Zacarias2014-12-161-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* apr: add hash fileGravatar Gustavo Zacarias2014-12-161-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux-headers: bump 3.{18, 17, 14, 10}.x seriesGravatar Gustavo Zacarias2014-12-161-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/Config.in: fix alphabetical orderGravatar Jerzy Grzegorek2014-12-161-5/+5
| | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/Config.in: fix menu alphabetical orderGravatar Jerzy Grzegorek2014-12-161-11/+11
| | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* dbus: bump versionGravatar Peter Korsgaard2014-12-162-3/+3
| | | | | | | Regression fix for CVE-2014-3636, see release announcement: http://lists.freedesktop.org/archives/dbus/2014-November/016430.html Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* stunnel: adjust initscriptGravatar Gustavo Zacarias2014-12-161-19/+18
| | | | | | | | Use proper status messages, make spacing standard instead of a mix of spacing/tabbing, drop boringly obvious comment from the header. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* stunnel: bump to version 5.08Gravatar Gustavo Zacarias2014-12-162-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ncurses: add hash fileGravatar Gustavo Zacarias2014-12-151-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ncurses: fix gpm supportGravatar Gustavo Zacarias2014-12-151-0/+8
| | | | | | | | | | | The CF_LIB_SONAME macro doesn't work when cross compiling so we need to specify the lib name for libgpm explicitly. While at it make gpm support explicit in the form of --without-gpm when it's not selected and adding it to dependencies when it is. Fixes: http://autobuild.buildroot.net/results/32a/32a5ba3905772a3f2f2ec9d1b290a109fe22d9f9/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* erlang: use libatomic_ops if availableGravatar Frank Hunleth2014-12-151-0/+5
| | | | | | | | | | | | | | | | | | | | Erlang can either provide its own atomic_ops implementation or use the one in libatomic_ops. This patch ensures that it only uses the one from libatomic_ops if it is available. Fixes: http://autobuild.buildroot.net/results/3eb/3ebfd36948d5a642cc83ce31ddf5902cb369bfbd/ http://autobuild.buildroot.net/results/04c/04cbf79ccf159e15f9ea3953b425faadafc8a1c0/ http://autobuild.buildroot.net/results/fc9/fc9904446553e67dd44954310fea26d751a0df5d/ http://autobuild.buildroot.net/results/501/501a12da25615071fb6197a898456cfe41a6451d/ http://autobuild.buildroot.net/results/34e/34e2fbb4d39737fd7defa5bd607726d52ef38568/ http://autobuild.buildroot.net/results/722/7220c3905ebe9e081f1e3b90641b0859d996c2ac/ http://autobuild.buildroot.net/results/ffd/ffdc531d8cf9adb43340d045aa88eb0b39fc9bb7/ http://autobuild.buildroot.net/results/b4f/b4f238bcb30b0191ce1a2be669fa792c8ccd3e69/ Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pckage/ncurses: fix pkg-config files for ncurseswGravatar Yann E. MORIN2014-12-151-0/+10
| | | | | | | | | | | | | | | | Currently, ncurses creates symlinks from the non-'w' variants to the equivalent 'w' variant, but forgets to do so for pkg-config files. Do that for the pkg-config files too. Should fix numerous autobuild failures: http://autobuild.buildroot.net/results/3c4/3c44dfc6e3f151bef751f39cac336fef3d6a0099/ http://autobuild.buildroot.net/results/38c/38c81407bb8d0677e87b3a01f9a1fc1372ab4738/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/ncurses: trim leading 'lib' from definition of libs to installGravatar Yann E. MORIN2014-12-151-7/+7
| | | | | | | | | | | | | Currently, ncurses creates symlinks from the non-'w' variants to the equivalent 'w' variant, but forgets to do so for pkg-config files. To be able to share the same list between the libraries and the pkg-config files to symlink, just trim the 'lib' prefix of libraries in the definition, and just add it back at the time we need it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/ncurses: slight code re-arrangementGravatar Yann E. MORIN2014-12-151-5/+5
| | | | | | | | | | | Move the definition of libraries to install before it is actually used. Also, in a coming changeset, it will also be used to know which pkg-config files to symlink. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/ncurses: fix shared-only libsGravatar Yann E. MORIN2014-12-151-11/+9
| | | | | | | | | | For a shared-only build, do not create the symlinks to the static libraries, since they do not exist. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gpsd: remove duplicate dependencyGravatar Yann E. MORIN2014-12-151-1/+1
| | | | | | | | No need to duplicate the host-pkgconf dependency on the Qt case, we already depend on it in the general case. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libyaml: add security patch for CVE-2014-9130Gravatar Gustavo Zacarias2014-12-151-0/+33
| | | | | | | | Fixes: assert failure when processing wrapped strings (CVE-2014-9130). See https://bugzilla.redhat.com/show_bug.cgi?id=1169369 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/collectd: fix build without libgcryptGravatar Yann E. MORIN2014-12-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case the libgcrypt development files are present on the host system, collectd's ./configure will mistakenly try to use them and will call the host system's libgcrypt-config, thus leading it to use path to the host system includes and libraries. Fix that in two ways: - explicitly disable libgcrypt support when libgcrypt is not enabled; - pass the complete path to libgcrypt-config when libgcrypt is enabled. However, collectd's configure.ac is utterly broken. The code in configure.ac has special code to check for libgcrypt-config, and use whatever is provided via --with-libgcrypt=/path/to/libgcrypt-config. But that is promptly forgotten because they then call the AM_PATH_LIBGCRYPT macro, that just does it all again from scratch, and does not use the value previously found. Instead, we set LIBGCRYPT_CONFIG in the environment and point it to our own libgcrypt-config. Should fix numerous build issues: http://autobuild.buildroot.net/results/ad4/ad408aef5fb92fe9e031c7dbaf6999776b40ace4/ http://autobuild.buildroot.net/results/967/96735bfa91bcf2e3dff89f69c0a12ed406e9efb9/ ... http://autobuild.buildroot.net/results/3bd/3bdd9bdffb1d55414787d38fc2656d7a3391a957/ ... (the first two are with the paranoid wrapper, the third one was before the paranoid wrapper.) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Romain Naour <romain.naour@openwide.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux-headers: bump 3.{12, 2}.x seriesGravatar Gustavo Zacarias2014-12-151-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libgpgme: bump to version 1.5.3Gravatar Gustavo Zacarias2014-12-152-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ethtool: bump to version 3.18Gravatar Gustavo Zacarias2014-12-152-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* blktrace: really fix parallel build issueGravatar Peter Korsgaard2014-12-141-4/+2
| | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/dd4/dd47b3ca17bdb597d6b12de6b381cf5f25abaf71/ http://autobuild.buildroot.net/results/a84/a842234fbdc8f65d48089b90ee23523540a7091f/ http://autobuild.buildroot.net/results/e63/e6351692ad6aef397e68ffdf107f3a85e4490015/ And many more. Commit a21163aed (package/blktrace: do not build in parallel) tried to fix the parallel build issue, but the package doesn't use the autotools package infrastructure so BLKTRACE_MAKE isn't used. Instead replace the explicit $(MAKE) calls with $(MAKE1). Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tvheadend: rename patches to new conventionGravatar Bernd Kuhls2014-12-142-0/+0
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tvheadend: Bump versionGravatar Bernd Kuhls2014-12-141-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tvheadend: Fix inclusion of DVB frequency tables in bundled buildGravatar Bernd Kuhls2014-12-141-1/+7
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/mesa3d: Bump version to 10.4.0Gravatar Bernd Kuhls2014-12-144-50/+3
| | | | | | | | - removed mesa3d-0002-execinfo_h.patch, applied upstream - renamed remaining patch according to new convention Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/librtlsdr: fix build failureGravatar Samuel Martin2014-12-141-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable run test for pthread detection. In case of build with only static library, CMake fails to detect the pthread library (-lpthread), so it falls back trying to link using -pthread and execute the test program. <snip> [...] -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Check if compiler accepts -pthread CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: THREADS_PTHREAD_ARG (advanced) For details see /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/TryRunResults.cmake -- Check if compiler accepts -pthread - no -- Found Threads: TRUE -- Udev rules not being installed, install them with -DINSTALL_UDEV_RULES=ON -- Building with kernel driver detaching disabled, use -DDETACH_KERNEL_DRIVER=ON to enable -- Building for version: 0.5.3 / 0.5.3 -- Using install prefix: /usr -- Configuring incomplete, errors occurred! See also "/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeOutput.log". See also "/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeError.log". </snip> Here it fails because, in the CMake FindThreads.cmake file, the 'try_run' function is unconditionally called [1]. Also, the CMakeError.log gives more details why linking with -lpthread fails: <snip> [...] Run Build Command:"/usr/bin/make" "cmTryCompileExec3012181287/fast" make[1]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTryCompileExec3012181287.dir/build.make CMakeFiles/cmTryCompileExec3012181287.dir/build make[2]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_progress_report /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3012181287.dir/CheckFunctionExists.c.o /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc -pipe -Os -static -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec3012181287.dir/CheckFunctionExists.c.o -c /home/buildroot/instance-1/output/host/usr/share/cmake-3.0/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec3012181287 /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3012181287.dir/link.txt --verbose=1 /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc -pipe -Os -static -DCHECK_FUNCTION_EXISTS=pthread_create -static CMakeFiles/cmTryCompileExec3012181287.dir/CheckFunctionExists.c.o -o cmTryCompileExec3012181287 -rdynamic -lpthread -Wl,-Bstatic -lusb-1.0 -Wl,-Bdynamic /home/buildroot/instance-1/output/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpthread.a(init.os): In function `__pthread_initialize_minimal': init.c:(.text+0x270): undefined reference to `__libc_setup_tls' collect2: error: ld returned 1 exit status CMakeFiles/cmTryCompileExec3012181287.dir/build.make:89: recipe for target 'cmTryCompileExec3012181287' failed make[2]: *** [cmTryCompileExec3012181287] Error 1 make[2]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' Makefile:118: recipe for target 'cmTryCompileExec3012181287/fast' failed make[1]: *** [cmTryCompileExec3012181287/fast] Error 2 make[1]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' Determining if compiler accepts -pthread returned PLEASE_FILL_OUT-FAILED_TO_RUN instead of 2. The compiler had the following output: Change Dir: /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTryCompileExec1361818630/fast" make[1]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' /usr/bin/make -f CMakeFiles/cmTryCompileExec1361818630.dir/build.make CMakeFiles/cmTryCompileExec1361818630.dir/build make[2]: Entering directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_progress_report /home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec1361818630.dir/CheckForPthreads.c.o /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc -pipe -Os -static -o CMakeFiles/cmTryCompileExec1361818630.dir/CheckForPthreads.c.o -c /home/buildroot/instance-1/output/host/usr/share/cmake-3.0/Modules/CheckForPthreads.c Linking C executable cmTryCompileExec1361818630 /home/buildroot/instance-1/output/host/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1361818630.dir/link.txt --verbose=1 /home/buildroot/instance-1/output/host/usr/bin/arm-linux-gcc -pipe -Os -static -static CMakeFiles/cmTryCompileExec1361818630.dir/CheckForPthreads.c.o -o cmTryCompileExec1361818630 -rdynamic -pthread make[2]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' make[1]: Leaving directory '/home/buildroot/instance-1/output/build/librtlsdr-v0.5.3/CMakeFiles/CMakeTmp' </snip> While falling back on -pthread is correct when using only static libraries to get some tls-related macros defined [2,3], it is wrong to try to run the test program in case of cross-compilation. So, this patch only disable run test when pthread support is done using -pthread, i.e. in case of the type of libraries is "static only". Fixes: http://autobuild.buildroot.org/results/26c/26cb8c2e5f867d49451f61304bf0a1a6f7b825d9/ [1] http://www.cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=a0bc4d133eb3f9d3ae096f0e03e419ef7be66ce8;hb=HEAD#l84 [2] http://lists.busybox.net/pipermail/buildroot/2014-June/100690.html [3] http://stackoverflow.com/questions/23250863/difference-between-pthread-and-lpthread-while-compiling Signed-off-by: Samuel Martin <s.martin49@gmail.com> Cc: Baruch Siach <baruch@tkos.co.il> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>