* [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL
@ 2024-04-14 13:05 Dario Binacchi
2024-04-14 13:05 ` [Buildroot] [PATCH v2 2/3] package/bmap-tools: rename Kconfig prompt to bmaptool Dario Binacchi
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Dario Binacchi @ 2024-04-14 13:05 UTC (permalink / raw)
To: buildroot; +Cc: linux-amarula, Dario Binacchi, Yann E . Morin, Thomas Petazzoni
As reported in the README file of the old GitHub URL (i.e.
https://github.com/intel/bmap-tools), "The code at this location is no
longer maintained and will likely be removed in the future. This project
has moved to https://github.com/yoctoproject/bmaptool".
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
package/bmap-tools/Config.in | 2 +-
package/bmap-tools/Config.in.host | 2 +-
package/bmap-tools/bmap-tools.mk | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/bmap-tools/Config.in b/package/bmap-tools/Config.in
index 91081069c739..425b7dfb9e07 100644
--- a/package/bmap-tools/Config.in
+++ b/package/bmap-tools/Config.in
@@ -40,4 +40,4 @@ config BR2_PACKAGE_BMAP_TOOLS
python-gpgme is not available. Optimized bzip2 decompression
is not supported as pbzip2 is not available.
- https://github.com/intel/bmap-tools
+ https://github.com/yoctoproject/bmaptool
diff --git a/package/bmap-tools/Config.in.host b/package/bmap-tools/Config.in.host
index a20829030d68..cb4d35a437fa 100644
--- a/package/bmap-tools/Config.in.host
+++ b/package/bmap-tools/Config.in.host
@@ -9,4 +9,4 @@ config BR2_PACKAGE_HOST_BMAP_TOOLS
image files, can be copied or flashed a lot faster with
bmaptool than with traditional tools like "dd" or "cp".
- https://github.com/intel/bmap-tools
+ https://github.com/yoctoproject/bmaptool
diff --git a/package/bmap-tools/bmap-tools.mk b/package/bmap-tools/bmap-tools.mk
index 32399ca151c4..69a22c4745ab 100644
--- a/package/bmap-tools/bmap-tools.mk
+++ b/package/bmap-tools/bmap-tools.mk
@@ -5,7 +5,7 @@
################################################################################
BMAP_TOOLS_VERSION = 3.6
-BMAP_TOOLS_SITE = $(call github,intel,bmap-tools,v$(BMAP_TOOLS_VERSION))
+BMAP_TOOLS_SITE = $(call github,yoctoproject,bmaptool,v$(BMAP_TOOLS_VERSION))
BMAP_TOOLS_LICENSE = GPL-2.0
BMAP_TOOLS_LICENSE_FILES = COPYING
BMAP_TOOLS_SETUP_TYPE = setuptools
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 10+ messages in thread* [Buildroot] [PATCH v2 2/3] package/bmap-tools: rename Kconfig prompt to bmaptool 2024-04-14 13:05 [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL Dario Binacchi @ 2024-04-14 13:05 ` Dario Binacchi 2024-04-14 13:05 ` [Buildroot] [PATCH v2 3/3] package/bmap-tools: bump to version 3.8.0 Dario Binacchi 2024-05-07 16:06 ` [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL Peter Korsgaard 2 siblings, 0 replies; 10+ messages in thread From: Dario Binacchi @ 2024-04-14 13:05 UTC (permalink / raw) To: buildroot; +Cc: linux-amarula, Dario Binacchi, Yann E . Morin, Thomas Petazzoni Historically, the package was named bmap-tools, and that's the name under which it was introduced in Buildroot. Since then, it has moved to a new home (i. e. to https://github.com/yoctoproject/bmaptool) under the Yocto Project umbrella, and got renamed to bmaptool. To avoid useless churn, we keep the old symbols, and just refer to bmaptool in the prompt. Link: https://patchwork.ozlabs.org/project/buildroot/patch/20240413131757.3627575-2-dario.binacchi@amarulasolutions.com Suggested-by: Yann E. Morin <yann.morin.1998@free.fr> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- Changes v1 -> v2: - Don't change the BMAP_TOOLS symbols into BMAPTOOL, but change only the Kconfig prompt from bmap-tools to bmaptool. package/bmap-tools/Config.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package/bmap-tools/Config.in b/package/bmap-tools/Config.in index 425b7dfb9e07..b5ccce786e58 100644 --- a/package/bmap-tools/Config.in +++ b/package/bmap-tools/Config.in @@ -1,5 +1,9 @@ +# Historically, the package was named bmap-tools, and that's the name +# under which it was introduced in Buildroot. Since then, it has moved +# to a new home, and got renamed to bmaptool. To avoid useless churn, +# we keep the old symbols, and just refer to bmaptool in the prompt. config BR2_PACKAGE_BMAP_TOOLS - bool "bmap-tools" + bool "bmaptool (formerly bmap-tools)" depends on BR2_PACKAGE_PYTHON3 select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime, pkg_resources -- 2.43.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [Buildroot] [PATCH v2 3/3] package/bmap-tools: bump to version 3.8.0 2024-04-14 13:05 [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL Dario Binacchi 2024-04-14 13:05 ` [Buildroot] [PATCH v2 2/3] package/bmap-tools: rename Kconfig prompt to bmaptool Dario Binacchi @ 2024-04-14 13:05 ` Dario Binacchi 2024-04-15 16:29 ` Yann E. MORIN 2024-05-07 16:06 ` [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL Peter Korsgaard 2 siblings, 1 reply; 10+ messages in thread From: Dario Binacchi @ 2024-04-14 13:05 UTC (permalink / raw) To: buildroot; +Cc: linux-amarula, Dario Binacchi, Yann E . Morin, Thomas Petazzoni Note that, although not explicitly specified in the changelog, version 3.7 renamed the file COPYING to LICENSE, requiring corresponding changes in Bildroot related to the license file (specifically, the name and hash). Release notes: - bmap-tools 3.7: * Use GitHub Actions for CI (#109) * Add `poetry` for dependency management and `black` for code formatting (#104) * Add functionality for copying from standard input (#99) * Switch from gpg to gpgme module (#103) - bmaptool 3.8.0: * use 'df -P' for POSIX portable output * bmaptool has new maintainers * bmaptool has a new home * bmaptool is now only called 'bmaptool' and not one of a dozen such variations * switch to use an X.Y.Z versioning number scheme Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- Changes v1 -> v2: - Refactored based on the changes applied to version 2 of the previous patch: v2-0002-package-bmap-tools-rename-Kconfig-prompt-to-bmapt.patch package/bmap-tools/bmap-tools.hash | 4 ++-- package/bmap-tools/bmap-tools.mk | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package/bmap-tools/bmap-tools.hash b/package/bmap-tools/bmap-tools.hash index 82a570ecacdb..28a68e8b8ebb 100644 --- a/package/bmap-tools/bmap-tools.hash +++ b/package/bmap-tools/bmap-tools.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7 bmap-tools-3.6.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 3c741ccdd5049b5cb6983bc186f7be8040a132ed7e9c2afda4d9e7390888163c bmap-tools-3.8.0.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/package/bmap-tools/bmap-tools.mk b/package/bmap-tools/bmap-tools.mk index 69a22c4745ab..3455063e218c 100644 --- a/package/bmap-tools/bmap-tools.mk +++ b/package/bmap-tools/bmap-tools.mk @@ -4,11 +4,13 @@ # ################################################################################ -BMAP_TOOLS_VERSION = 3.6 +BMAP_TOOLS_VERSION = 3.8.0 BMAP_TOOLS_SITE = $(call github,yoctoproject,bmaptool,v$(BMAP_TOOLS_VERSION)) BMAP_TOOLS_LICENSE = GPL-2.0 -BMAP_TOOLS_LICENSE_FILES = COPYING +BMAP_TOOLS_LICENSE_FILES = LICENSE BMAP_TOOLS_SETUP_TYPE = setuptools +BMAP_TOOLS_DEPENDENCIES = host-python-poetry-core +HOST_BMAP_TOOLS_DEPENDENCIES = host-python-poetry-core $(eval $(python-package)) $(eval $(host-python-package)) -- 2.43.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [Buildroot] [PATCH v2 3/3] package/bmap-tools: bump to version 3.8.0 2024-04-14 13:05 ` [Buildroot] [PATCH v2 3/3] package/bmap-tools: bump to version 3.8.0 Dario Binacchi @ 2024-04-15 16:29 ` Yann E. MORIN 0 siblings, 0 replies; 10+ messages in thread From: Yann E. MORIN @ 2024-04-15 16:29 UTC (permalink / raw) To: Dario Binacchi; +Cc: linux-amarula, Thomas Petazzoni, buildroot Dario, All, On 2024-04-14 15:05 +0200, Dario Binacchi spake thusly: > Note that, although not explicitly specified in the changelog, version > 3.7 renamed the file COPYING to LICENSE, requiring corresponding changes > in Bildroot related to the license file (specifically, the name and hash). > > Release notes: > > - bmap-tools 3.7: > * Use GitHub Actions for CI (#109) > * Add `poetry` for dependency management and `black` for code > formatting (#104) > * Add functionality for copying from standard input (#99) > * Switch from gpg to gpgme module (#103) > > - bmaptool 3.8.0: > * use 'df -P' for POSIX portable output > * bmaptool has new maintainers > * bmaptool has a new home > * bmaptool is now only called 'bmaptool' and not one of a dozen such > variations > * switch to use an X.Y.Z versioning number scheme > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Whole series of 3 patches applied to master, thanks. Regards, Yann E. MORIN. > --- > > Changes v1 -> v2: > - Refactored based on the changes applied to version 2 of the previous patch: > v2-0002-package-bmap-tools-rename-Kconfig-prompt-to-bmapt.patch > > package/bmap-tools/bmap-tools.hash | 4 ++-- > package/bmap-tools/bmap-tools.mk | 6 ++++-- > 2 files changed, 6 insertions(+), 4 deletions(-) > > diff --git a/package/bmap-tools/bmap-tools.hash b/package/bmap-tools/bmap-tools.hash > index 82a570ecacdb..28a68e8b8ebb 100644 > --- a/package/bmap-tools/bmap-tools.hash > +++ b/package/bmap-tools/bmap-tools.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7 bmap-tools-3.6.tar.gz > -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING > +sha256 3c741ccdd5049b5cb6983bc186f7be8040a132ed7e9c2afda4d9e7390888163c bmap-tools-3.8.0.tar.gz > +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE > diff --git a/package/bmap-tools/bmap-tools.mk b/package/bmap-tools/bmap-tools.mk > index 69a22c4745ab..3455063e218c 100644 > --- a/package/bmap-tools/bmap-tools.mk > +++ b/package/bmap-tools/bmap-tools.mk > @@ -4,11 +4,13 @@ > # > ################################################################################ > > -BMAP_TOOLS_VERSION = 3.6 > +BMAP_TOOLS_VERSION = 3.8.0 > BMAP_TOOLS_SITE = $(call github,yoctoproject,bmaptool,v$(BMAP_TOOLS_VERSION)) > BMAP_TOOLS_LICENSE = GPL-2.0 > -BMAP_TOOLS_LICENSE_FILES = COPYING > +BMAP_TOOLS_LICENSE_FILES = LICENSE > BMAP_TOOLS_SETUP_TYPE = setuptools > +BMAP_TOOLS_DEPENDENCIES = host-python-poetry-core > +HOST_BMAP_TOOLS_DEPENDENCIES = host-python-poetry-core > > $(eval $(python-package)) > $(eval $(host-python-package)) > -- > 2.43.0 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL 2024-04-14 13:05 [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL Dario Binacchi 2024-04-14 13:05 ` [Buildroot] [PATCH v2 2/3] package/bmap-tools: rename Kconfig prompt to bmaptool Dario Binacchi 2024-04-14 13:05 ` [Buildroot] [PATCH v2 3/3] package/bmap-tools: bump to version 3.8.0 Dario Binacchi @ 2024-05-07 16:06 ` Peter Korsgaard 2024-05-07 18:58 ` Dario Binacchi 2024-05-07 20:09 ` Yann E. MORIN 2 siblings, 2 replies; 10+ messages in thread From: Peter Korsgaard @ 2024-05-07 16:06 UTC (permalink / raw) To: Dario Binacchi; +Cc: linux-amarula, Yann E . Morin, Thomas Petazzoni, buildroot >>>>> "Dario" == Dario Binacchi <dario.binacchi@amarulasolutions.com> writes: > As reported in the README file of the old GitHub URL (i.e. > https://github.com/intel/bmap-tools), "The code at this location is no > longer maintained and will likely be removed in the future. This project > has moved to https://github.com/yoctoproject/bmaptool". > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > --- > package/bmap-tools/Config.in | 2 +- > package/bmap-tools/Config.in.host | 2 +- > package/bmap-tools/bmap-tools.mk | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > diff --git a/package/bmap-tools/Config.in b/package/bmap-tools/Config.in > index 91081069c739..425b7dfb9e07 100644 > --- a/package/bmap-tools/Config.in > +++ b/package/bmap-tools/Config.in > @@ -40,4 +40,4 @@ config BR2_PACKAGE_BMAP_TOOLS > python-gpgme is not available. Optimized bzip2 decompression > is not supported as pbzip2 is not available. > - https://github.com/intel/bmap-tools > + https://github.com/yoctoproject/bmaptool > diff --git a/package/bmap-tools/Config.in.host b/package/bmap-tools/Config.in.host > index a20829030d68..cb4d35a437fa 100644 > --- a/package/bmap-tools/Config.in.host > +++ b/package/bmap-tools/Config.in.host > @@ -9,4 +9,4 @@ config BR2_PACKAGE_HOST_BMAP_TOOLS > image files, can be copied or flashed a lot faster with > bmaptool than with traditional tools like "dd" or "cp". > - https://github.com/intel/bmap-tools > + https://github.com/yoctoproject/bmaptool > diff --git a/package/bmap-tools/bmap-tools.mk b/package/bmap-tools/bmap-tools.mk > index 32399ca151c4..69a22c4745ab 100644 > --- a/package/bmap-tools/bmap-tools.mk > +++ b/package/bmap-tools/bmap-tools.mk > @@ -5,7 +5,7 @@ > ################################################################################ > BMAP_TOOLS_VERSION = 3.6 > -BMAP_TOOLS_SITE = $(call github,intel,bmap-tools,v$(BMAP_TOOLS_VERSION)) > +BMAP_TOOLS_SITE = $(call github,yoctoproject,bmaptool,v$(BMAP_TOOLS_VERSION)) I wanted to apply this to 2024.02.x, but this change of repo changes the hash of the tarball (I guess the name of the toplevel directory changed): ERROR: while checking hashes from package/bmap-tools//bmap-tools.hash ERROR: bmap-tools-3.6.tar.gz has wrong sha256 hash: ERROR: expected: 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7 ERROR: got : 7a2e1305bf7e06bc4a580cc719f0facf9d99af8d41659b57c0acae4ad93ff45a ERROR: Incomplete download, or man-in-the-middle (MITM) attack -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL 2024-05-07 16:06 ` [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL Peter Korsgaard @ 2024-05-07 18:58 ` Dario Binacchi 2024-05-07 19:39 ` Peter Korsgaard 2024-05-07 20:09 ` Yann E. MORIN 1 sibling, 1 reply; 10+ messages in thread From: Dario Binacchi @ 2024-05-07 18:58 UTC (permalink / raw) To: Peter Korsgaard Cc: linux-amarula, Yann E . Morin, Thomas Petazzoni, buildroot Hi Peter, On Tue, May 7, 2024 at 6:06 PM Peter Korsgaard <peter@korsgaard.com> wrote: > > >>>>> "Dario" == Dario Binacchi <dario.binacchi@amarulasolutions.com> writes: > > > As reported in the README file of the old GitHub URL (i.e. > > https://github.com/intel/bmap-tools), "The code at this location is no > > longer maintained and will likely be removed in the future. This project > > has moved to https://github.com/yoctoproject/bmaptool". > > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> > > --- > > package/bmap-tools/Config.in | 2 +- > > package/bmap-tools/Config.in.host | 2 +- > > package/bmap-tools/bmap-tools.mk | 2 +- > > 3 files changed, 3 insertions(+), 3 deletions(-) > > > diff --git a/package/bmap-tools/Config.in b/package/bmap-tools/Config.in > > index 91081069c739..425b7dfb9e07 100644 > > --- a/package/bmap-tools/Config.in > > +++ b/package/bmap-tools/Config.in > > @@ -40,4 +40,4 @@ config BR2_PACKAGE_BMAP_TOOLS > > python-gpgme is not available. Optimized bzip2 decompression > > is not supported as pbzip2 is not available. > > > - https://github.com/intel/bmap-tools > > + https://github.com/yoctoproject/bmaptool > > diff --git a/package/bmap-tools/Config.in.host b/package/bmap-tools/Config.in.host > > index a20829030d68..cb4d35a437fa 100644 > > --- a/package/bmap-tools/Config.in.host > > +++ b/package/bmap-tools/Config.in.host > > @@ -9,4 +9,4 @@ config BR2_PACKAGE_HOST_BMAP_TOOLS > > image files, can be copied or flashed a lot faster with > > bmaptool than with traditional tools like "dd" or "cp". > > > - https://github.com/intel/bmap-tools > > + https://github.com/yoctoproject/bmaptool > > diff --git a/package/bmap-tools/bmap-tools.mk b/package/bmap-tools/bmap-tools.mk > > index 32399ca151c4..69a22c4745ab 100644 > > --- a/package/bmap-tools/bmap-tools.mk > > +++ b/package/bmap-tools/bmap-tools.mk > > @@ -5,7 +5,7 @@ > > ################################################################################ > > > BMAP_TOOLS_VERSION = 3.6 > > -BMAP_TOOLS_SITE = $(call github,intel,bmap-tools,v$(BMAP_TOOLS_VERSION)) > > +BMAP_TOOLS_SITE = $(call github,yoctoproject,bmaptool,v$(BMAP_TOOLS_VERSION)) > > I wanted to apply this to 2024.02.x, but this change of repo changes the > hash of the tarball (I guess the name of the toplevel directory > changed): > > ERROR: while checking hashes from package/bmap-tools//bmap-tools.hash > ERROR: bmap-tools-3.6.tar.gz has wrong sha256 hash: > ERROR: expected: 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7 > ERROR: got : 7a2e1305bf7e06bc4a580cc719f0facf9d99af8d41659b57c0acae4ad93ff45a > ERROR: Incomplete download, or man-in-the-middle (MITM) attack > This is what I see: >>> host-bmap-tools 3.6 Downloading wget --passive-ftp -nd -t 3 -O '/home/dario/projects/buildroot/output/build/.bmap-tools-3.6.tar.gz.idZCyY/output' 'https://github.com/yoctoproject/bmaptool/archive/v3.6/bmap-tools-3.6.tar.gz' --2024-05-07 19:49:56-- https://github.com/yoctoproject/bmaptool/archive/v3.6/bmap-tools-3.6.tar.gz wget: /home/dario/.netrc:1: unknown token "xxxxxxx" Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/yoctoproject/bmaptool/tar.gz/refs/tags/v3.6 [following] --2024-05-07 19:49:57-- https://codeload.github.com/yoctoproject/bmaptool/tar.gz/refs/tags/v3.6 Resolving codeload.github.com (codeload.github.com)... 140.82.121.10 Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: ‘/home/dario/projects/buildroot/output/build/.bmap-tools-3.6.tar.gz.idZCyY/output’ /home/dario/projects/buildroot/output/bui [ <=> ] 95,52K 191KB/s in 0,5s 2024-05-07 19:49:58 (191 KB/s) - ‘/home/dario/projects/buildroot/output/build/.bmap-tools-3.6.tar.gz.idZCyY/output’ saved [97812] ERROR: while checking hashes from package/bmap-tools/bmap-tools.hash ERROR: bmap-tools-3.6.tar.gz has wrong sha256 hash: ERROR: expected: 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7 ERROR: got : 7a2e1305bf7e06bc4a580cc719f0facf9d99af8d41659b57c0acae4ad93ff45a ERROR: Incomplete download, or man-in-the-middle (MITM) attack wget --passive-ftp -nd -t 3 -O '/home/dario/projects/buildroot/output/build/.bmap-tools-3.6.tar.gz.QH5BrC/output' 'https://sources.buildroot.net/bmap-tools/bmap-tools-3.6.tar.gz' --2024-05-07 19:49:58-- https://sources.buildroot.net/bmap-tools/bmap-tools-3.6.tar.gz wget: /home/dario/.netrc:1: unknown token "xxxxxxxx" Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.1.37, 104.26.0.37, ... Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 97815 (96K) [application/x-gtar-compressed] Saving to: ‘/home/dario/projects/buildroot/output/build/.bmap-tools-3.6.tar.gz.QH5BrC/output’ /home/dario/projects/buildroot/output/bui 100%[===================================================================================>] 95,52K --.-KB/s in 0,1s 2024-05-07 19:49:59 (663 KB/s) - ‘/home/dario/projects/buildroot/output/build/.bmap-tools-3.6.tar.gz.QH5BrC/output’ saved [97815/97815] bmap-tools-3.6.tar.gz: OK (sha256: 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7) I see your error message, but also 'bmap-tools-3.6.tar.gz: OK (sha256: 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7)" and the compilation process does not stop. Is it exactly the same issue you're experiencing, or is it something different? Does your compilation process halt with the error? Thanks and regards, Dario > -- > Bye, Peter Korsgaard -- Dario Binacchi Senior Embedded Linux Developer dario.binacchi@amarulasolutions.com __________________________________ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 info@amarulasolutions.com www.amarulasolutions.com _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL 2024-05-07 18:58 ` Dario Binacchi @ 2024-05-07 19:39 ` Peter Korsgaard 2024-05-07 20:10 ` Dario Binacchi 0 siblings, 1 reply; 10+ messages in thread From: Peter Korsgaard @ 2024-05-07 19:39 UTC (permalink / raw) To: Dario Binacchi; +Cc: linux-amarula, Yann E . Morin, Thomas Petazzoni, buildroot >>>>> "Dario" == Dario Binacchi <dario.binacchi@amarulasolutions.com> writes: Hi, > I see your error message, but also > 'bmap-tools-3.6.tar.gz: OK (sha256: > 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7)" > and the compilation process does not stop. Which is because it falls back to fetch the (old) tarball copy on sources.buildroot.org. > Is it exactly the same issue you're experiencing, or is it something > different? Does your compilation process halt with the error? Yes, exactly the same. The new location does not provide the same tarball content, so the tarball is rejected and it falls back to the old copy we have on sources.buildroot.org. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL 2024-05-07 19:39 ` Peter Korsgaard @ 2024-05-07 20:10 ` Dario Binacchi 2024-05-07 21:08 ` Peter Korsgaard 0 siblings, 1 reply; 10+ messages in thread From: Dario Binacchi @ 2024-05-07 20:10 UTC (permalink / raw) To: Peter Korsgaard Cc: linux-amarula, Yann E . Morin, Thomas Petazzoni, buildroot Hi Peter, On Tue, May 7, 2024 at 9:39 PM Peter Korsgaard <peter@korsgaard.com> wrote: > > >>>>> "Dario" == Dario Binacchi <dario.binacchi@amarulasolutions.com> writes: > > Hi, > > > I see your error message, but also > > 'bmap-tools-3.6.tar.gz: OK (sha256: > > 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7)" > > and the compilation process does not stop. > > Which is because it falls back to fetch the (old) tarball copy on > sources.buildroot.org. > > > > Is it exactly the same issue you're experiencing, or is it something > > different? Does your compilation process halt with the error? > > Yes, exactly the same. The new location does not provide the same > tarball content, so the tarball is rejected and it falls back to the old > copy we have on sources.buildroot.org. I'm sorry, but I didn't notice it when I tested it: So: https://github.com/intel/bmap-tools -> 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7 bmap-tools-3.6.tar.gz https://github.com/yoctoproject/bmaptool -> 7a2e1305bf7e06bc4a580cc719f0facf9d99af8d41659b57c0acae4ad93ff45a bmaptool-3.6.tar.gz -> bmap-tools-3.6.tar.gz So the commit 47027fefa4a0c ("package/bmap-tools: update GitHub URL") was also supposed to change the hash value to 7a2e1305bf7e06bc4a580cc719f0facf9d99af8d41659b57c0acae4ad93ff45a. diff --git a/package/bmap-tools/bmap-tools.hash b/package/bmap-tools/bmap-tools.hash index 82a570ecacdb..05a814dff2bc 100644 --- a/package/bmap-tools/bmap-tools.hash +++ b/package/bmap-tools/bmap-tools.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7 bmap-tools-3.6.tar.gz +sha256 7a2e1305bf7e06bc4a580cc719f0facf9d99af8d41659b57c0acae4ad93ff45a bmap-tools-3.6.tar.gz sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING rm -rf output/build/host-bmap-tools-3.6/ rm -rf dl/bmap-tools make host-bmap-tools >>> host-bmap-tools 3.6 Downloading wget --passive-ftp -nd -t 3 -O '/home/dario/projects/buildroot/output/build/.bmap-tools-3.6.tar.gz.NRcNJx/output' 'https://github.com/yoctoproject/bmaptool/archive/v3.6/bmap-tools-3.6.tar.gz' --2024-05-07 22:04:02-- https://github.com/yoctoproject/bmaptool/archive/v3.6/bmap-tools-3.6.tar.gz wget: /home/dario/.netrc:1: unknown token "Tpttkl991!" Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/yoctoproject/bmaptool/tar.gz/refs/tags/v3.6 [following] --2024-05-07 22:04:03-- https://codeload.github.com/yoctoproject/bmaptool/tar.gz/refs/tags/v3.6 Resolving codeload.github.com (codeload.github.com)... 140.82.121.10 Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: ‘/home/dario/projects/buildroot/output/build/.bmap-tools-3.6.tar.gz.NRcNJx/output’ /home/dario/projects/buildroot/output/bui [ <=> ] 95,52K 423KB/s in 0,2s 2024-05-07 22:04:03 (423 KB/s) - ‘/home/dario/projects/buildroot/output/build/.bmap-tools-3.6.tar.gz.NRcNJx/output’ saved [97812] bmap-tools-3.6.tar.gz: OK (sha256: 7a2e1305bf7e06bc4a580cc719f0facf9d99af8d41659b57c0acae4ad93ff45a) Since this patch is the first in a series of 3, where the final patch bumps the version to 3.8.0, what are your thoughts on the 2024.02.x version? Is there anything I need to do? Thanks and regards, Dario > > -- > Bye, Peter Korsgaard -- Dario Binacchi Senior Embedded Linux Developer dario.binacchi@amarulasolutions.com __________________________________ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 info@amarulasolutions.com www.amarulasolutions.com _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL 2024-05-07 20:10 ` Dario Binacchi @ 2024-05-07 21:08 ` Peter Korsgaard 0 siblings, 0 replies; 10+ messages in thread From: Peter Korsgaard @ 2024-05-07 21:08 UTC (permalink / raw) To: Dario Binacchi; +Cc: linux-amarula, Yann E . Morin, Thomas Petazzoni, buildroot >>>>> "Dario" == Dario Binacchi <dario.binacchi@amarulasolutions.com> writes: Hi, > Since this patch is the first in a series of 3, where the final patch > bumps the version to 3.8.0, what are your > thoughts on the 2024.02.x version? > Is there anything I need to do? No, it is fine. I will just skip the patches for 2024.02.x. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL 2024-05-07 16:06 ` [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL Peter Korsgaard 2024-05-07 18:58 ` Dario Binacchi @ 2024-05-07 20:09 ` Yann E. MORIN 1 sibling, 0 replies; 10+ messages in thread From: Yann E. MORIN @ 2024-05-07 20:09 UTC (permalink / raw) To: Peter Korsgaard Cc: Dario Binacchi, linux-amarula, Thomas Petazzoni, buildroot Peter, All, On 2024-05-07 18:06 +0200, Peter Korsgaard spake thusly: > >>>>> "Dario" == Dario Binacchi <dario.binacchi@amarulasolutions.com> writes: > > As reported in the README file of the old GitHub URL (i.e. > > https://github.com/intel/bmap-tools), "The code at this location is no > > longer maintained and will likely be removed in the future. This project > > has moved to https://github.com/yoctoproject/bmaptool". [--SNIP--] > I wanted to apply this to 2024.02.x, but this change of repo changes the > hash of the tarball (I guess the name of the toplevel directory > changed): > > ERROR: while checking hashes from package/bmap-tools//bmap-tools.hash > ERROR: bmap-tools-3.6.tar.gz has wrong sha256 hash: > ERROR: expected: 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7 > ERROR: got : 7a2e1305bf7e06bc4a580cc719f0facf9d99af8d41659b57c0acae4ad93ff45a > ERROR: Incomplete download, or man-in-the-middle (MITM) attack Indeed, that's because the top-level dirctory changed, from bmap-tools/ to bmaptools/ as it is generated by github. I missed that, because I only tested the whole series, which ends up with a version bump, with an explicit hash change then, which was correct... I totally missed the fact that the top-level directory would change, sorry... Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | 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. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-05-07 21:08 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-04-14 13:05 [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL Dario Binacchi 2024-04-14 13:05 ` [Buildroot] [PATCH v2 2/3] package/bmap-tools: rename Kconfig prompt to bmaptool Dario Binacchi 2024-04-14 13:05 ` [Buildroot] [PATCH v2 3/3] package/bmap-tools: bump to version 3.8.0 Dario Binacchi 2024-04-15 16:29 ` Yann E. MORIN 2024-05-07 16:06 ` [Buildroot] [PATCH v2 1/3] package/bmap-tools: update GitHub URL Peter Korsgaard 2024-05-07 18:58 ` Dario Binacchi 2024-05-07 19:39 ` Peter Korsgaard 2024-05-07 20:10 ` Dario Binacchi 2024-05-07 21:08 ` Peter Korsgaard 2024-05-07 20:09 ` Yann E. MORIN
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox