summaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
...
* package/clinfo: new packageValentin Korenblit2018-12-034-0/+38
| | | | | | | | | | | | This tool allows to verify if the OpenCL environment is set up correctly and provides information related to the supported OpenCL platforms. Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr> Signed-off-by: Valentin Korenblit <valentinkorenblit@gmail.com> [Thomas: - use the libopencl virtual package - add LICENSE to the license files] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/nvidia-driver: become an OpenCL providerThomas Petazzoni2018-12-032-0/+7
| | | | | | | | We need to install the mesa3d-headers, because the CL headers are not provided by nvidia-driver (just like it didn't provide the OpenGL headers). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/nvidia-driver: use += where appropriateThomas Petazzoni2018-12-031-3/+3
| | | | | | | | | | | | Within the BR2_PACKAGE_NVIDIA_DRIVER_XORG condition, some "=" assignements are used for various variables, which are also appended in other conditions below in nvidia-driver.mk. It works fine because those assignements appear earlier in the .mk, but it is a bit error-prone, so let's use += when adding values to those variables. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/mesa3d-headers: install OpenCL headers when neededThomas Petazzoni2018-12-031-0/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/mesa3d: enable OpenCL supportValentin Korenblit2018-12-033-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch provides Clover, the OpenCL 1.1 API implementation by Mesa for AMD GPUs. It generates libOpenCL.so. Add --disable-opencl-icd because in Mesa 18 it defaults to on. When disabled, the shared library is named libOpenCL instead of libMesaOpenCL and CL headers are installed. Given that clc headers are being installed to a non-standard location, it is necessary to specify this path in configure.ac. Otherwise, pkg-config will output the absolute path to these headers located in STAGING_DIR, which will cause a runtime error when calling clBuildProgram. Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr> Signed-off-by: Valentin Korenblit <valentinkorenblit@gmail.com> [Thomas: - improve the description of the patch, based on input from Romain - register as a libopencl provider] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Valentin Korenblit <a class="moz-txt-link-rfc2396E" href="mailto:valentin.korenblit@smile.fr">&lt;valentin.korenblit@smile.fr&gt;</a> Signed-off-by: Valentin Korenblit <a class="moz-txt-link-rfc2396E" href="mailto:valentinkorenblit@gmail.com">&lt;valentinkorenblit@gmail.com&gt;</a> Signed-off-by: Thomas Petazzoni <a class="moz-txt-link-rfc2396E" href="mailto:thomas.petazzoni@bootlin.com">&lt;thomas.petazzoni@bootlin.com&gt;</a> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/python-wtforms: new packageGrzegorz Blach2018-12-034-0/+27
| | | | | | | | | | A flexible forms validation and rendering library for Python web development. https://wtforms.readthedocs.io/ Signed-off-by: Grzegorz Blach <grzegorz@blach.pl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/sunxi-tools: support all toolsAlex Kaplan2018-12-032-13/+100
| | | | | | | | | | | | | | | | | | | This patch allows to select the installation of additional commands which are part of the sunxi-tools. It's now possible to e.g. install sunxi-fel on the target device. The corresponding options have been added to Config.in and sunxi-tools.mk has been modified respectively. The default setting is to only build sunxi-nand-part. On the host building of the misc-tools target is added, which provides sunxi-nand-image-builder and phoenix_info. Signed-off-by: Alex Kaplan <kaplan2539@gmail.com> [Thomas: - properly format Config.in - do not select BR2_PACKAGE_HOST_LIBUSB in Config.in.host, since this option doesn't exist - properly indent code in sunxi-tools.mk] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libbsd: fix display of Config.in commentFabrice Fontaine2018-12-032-5/+2
| | | | | | | | | | | | | | Commit e13855c48f21eaee07a81f8b02678839be274a45 wrongly added depends on BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU to display the comment "libbsd needs a toolchain w/ threads, wchar" The same error has also been made for minizip. To fix this issue, move dependency !(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU) under BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/ejabberd: add a comment for runtime dependenciesJohan Oudinet2018-12-031-2/+2
| | | | | | | | | Both p1_oauth2 and jiffy are runtime dependencies. Mark the corresponding select in the Config.in file with a # runtime comment. Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/{mesa3d, mesa3d-headers}: bump version to 18.2.6Bernd Kuhls2018-12-034-10/+9
| | | | | | | | Added mandatory dependency to xlib_libXxf86vm https://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?h=18.2&id=f05ce9dc514427a661696bc6b908e30841b6eb9d Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libcurl: use GnuTLS's default cert pathTrent Piepho2018-12-031-1/+2
| | | | | | | | | | | | | | | | | | libcurl doesn't find any trust path for CA certs when it cross-compiles. When using OpenSSL, it is explicitly configured to use the SSL cert directory with OpenSSL style hash files in it. But with GnuTLS, it gets nothing. Rather than configure libcurl to use the OpenSSL directory or a bundle file, configure it to use the GnuTLS default. This way the CA certs path can be configured in one place (gnutls) and then libcurl and anyone else who uses gnutls can default to that. Also, when libcurl with gnutls is configured to use a directory, it ends up loading each cert three times. Signed-off-by: Trent Piepho <tpiepho@impinj.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gnutls: give library a default trust locationTrent Piepho2018-12-031-0/+7
| | | | | | | | | | | | | | | | | | | | | Gnutls is building with no default location to look for CA certs. Since there are buildroot packages to provide these, configure it to use them by default. Configure gnutls to find them using the bundle file which contains all certs, rather than looking in the cert directory. When gnutls is told to use the directory, it loads *every* file in it. This means it loads the bundle with all certs, then loads each cert a second time using the individual pem files, and then loads them all the third time via the hash symlinks to the pem files. When p11-kit is enabled, use its trust module instead of the bundle file. p11-kit can be configured to use the bundle (the default), but it can do other things too, such as integrate with the "trust" command for adding and removing trust anchors. Signed-off-by: Trent Piepho <tpiepho@impinj.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/docker-cli: fix comment headerThomas Petazzoni2018-12-031-1/+1
| | | | | | | | Fixes the following check-package warning: package/docker-cli/docker-cli.mk:1: should be 80 hashes (http://nightly.buildroot.org/#writing-rules-mk) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/docker-engine: split docker-{cli, engine}, bump to v18.09.0Christian Stewart2018-12-037-28/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docker upstream has split the Docker daemon and CLI into separate codebases: - github.com/docker/engine: daemon, "dockerd" binary - github.com/docker/cli: "docker" command line interface This commit splits the docker-engine package into docker-engine and docker-cli. Conveniently, the Docker project has begun maintaining two separate release-tagged repositories for the CLI and daemon as of v18.06-ce-rc1. Previous versions were tagged in a common "docker-ce" repository which makes compilation awkward for Buildroot, especially due to some limitations in the new Go package infrastructure. Docker repositories "engine" and "cli" recently started tagging releases. Select the latest stable release, v18.09.0. The CLI is no longer automatically included with the engine. Users will need to select BR2_PACKAGE_DOCKER_CLI to produce a both docker and dockerd target binaries. Docker CLI can be statically compiled. This enables usage of the system docker client binary to access the parent daemon API from within containers, where shared libraries are not available. While at it, drop the useless host-go dependency from docker-engine, since it's already added by the golang-package infrastructure. Signed-off-by: Christian Stewart <christian@paral.in> [Thomas: drop the host-go dependency from both docker-cli and docker-engine] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/dt-utils: fix build with glibc 2.28Thomas Petazzoni2018-12-031-0/+75
| | | | | | | | | This commit backports an upstream patch that fixes the build of dt-utils with glibc 2.28+. Fixes bug #11536. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/wine: bump to version 3.0.4André Hentschel2018-12-032-2/+2
| | | | | Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/perl: bump to version 5.28.1Francois Perrad2018-12-034-56/+10
| | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/atk: remove unrecognized configure optionsFabrice Fontaine2018-12-031-1/+0
| | | | | | | | | Remove --disable-glibtest and --enable-explicit-deps, these options are not recognized: configure: WARNING: unrecognized options: --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-glibtest, --enable-explicit-deps Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x seriesPeter Korsgaard2018-12-031-4/+4
| | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/tpm2-abrmd: fix build without stack smashing protection (SSP)Carlos Santos2018-12-031-1/+1
| | | | | | | | | | | | The configuration environment setup that disables SSP if the toolchain does not support it must be updated after the bump to version 2.0.3. Fixes: http://autobuild.buildroot.net/results/bd9005eeb24678aa530179a80bbc99b2176f8559 http://autobuild.buildroot.net/results/feff61dcb481a94f5f030117830984c5e09727ea Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/uclibc: add upstream patch to fix aarch64 issuesWaldemar Brodkorb2018-12-031-0/+169
| | | | | | | | fstatfs/statfs on aarch64 seems broken, add a patch from uClibc-ng upstream git to fix it. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/lxc: security bump to version 3.0.3Fabrice Fontaine2018-12-033-3/+5
| | | | | | | | | | | | | | | | | | | This bump also includes the fix for CVE-2018-6556 released in 3.0.2 via commit "CVE 2018-6556: verify netns fd in lxc-user-nic": lxc-user-nic when asked to delete a network interface will unconditionally open a user provided path: https://github.com/lxc/lxc/commit/c1cf54ebf251fdbad1e971679614e81649f1c032 This code path may be used by an unprivileged user to check for the existence of a path which they wouldn't otherwise be able to reach. It may also be used to trigger side effects by causing a (read-only) open of special kernel files (ptmx, proc, sys). Also add a dependency on gcc >= 4.7 (https://github.com/lxc/lxc/issues/2592) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/fontconfig: fix static buildFabrice Fontaine2018-12-031-0/+133
| | | | | | | | | | Retrieved patch from upstream to fix static build Fixes: - http://autobuild.buildroot.org/results/17e5f9ce5e7566f5a88abfd27b7db5614c1a3086 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Revert "package/libglib2: bump to version 2.58.1"Thomas Petazzoni2018-12-037-55/+108
| | | | | | | | | | | | This reverts commit 178eb1d7ea165d87460224d297ce615bb63090f0. This bump causes too many build failures in reverse dependencies of libglib2, for which a proper solution needs to be found. See also the analysis from Yann E. Morin: http://lists.busybox.net/pipermail/buildroot/2018-December/237663.html Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libglib2: bump to version 2.58.1Fabrice Fontaine2018-12-027-108/+55
| | | | | | | | | | | | - Update second patch - Remove third and fifth patches (already in version) - Add a new patch to fix a missing header - Add LIBGLIB2_GTK_DOC_HOOK so autoreconf do not fail on the following error: automake: error: cannot open < gtk-doc.make: No such file or directory Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/pkg-generic: use readlink instead of realpathYann E. MORIN2018-12-021-2/+2
| | | | | | | | | | | | | realpath is missing on oldish distributions, like Debian 7, which is still used in the wild. Use readlink instead; that has been available since the dawn of ages now (well, coreutils had it in 2003). Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Merge branch 'next'Peter Korsgaard2018-12-02338-4552/+2740
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/libtorrent-rasterbar: new packagePhilipp Richter2018-12-014-0/+50
| | | | | | | | | | | | | | | | | | | | | | libtorrent is a feature complete C++ bittorrent implementation focusing on efficiency and scalability. https://www.libtorrent.org/ Signed-off-by: Philipp Richter <richterphilipp.pops@gmail.com> [Thomas: license is BSD-3c, not BSD-2c] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/luarocks: rework configuration file for per-package directoriesThomas Petazzoni2018-12-012-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, luarocks.mk generates a configuration file with hardcoded STAGING_DIR, TARGET_DIR, TARGET_CC, LUAROCKS_CFLAGS and TARGET_LDFLAGS values. This is not compatible with per-package directories, where the value of STAGING_DIR, TARGET_DIR, TARGET_CC and possibly TARGET_CFLAGS/TARGET_LDFLAGS may be different from one package to the other. Based on input from François Perrad, this commit: - Changes the Luarocks configuration file to use os_getenv() for the appropriate variables. Since the contents of this file is not fixed, it is no longer generated by luarocks.mk using a series of 'echo' but simply concatenated with the rest of the Luarocks configuration file. - Adjusts LUAROCKS_RUNV_ENV so that the necessary environment variables are now passed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Acked-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/quagga: add nhrpd optionFabrice Fontaine2018-12-012-2/+14
| | | | | | | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/quagga: bump to version 1.2.3Fabrice Fontaine2018-12-019-526/+7
| | | | | | | | | | | | | | | | | | | | | | - Remove all patches except the first one as they are already in this version - Remove AUTORECONF = YES as we're not patching any *.ac files anymore - Disable new nhrpd option - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/c-ares: bump to version 1.15.0Fabrice Fontaine2018-12-012-2/+2
| | | | | | | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/c-ares: use LICENSE.mdFabrice Fontaine2018-12-012-2/+4
| | | | | | | | | | | | | | | | | | | | c-ares has a LICENSE.md file since version 1.12 and https://github.com/c-ares/c-ares/commit/4e861351d9deaef7b78aee50ce9229325f4fc59a So use it instead of one of the source file and add its hash Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/fontconfig: add util-linux mandatory dependencyFabrice Fontaine2018-12-012-2/+5
| | | | | | | | | | | | | | | | | | | | | | uuid from util-linux is a mandatory dependency since version 2.12.91 and https://cgit.freedesktop.org/fontconfig/commit/configure.ac?id=7b48fd3dd406b926f0e5240b211f72197ed538a9 Fixes: - http://autobuild.buildroot.org/results/49fa1d2da97be979cbc2cb4f83b40f5c2ad8c764 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/python-msgpack: bump to version 0.6.0Asaf Kahlon2018-12-012-6/+6
| | | | | | | | | | | | | | Archive file name changed from msgpack-python to msgpack Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/python-jsonmodels: bump to version 2.4Asaf Kahlon2018-12-012-5/+6
| | | | | | | | | | Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/shadowsocks-libev: bump to version 3.2.3DUPONCHEEL Sébastien2018-11-303-4/+5
| | | | | | | | | | Signed-off-by: DUPONCHEEL Sébastien <sebastien.duponcheel@corp.ovh.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/qt5/qt5base: use ccache for building host codeThomas Petazzoni2018-11-301-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qt5 currently doesn't use HOSTCC/HOSTCXX, so it doesn't use ccache when building all its host code (especially qmake). This means that even with ccache enabled and a hot cache, it still takes a long time to build qt5base. Before this patch, building qt5base takes: - 446 seconds with a cold ccache - 185 seconds with a hot ccache This is because the ccache is not used for host code. After this patch, building qt5base takes: - 450 seconds with a cold ccache - 15 seconds with a hot ccache Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/mini-snmpd: new packageAlexander Sverdlin2018-11-307-0/+103
| | | | | | | | | | | | | | | | | | Mini SNMPd is a minimal implementation targeted at small or embedded UNIX systems with limited resources. Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> [Thomas: add hash file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/libtool: reduce target package to libltdl onlyAlexander Sverdlin2018-11-301-3/+13
| | | | | | | | | | | | | | | | This will save 1700K on target filesystem (as tested on ARM, i686). Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/fontconfig: bump version to 2.13.1Peter Seiderer2018-11-302-3/+3
| | | | | | | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/civetweb: fix lua buildFabrice Fontaine2018-11-301-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | dlfcn.h must be included in modlua.ini to be able to use dlopen otherwise build will fail on: src/mod_lua.inl:2845:41: error: 'RTLD_LAZY' undeclared (first use in this function) lib_handle_uuid = dlopen("libuuid.so", RTLD_LAZY); Fixes: - http://autobuild.buildroot.org/results/7a189f49c5a8b6f7b3d4c57cda5982adc65dbc19 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/python-pathlib2: bump to version 2.3.3Asaf Kahlon2018-11-302-4/+4
| | | | | | | | | | Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/python-certifi: bump to version 2018.11.29Asaf Kahlon2018-11-302-4/+4
| | | | | | | | | | Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/python-pydal: bump to version v18.09Angelo Compagnucci2018-11-292-4/+4
| | | | | | | | | | | | | | | | This patch bumps pydal to version v18.09 and moves its download location to github cause the version on pypi is not updated anymore. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/python-web2py: bump to version R-2.17.2Angelo Compagnucci2018-11-292-2/+3
| | | | | | | | | | | | | | This patch bumps web2py to version R-2.17.2 Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/pkg-generic: ensure absolute paths in config-script fixupsYann E. MORIN2018-11-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case a config script is called from a relative path, the $(dirname $0) would return a relative path too. Those paths are usually parts of includes or libraries search directories, and the packagfes buildsystems may chdir() anywhere, and thus the relative path will no longer be valid. For example: $ ./host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/net-snmp-config --cflags [...] -I./host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../.././bin/../powerpc-buildroot-linux-uclibc/sysroot/usr/include/libnl3 [...] Canonicalise the path to be sure we use absolute paths. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/setools: drop path prefix from man installMatt Weber2018-11-291-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For this man file install scenario, joining the sys.prefix makes the path absolute (this was previously working by accident). It was found when e94280e5a537b "package/pkg-python: use proper --prefix and --root values" was merged. Fixes: http://autobuild.buildroot.net/results/e214e1a539cdac07028fb58c3822f89886d86f1f Upstream: https://github.com/SELinuxProject/setools/pull/13/commits/bc36cba1393120e65bfe4d0f642fd8d38010c0f7 Cc: Angelo Compagnucci <angelo.compagnucci@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/squid: needs atomicFabrice Fontaine2018-11-292-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since https://github.com/squid-cache/squid/commit/4b0f89121135aae68fbaf2aa33b5fb2e0da66d3e squid tries to find if latomic is needed through: AC_SEARCH_LIBS([__atomic_load_8],[atomic],[ATOMICLIB="-latomic"],[]) However, this can fails on: configure:21147: /home/fabrice/buildroot/output/host/bin/arc-buildroot-linux-gnu-g++ -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g conftest.cpp -latomic >&5 conftest.cpp:55:6: error: new declaration 'char __atomic_load_8()' ambiguates built-in declaration 'long long unsigned int __atomic_load_8(const volatile void*, int)' [-fpermissive] char __atomic_load_8 (); ^~~~~~~~~~~~~~~ conftest.cpp: In function 'int main()': conftest.cpp:59:25: error: too few arguments to function 'long long unsigned int __atomic_load_8(const volatile void*, int)' return __atomic_load_8 (); So add -latomic to LIBS if BR2_TOOLCHAIN_HAS_LIBATOMIC is set Fixes: - http://autobuild.buildroot.org/results/13082cea836a12ac8bf85cbdb53a56a5d30c70b1 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * package/squid: remove gnu atomics handlingFabrice Fontaine2018-11-291-9/+0
| | | | | | | | | | | | | | | | | | gnu atomics has been removed since version 3.5.27: https://github.com/squid-cache/squid/commit/ddd4edb743d82be97fc651d529e04bf55329a50d So remove squid_cv_gnu_atomics handling Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
OpenPOWER on IntegriCloud