Skip to contentSkip to conversation

package/connman: fix build failure on x86_64

PATCH New Mikael Bourhis-Cloarec 2 participants 2 messages Mar 26, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/connman: fix build failure on x86_64

The new Connman 1.38 release uses 'WireGuard' and 'libmnl' by default now.

But to keep the same 'Connman' setup as previous setup, we need to explicitly disable the 'WireGuard' support.

The support of all the new 'Connman' options will be done after.

Fixes:
http://autobuild.buildroot.org/results/dd8/dd8a68827ca70838c59d82780cb3eadf6b9764c2/

---
 package/connman/connman.mk | 2 ++
 1 file changed, 2 insertions(+)
package/connman/connman.mk +2 -0
index 701be8b59d..251998d0dd 100644
@@ -14,6 +14,8 @@ CONNMAN_LICENSE_FILES = COPYING
 
 CONNMAN_CONF_OPTS = --with-dbusconfdir=/etc
 
+CONNMAN_CONF_OPTS += --disable-wireguard
+
 ifeq ($(BR2_INIT_SYSTEMD),y)
 CONNMAN_CONF_OPTS += --with-systemdunitdir=/usr/lib/systemd/system
 endif
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/connman: fix build failure on x86_64

Hi Mikael,

Le 26/03/2020 ? 14:24, Mikael Bourhis-Cloarec a ?crit?:

Quoted 9 lines

The new Connman 1.38 release uses 'WireGuard' and 'libmnl' by default now.

But to keep the same 'Connman' setup as previous setup, we need to explicitly disable the 'WireGuard' support.

The support of all the new 'Connman' options will be done after.

Fixes:
http://autobuild.buildroot.org/results/dd8/dd8a68827ca70838c59d82780cb3eadf6b9764c2/

This build issue in not related to x86_64 only (see commit title), It is also present for other architectures. See:
http://autobuild.buildroot.org/?reason=connman-1.38

I would write: package/connman: disable wireguard support

Quoted 11 lines
---
 package/connman/connman.mk | 2 ++
 1 file changed, 2 insertions(+)
package/connman/connman.mk +0 -0
index 701be8b59d..251998d0dd 100644

package/connman/connman.mk CONNMAN_LICENSE_FILES = COPYING · line 17

Quoted 4 lines
package/connman/connman.mk +1 -0
@@ -14,6 +14,8 @@ CONNMAN_LICENSE_FILES = COPYING
 
 CONNMAN_CONF_OPTS = --with-dbusconfdir=/etc
 
+CONNMAN_CONF_OPTS += --disable-wireguard

We prefer something like:

CONNMAN_CONF_OPTS = --with-dbusconfdir=/etc \
--disable-wireguard

Best regards,
Romain

Quoted 5 lines
package/connman/connman.mk +1 -0
+
 ifeq ($(BR2_INIT_SYSTEMD),y)
 CONNMAN_CONF_OPTS += --with-systemdunitdir=/usr/lib/systemd/system
 endif