- Mar 04, 2019
-
-
Peter Korsgaard authored
Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Jörg Krause authored
If libsoxr is build statically against libavutil other applications needs to know that they must link with `-lavutil` when building in a static context. Signed-off-by:
Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Jörg Krause authored
This reverts commit d81870ae. The patch attempts to fix static linking with libsoxr when it build with avutils. The `Libs.private` field should not contain the full absolute path to the static library, but only the link flags for private libraries, e.g `-lm`. Buildroots pkg-config prepends the sysroot to the value found in `Libs.private` resulting in a malformed linker flag if libavutil is found: ``` -L/home/test/autobuild/run/instance-3/output/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lsoxr /home/test/autobuild/run/instance-3/output/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/home/test/autobuild/run/instance-3/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libavutil.a ``` .. or if libavutils is not found: ``` -L/home/test/autobuild/run/instance-1/output/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lsoxr AVUTIL_LIBRARIES-NOTFOUND ``` Revert this commit and replace the patch by a follow-up patch which only adds `-lavutil` to `Libs.private` in case it is found and used by libsoxr. Fixes: http://autobuild.buildroot.net/results/6eb4e2c9bd3884ab0152ddf873c20e62f0941181/ http://autobuild.buildroot.net/results/07207b0a58a08bf7c2cb78345a58244b5e6aab0e/ Signed-off-by:
Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Xavier Ruppen authored
Buildroot built with systemd fails to open a login prompt on the serial port when /dev/console is specified as BR2_TARGET_GENERIC_GETTY_PORT (which is its default value): systemd[1]: dev-console.device: Job dev-console.device/start timed out. systemd[1]: Timed out waiting for device /dev/console. systemd[1]: Dependency failed for Serial Getty on console. systemd[1]: serial-getty@console.service: Job serial-getty@console.service/start failed with result 'dependency'. systemd[1]: dev-console.device: Job dev-console.device/start failed with result 'timeout'. systemd[1]: Reached target Login Prompts. systemd[1]: Reached target Multi-User System. According to this issue on Github [1], serial-getty@.service should not be instantiated on /dev/console, console-getty@.service should be used instead. This stems from the fact that there should be no dependency on /dev/console. [1] https://github.com/systemd/systemd/issues/10914 Signed-off-by:
Xavier Ruppen <xruppen@gmail.com> Reviewed-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> [Peter: drop SERVICE variable as suggested by Yann] Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Fabrice Fontaine authored
Commit c110e48c disabled openssl support on QT 5.6, this has the side-effect of breaking the build of cutelyst because cutelyst does not manage build with QT_NO_SSL, see: https://github.com/cutelyst/cutelyst/issues/159 This bump fixes the issue by bumping cutelyst to version 2.7.0 and by removing the uneeded select on BR2_PACKAGE_OPENSSL Fixes: - http://autobuild.buildroot.org/results/4299221429713ace25fc234abeb81697bc410647 Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Fabrice Fontaine authored
Commit c110e48c disabled openssl support on QT 5.6, this has the side-effect of breaking the build of python-pyqt5 because support of openssl is enabled on python-pyqt5 if BR2_PACKAGE_OPENSSL is selected To fix this issue, add a new BR2_PACKAGE_QT5BASE_OPENSSL option in qt5base and use it in python-pyqt5 Fixes: - http://autobuild.buildroot.org/results/e92991308d47649cecc4084e41ab5711ec96831f Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> [Peter: make _OPENSSL a blind option, add libressl logic for 5.6.x] Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
James Grant authored
LibreSSL build is successful with shared linkage, but not default dlopen(). Also adds patch for successful compilation by using -fpermissive. Signed-off-by:
James Grant <jamesg@zaltys.org> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Fabrice Fontaine authored
gst-plugins-bad does not build with spandsp so disable it (it's already disabled in gst1-plugins-bad) Fixes: - http://autobuild.buildroot.org/results/842ca572b7810bca70846274262a6fcdb38df49 Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Korsgaard authored
These toolchains are very old and cause a number of autobuilder failures that doesn't happen with more recent toolchains: Fixes (glibc 2.18 does not provide O_TMPFILE): http://autobuild.buildroot.net/results/c49e8361a1d4406eefd8fc1b35c8e5b061aa403b Fixes (x86 toolchain built without libquadmath): http://autobuild.buildroot.net/results/2d9724f169ccd60c7feb1cb549f1e2e1e9219ac3/ Use Codesourcery ARM toolchain (GCC 4.8.3) to provide a test with a old GCC version. Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Korsgaard authored
Fixes: http://autobuild.buildroot.net/results/018e309caa0fc662aa2993e47b2037fb6c569011/ This toolchain uses glibc 2.18, which does not provide O_TMPFILE support. Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Mar 03, 2019
-
-
Gwenhael Goavec-Merou authored
On some architectures, atomic builtins 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 Fixes: - http://autobuild.buildroot.net/results/a003ad5324a0c0f55cb8db5d3e5d69bd21999e16/ - http://autobuild.buildroot.net/results/464602175d026d135125e5baa00e0729aec7a931/ Signed-off-by:
Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> [Peter: add dependency on sync or atomic builtins in Config, addd comment] Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Christian Stewart authored
Go "modules" refers to the dependency fetching, verification (hashing), and version control system built into Go as of 1.11. It is not desirable to have Go modules enabled in Buildroot in the normal case, as Buildroot manages downloading the sources, and third party dependency managers are typically not used. In the absence of the GO111MODULE environment variable, the Go compiler will correctly compile using the "vendor" version of dependencies downloaded by Buildroot during the compilation process for Go-based packages. However, if the user sets the GO111MODULE=on environment variable, the Go compiler will download the Go dependencies for Buildroot packages, using the modules system. This is potentially unintended behavior from user environment variables. This commit sets the GO111MODULE=off variable in the Go target and host compilation environments, disabling Go modules support for Buildroot mainline packages. Signed-off-by:
Christian Stewart <christian@paral.in> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Fabrice Fontaine authored
Fixes: - http://autobuild.buildroot.org/results/102796d74e63d0d203e6ac9e2094052588188e6d Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Mar 02, 2019
-
-
Fabrice Fontaine authored
- Fixes CVE-2018-5815 and CVE-2018-5816 - README has been renamed into README.md Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Xavier Ruppen authored
The old free-electrons.com URL does not seem to work anymore, resulting in the package failing to build. Use bootlin.com instead. Signed-off-by:
Xavier Ruppen <xruppen@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Mar 01, 2019
-
-
Peter Korsgaard authored
Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
James Hilliard authored
Some python packages seem to use underscores in inconsistent ways. We can attempt to normalize these by always using dashes for the buildroot name and attempting to autodetect the correct metadata name format. Signed-off-by:
James Hilliard <james.hilliard1@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Trent Piepho authored
Evaluating all the <PKG>_RECURSIVE_FINAL_DEPENDENCIES variables (abbreviated RFD hereafter) ends up being quite slow. Enough, on a reasonable modern workstation, to increase the time it takes to run "make printvars" from 13 seconds in 2018.02 to 371 seconds in 2019.02. This patch improves this by using dynamic programming to speed the evaluation of RFD, reducing the before mentioned printvars time to about 14.6 seconds. The evaluation of PKG1_RFD requires recursively evaluating each of PKG1's dependencies' RFDs, then their dependencies' RFDs, and so on. The same is done for PKG2_RFD. But it's likely that many of the dependencies of PKG2 are the same as PKG1. And when we consider all packages, the dependencies are re-computed many thousands of times. To avoid this re-computation we memoize, or save, the computed value of each RFD variable when it found the first time. Subsequent evaluations re-use the memoized value. Surprisingly, this ends up being not all the hard to implement in make. The basic construct is this: VAR = $(if !defined(VAR__X),$(eval VAR__X := value))$(VAR__X) The first time VAR is evaluated VAR__X will not be defined, and code to set VAR__X to the computed value is eval'd. Then the now defined value of VAR__X is returned. Subsequent evaluations can just return VAR__X. It is important to note that VAR is defined with '=', as not enough information (namely, all packages' dependencies) is know when it is parsed to find the correct value. VAR will be evaluated each time it is used. But VAR__X is defined with ":=", so that it is evaluated once when defined, and not each time it is used. Signed-off-by:
Trent Piepho <tpiepho@impinj.com> Tested-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Ricardo Martincoski authored
This reverts commit 81771cfc. The download of sha1 of a special ref currently works or not depending on the git client version in use. With git version 2.11.0 (present in the docker image) it does not work. With git version 2.17.1 it works. For the sake of reproducibility, remove this part of the TestGitRefs test case until some code gets added to the download infra to handle sha1 of a special ref for any git client version. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/158295269 Signed-off-by:
Ricardo Martincoski <ricardo.martincoski@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
James Grant authored
No patch back-porting OpenSSL 1.1.x support to Qt 5.6.x is available. https://development.qt-project.narkive.com/RW4wxYXY/openssl-1-1-x-support-on-qt-5-6-5-9 Signed-off-by:
James Grant <james.grant@jci.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
James Grant authored
This allows all options set by Buildroot to be overridden. Signed-off-by:
James Grant <james.grant@jci.com> [Peter: drop original line as pointed out by Thomas] Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Fabrice Fontaine authored
gerbera package in version 1.3 unfortunately now requires CMake >= 3.8 for C++17 macros: https://github.com/gerbera/gerbera/commit/b5fd39f30fb10385ec228b71377685206a609c3a So we need to bump our requirement from 3.1 to 3.8. If the host doesn't have a CMake >= 3.8, Buildroot will build its own host-cmake package. Also drop patch that relax cmake requirement on json-for-modern-cpp Fixes: - http://autobuild.buildroot.org/results/6405647b47b132ff5d0d211b92d407322d52d507 Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Feb 28, 2019
-
-
Peter Seiderer authored
Fixes [1]: bar/sqcode.c: In function 'sq_scan_shape': zbar/sqcode.c:171:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int x = x0 - 1; x < x0 + width + 1; x++) { ^ zbar/sqcode.c:171:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code [1] http://autobuild.buildroot.net/results/7d544275756f655f9d42c05562aca653923155b1 Signed-off-by:
Peter Seiderer <ps.report@gmx.net> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
- Feb 27, 2019
-
-
Peter Korsgaard authored
Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Christian Stewart authored
Fixes: http://autobuild.buildroot.net/results/63e9d88ae5177541be463f1e2aafec59aa410479 Add dependency on headers >= 3.11 for O_TMPFILE, used by runc after the fix for CVE-2019-5736 and propagate to the reverse dependencies of runc. Notice that C library support for O_TMPFILE is also needed, which was added in glibc 2.19 and musl 0.9.15. Signed-off-by:
Christian Stewart <christian@paral.in> [Peter: squash series, extend commit message, mention C library dependency, fix indentation] Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Feb 26, 2019
-
-
Baruch Siach authored
CVE-2019-6454: systemd (PID1) crash with specially crafted D-Bus message from unprivileged user Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Baruch Siach authored
stress-ng optionally detects and uses BSD wcsl* wchar string functions. Cc: Romain Naour <romain.naour@gmail.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Adam Duskett authored
Signed-off-by:
Adam Duskett <Aduskett@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Korsgaard authored
Fixes: http://autobuild.buildroot.net/results/0a26265961747600388258d32ba7dc9226c9249b/ Commit 40005b9a (package/cryptopp: fix build with gcc < 4.9) added a patch to fix building with old toolchains. The source code unfortunately contains a mix of DOS and UNIX newlines, and the DOS new lines got stripped by the mailing list, causing the patch to no longer apply. Fix up the patch manually. Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Romain Naour authored
Remove upsteam xtensa patches: https://github.com/gcc-mirror/gcc/commit/68ca69a4854af36c90531b33a4c540464dbc6a23 https://github.com/gcc-mirror/gcc/commit/972057cb254e355805bfcd4a47d5c6f743cb76f4 Tested using Toolchain-builder: https://gitlab.com/kubu93/toolchains-builder/pipelines/48904471 Signed-off-by:
Romain Naour <romain.naour@smile.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Carlos Santos authored
Commit 1a437fd2 bumped gnu-efi to version 3.0.9. This breaks the build of syslinux with EFI support due to multiple definitions of 'memset' and 'memcpy'. Backport a patch already applied upstream to fix the problem. Signed-off-by:
Carlos Santos <casantos@datacom.com.br> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Feb 25, 2019
-
-
Thomas De Schampheleire authored
When compiling iproute2 using a toolchain containing glibc 2.17 and older, it fails due to a missing definition of AF_VSOCK. Add a submitted and accepted upstream patch to fix this issue. Signed-off-by:
Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> Reviewed-by:
Petr Vorel <petr.vorel@gmail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
James Hilliard authored
meson requires a custom cpu_family format https://mesonbuild.com/Reference-tables.html#cpu-families Signed-off-by:
James Hilliard <james.hilliard1@gmail.com> Reviewed-by:
Peter Seiderer <ps.report@gmx.net> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
Baruch Siach authored
Drop upstream patch. Fixes strict-overflow build error with older toolchains. Fixes: http://autobuild.buildroot.net/results/b95b1939a55111fc6b90ef253a32402b87f9c4ab/ http://autobuild.buildroot.net/results/281cb7b940178e4fe98940ddeed07ad546b23931/ http://autobuild.buildroot.net/results/e95d5957c19ff01120903a66d1167279a34da2ce/ Cc: Scott Fan <fancp2007@gmail.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
Vadim Kochan authored
Author's and sign-off's emails differs, so fix the author's one which is not valid anymore. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Feb 24, 2019
-
-
Peter Korsgaard authored
Fixes: http://autobuild.buildroot.net/results/e88/e881667f388eea4cce2f804b373af4e3038e7b52/ commit fc9f9cd7 (package/ibrcommon: fix static build with openssl) added a patch to fix static linking. The source code unfortunately contains a mix of DOS and UNIX newlines, and the DOS new lines got stripped by the mailing list, causing the patch to no longer apply. Fix up the patch manually. Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Fabrice Fontaine authored
On some architectures, atomic built-ins 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/a442734c570e4a02854014d831ba3aab9f592430 Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
Fabrice Fontaine authored
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/983537ceb38add50ca0a2316f39a2964db1b83c5 Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
Fabrice Fontaine authored
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/515160349b11f06a090f3e13992e30da9a402c17 Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
Francois Perrad authored
lua-curl has separate code paths for compilers that support forward typedef declarations and those who don't. For the latter case, one structure was not properly defined, causing a build failure with older compilers. Fixes: http://autobuild.buildroot.org/results/8d76ad49837b368a7bba3c3dfd445a035471268a/ Signed-off-by:
Francois Perrad <francois.perrad@gadz.org> [Thomas: improve commit log] Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-