Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] package/armadillo: temporarily update the site URL
@ 2024-09-01  6:45 Dario Binacchi
  2024-09-01  6:45 ` [Buildroot] [PATCH v2 2/2] DEVELOPERS: add Dario Binacchi for armadillo Dario Binacchi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Dario Binacchi @ 2024-09-01  6:45 UTC (permalink / raw)
  To: buildroot; +Cc: linux-amarula, Dario Binacchi, Samuel Martin

Following an email exchange with Conrad Sand, one of the maintainers of
the project, I learned that version 9.900.2 has been moved to
https://sourceforge.net/projects/arma/files/retired/.

This patch fixes the package download error, waiting for a subsequent
patch that will restore the previous URL to bump to a more recent
version.

Adding the .RETIRED suffix to the downloaded tarball generated the
following error:

armadillo-9.900.2.tar.xz.RETIRED: OK (sha256: d78658c9442addf7f718eb05881150ee3ec25604d06dd3af4942422b3ce26d05)
>>> armadillo 9.900.2 Extracting
buildroot/dl/armadillo/armadillo-9.900.2.tar.xz.RETIRED | buildroot/output/host/bin/tar --strip-components=1 -C buildroot/output/build/armadillo-9.900.2   -xf -
/bin/bash: line 1: buildroot/dl/armadillo/armadillo-9.900.2.tar.xz.RETIRED: Permission denied
buildroot/output/host/bin/tar: This does not look like a tar archive
buildroot/output/host/bin/tar: Exiting with failure status due to previous errors
make[1]: *** [package/pkg-generic.mk:213: buildroot/output/build/armadillo-9.900.2/.stamp_extracted] Error 2

which required the addition of ARMADILLO_EXTRACT_CMDS to be fixed.

Finally, it was also necessary to modify the tarball's hash.

Fixes:
- http://autobuild.buildroot.org/results/d4e9e7b453960a4f62a199344b30b729a4f235bc

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
Changes v1 -> v2:
  - Don't bump to 10.1.0 but update the URL site to continue to download and
    build the current version (e. g. 9.900.2).

 package/armadillo/armadillo.hash | 2 +-
 package/armadillo/armadillo.mk   | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/package/armadillo/armadillo.hash b/package/armadillo/armadillo.hash
index cc91fb456aa0..9b19b8c8c4a2 100644
--- a/package/armadillo/armadillo.hash
+++ b/package/armadillo/armadillo.hash
@@ -1,4 +1,4 @@
 # Locally computed:
-sha256  d78658c9442addf7f718eb05881150ee3ec25604d06dd3af4942422b3ce26d05  armadillo-9.900.2.tar.xz
+sha256  d78658c9442addf7f718eb05881150ee3ec25604d06dd3af4942422b3ce26d05  armadillo-9.900.2.tar.xz.RETIRED
 # License files, locally calculated
 sha256  3ddf9be5c28fe27dad143a5dc76eea25222ad1dd68934a047064e56ed2fa40c5  LICENSE.txt
diff --git a/package/armadillo/armadillo.mk b/package/armadillo/armadillo.mk
index 8661bfd9da87..81684a44f72f 100644
--- a/package/armadillo/armadillo.mk
+++ b/package/armadillo/armadillo.mk
@@ -5,8 +5,8 @@
 ################################################################################
 
 ARMADILLO_VERSION = 9.900.2
-ARMADILLO_SOURCE = armadillo-$(ARMADILLO_VERSION).tar.xz
-ARMADILLO_SITE = https://downloads.sourceforge.net/project/arma
+ARMADILLO_SOURCE = armadillo-$(ARMADILLO_VERSION).tar.xz.RETIRED
+ARMADILLO_SITE = https://sourceforge.net/projects/arma/files/retired
 ARMADILLO_INSTALL_STAGING = YES
 ARMADILLO_LICENSE = Apache-2.0
 ARMADILLO_LICENSE_FILES = LICENSE.txt
@@ -30,4 +30,8 @@ ARMADILLO_CONF_OPTS += -DLAPACK_FOUND=ON
 ARMADILLO_DEPENDENCIES += lapack
 endif
 
+define ARMADILLO_EXTRACT_CMDS
+	$(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) $($(PKG)_DL_DIR)/$(ARMADILLO_SOURCE)
+endef
+
 $(eval $(cmake-package))
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH v2 2/2] DEVELOPERS: add Dario Binacchi for armadillo
  2024-09-01  6:45 [Buildroot] [PATCH v2 1/2] package/armadillo: temporarily update the site URL Dario Binacchi
@ 2024-09-01  6:45 ` Dario Binacchi
  2024-09-18 20:29   ` Peter Korsgaard
  2024-09-03 20:10 ` [Buildroot] [PATCH v2 1/2] package/armadillo: temporarily update the site URL Thomas Petazzoni via buildroot
  2024-09-18 20:29 ` Peter Korsgaard
  2 siblings, 1 reply; 5+ messages in thread
From: Dario Binacchi @ 2024-09-01  6:45 UTC (permalink / raw)
  To: buildroot; +Cc: linux-amarula, Dario Binacchi, Samuel Martin

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
Added in v2

 DEVELOPERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index 0b590f0ec20c..bd4df63de055 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -790,6 +790,7 @@ F:	configs/imx6ulz_bsh_smm_m2_defconfig
 F:	configs/imx8mn_bsh_smm_s2_defconfig
 F:	configs/imx8mn_bsh_smm_s2_pro_defconfig
 F:	configs/stm32f769_disco_sd_defconfig
+F:	package/armadillo/
 F:	package/sscep/
 F:	package/uuu/
 
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH v2 1/2] package/armadillo: temporarily update the site URL
  2024-09-01  6:45 [Buildroot] [PATCH v2 1/2] package/armadillo: temporarily update the site URL Dario Binacchi
  2024-09-01  6:45 ` [Buildroot] [PATCH v2 2/2] DEVELOPERS: add Dario Binacchi for armadillo Dario Binacchi
