Commit graph

60019 commits

Author SHA1 Message Date
Fabrice Fontaine 18911c935c package/pipewire: fix build on powerpc
Fix the following build failure raised since bump to version 0.3.39 in
commit d9796f2db9:

In file included from /home/giuliobenetti/autobuild/run/instance-1/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/signal.h:318,
                 from ../spa/include/spa/utils/defs.h:34,
                 from ../spa/include/spa/utils/type.h:32,
                 from ../spa/include/spa/support/log.h:34,
                 from ../spa/plugins/support/cpu.c:37:
../spa/plugins/support/cpu.c: In function 'impl_init':
../spa/plugins/support/cpu.c:88:33: error: called object is not a function or function pointer
   88 | #define impl_cpu_zero_denormals NULL
      |                                 ^~~~

Fixes:
 - http://autobuild.buildroot.org/results/eaf255c46b10cbb6b8a629bc15acf7772d5e274b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-06 11:47:16 +01:00
Romain Naour deb67dbca6 package/refpolicy: move patches to subdirectory
refpolicy patches are for 2.20210908 upstream version but when using a custom
version from git they may fail to apply.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1734417630

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-06 11:46:23 +01:00
Yann E. MORIN 57a9507542 CHANGES: expand for 2021.11-rc1
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-11-06 11:19:53 +01:00
Fabrice Fontaine bd2318df7b package/libteam: drop LIBTEAM_CPE_ID_VENDOR
LIBTEAM_CPE_ID_VENDOR was wrongly set since the addition of the package
in commit 7485f5be0c as
cpe:2.3🅰️libteam:libteam is not a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Alibteam%3Alibteam

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-11-05 22:37:10 +01:00
Romain Naour d51189ffe5 package/systemd: enable selinux xdg module for refpolicy
Without the selinux xgd module enabled by systemd package, refpolicy
fail to build due to policy/modules/system/systemd.te [1]

policy/modules/system/systemd.te:288:ERROR 'attribute xdg_config_type is not declared' at token ';' on line 508447:

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1710552468
https://gitlab.com/buildroot.org/buildroot/-/jobs/1710552470

[1] https://github.com/SELinuxProject/refpolicy/blob/RELEASE_2_20210908/policy/modules/system/systemd.te#L288

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-11-05 22:34:40 +01:00
Romain Naour d2f92512f6 support/testing: test_jffs2.py: update logical eraseblock size for qemu >= 2.9
The test_jffs2 test fail for the same reason as test_ubi test with qemu >= 2.9
due to a qemu 2.8 bug. See commit d8447c38f5.

Divide the erase block size by two.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1687590514

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-11-05 22:30:36 +01:00
James Hilliard 0f1bce7b73 package/weston: remove launcher-libseat meson option
This option only exists in main and is not in a release.

Fixes:
output/build/weston-9.0.0/meson.build:1:0: ERROR: Unknown options: "launcher-libseat"

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-11-05 22:09:28 +01:00
Joachim Wiberg 7485f5be0c package/libteam: new package
This package is the userspace daemon, client tool, and library for the
team device implementation in the Linux kernel.  Team is an alternative
to the traditional bonding driver and provides more "runners", or modes,
of operation for aggregates.  None of these modes are enabled by default
and need a custom kernel config.

Backported the three most relevant patches to fix musl build, revert of
a fix prior to 1.31 that can cause high CPU load, and a fix to prevent
failing to stop the daemon due to too short timeout for kill command.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
[yann.morin.1998@free.fr: slight reword in help text]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-11-05 21:59:05 +01:00
Thomas Petazzoni 639c0047a9 CHANGES: prepare for 2021.11-rc1
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-05 21:30:11 +01:00
Fabrice Fontaine 3c5658cb37 package/python-pyndiff: needs python3
python3 is needed since the addition of the package in commit
1665e0a79b to avoid the following build
failure:

error:   File "/usr/lib/python2.7/site-packages/pyndiff/core.py", line 48
    nmap_service_name = f"{service_name} {service_product} {service_version} {service_extrainfo}".replace(
                                                                                                ^
SyntaxError: invalid syntax

Fixes:
 - http://autobuild.buildroot.org/results/9f283774ca2c89540753bbd62fdbddb1f9d4e392

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:39:19 +01:00
Grzegorz Blach 8f3e5f1502 package/python-crontab: bump to version 2.6.0
Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:33:34 +01:00
Peter Korsgaard eb2a5cc9e6 package/jack1/Config.in: fix wiki link
The entry seems to have been renamed slightly.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:26:07 +01:00
Fabrice Fontaine 2d8430f36f package/python-watchdog: needs python3
python3 is needed to avoid the following build failure since bump to
version 2.1.6 in commit a1f7597b4d and
86b983aa5f:

Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    import importlib.util
ImportError: No module named util

Fixes:
 - http://autobuild.buildroot.org/results/9d4/9d4abcb029f4e44a9cb454faa8416d8ebccb5b2e/build-end.log

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:24:37 +01:00
Fabrice Fontaine ab721dc460 package/netdata: disable unit tests
Disable unit tests which are enabled by default if cmocka is found since
the addition of the package in commit
1d2bb46907

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:23:39 +01:00
Fabrice Fontaine 33160aeeb4 package/netdata: add libcap optional dependency
libcap is an optional dependency which is enabled by default since the
addition of the package in commit
1d2bb46907

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:23:30 +01:00
Bernd Kuhls c033676c17 package/kodi-pvr-iptvsimple: bump version to 19.0.1-Matrix
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:22:40 +01:00
Bernd Kuhls ed3dc3be79 package/kodi-pvr-hts: bump version to 19.0.2-Matrix
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:22:33 +01:00
Adam Duskett 2e0bebe9e6 package/libinput/libinput.mk: fix libx11 dependency typo
libx11 -> xlib_libX11

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:19:58 +01:00
Fabrice Fontaine d525300021 package/rsh-redone: don't override dependencies
Don't override RSH_REDONE_DEPENDENCIES in a conditional

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:19:31 +01:00
Fabrice Fontaine 70195ea004 package/espeak: don't override dependencies
Don't override ESPEAK_DEPENDENCIES in a conditional

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:19:23 +01:00
Fabrice Fontaine 4c82676211 package/apcupsd: don't override dependencies
Don't override APCUPSD_DEPENDENCIES in a conditional

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:19:18 +01:00
Fabio Estevam 4a48c079a9 configs/imx6ullevk: bump U-Boot and kernel versions
Bump U-Boot to 2021.10 and kernel to 5.14.14.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:18:30 +01:00
Francois Perrad c693879dd5 package/htop: fix LICENSE
see https://github.com/htop-dev/htop/blob/3.1.1/ChangeLog#L3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:17:56 +01:00
Peter Seiderer 3da100637f package/libinput: bump version to 1.19.2
For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2021-October/042003.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:17:21 +01:00
Bartosz Bilas 1d52698b03 configs/liteboard: bump to u-boot 2021.10
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:16:43 +01:00
Bartosz Bilas b3504cb0ae configs/chiliboard: bump to linux 5.14.14
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:16:33 +01:00
Bartosz Bilas 1d09541888 configs/liteboard: bump to linux 5.14.14
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:16:29 +01:00
Fabrice Fontaine c4b8fa25e7 package/tinyssh: bump to version 20210601
7e2b4025bf...20210601

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:16:03 +01:00
Fabrice Fontaine 56ef64d3d2 package/vnstat: bump to version 2.8
https://github.com/vergoh/vnstat/releases/tag/v2.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:12:02 +01:00
Bernd Kuhls 13e2912403 package/openvpn: bump version to 2.5.4
Release notes:
https://github.com/OpenVPN/openvpn/blob/release/2.5/Changes.rst

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:11:46 +01:00
Fabio Estevam 344b113eaa configs/warp7: bump Kernel and U-Boot versions
Bump U-Boot to 2021.10 and kernel to version 5.14.14.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:11:11 +01:00
Francois Perrad 258878c1e4 package/moarvm: bump to 2021.10
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:10:47 +01:00
James Hilliard d9796f2db9 package/pipewire: bump to version 0.3.39
Drop arm fix patch that is now upstream.

Dbus is now an optional dependency for pipewire.

Add pipewire-v4l2 config option.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:10:26 +01:00
Fabrice Fontaine c6063583ff package/cryptodev-linux: bump to version 1.12
Update indentation in hash file (two spaces)

fabe5989a3...cryptodev-linux-1.12

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:09:37 +01:00
Fabrice Fontaine 4b2d3198c3 package/c-ares: bump to version 1.18.1
Drop patch (already in version) and so autoreconf

https://c-ares.org/changelog.html#1_18_1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:09:06 +01:00
Fabrice Fontaine 3c83c1fd4a package/ruby: needs gcc and host gcc >= 4.9
ruby needs gcc and host gcc >= 4.9 since commit
5f1c6758a5 and the addition of AC_PROG_CC:

In file included from vm_core.h:85:0,
                 from iseq.h:14,
                 from mini_builtin.c:3,
                 from miniinit.c:51:
thread_pthread.h:108:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'struct'
     RUBY_EXTERN RB_THREAD_LOCAL_SPECIFIER struct rb_execution_context_struct *ruby_current_ec;
                                           ^

Fixes:
 - http://autobuild.buildroot.org/results/f196f8bc68d1b4c20bddced89478598a3fcd3dea
 - http://autobuild.buildroot.org/results/81bdac585600877d3fa8d9478b7f160dbd1537a9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:08:22 +01:00
Thomas Petazzoni 9d3428beca package/python-unitest-xml-reporting: new package
Based on initial work from Nicolas Carrier
<nicolas.carrier@orolia.com>, with the following additions:

- Updated to a newer version
- Added proper license file handling
- Added runtime test case
- Restricted to Python 3.x

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 17:04:32 +01:00
Fabrice Fontaine 79e3cd1c78 package/audit: bump to version 3.0.6
This bump will fix the following build failure with kernel >= 5.15
thanks to
6b09724c69

interpret.c:48:10: fatal error: linux/ipx.h: No such file or directory
   48 | #include <linux/ipx.h>
      |          ^~~~~~~~~~~~~

Indeed, ipx.h has been dropped since
6c9b408447

https://github.com/linux-audit/audit-userspace/blob/v3.0.6/ChangeLog

Fixes:
 - http://autobuild.buildroot.org/results/1c8a959d8847d8942fbdf148c1b781df0d8bb4dc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 16:51:46 +01:00
Fabrice Fontaine 8402b5263f package/dahdi-linux: bump to 5c840cf43838e0690873e73409491c392333b3b8
- Fix build with kernel >= 5.4 thanks to
  https://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=45ac6a30f922f4eef54c0120c2a537794b20cf5c
- Fix build with kernel >= 5.6 thanks to
  https://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=34b9c77c9ab2794d4e912461e4c1080c4b1f6184
- Fix typo in dahdi-linux.mk
- Remove deprecated note about kernel >= 4.0 in Config.in
- Add patch to fix build failure with 32-bits kernels raised since
  https://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=ffcd08205c71dcb0e060836359418bef20f07ffa
- Update indentation in hash file (two spaces)

Fixes:
 - https://bugs.buildroot.org/show_bug.cgi?id=14311

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 16:05:41 +01:00
Fabrice Fontaine ae4198abf4 package/dahdi-linux: fix hotplug build
Fix hotplug build which fails since the addition of the package in
commit d959966b41

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 16:04:45 +01:00
Fabrice Fontaine b22ec4bd95 package/dahdi-linux: needs CRC CCITT
dahdi-linux needs a linux with CRC CCITT since the addition of the
package in commit d959966b41 as stated in
the README:

- CONFIG_CRC_CCITT must be enabled ('y' or 'm'). On 2.6 kernels this can
  be selected These can be selected from the "Library Routines" submenu
  during kernel configuration via "make menuconfig".

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 16:03:58 +01:00
Fabrice Fontaine 6ae74b57ae package/dahdi-linux: fix typo in Config.in
Fix typo added with commit d959966b41

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 16:02:39 +01:00
Fabrice Fontaine 5afa2320ec package/snort: security bump to version 2.9.18.1
Fix CVE-2021-40114: Multiple Cisco products are affected by a
vulnerability in the way the Snort detection engine processes ICMP
traffic that could allow an unauthenticated, remote attacker to cause a
denial of service (DoS) condition on an affected device. The
vulnerability is due to improper memory resource management while the
Snort detection engine is processing ICMP packets. An attacker could
exploit this vulnerability by sending a series of ICMP packets through
an affected device. A successful exploit could allow the attacker to
exhaust resources on the affected device, causing the device to reload.

https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-snort-dos-s2R7W9UU
https://www.snort.org/downloads/snort/changelog_2.9.18.1.txt

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 16:01:34 +01:00
Adam Duskett a610bf9967 package/openjdk{-bin}: bump version to 17.0.1+12
OpenJDK 17 is a new LTS release, which leaves the Buildroot Config option of
"LTS" and "LATEST" as a misnomer because both 11 and 17 are LTS releases.

There are two options in this case:

1) Remove "LATEST" and update OpenJDK 11 to 17, and only support 17.
2) Change "LTS" to "11" and "LATEST" to "17" and only support the latest 2 LTS
OpenJDK releases.

