Skip to contentSkip to conversation

package/batctl: bump version to 2021.0

PATCH New Peter Seiderer 3 participants 12 messages Mar 11, 2021 – Mar 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/batctl: bump version to 2021.0

For details see [1].

[1] https://www.open-mesh.org/news/100

---
 package/batctl/batctl.hash | 6 +++---
 package/batctl/batctl.mk   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
package/batctl/batctl.hash +3 -3
index e8127aa26f..56bea3c5da 100644
@@ -1,6 +1,6 @@
-# From https://downloads.open-mesh.org/batman/releases/batman-adv-2020.2/batctl-2020.2.tar.gz.sha1
-sha1  e347fb126e2a8f6d21516296325afc043062e3bd  batctl-2020.2.tar.gz
+# From https://downloads.open-mesh.org/batman/releases/batman-adv-2021.0/batctl-2021.0.tar.gz.sha1
+sha1  87d0bb34950cb70578a0ca5ce706513a8279a01c  batctl-2021.0.tar.gz
 # Locally calculated
-sha256  d29cdb53ee68abd5027eae07d9fd645b3f154e0d577efa2666c1334bb6d60efd  batctl-2020.2.tar.gz
+sha256  9cec8bf1952f885192749a9dc0318a54633b717aaf05c438d504efd83f5201e4  batctl-2021.0.tar.gz
 sha256  cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025  LICENSES/preferred/GPL-2.0
 sha256  323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f  LICENSES/preferred/MIT
package/batctl/batctl.mk +1 -1
index 229c042aaf..8ff591844d 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-BATCTL_VERSION = 2020.2
+BATCTL_VERSION = 2021.0
 BATCTL_SITE = http://downloads.open-mesh.org/batman/releases/batman-adv-$(BATCTL_VERSION)
 BATCTL_LICENSE = GPL-2.0, MIT (batman_adv.h, list.h)
 BATCTL_LICENSE_FILES = LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT
Signature · 1 line
2.30.1
#1 lore raw

PATCH 2/2 package/batman-adv: bump version to 2021.0

For details see [1].

[1] https://www.open-mesh.org/news/100

---
 package/batman-adv/batman-adv.hash | 10 +++++-----
 package/batman-adv/batman-adv.mk   |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
package/batman-adv/batman-adv.hash +5 -5
index dabbec8120..2422723f40 100644
@@ -1,7 +1,7 @@
-# From https://downloads.open-mesh.org/batman/stable/sources/batman-adv/batman-adv-2019.3.tar.gz.{md5,sha1}
-md5  39345688ddf12a542853b2318325f07b         batman-adv-2019.3.tar.gz
-sha1 202539c0cbf4604f6c8e9d427b338d4e807bd220 batman-adv-2019.3.tar.gz
+# From https://downloads.open-mesh.org/batman/releases/batman-adv-2021.0/batman-adv-2021.0.tar.gz.sha1
+sha1  7edd4dfb9434f80adf791990d4e383c7ef80a256  batman-adv-2021.0.tar.gz
 
 # Hash for license files
-sha256 cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025 LICENSES/preferred/GPL-2.0
-sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/preferred/MIT
+sha256  5a989ba580897268373bd516b87b588061f344af773a0f6b038a3d8d2af028a1  batman-adv-2021.0.tar.gz
+sha256  cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025  LICENSES/preferred/GPL-2.0
+sha256  323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f  LICENSES/preferred/MIT
package/batman-adv/batman-adv.mk +1 -1
index 3f48e62051..bd648b5a6c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-BATMAN_ADV_VERSION = 2019.3
+BATMAN_ADV_VERSION = 2021.0
 BATMAN_ADV_SITE = https://downloads.open-mesh.org/batman/stable/sources/batman-adv
 BATMAN_ADV_LICENSE = GPL-2.0, MIT (batman_adv.h)
 BATMAN_ADV_LICENSE_FILES = LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT
Signature · 1 line
2.30.1
#2 lore raw

PATCH 2/2 package/batman-adv: bump version to 2021.0

Hi Peter,

package/batman-adv/batman-adv.mk line 7

Quoted 2 lines · Peter Seiderer
package/batman-adv/batman-adv.mk +1 -1
-BATMAN_ADV_VERSION = 2019.3
+BATMAN_ADV_VERSION = 2021.0

I get build errors against 2 different device kernels (x86_64 and pi4):