@ 2024-09-03 20:10 ` Thomas Petazzoni via buildroot
  2024-09-18 20:29 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-09-03 20:10 UTC (permalink / raw)
  To: Dario Binacchi; +Cc: Samuel Martin, linux-amarula, buildroot

On Sun,  1 Sep 2024 08:45:08 +0200
Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote:

> Following an email exchange with Conrad Sand, one of the maintainers of
> the project, I learned that version 9.900.2 has been moved to
> https://sourceforge.net/projects/arma/files/retired/.
> 
> This patch fixes the package download error, waiting for a subsequent
> patch that will restore the previous URL to bump to a more recent
> version.
> 
> Adding the .RETIRED suffix to the downloaded tarball generated the
> following error:
> 
> armadillo-9.900.2.tar.xz.RETIRED: OK (sha256: d78658c9442addf7f718eb05881150ee3ec25604d06dd3af4942422b3ce26d05)
> >>> armadillo 9.900.2 Extracting  
> buildroot/dl/armadillo/armadillo-9.900.2.tar.xz.RETIRED | buildroot/output/host/bin/tar --strip-components=1 -C buildroot/output/build/armadillo-9.900.2   -xf -
> /bin/bash: line 1: buildroot/dl/armadillo/armadillo-9.900.2.tar.xz.RETIRED: Permission denied
> buildroot/output/host/bin/tar: This does not look like a tar archive
> buildroot/output/host/bin/tar: Exiting with failure status due to previous errors
> make[1]: *** [package/pkg-generic.mk:213: buildroot/output/build/armadillo-9.900.2/.stamp_extracted] Error 2
> 
> which required the addition of ARMADILLO_EXTRACT_CMDS to be fixed.
> 
> Finally, it was also necessary to modify the tarball's hash.
> 
> Fixes:
> - http://autobuild.buildroot.org/results/d4e9e7b453960a4f62a199344b30b729a4f235bc
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
> Changes v1 -> v2:
>   - Don't bump to 10.1.0 but update the URL site to continue to download and
>     build the current version (e. g. 9.900.2).

Thanks, series applied to master:

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH v2 1/2] package/armadillo: temporarily update the site URL
  2024-09-01  6:45 [Buildroot] [PATCH v2 1/2] package/armadillo: temporarily update the site URL Dario Binacchi
  2024-09-01  6:45 ` [Buildroot] [PATCH v2 2/2] DEVELOPERS: add Dario Binacchi for armadillo Dario Binacchi
  2024-09-03 20:10 ` [Buildroot] [PATCH v2 1/2] package/armadillo: temporarily update the site URL Thomas Petazzoni via buildroot
@ 2024-09-18 20:29 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2024-09-18 20:29 UTC (permalink / raw)
  To: Dario Binacchi; +Cc: Samuel Martin, linux-amarula, buildroot

>>>>> "Dario" == Dario Binacchi <dario.binacchi@amarulasolutions.com> writes:

 > Following an email exchange with Conrad Sand, one of the maintainers of
 > the project, I learned that version 9.900.2 has been moved to
 > https://sourceforge.net/projects/arma/files/retired/.

 > This patch fixes the package download error, waiting for a subsequent
 > patch that will restore the previous URL to bump to a more recent
 > version.

 > Adding the .RETIRED suffix to the downloaded tarball generated the
 > following error:

 > armadillo-9.900.2.tar.xz.RETIRED: OK (sha256: d78658c9442addf7f718eb05881150ee3ec25604d06dd3af4942422b3ce26d05)
 >>>> armadillo 9.900.2 Extracting
 > buildroot/dl/armadillo/armadillo-9.900.2.tar.xz.RETIRED | buildroot/output/host/bin/tar --strip-components=1 -C buildroot/output/build/armadillo-9.900.2   -xf -
 > /bin/bash: line 1: buildroot/dl/armadillo/armadillo-9.900.2.tar.xz.RETIRED: Permission denied
 > buildroot/output/host/bin/tar: This does not look like a tar archive
 > buildroot/output/host/bin/tar: Exiting with failure status due to previous errors
 > make[1]: *** [package/pkg-generic.mk:213: buildroot/output/build/armadillo-9.900.2/.stamp_extracted] Error 2

 > which required the addition of ARMADILLO_EXTRACT_CMDS to be fixed.

 > Finally, it was also necessary to modify the tarball's hash.

 > Fixes:
 > - http://autobuild.buildroot.org/results/d4e9e7b453960a4f62a199344b30b729a4f235bc

 > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
 > ---
 > Changes v1 -> v2:
 >   - Don't bump to 10.1.0 but update the URL site to continue to download and
 >     build the current version (e. g. 9.900.2).

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Buildroot] [PATCH v2 2/2] DEVELOPERS: add Dario Binacchi for armadillo
  2024-09-01  6:45 ` [Buildroot] [PATCH v2 2/2] DEVELOPERS: add Dario Binacchi for armadillo Dario Binacchi
@ 2024-09-18 20:29   ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2024-09-18 20:29 UTC (permalink / raw)
  To: Dario Binacchi; +Cc: Samuel Martin, linux-amarula, buildroot

>>>>> "Dario" == Dario Binacchi <dario.binacchi@amarulasolutions.com> writes:

 > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
 > ---
 > Added in v2

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-18 20:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-01  6:45 [Buildroot] [PATCH v2 1/2] package/armadillo: temporarily update the site URL Dario Binacchi
2024-09-01  6:45 ` [Buildroot] [PATCH v2 2/2] DEVELOPERS: add Dario Binacchi for armadillo Dario Binacchi
2024-09-18 20:29   ` Peter Korsgaard
2024-09-03 20:10 ` [Buildroot] [PATCH v2 1/2] package/armadillo: temporarily update the site URL Thomas Petazzoni via buildroot
2024-09-18 20:29 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox