aboutsummaryrefslogtreecommitdiff
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* package/jq: security bump to version 1.6Gravatar Fabrice Fontaine2019-03-202-4/+5
| | | | | | | | | | - Fix CVE-2015-8863 and CVE-2016-4074: https://github.com/stedolan/jq/issues/1406 - Add hash for license file - Disable oniguruma (enabled by default) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libuv: bump to version 1.27.0Gravatar Asaf Kahlon2019-03-202-2/+2
| | | | | Signed-off-by: Asaf Kahlon <asafka7@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/uftp: openssl is optional, not mandatoryGravatar Fabrice Fontaine2019-03-202-3/+6
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/uftp: fix openssl static linkingGravatar Fabrice Fontaine2019-03-201-3/+6
| | | | | | | | Fixes: - http://autobuild.buildroot.org/results/051cfd993b65830c34e675d797e241c272b6f35a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/mariadb: security bump to version 10.3.13Gravatar Ryan Coe2019-03-202-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release notes: https://mariadb.com/kb/en/library/mariadb-10313-release-notes/ Changelog: https://mariadb.com/kb/en/mariadb-10313-changelog/ Fixes the following security vulnerabilities: CVE-2019-2510 - Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: InnoDB). Supported versions that are affected are 5.7.24 and prior and 8.0.13 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. CVE-2019-2537 - Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: DDL). Supported versions that are affected are 5.6.42 and prior, 5.7.24 and prior and 8.0.13 and prior. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized ability to cause a hang or frequently repeatable crash (complete DOS) of MySQL Server. Note that the hash for README.md changed due to Travis CI and Appveyor CI updates. Signed-off-by: Ryan Coe <bluemrp9@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/gesftpserver: bump version to latest stableGravatar Yann E. MORIN2019-03-203-2/+37
| | | | | | | | | | | | By default, gesftpserver wants to treat al warnings as errors, but there is an actual warning in the release, so we quiesce that by not treating warnings as errors. We also backport a patch from upstream, to fix the ordering of some fields when sending file attributes. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libpcap: fix bluez5_utils-headers dependencyGravatar Fabrice Fontaine2019-03-192-1/+2
| | | | | | | | | | | | | | | | | Commit c46afc37dc877f1e94ffde0d77585290711b27ec changed bluez5-utils dependency by bluez5_utils-headers without replacing the test on BR2_PACKAGE_BLUEZ5_UTILS by BR2_PACKAGE_BLUEZ5_UTILS_HEADERS Fix this mistake and also add a select on BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS is set so the user does not have to do it Fixes: - http://autobuild.buildroot.org/results/c6828df1f3782564451ddd4187ff026679bf37d8 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/angularjs: fix license file hashGravatar Thomas Petazzoni2019-03-191-1/+1
| | | | | | | | | | | | | | | | The update of angularjs to 1.7.8 in commit 00dcde3eb12d194d31356fd6e54c0328acd371a1 broke legal-info for this package, because the hash of the license file changed. In fact, we are using angular.js as the license file and obviously it is likely to change between each release. The new angular.js still specifies a MIT license, so we can update the license file hash. Fixes: http://autobuild.buildroot.net/results/0b8ad8d8384d605c2230e862548ccaba1f06d9b0/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libglib2: add optional dependency in libselinuxGravatar Adam Duskett2019-03-191-0/+7
| | | | | | | | If libselinux is selected, explicitly set --enable-selinux in the configure options and build the library first. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/uftp: needs MMU, threads and wcharGravatar Fabrice Fontaine2019-03-191-0/+7
| | | | | | | | Fixes: - http://autobuild.buildroot.org/results/47dd067dfdcaae99d50216f59ea6af115d8f1e1e Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/qt5: bump latest version to 5.12.2Gravatar Peter Seiderer2019-03-1830-53/+53
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/angularjs: bump version to 1.7.8Gravatar Adam Duskett2019-03-182-3/+3
| | | | | Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/meson: bump version to 0.50.0Gravatar Peter Seiderer2019-03-182-3/+3
| | | | | Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/keepalived: drop autoreconfGravatar Fabrice Fontaine2019-03-181-2/+0
| | | | | | | | Commit 78d4ddbf3b416885d2e99b32363b174755f9bb30 removed all patches so autoreconf is not needed anymore Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/glibc: update glibc version for RISC-V 32-bitGravatar Alistair Francis2019-03-184-100/+2
| | | | | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/gst1-plugins-bad: add webrtc optionGravatar Peter Seiderer2019-03-182-0/+18
| | | | | | | | | | | - remove old webrtc Config.in.legacy entry introduced by [1] (misnamed webrtc option was introduced with 2017.02, renamed to webrtcdsp for 2017.08 and although backported to 2017.02.4) [1] https://git.buildroot.net/buildroot/commit/?id=4c06d2490a07f0b88f42c56c7409899fd2f5608a Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Revert "package/binutils: install libiberty for host build"Gravatar Thomas Petazzoni2019-03-181-1/+0
| | | | | | | | | | | | | | | This reverts commit 7ec7ba54055919d89afc93606794d161505fa2d8, as it causes build failures of host-gdb: /usr/bin/ld: /home/buildroot/autobuild/instance-0/output/host/lib/libiberty.a(cplus-dem.o): relocation R_X86_64_PC32 against symbol `_sch_istable' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value Indeed, the host-gdb build picks up the libiberty installed in $(HOST_DIR) instead of using its own internal version. This needs to be addressed before we can make host-binutils install libiberty in $(HOST_DIR). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Revert "package/prelink-cross: new package"Gravatar Thomas Petazzoni2019-03-182-18/+0
| | | | | | | | This reverts commit 0bb0f2ba849dac9208d3a5a4107b8edd5ee46a1e, because using "host-binutils" is not correct as it should only be used with internal toolchains, and not external toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/kf5-modemmanager-qt: link with libatomic when neededGravatar Fabrice Fontaine2019-03-181-0/+5
| | | | | | | | | | | | | | | | On some architectures, atomic binutils are provided by the libatomic library from gcc. Linking with libatomic is therefore necessary, otherwise the build fails with: sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line This is often for example the case on sparcv8 32 bit. Fixes: - http://autobuild.buildroot.org/results/b941a3deaa57cac79f1686d47ca6ababf2f0d5e4 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/qpdf: bump to version 8.4.0Gravatar Fabrice Fontaine2019-03-182-3/+3
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/python-pylibftdi: bump to version 0.17.0Gravatar Fabrice Fontaine2019-03-182-5/+8
| | | | | | | Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* Revert "package/python-ipython: bump to version 7.3.0"Gravatar Fabrice Fontaine2019-03-182-7/+6
| | | | | | | | | | | This reverts commit bc516052593947a067c98956931df9df31ee3195. which adds a dependency on python3 as well as adddtional python runtime modules. So revert this patch to polish a better bump. Fixes: - http://autobuild.buildroot.org/results/7d765d2b15bfe72b05de62e86a01d57f1696c837 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/binutils: upstream fixes for 2.31.1Gravatar Norbert Lange2019-03-183-0/+1296
| | | | | | | | | | | Combining musl and binutils 2.31.1 will produce static applications that crash immediately. This commit picks up 3 upstream commits to remedy this. See https://sourceware.org/bugzilla/show_bug.cgi?id=23428 Signed-off-by: Norbert Lange <nolange79@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/nodejs: link with libatomic when neededGravatar Martin Bark2019-03-181-0/+10
| | | | | | | | Fixes: - http://autobuild.buildroot.net/results/804951467d3f5b212bd33b95dc8fe9c6f5f63838 Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/nodejs: correct license file hashGravatar Martin Bark2019-03-181-1/+1
| | | | | | | | | | | | | | The LICENSE file in nodejs 10.15.3 updated to include additional 3rd party licenses. Fixes: - http://autobuild.buildroot.net/results/4bf66b9f05e9d04171156e44c7dd87619e429747 - http://autobuild.buildroot.net/results/a65776ba1045f12263a686933eb6a4b5d6ff7333 - http://autobuild.buildroot.net/results/aab619106a7d763f45e95a7ae3d85816fb4a6512 - http://autobuild.buildroot.net/results/bb6cb93f323be22e4c0efc05011042526c01f62c Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/python-aiorwlock: bump to version 0.6.0Gravatar James Hilliard2019-03-182-4/+4
| | | | | Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/python-aiojobs: drop aiohttp dependencyGravatar James Hilliard2019-03-181-1/+0
| | | | | | | aiohttp isn't a required dependency for aiojobs Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libpcap: fix bluez circular dependencyGravatar Baruch Siach2019-03-181-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | The optional bluez_utils dependency of libpcap creates a circular dependency: $ make dbus-show-recursive-depends Recursion detected for : systemd which is a dependency of: dbus which is a dependency of: bluez_utils which is a dependency of: libpcap which is a dependency of: iptables which is a dependency of: systemd make: *** [package/dbus/dbus.mk:121: dbus-show-recursive-depends] Error 1 Drop support for bluez_utils. For bluez5_utils, which also depends on dbus, we only need the headers in the bluez5_utils-headers package. Use that to break the circular dependency. Fixes: http://autobuild.buildroot.net/results/9c3/9c3ee798fa6bb501a20a7892c0b085d2b279b664/ Suggested-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/zlog: bump to version ccf8c36e918d6f3c7e6fe9e36eedf8583014c5c9Gravatar Fabrice Fontaine2019-03-184-72/+3
| | | | | | | | - Remove patches (already in version) - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/grpc: update to 1.18.0Gravatar Trent Piepho2019-03-173-8/+11
| | | | | | | | | | | | | Bump version. Freshen a patch that had a conflict. Remove duplicate env setting. Add comment about the hack being used to get gRPC to use the buildroot c-ares library. Otherwise it looks like the cmake env settings are out of date vs what the gRPC build documentation says to use. Signed-off-by: Trent Piepho <tpiepho@impinj.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/python-terminaltables: wrap Config.in help textGravatar Thomas Petazzoni2019-03-171-1/+2
| | | | | | | | Fixes the following check-package error: package/python-terminaltables/Config.in:4: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/python-ipython: bump to version 7.3.0Gravatar Fabrice Fontaine2019-03-172-6/+7
| | | | | | | | | | | - Update hash for COPYING.rst, it has been updated to remove BSD-3-Clause text: https://github.com/ipython/ipython/commit/5a6ef3e35db9ac04bf47a17d96484e03370f03dd - Add LICENSE to license files as this is now the file that contain BSD-3-Clause text Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/jack2: bump to version 1.9.12Gravatar Fabrice Fontaine2019-03-178-318/+2
| | | | | | | Remove patches (already in version) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/jhead: bump to version 3.0.3Gravatar Fabrice Fontaine2019-03-173-18/+3
| | | | | | | | - Remove patch (already in version) - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/keepalived: bump to version 2.0.13Gravatar Fabrice Fontaine2019-03-174-101/+2
| | | | | | | Remove patches (already in version) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/wpan-tools: bump to version 0.9Gravatar Fabrice Fontaine2019-03-173-56/+7
| | | | | | | | | - Switch site to github - Remove patch (already in version) - Add hash for license file Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/mender-artifact: new packageGravatar Angelo Compagnucci2019-03-174-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mender-artifact is a host tool to generate update images in the Mender artifact file format. This package uses the binary archive from github because it bundles the external dependencies. Example usage: $ mender-artifact write rootfs-image \ --update rootfs.ext4 \ --output-path rootfs.mender \ --artifact-name "release-v1.0.0" \ --device-type "beaglebone" Above will generate a Mender artifact called "rootfs.mender" containing the "rootfs.ext4" image along with meta-data. One can read-out the meta-data with the following command: $ mender-artifact read rootfs.mender Mender artifact: Name: release-v1.0.0 Format: mender Version: 2 Signature: no signature Compatible devices: '[beaglebone]' Updates: 0000: Type: rootfs-image Files: name: rootfs.ext4 size: 52428800 modified: 2018-08-27 09:10:55 +0200 CEST checksum: e70b113fb0964a810a3043586eb4fc1c48e684ba78b02ba65fead4aa3e540d87 Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Tested-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/pkg-golang: add support for building host packagesGravatar Mirza Krak2019-03-172-3/+40
| | | | | | | | | | | | | | | With this you can add: $(eval $(host-golang-package)) to a package .mk file to build for host. Signed-off-by: Mirza Krak <mirza.krak@northern.tech> Acked-by: Angelo Compagnucci <angelo@amarulasolutions.com> Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Tested-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/go: rename BR2_PACKAGE_HOST_GO_{ARCH_SUPPORTS,CGO_LINKING_SUPPORTS}Gravatar Angelo Compagnucci2019-03-178-31/+32
| | | | | | | | | | | | | | | | | | | | | The hidden Config.in option BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS name is not very clear as to whether it says whether Go is available for the target architecture or the host architecture. Until now, this was fine since there was support for host Go packages. But as we are about to introduce support for building host Go packages, we need to clarify the meaning of BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS. Since it says whether the target architecture has support for Go or not, we rename it to BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS. And since BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS is tightly related, we rename it to BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Tested-by: Adam Duskett <aduskett@gmail.com> [Thomas: entirely rewrite commit log] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/fltk: add optional xlib_libXrender dependencyGravatar Fabrice Fontaine2019-03-171-0/+7
| | | | | | | | | xlib_libXrender is enabled by default and has been added since version 1.3.4-1 and https://github.com/fltk/fltk/commit/a6c4b29a184ce7708819f4706877eedcd99a30f5 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/pkg-generic: tweak only .la files that need itGravatar Yann E. MORIN2019-03-171-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Currently, when we tweak the .la files, we do so unconditionally on all .la files, even those we already fixed in a previous run. This has the nasty side effect that each .la file will be reported as being touched by all packages that are installed after the package that actually installed said .la file. Since we can't easily know what files were installed by a package (that is an instrumentation hook, and comes after the mangling), we use a trick (like is done in libtool?): we do mangle all files, each into a temporary location; if the result is identical to the input, we remove the temporary, while if the result differs from the output, we move the temporary to replace the input. Reported-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> 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> Cc: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/python-aiomonitor: new packageGravatar James Hilliard2019-03-174-0/+30
| | | | | | | | aiomonitor adds monitor and python REPL capabilities for asyncio application. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/python-aioconsole: new packageGravatar James Hilliard2019-03-174-0/+24
| | | | | | | Asynchronous console and interfaces for asyncio. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/python-terminaltables: new packageGravatar James Hilliard2019-03-174-0/+23
| | | | | | | Generate simple tables in terminals from a nested list of strings. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* core: add make-based full-dependency listGravatar Yann E. MORIN2019-03-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, when we need to build the full dependency graph, we call make to show the list of packages (make show-targets), and then call it again and again iteratively while it returns new packages. Since calling make will parse the whole set of our Makefiles, this takes quite a bit of time (~4s each here), and the total can get pretty long. However, make being make, already builds the whole dependency tree information, so we can just ask for it. Add a new top-level rule 'show-dependency-tree' that displays the whole set of dependencies for all packages. For each package, its name, type and version is displayed, then all the direct, first-level dependencies are dumped. We choose a format that is not unlike the dot-graph format, because it is both easy to read as a human, and easy to parse as a machine: foo: target 1.2.3 foo -> bar host-meh bar: target virtual bar -> buz buz: target 2.3.4 buz -> host-meh: host virtual host-meh -> host-bleark host-bleark: host 3.4.5 host-bleark -> rootfs-meh: host rootfs-meh -> host-bleark To be noted: rootfs are currently reported as if they were 'host' packages, to stay aligned with how graph-depends currently treats them. Ideally, graph-depends could be enhanced to recognise them separately, but that is another story. For just plain defconfig, which is about the smallest config we can have with an internal toolchain, we already have a seven-fold improvement (with the graph-depends rule modified to not run the pdf generation, to be able to just compare the tree generation): $ time make graph-depends real 0m27.344s $ time make show-dependency-tree real 0m3.848s >From defconfig, C++, wchar, locales, ssp, and allyespackageconfig, tweaked for even more packages (qt5 not qt4, luajit to avoid multi providers, etc...), the timings are (graph-depends still modified to not generate the pdf): $ time make graph-depends real 1m56.459s $ time make show-dependency-tree real 0m5.748s There. I don't think those numbers need any explanation whatsoever; they do speak on their own. OK, for maths sake, the ratio is about twenty-fold. So, "yeah", I guess... ;-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* infra/pkg-generic: use pure Makefile-based recursive dependenciesGravatar Yann E. MORIN2019-03-171-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling to the graph-depends script is very costly, as it calls back to 'make' a lot of time. It turns out that we already have the list of recursive dependencies, so we can just print that. As for the recursive reverse dependencies, we use the same memoisation technique to cut-down on the expansion cost, which would otherwise be on the order of 𝑶(𝑛²) (with 𝑛 enabled packages). >From a defconfig, modified to use glibc, C++, wchar, locales, ssp, and allyespackageconfig (tweaked to avoid multi providers, etc...), the timings for X-show-recursive-rdepends are: before after speedup #rdeps libnss 0m22.932s 0m5.775s 3.97x 3 qt5base 0m41.176s 0m5.781s 7.12x 67 libjpeg 0m56.185s 0m5.749s 9.71x 228 libxml2 0m54.964s 0m5.795s 9.48x 271 freetype 0m46.754s 0m5.819s 8.07x 287 libpng 0m53.577s 0m5.760s 9.30x 303 sqlite 1m15.222s 0m5.807s 12.95x 801 libopenssl 1m25.471s 0m5.844s 14.63x 931 readline 1m13.805s 0m5.775s 12.78x 958 libzlib 1m11.807s 0m5.820s 12.34x 1039 toolchain 1m23.712s 0m6.080s 13.77x 2107 skeleton 1m27.839s 0m6.293s 13.96x 2111 (+1) host-skeleton 1m27.405s 0m6.350s 13.76x 2172 (+2) - speedup: ratio before/after - #rdeps: number of recursive reverse dependencies, with the extra dependencies returned with this patch, see below for the reason. So, for a low-level package with a lot of reverse dependencies, like libzlibz, libopenssl or readline are, the timings are already very much in favour of the change. This is less impressive with packages that have few dependencies (libnss), but still much faster. Also, remember that the config tested has as much packages enabled as possible, so is in itself a degenerate case. With simpler and more realistic configurations, the gains would probably be a bit lower than reported above, but various tests still report good improvements overall (note: coming up with a 'realistic' configuration is pretty hard, as everyone and their dog have their notion of what is realistic in their context, so nothing displayed here; timings are left as an exercise for the interested parties to report aggravation in their cases should they notice some regression). Note that, more recursive reverse dependencies may be displayed now, since we do not apply the exceptions applied in graph-depends. For example, host-skeleton gains two new recursive reverse dependencies: skeleton and toolchain, which are both exceptions in graph-depends. As for direct (not reverse) dependencies: the gain is not as fantastic as for reverse ones, but it is still noticeable, especially thanks to a21212fb7cf (package/pkg-generic: speed up RECURSIVE_FINAL_DEPENDENCIES); just a few examples for %-show-recursive-depends: before after speedup #deps libzlib 0m46.864s 0m5.902s 7.94x 17 qt5base 0m57.590s 0m5.848s 9.85x 190 sqlite 0m46.601s 0m5.816s 8.01x 24 Basically, displaying recursive dependencies, direct or reverse, is almost a constant now: it only slightly varies by about 10% depending on the complexity of the dependency chain, with the parsing of the Makefiles still accounting for the large majority of the time. (PS. Thanks to Joseph for suggesting a list of interesting packages to test, and thanks to Trent for his example of memoisation!) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Joseph Kogut <joseph.kogut@gmail.com> Cc: Trent Piepho <tpiepho@impinj.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/openjdk: support zero hotspot variantGravatar Matt Weber2019-03-172-2/+17
| | | | | | | | | | The OpenJDK package supports a non-assembler variant of the hotspot virtual machine. This allows archtectures which don't have hard-coded support (which provides better performance) to still build a virtual machine that can execute JAVA. Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/systemd: drop optiopns that are now conditionalGravatar Yann E. MORIN2019-03-171-2/+0
| | | | | | | | | | | Commit 6f28ce53222 (package/systemd: enable building of systemd-boot) made the efi and gnu-efi optiona conditional upon whether systemd-boot is built or not, but forgot to remove the non-conditional ones. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: James Hilliard <james.hilliard1@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/xenomai: drop empty line at end of .hash fileGravatar Thomas Petazzoni2019-03-171-1/+0
| | | | | | | | Fixes the following check-package warning: package/xenomai/xenomai.hash:3: empty line at end of file Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/openjdk: use AArch64 optimizationsGravatar Adam Duskett2019-03-171-0/+5
| | | | | Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>