Johan Oudinet [Wed, 6 Dec 2017 14:47:53 +0000 (15:47 +0100)]
flann: Disable find package for HDF5
The HDF5 package is used by flann for testing purpose only and is
not part of buildroot packages. However, if present in the host, it will
be used and trigger the unsafe header/library path used in
cross-compilation error.
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Johan Oudinet [Wed, 6 Dec 2017 14:40:06 +0000 (15:40 +0100)]
erlang: Add a patch for hosts without libz
Since commit 640c988fd4, erts/configure adds -lz to LIBS but
this variable is also used in some Dynamic Erlang drivers. Fix
Makefiles in such drivers to use the LDLIBS variable instead.
This patch has been reported upstream (see
https://bugs.erlang.org/browse/ERL-529) and should fix:
The major change between 2.16 and 2.16.1 that fixes static linking
with libssl is that pkg-config is now used to detect
libssl. Therefore, we add a dependency on host-pkgconf.
Signed-off-by: Ismael Luceno <ismael@iodev.co.uk> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Julius Kriukas <julius@kriukas.lt> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
[Thomas: adjust commit description to mention the CVE being fixed.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This package adds the rtl8189fs WiFi driver. The driver is sourced
from jwrdegoede's and icenowy's work on GitHub:
repo: https://github.com/jwrdegoede/rtl8189ES_linux.git
branch: rtl8189fs
Driver is known to support Realtek RTL8189FTV chip.
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
board/orangepi: add support for orangepi-pc-plus board
This board is a variant of orangepi-pc board. It adds 8GB eMMC and Realtek
RTL8189FTV SDIO WiFi chip. This variant has a separate support in U-Boot
and kernel. So it makes sense to create a separate entry
for this board in buildroot.
Board support package includes the following components:
- mainline u-boot 2017.09
- mainline kernel 4.13.11
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
[Thomas: add entry to DEVELOPERS file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Sun, 3 Dec 2017 18:23:10 +0000 (19:23 +0100)]
package/kodi-pvr-stalker: needs libxml2
Since
https://git.buildroot.net/buildroot/commit/package/kodi?id=bf9bfd065ba3fab328fd041ca040f2bf134fecf2
kodi itself does not depend on libxml2 anymore which previously
provided libxml2 still needed by kodi-pvr-stalker:
https://github.com/kodi-pvr/pvr.stalker/blob/Krypton/CMakeLists.txt#L12
Fixes a build error not caught by autobuilders because they do not have
host jdk installed:
CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
- 0001-Makefile-remove-Werror-to-avoid-build-failures.patch is
adjusted to apply to the new version of kvm-unit-tests
- 0001-x86-hyperv_clock-be-explicit-about-mul-instruction-d.patch is
removed, as it has been merged upstream as of commit 45276b5860522921c77fb3ccc1458ff5f223c3c6.
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o
clients/simple-dmabuf-drm.c: In function 'create_display':
clients/simple-dmabuf-drm.c:758:15: warning: implicit declaration of function 'eglQueryString' [-Wimplicit-function-declaration]
extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
^~~~~~~~~~~~~~
clients/simple-dmabuf-drm.c:758:30: error: 'EGL_NO_DISPLAY' undeclared (first use in this function)
extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
^~~~~~~~~~~~~~
clients/simple-dmabuf-drm.c:758:30: note: each undeclared identifier is reported only once for each function it appears in
clients/simple-dmabuf-drm.c:758:46: error: 'EGL_EXTENSIONS' undeclared (first use in this function)
extensions = eglQueryString(EGL_NO_DISPLAY, EGL_EXTENSIONS);
^~~~~~~~~~~~~~
clients/simple-dmabuf-drm.c:759:21: warning: implicit declaration of function 'weston_check_egl_extension' [-Wimplicit-function-declaration]
if (extensions && !weston_check_egl_extension(extensions,
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
check-package: avoid false warning of useless flag
Just AUTORECONF = NO is redundant.
Just HOST_AUTORECONF = NO is redundant.
But the combination of AUTORECONF = YES + HOST_AUTORECONF = NO is valid.
So basically for all variables that have inheritance between target and
host, having the host variant of the variable set the variable value
back to its default is correct if the target variable is set.
Instead of increasing complexity of the script to fully detect this
case, ignore the host flag set to its default value as it can be
overriding a non-default value inherited from the equivalent target
flag.
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Reported-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
.gitlab-ci.yml: extend check-package test to hash files
Now that all issues in hash files have been fixed, let's try to make
sure we don't introduce new ones by checking regularly the hash files
issues in Gitlab CI.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
In many gstreamer1 packages, the line containing a comment about the
origin of the hash was not prefixed with a pound sign as it should be.
Fixes those check-package warnings:
./package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-vaapi/gst1-vaapi.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-vaapi/gst1-vaapi.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gstreamer1/gstreamer1.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gstreamer1/gstreamer1.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-libav/gst1-libav.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst1-libav/gst1-libav.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst-omx/gst-omx.hash:1: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/gstreamer1/gst-omx/gst-omx.hash:1: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
./package/python-schedule/python-schedule.hash:5: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
./package/python-schedule/python-schedule.hash:5: unexpected type of hash (http://nightly.buildroot.org/#adding-packages-hash)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls [Fri, 1 Dec 2017 22:19:35 +0000 (23:19 +0100)]
package/kodi-inputstream-adaptive: add dependencies for supported archs
kodi-inputstream-adaptive is available on a limited list of archs:
https://github.com/peak3d/inputstream.adaptive/blob/Krypton/wvdecrypter/cdm/build/build_config.h#L97
Fixes build error
/home/buildroot/br8/output/build/kodi-inputstream-adaptive-9af21218a87572bd4ab8d8d660c11f6295144f97/wvdecrypter/cdm/media/cdm/../../base/../base/../build/build_config.h:137:2: error: #error Please add support for your architecture in build/build_config.h
#error Please add support for your architecture in build/build_config.h
Peter Seiderer [Sat, 25 Nov 2017 21:54:25 +0000 (22:54 +0100)]
qt5quickcontrols2: fix examples compile without Qt widgets module
Add upstream suggested patch to fix flatstyle example configure
(needs widgets module).
Fixes:
cd flatstyle/ && ( test -e Makefile || .../host/bin/qmake -o Makefile .../build/qt5quickcontrols2-5.9.2/examples/quickcontrols2/flatstyle/flatstyle.pro ) && make -f Makefile
Project ERROR: Unknown module(s) in QT: widgets
make[1]: *** [Makefile:202: sub-flatstyle-make_first] Error 3
make[1]: Leaving directory '.../build/qt5quickcontrols2-5.9.2/examples/quickcontrols2'
make: *** [Makefile:45: sub-quickcontrols2-make_first] Error 2
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: move patch to 5.9.3 directory, since we've bumped
qtquickcontrols2 since then.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Qt Quick should no longer depend on opengl, and instead fallback to
the limited functionality software renderer as a replacement [1] when
not available.
Cc: Peter Seiderer <ps.report@gmx.net> Cc: Julien Corjon <corjon.j@ecagroup.com> Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com> Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Tested-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: drop qt5declarative patch, since we have bumped to 5.9.3,
which contains the patch.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
./package/armbian-firmware/armbian-firmware.mk:14: use only one space before backslash
./package/armbian-firmware/armbian-firmware.mk:15: use only one space before backslash
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
qt5webkit: fix typo in the <pkg>_DEPENDENCIES declaration
This commit fixes a typo introduced in commit 43e1d099b4fca37ce7cbbf3dd41fe4330610b723 ("Revert
"package/qt5webkit-examples: remove obsolete package""), which caused
qt5declarative to not be added as a dependency for the correct
package.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Wed, 29 Nov 2017 23:08:43 +0000 (00:08 +0100)]
packages: fix trailing spaces and slash
... as reported by utils/check-package.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Wed, 29 Nov 2017 23:08:42 +0000 (00:08 +0100)]
packages: remove "consecutive empty lines"
... as reported by utils/check-package
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Adam Duskett <aduskett@gmail.com> Cc: Yegor Yefremov<yegorslists@googlemail.com> Cc: Matt Weber <matthew.weber@rockwellcollins.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Wed, 29 Nov 2017 23:08:40 +0000 (00:08 +0100)]
package/am335x-pru-package: rename variable
We use package names as poor-man's namespace, so fix that.
Reported by utils/check-package.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN [Wed, 29 Nov 2017 23:08:39 +0000 (00:08 +0100)]
package/checkpolicy: rename variable
We use package names as poor-man's namespace, so fix that.
Reported by utils/check-package.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Adam Duskett <aduskett@gmail.com> Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com> Cc: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas: use CHECKPOLICY_MAKE_OPTS instead of
CHECKPOLICY_TARGET_MAKE_OPTS, as it is more consistent with
HOST_CHECKPOLICY_MAKE_OPTS being used for the host variant.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Johan Oudinet [Thu, 30 Nov 2017 15:42:02 +0000 (16:42 +0100)]
erlang: bump to version 20.0
This change bumps the Erlang version from 19.3 to 20.0. As a new major
release, there are a few incompatibilities. Details are here:
http://www.erlang.org/news/114
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com> Reviewed-by: Frank Hunleth <fhunleth@troodon-software.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>