LD [M] /build/batman-adv-2021.0/net/batman-adv/batman-adv.o MODPOST /build/batman-adv-2021.0/net/batman-adv/Module.symvers
ERROR: modpost: "batadv_v_mesh_free" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_mesh_init" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_hardif_init" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_init" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!

Possibly the package makefile needs to be updated?

thanks,
Christian

#3 lore raw

PATCH 2/2 package/batman-adv: bump version to 2021.0

Hello Christian,

Quoted 19 lines · Christian Stewart

Hi Peter,

package/batman-adv/batman-adv.mk line 7

Quoted 2 lines · Peter Seiderer
package/batman-adv/batman-adv.mk +1 -1
-BATMAN_ADV_VERSION = 2019.3
+BATMAN_ADV_VERSION = 2021.0

I get build errors against 2 different device kernels (x86_64 and pi4):

LD [M] /build/batman-adv-2021.0/net/batman-adv/batman-adv.o MODPOST /build/batman-adv-2021.0/net/batman-adv/Module.symvers
ERROR: modpost: "batadv_v_mesh_free" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_mesh_init" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_hardif_init" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_init" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!

Quoted 1 line

Possibly the package makefile needs to be updated?

For me the update fixed the compile for RPi4_64 ;-), can you share your defconfig(s)?

Regards,
Peter

Quoted 7 lines

thanks,
Christian
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#4 lore raw

PATCH 2/2 package/batman-adv: bump version to 2021.0

Hi Peter,

Quoted 17 lines · Peter Seiderer
Quoted 17 lines · Peter Seiderer

package/batman-adv/batman-adv.mk line 7

Quoted 2 lines
package/batman-adv/batman-adv.mk +1 -1
-BATMAN_ADV_VERSION = 2019.3
+BATMAN_ADV_VERSION = 2021.0

I get build errors against 2 different device kernels (x86_64 and pi4):

LD [M] /build/batman-adv-2021.0/net/batman-adv/batman-adv.o MODPOST /build/batman-adv-2021.0/net/batman-adv/Module.symvers
ERROR: modpost: "batadv_v_mesh_free" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_mesh_init" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_hardif_init" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!
ERROR: modpost: "batadv_v_init" [/build/batman-adv-2021.0/net/batman-adv/batman-adv.ko] undefined!

Quoted 4 lines
Quoted 1 line

Possibly the package makefile needs to be updated?

For me the update fixed the compile for RPi4_64 ;-), can you share your defconfig(s)?

OK, I see what happened here. I just ran "make batman-adv" in an existing tree without enabling the Kconfig options.

The problem is when batman adv protocol version 5 is not enabled:

BR2_PACKAGE_BATMAN_ADV=y
# BR2_PACKAGE_BATMAN_ADV_DEBUG is not set
# BR2_PACKAGE_BATMAN_ADV_NC is not set
# BR2_PACKAGE_BATMAN_ADV_BATMAN_V is not set

That's causing the "batadv_v_init" undefined errors.

Best regards,
Christian Stewart

Quoted 12 lines

Regards,
Peter

Quoted 7 lines

thanks,
Christian
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#5 lore raw

PATCH 2/2 package/batman-adv: bump version to 2021.0

Christian, Peter, All,

On 2021-03-12 15:51 -0800, Christian Stewart spake thusly:

Quoted 5 lines · Peter Seiderer
Quoted 4 lines
Quoted 4 lines · Peter Seiderer

package/batman-adv/batman-adv.mk line 7

Quoted 2 lines
package/batman-adv/batman-adv.mk +1 -1
-BATMAN_ADV_VERSION = 2019.3
+BATMAN_ADV_VERSION = 2021.0

I get build errors against 2 different device kernels (x86_64 and pi4):

[--SNIP--]

Quoted 5 lines
Quoted 2 lines

For me the update fixed the compile for RPi4_64 ;-), can you share your defconfig(s)?

OK, I see what happened here. I just ran "make batman-adv" in an existing tree without enabling the Kconfig options.

Quoted 8 lines

The problem is when batman adv protocol version 5 is not enabled:

BR2_PACKAGE_BATMAN_ADV=y
# BR2_PACKAGE_BATMAN_ADV_DEBUG is not set
# BR2_PACKAGE_BATMAN_ADV_NC is not set
# BR2_PACKAGE_BATMAN_ADV_BATMAN_V is not set

That's causing the "batadv_v_init" undefined errors.

So is this an actual issue that still needs to be addressed, or can the patch be applied now?

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#6 lore raw

