package/connman: bump to 1.38
PATCH 1/1 package/connman: bump to 1.38
This release requires libmnl (WireGuard dependency).
---
Hi,
partly tested:
$ ./utils/test-pkg -p connman -a
andes-nds32 [ 1/44]: FAILED
arm-aarch64 [ 2/44]: OK
br-aarch64-glibc [ 3/44]: OK
br-arcle-hs38 [ 4/44]: OK
br-arm-basic [ 5/44]: SKIPPED
br-arm-cortex-a9-glibc [ 6/44]: OK
br-arm-cortex-a9-musl [ 7/44]: SKIPPED
br-arm-cortex-m4-full [ 8/44]: SKIPPED
br-arm-full [ 9/44]: OK
br-arm-full-nothread [10/44]: SKIPPED
br-arm-full-static [11/44]: SKIPPED
br-i386-pentium-mmx-musl [12/44]: SKIPPED
br-i386-pentium4-full [13/44]: OK
br-microblazeel-full [14/44]: OK
br-mipsel-o32-full [15/44]: OK
br-mips32r6-el-hf-glibc [16/44]: OK
br-mips64-n64-full [17/44]: OK
br-mips64r6-el-hf-glibc [18/44]: OK
br-m68k-5208-full [19/44]: SKIPPED
br-m68k-68040-full [20/44]: OK
br-nios2-glibc [21/44]: OK
br-openrisc-uclibc [22/44]: OK
br-powerpc-e500mc-full [23/44]: OK
br-powerpc-603e-basic-cpp [24/44]: SKIPPED
br-powerpc64le-power8-glibc [25/44]: OK
br-powerpc64-power7-glibc [26/44]: OK
br-riscv32 [27/44]: OK
br-riscv64 [28/44]: OKNOTE: andes-nds32 it's due problems with libffi and it's not caused by this update. Any idea, how to disable andes-nds32?
configure: error: "libffi has not been ported to nds32le-buildroot-linux-gnu."
make: *** [package/pkg-generic.mk:264: /home/pvorel/br-test-pkg/andes-nds32/build/libffi-3.3/.stamp_configured] Error 1
Kind regards,
Petr
package/connman/Config.in | 1 + package/connman/connman.hash | 2 +- package/connman/connman.mk | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-)
package/connman/Config.in +1 -0
@@ -9,6 +9,7 @@ config BR2_PACKAGE_CONNMAN select BR2_PACKAGE_DBUS select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_IPTABLES + select BR2_PACKAGE_LIBMNL help The Connection Manager (ConnMan) project provides a daemon for managing internet connections within embedded devices
package/connman/connman.hash +1 -1
@@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/linux/network/connman/sha256sums.asc -sha256 6ce29b3eb0bb16a7387bc609c39455fd13064bdcde5a4d185fab3a0c71946e16 connman-1.37.tar.xz +sha256 cb30aca97c2f79ccaed8802aa2909ac5100a3969de74c0af8a9d73b85fc4932b connman-1.38.tar.xz # Locally computed sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
package/connman/connman.mk +2 -1
@@ -4,7 +4,7 @@ # ################################################################################ -CONNMAN_VERSION = 1.37 +CONNMAN_VERSION = 1.38 CONNMAN_SOURCE = connman-$(CONNMAN_VERSION).tar.xz CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman CONNMAN_DEPENDENCIES = libglib2 dbus iptables
@@ -24,6 +24,7 @@ CONNMAN_CONF_OPTS += \ $(if $(BR2_INIT_SYSTEMD),--with-systemdunitdir=/usr/lib/systemd/system) CONNMAN_DEPENDENCIES += \ + libmnl \ $(if $(BR2_PACKAGE_CONNMAN_NEARD),neard) \ $(if $(BR2_PACKAGE_CONNMAN_OFONO),ofono) \ $(if $(BR2_PACKAGE_CONNMAN_WISPR),gnutls)
Signature · 1 line
2.25.0
PATCH 1/1 package/connman: bump to 1.38
Hello,
Quoted 5 lines · On Thu, 20 Feb 2020 00:16:16 +0100 Petr Vorel <[email protected]> wrote:
NOTE: andes-nds32 it's due problems with libffi and it's not caused by this update. Any idea, how to disable andes-nds32?
configure: error: "libffi has not been ported to nds32le-buildroot-linux-gnu."
make: *** [package/pkg-generic.mk:264:/home/pvorel/br-test-pkg/andes-nds32/build/libffi-3.3/.stamp_configured] Error 1
You don't have to worry about this: any configuration on NDS32 that has BR2_PACKAGE_LIBFFI=y is rejected and not tested by the autobuilders.
Ideally, we should have a BR2_PACKAGE_LIBFFI_ARCH_SUPPORTS option, but libffi has so many reverse dependencies that nobody ever did the effort to add this option.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/connman: bump to 1.38
In reply to Petr VorelHi,
Quoted 4 lines
partly tested:
$ ./utils/test-pkg -p connman -a andes-nds32 [ 1/44]: FAILED arm-aarch64 [ 2/44]: OK
...
Quoted 5 lines
NOTE: andes-nds32 it's due problems with libffi and it's not caused by this update. Any idea, how to disable andes-nds32?
configure: error: "libffi has not been ported to nds32le-buildroot-linux-gnu."
make: *** [package/pkg-generic.mk:264:/home/pvorel/br-test-pkg/andes-nds32/build/libffi-3.3/.stamp_configured] Error 1
That's Andes 32-bit, which is not supported in upstream configure.host [1].
Kind regards,
Petr
[1] https://github.com/libffi/libffi/blob/master/configure.host
PATCH 1/1 package/connman: bump to 1.38
In reply to Petr VorelHello Petr,
Quoted 3 lines · On Thu, 20 Feb 2020 00:16:16 +0100 Petr Vorel <[email protected]> wrote:
This release requires libmnl (WireGuard dependency).
Signed-off-by Petr Vorel <[email protected]>
My reading of configure.ac is that it doesn't require libmnl. It only needs it if WireGuard support is enabled:
found_libmnl="no"
if (test "${firewall_type}" = "nftables" -o \
"${enable_wireguard}" != "no"); then
PKG_CHECK_MODULES(LIBMNL, [libmnl >= 1.0.0], [found_libmnl="yes"],
AC_MSG_ERROR([libmnl >= 1.0.0 not found]))
AC_SUBST(LIBMNL_CFLAGS)
AC_SUBST(LIBMNL_LIBS)fiAM_CONDITIONAL(LIBMNL, test "${found_libmnl}" != "no")
The connman package probably needs to be extended to support either iptables or nftables as firewall types, and other options to enable/disable wireguard support.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/connman: bump to 1.38
Hi Thomas,
Quoted 10 lines
My reading of configure.ac is that it doesn't require libmnl. It only needs it if WireGuard support is enabled:
found_libmnl="no"
if (test "${firewall_type}" = "nftables" -o \ "${enable_wireguard}" != "no"); then PKG_CHECK_MODULES(LIBMNL, [libmnl >= 1.0.0], [found_libmnl="yes"], AC_MSG_ERROR([libmnl >= 1.0.0 not found])) AC_SUBST(LIBMNL_CFLAGS) AC_SUBST(LIBMNL_LIBS)
Quoted 6 lines
fi
AM_CONDITIONAL(LIBMNL, test "${found_libmnl}" != "no")The connman package probably needs to be extended to support either iptables or nftables as firewall types, and other options to enable/disable wireguard support.
Sorry for wrong patch, I'll fix it in v2.
Kind regards,
Petr