After some discussion with Thomas Petazzoni and Peter Korsgaard, and testing,
option 2 is the best course of action for a few reasons:

  - OpenJDK 11 and 17 have very long support cycles:
  - OpenJDK 11 has two years of Active and five years of security support left.
  - OpenJDK 17 has five years of Active and ten years of security support left.
  - Both OpenJDK versions build with the same parameters.
  - The maintenance cost of both versions is meager.
  - Both versions pass tests.package.test_openjdk without issue.

Changes:
  - Change BR2_OPENJDK_VERSION_LATEST -> BR2_OPENJDK_VERSION_17
  - Change BR2_OPENJDK_VERSION_LTS -> BR2_OPENJDK_VERSION_11
Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Peter: add Config.in.legacy, use BR2_PACKAGE_OPENJDK_ prefix]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 15:48:11 +01:00
Christian Stewart 700ecefcc5 package/go: security bump to 1.17.3
go1.17.3 (released 2021-11-04) includes security fixes to the archive/zip and
debug/macho packages, as well as bug fixes to the compiler, linker, runtime, the
go command, the misc/wasm directory, and to the net/http and syscall packages.

https://golang.org/doc/devel/release#go1.17.minor

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-11-05 14:41:10 +01:00
Fabrice Fontaine dd1412c060 package/transmission: fix build with autoconf >= 2.71
Fix the following build failure raised since bump of autoconf to version
2.70 in commit ecd54b65c1:

ERROR: 'IT_PROG_INTLTOOL' must appear in configure.ac for intltool to work.

Fixes:
 - http://autobuild.buildroot.org/results/e8bea26f6b12adf16335b24836a7c5c31911af6a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-04 22:13:16 +01:00
Fabrice Fontaine be5e0230c6 package/boinc: fix build with autoconf >= 2.70
Fix the following build failure raised since bump of autoconf to version
2.71 in commit ecd54b65c1 and
http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=ec90049dfcf4538750e61d675d885157fa5ca7f8:

checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-gcc options needed to detect all undeclared functions... cannot detect
configure: error: in `/home/buildroot/autobuild/instance-0/output-1/build/boinc-7.16.18':
configure: error: cannot make /home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-gcc report undeclared builtins

This error raised because AC_CHECK_DECLS returns an error due to -mavx
flag:

mips-linux-gnu-gcc: error: unrecognized command line option '-mavx'

To fix this build failure, hard code ac_cv_c_undeclared_builtin_options
to 'none needed' as removing '-mavx' from CPPFLAGS will hinder the
detection of xgetbv, xgetbv, __xgetbv, cpuid, _cpuid and __cpuid

Fixes:
 - http://autobuild.buildroot.org/results/4b468a5d3bfbff9638316ca930ef791867774aef

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-04 22:09:48 +01:00
James Hilliard 23a2ff949e package/python-cryptography: add host-python3-six host dependency
This dependency wasn't added during the removal of
python3-cryptography.

The conversion/dropping of python3-cryptography was done with commits
[1] and [2], and the commit log of [1] states the dropping of the
host-python3-six dependency was intentionally:

        [...]
        While at it, drop host-python3-pip and host-python3-six as these
        dependencies are not needed. Indeed, pip was never a dependency of
        cryptography and six is not a dependency with python3 and will be
        dropped in version 3.4 and
        e66db8079d
        [...]

But the package python-cryptography is still at version 3.3.2 (and
clearly depends on six)

[1] https://git.buildroot.net/buildroot/commit/?id=95a63a34ac9204c4fe069154783bd97ed48c3ae2
[2] https://git.buildroot.net/buildroot/commit/?id=43147827a7b759248288fad1d97130c027c23e9a

Fixes:
 - http://autobuild.buildroot.net/results/971/9711ccebb9c3e2fa8f17d969d8b431d4301677e3/build-end.log

Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-04 21:41:40 +01:00
Thomas Petazzoni d6d24f5ef8 Revert "package/python-cryptography: add host-python-six dependency"
This reverts commit 9b0ab090d3.
2021-11-04 21:41:08 +01:00
Fabrice Fontaine 9b0ab090d3 package/python-cryptography: add host-python-six dependency
Fix the wrong assumption that six is not a dependency with python3 made
in commit 95a63a34ac to avoid the
following build failure with ca-certificates:

Traceback (most recent call last):
  File "/home/buildroot/autobuild/instance-2/output-1/build/ca-certificates-20211016/mozilla/certdata2pem.py", line 31, in <module>
    from cryptography import x509
  File "/home/buildroot/autobuild/instance-2/output-1/host/lib/python3.9/site-packages/cryptography/x509/__init__.py", line 7, in <module>
    from cryptography.x509 import certificate_transparency
  File "/home/buildroot/autobuild/instance-2/output-1/host/lib/python3.9/site-packages/cryptography/x509/certificate_transparency.py", line 10, in <module>
    import six
ModuleNotFoundError: No module named 'six'

Fixes:
 - http://autobuild.buildroot.org/results/2b6872eec31362bf3edf88c69b67d681b2f016aa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: James Hilliard <james.hilliard1@gmail.com>
Tested-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-04 21:14:28 +01:00