PATCH 2/2 package/batman-adv: bump version to 2021.0

Hello Christian, Yann,

Quoted 21 lines · Yann E. MORIN

Christian, Peter, All,

On 2021-03-12 15:51 -0800, Christian Stewart spake thusly:

Quoted 5 lines · Peter Seiderer
Quoted 4 lines
Quoted 4 lines · Peter Seiderer

package/batman-adv/batman-adv.mk line 7

Quoted 2 lines
package/batman-adv/batman-adv.mk +1 -1
-BATMAN_ADV_VERSION = 2019.3
+BATMAN_ADV_VERSION = 2021.0

I get build errors against 2 different device kernels (x86_64 and pi4):

[--SNIP--]

Quoted 12 lines
Quoted 2 lines

For me the update fixed the compile for RPi4_64 ;-), can you share your defconfig(s)?

OK, I see what happened here. I just ran "make batman-adv" in an existing tree without enabling the Kconfig options.

The problem is when batman adv protocol version 5 is not enabled:

BR2_PACKAGE_BATMAN_ADV=y
# BR2_PACKAGE_BATMAN_ADV_DEBUG is not set
# BR2_PACKAGE_BATMAN_ADV_NC is not set
# BR2_PACKAGE_BATMAN_ADV_BATMAN_V is not set

Quoted 4 lines
Quoted 1 line

That's causing the "batadv_v_init" undefined errors.

So is this an actual issue that still needs to be addressed, or can the patch be applied now?

I can confirm the compile failure in case BR2_PACKAGE_BATMAN_ADV_BATMAN_V is not enabled...., but the buildroot config still states it is 'exerpimental':

config BR2_PACKAGE_BATMAN_ADV_BATMAN_V
bool "enable B.A.T.M.A.N. V protocol (experimental)"

According to [1] CONFIG_BATMAN_ADV_BATMAN_V option is enabled by default since 2018.2 (and it seems compile without is not tested very carefully), maybe time to drop the buildroot config option and always enable CONFIG_BATMAN_ADV_BATMAN_V?

But will take a deeper look at the source code if the failure is fixable (or post an upstream failure report)...

Regards,
Peter

https://git.open-mesh.org/batman-adv.git/blob/HEAD:/CHANGELOG.rst#l174

Quoted 4 lines

Regards,
Yann E. MORIN.

#7 lore raw

PATCH 2/2 package/batman-adv: bump version to 2021.0

Peter, All,

On 2021-03-14 22:18 +0100, Peter Seiderer spake thusly:

Quoted 2 lines

I can confirm the compile failure in case BR2_PACKAGE_BATMAN_ADV_BATMAN_V is not enabled...., but the buildroot config still states it is 'exerpimental':

[--SNIP--]

Quoted 4 lines

According to [1] CONFIG_BATMAN_ADV_BATMAN_V option is enabled by default since 2018.2 (and it seems compile without is not tested very carefully), maybe time to drop the buildroot config option and always enable CONFIG_BATMAN_ADV_BATMAN_V?

I am perfectly OK with dropping the option and always enabling it.

Quoted 2 lines

But will take a deeper look at the source code if the failure is fixable (or post an upstream failure report)...

Cool, thanks! :-)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#8 lore raw

PATCH 2/2 package/batman-adv: bump version to 2021.0

Hello Yann, Christian,

Quoted 11 lines · Yann E. MORIN

Peter, All,

On 2021-03-14 22:18 +0100, Peter Seiderer spake thusly:

Quoted 2 lines

I can confirm the compile failure in case BR2_PACKAGE_BATMAN_ADV_BATMAN_V is not enabled...., but the buildroot config still states it is 'exerpimental':

[--SNIP--]

Quoted 4 lines

According to [1] CONFIG_BATMAN_ADV_BATMAN_V option is enabled by default since 2018.2 (and it seems compile without is not tested very carefully), maybe time to drop the buildroot config option and always enable CONFIG_BATMAN_ADV_BATMAN_V?

Quoted 6 lines

I am perfectly OK with dropping the option and always enabling it.

Quoted 2 lines

But will take a deeper look at the source code if the failure is fixable (or post an upstream failure report)...

Cool, thanks! :-)

Seems to be no batman failure but a buildroot defect (see [1]), but nevertheless provided an additional patch to change the default (and remove the 'experimental' comment, see [2])...

Regards,
Peter

[1] https://patchwork.ozlabs.org/project/buildroot/patch/20210314223207.13460-1-ps.report at gmx.net/
[2] https://patchwork.ozlabs.org/project/buildroot/patch/20210314223207.13460-2-ps.report at gmx.net/

Quoted 4 lines

Regards,
Yann E. MORIN.

#9 lore raw

PATCH 2/2 package/batman-adv: bump version to 2021.0

In reply to Peter Seiderer

Peter, All,

On 2021-03-11 22:08 +0100, Peter Seiderer spake thusly:

Quoted 5 lines

For details see [1].

[1] https://www.open-mesh.org/news/100

Now that the issue has been resolved with your other patches: applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 42 lines
---
 package/batman-adv/batman-adv.hash | 10 +++++-----
 package/batman-adv/batman-adv.mk   |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
package/batman-adv/batman-adv.hash +5 -5
index dabbec8120..2422723f40 100644
@@ -1,7 +1,7 @@
-# From https://downloads.open-mesh.org/batman/stable/sources/batman-adv/batman-adv-2019.3.tar.gz.{md5,sha1}
-md5  39345688ddf12a542853b2318325f07b         batman-adv-2019.3.tar.gz
-sha1 202539c0cbf4604f6c8e9d427b338d4e807bd220 batman-adv-2019.3.tar.gz
+# From https://downloads.open-mesh.org/batman/releases/batman-adv-2021.0/batman-adv-2021.0.tar.gz.sha1
+sha1  7edd4dfb9434f80adf791990d4e383c7ef80a256  batman-adv-2021.0.tar.gz
 
 # Hash for license files
-sha256 cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025 LICENSES/preferred/GPL-2.0
-sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/preferred/MIT
+sha256  5a989ba580897268373bd516b87b588061f344af773a0f6b038a3d8d2af028a1  batman-adv-2021.0.tar.gz
+sha256  cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025  LICENSES/preferred/GPL-2.0
+sha256  323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f  LICENSES/preferred/MIT
package/batman-adv/batman-adv.mk +1 -1
index 3f48e62051..bd648b5a6c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-BATMAN_ADV_VERSION = 2019.3
+BATMAN_ADV_VERSION = 2021.0
 BATMAN_ADV_SITE = https://downloads.open-mesh.org/batman/stable/sources/batman-adv
 BATMAN_ADV_LICENSE = GPL-2.0, MIT (batman_adv.h)
 BATMAN_ADV_LICENSE_FILES = LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT
Signature · 6 lines
2.30.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#11 lore raw

PATCH 1/2 package/batctl: bump version to 2021.0

In reply to Peter Seiderer

Peter, All,

On 2021-03-11 22:08 +0100, Peter Seiderer spake thusly:

Quoted 5 lines

For details see [1].

[1] https://www.open-mesh.org/news/100

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 39 lines
---
 package/batctl/batctl.hash | 6 +++---
 package/batctl/batctl.mk   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
package/batctl/batctl.hash +3 -3
index e8127aa26f..56bea3c5da 100644
@@ -1,6 +1,6 @@
-# From https://downloads.open-mesh.org/batman/releases/batman-adv-2020.2/batctl-2020.2.tar.gz.sha1
-sha1  e347fb126e2a8f6d21516296325afc043062e3bd  batctl-2020.2.tar.gz
+# From https://downloads.open-mesh.org/batman/releases/batman-adv-2021.0/batctl-2021.0.tar.gz.sha1
+sha1  87d0bb34950cb70578a0ca5ce706513a8279a01c  batctl-2021.0.tar.gz
 # Locally calculated
-sha256  d29cdb53ee68abd5027eae07d9fd645b3f154e0d577efa2666c1334bb6d60efd  batctl-2020.2.tar.gz
+sha256  9cec8bf1952f885192749a9dc0318a54633b717aaf05c438d504efd83f5201e4  batctl-2021.0.tar.gz
 sha256  cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025  LICENSES/preferred/GPL-2.0
 sha256  323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f  LICENSES/preferred/MIT
package/batctl/batctl.mk +1 -1
index 229c042aaf..8ff591844d 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-BATCTL_VERSION = 2020.2
+BATCTL_VERSION = 2021.0
 BATCTL_SITE = http://downloads.open-mesh.org/batman/releases/batman-adv-$(BATCTL_VERSION)
 BATCTL_LICENSE = GPL-2.0, MIT (batman_adv.h, list.h)
 BATCTL_LICENSE_FILES = LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT
Signature · 6 lines
2.30.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'