package/ethtool: switch to git snapshot
PATCH 1/1 package/ethtool: switch to git snapshot
Upstream tarball does not include several header files leading to build errors with older kernels. For details see:
https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
Switch _SITE to git snapshot and add _AUTORECONF = YES which needs host-pkgconf to fix subsequent configure error:
./configure: line 4723: PKG_PROG_PKG_CONFIG: command not found
./configure: line 5055: syntax error near unexpected token `MNL,'
./configure: line 5055: ` PKG_CHECK_MODULES(MNL, libmnl)'
Fixes:
http://autobuild.buildroot.net/results/69e/69e01b7f370920630d132fc43a40104fa5b3959f/
--- package/ethtool/ethtool.hash | 3 +-- package/ethtool/ethtool.mk | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-)
package/ethtool/ethtool.hash +1 -2
@@ -1,5 +1,4 @@ -# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 814171ea4b8026b081c0741dbbf32e6968311483ecf64711232faec2ac70a14c ethtool-6.5.tar.xz # Locally calculated +sha256 b1f5fa66f71c3bab9daeacbd77e010b52c47df0a711b216847f78405f3299189 ethtool-6.5.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE
package/ethtool/ethtool.mk +5 -2
@@ -5,8 +5,11 @@ ################################################################################ ETHTOOL_VERSION = 6.5 -ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz -ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool +ETHTOOL_SITE = https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/snapshot +# needed only for autoreconf +ETHTOOL_DEPENDENCIES = host-pkgconf +# GIT version, shipped without configure +ETHTOOL_AUTORECONF = YES ETHTOOL_LICENSE = GPL-2.0 ETHTOOL_LICENSE_FILES = LICENSE COPYING ETHTOOL_CPE_ID_VENDOR = kernel
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · Bernd Kuhls
Upstream tarball does not include several header files leading to build errors with older kernels. For details see:
https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/Switch
_SITEto git snapshot and add_AUTORECONF= YES which needs host-pkgconf to fix subsequent configure error:./configure: line 4723:
PKG_PROG_PKG_CONFIG: command not found
Quoted 7 lines
./configure: line 5055: syntax error near unexpected token `MNL,'
./configure: line 5055: `PKG_CHECK_MODULES(MNL, libmnl)'Fixes:
http://autobuild.buildroot.net/results/69e/69e01b7f370920630d132fc43a40104fa5b3959f/Signed-off-by Bernd Kuhls <[email protected]>
Quoted 37 lines
--- package/ethtool/ethtool.hash | 3 +-- package/ethtool/ethtool.mk | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-)package/ethtool/ethtool.hash +1
-2@@ -1,5 +1,4 @@ -# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 814171ea4b8026b081c0741dbbf32e6968311483ecf64711232faec2ac70a14c ethtool-6.5.tar.xz # Locally calculated +sha256 b1f5fa66f71c3bab9daeacbd77e010b52c47df0a711b216847f78405f3299189 ethtool-6.5.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSEpackage/ethtool/ethtool.mk +5
-3@@ -5,8 +5,11 @@ ################################################################################ ETHTOOL_VERSION = 6.5 -ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz -ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool +ETHTOOL_SITE = https://git.kernel.org/pub/scm/network/ethtool/ethtool.git/snapshot +# needed only for autoreconf +ETHTOOL_DEPENDENCIES = host-pkgconf +# GIT version, shipped without configure +ETHTOOL_AUTORECONF = YES ETHTOOL_LICENSE = GPL-2.0 ETHTOOL_LICENSE_FILES = LICENSE COPYING ETHTOOL_CPE_ID_VENDOR = kernel --2.39.2
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 12 lines · On Sun, 15 Oct 2023 23:05:48 +0200 Bernd Kuhls <[email protected]> wrote:
Upstream tarball does not include several header files leading to build errors with older kernels. For details see:
https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/Switch
_SITEto git snapshot and add_AUTORECONF= YES which needs host-pkgconf to fix subsequent configure error:./configure: line 4723:
PKG_PROG_PKG_CONFIG: command not found./configure: line 5055: syntax error near unexpected token `MNL,'
./configure: line 5055: `PKG_CHECK_MODULES(MNL, libmnl)'
Quoted 8 lines
Fixes:
http://autobuild.buildroot.net/results/69e/69e01b7f370920630d132fc43a40104fa5b3959f/Signed-off-by Bernd Kuhls <[email protected]>--- package/ethtool/ethtool.hash | 3 +-- package/ethtool/ethtool.mk | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-)
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot