From patchwork Sun Sep 1 06:45:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3354 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9F9803F1D7 for ; Sun, 1 Sep 2024 08:45:42 +0200 (CEST) Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-53347c85199sf2468511e87.1 for ; Sat, 31 Aug 2024 23:45:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1725173142; cv=pass; d=google.com; s=arc-20240605; b=gOmdj8xs4hspICLX2nbOwMppMZ87/v9At+/njU/Sf47HYsyNInNOaBfG9vbudXS0P7 v92cS4Abx0pMFPBftLQiOHiyToiSLpnVWPb9uH4JD/a9fzl32rJsZZaXO2i3zlm4tsA6 sLpzU02pwinv+BShXZ2lryKMVqUQO1q3x6nyKgMA6stFsePo8eeIZXyUcZcIPpQ3U1m9 ePoMjn9dhs24dM2O0hM4yj/J03yYP62ELHM0PQvj54ttPImo4uP72u4zU8IeK+jo3iJS nZv8HYjE5It80hjfU5DT0Ppn32ioDMtzAWlg1zgvkqzq2LMtwqtxqQXx3Pb6gzDQ9FzX J+yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=8otzBKJB7vYV+2Qr1Jupj0cK3OrwFlyNP30P8f5TVQY=; fh=0X5RENW0f75j3gmX8RtKr374mt2v6LdgHZl6GEJ8uBw=; b=fvb5kquYJyoTaWL6CQBPvxla7Uva+c/xVxNr0Cyi2wdNjjIvNOb78+KQIBe5Bl7iqc eBgINz6PdxrB6RlMzkuqcnGOZWk9s+doqQdoa6hTjAOWDelHe5+VlS154eNfdYPrgyoC ZXbFzD+z3CQBjUQCctj14j/s0MYn639nUtVuXpT0kVVpI8OAA4pC32LA3oAIdGVqQMMy RHEWf3pyUNIPEnoLmuVRP3sMBSUEZG8nLnhPcvRsDv4OPMYmlswzjJn/DM7gHfynoLSf F43X1S+VOvNtJ+9oDDEEbV1eLug2g3+huI2OEjRT8EoYTNzqwyL1rc+Pz3ynJ88cDpcx CF7Q==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JejubYtE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1725173142; x=1725777942; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=8otzBKJB7vYV+2Qr1Jupj0cK3OrwFlyNP30P8f5TVQY=; b=RcWLG5BAIjhiif7heUmPGVIdaXUdT7+c85ucRLLCLSf7yEM7rZSDIoCx2GPehKPvxk NUxVIf8GHzScZAyzcYo3755e/ZZsG5jPpjN6UAoyRcIZv7t3KR0umCmVskc4PHx4GkS/ YSJm9YWY1QQcaxwFwWqXpkEU+GxZxxO2z88z8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725173142; x=1725777942; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8otzBKJB7vYV+2Qr1Jupj0cK3OrwFlyNP30P8f5TVQY=; b=Zj8UFqcDg83n3lq9DofTxCbGvdqzOkf77K5RN4xEZUNXyrcUfm31CyWCWChIgoT0tO BbBPgK4R2aQcqYYLbMBBMtkabvQSoR1THr2VZD5goXTSQqzqE20DUtmvEB/xxCfNkO+g +MmShXRl4o3QXjZ5PV5Sz2jUBYg5IQNGFdnqk6FbSKhDcaFOAHPKPJUlej9VPmtFk7HU 7ds8NmnzHqVT1/VT5nJshGccMsxlK9QmkwW8rmorGibWl2IgfT7zr7RQwLlPeYzKIeXi Dl2JGzm5YthoXwZYeVSkJxWXZ90oFmCibAIPtR3LtY+rzytht1uXwTjxrnHY2Sx5EtF2 iWBg== X-Forwarded-Encrypted: i=2; AJvYcCUlni+Rh+A8yFrVLOV+Ar7/ldYXh2aZLylaGp1tXCYj7Lm9XYePpBLqO8EcOcsqW039923Xb2FXNLjCvqRG@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxZSQs7a5uFV06uwX1KlWo2AaJwFGFveKjZlZ5KPFpuXg503CKV 5AkynitKWUN3vXAA9eIe1ENEzrfvsV2y8WsSHxcQ8HZIgUQ8ZmiZLnJkjmN1yE83rg== X-Google-Smtp-Source: AGHT+IHfj8TiyHR71ifIRdb7ADxRhq9oQdwpuAvmVEifQzTC5kIfNVX04tihYYnTprLP5JZTw6T47w== X-Received: by 2002:a05:6512:224f:b0:52e:bf53:1c13 with SMTP id 2adb3069b0e04-53546afaae5mr4643013e87.7.1725173141748; Sat, 31 Aug 2024 23:45:41 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:3b8f:b0:533:45dc:5477 with SMTP id 2adb3069b0e04-5353d8125a9ls437930e87.1.-pod-prod-07-eu; Sat, 31 Aug 2024 23:45:40 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUEQs4QUM0Ijc6wWbTIylLNXq/0blCgnAxrv4CD6W5rNjMS7OBf270QBUE+YNjcYz/5bpC7fLPzWIS0/ql2@amarulasolutions.com X-Received: by 2002:a05:6512:3a8d:b0:530:ab86:1e with SMTP id 2adb3069b0e04-53546afa9f6mr5170137e87.6.1725173139916; Sat, 31 Aug 2024 23:45:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725173139; cv=none; d=google.com; s=arc-20160816; b=J0W9seVQqD8Dpmbx4yrohf3oh2kO1jfWTrPuK1gfemPBnnEluBUBUul3Myn0HcXX1D BgDV/EJOgy4k5iuhc7JgM056EBwM8wcWbtvvFnADsSTQ0aA07ivHjmo8Z2fWXN4Giw5D A2dp2RLx6IXJXeRsso2ztYImZ2R99B1jIvbV89d0JRSAbYW519d7J8ctMYabuNLLO6GN gFS/SHZC2Z53btLOMtNyeDXTK19QaNreBqZCzTO5vCA9jbIqNv/w+9I3rOdnwHqdAaRL JtLF3tMY7EqOnlsydIcjqYjWcSAXvF4szYjmd+4DXEcVmv6vpvlKjQH7nLUC1e37TwhC PWHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=HPrYmF4GnpP2z6JjCTsv5/eGIrpWY8wOILAnc4N9bDU=; fh=RW6WbNa+6rfJjmka9lMYfVj/ZsfDyfw1HdlWzT+eGvc=; b=RzUGDO9czdVw2j19sZzFwNHeKnKULfxFyFO9bGBMqDLCo2ZT9drrsEhYdt3xBpVp+y 2NEkoVwrX7K2a2xvqAyg+kzGJ33XkRaxItfV1nTprrPdkQB+fUIOhUr5KiIBM2Zv/PZ3 dfrLX1X4f7QCMDd3AfhxTjukFqgZXx3/aMf+IFpfC+khhLgyS/+Ggw8KMaxu4aBdH/Yu rMNlk0G4l41pOIJFMQrft6kS+50HxMHkXKCfPaF/qOUHZcT/tQl9iF9bMEqw5r9vgtx+ ZkVtdE2/3fMoGffrk/WLA/j02XwcSNSz6OedP23Fi6PdKgzqEObhIkY9a0NRq2kDscby jQJQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JejubYtE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 2adb3069b0e04-5354077c978sor2216559e87.6.2024.08.31.23.45.39 for (Google Transport Security); Sat, 31 Aug 2024 23:45:39 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCVU869IVm5RC+eKK6fTVyLqIDW38i4dalVpRdWQiJRJp43bIfbjV6AwvUb9ZUsOmJq1Zb8rizZ1Y4uBMY8H@amarulasolutions.com X-Received: by 2002:a05:6512:318f:b0:52c:d626:77aa with SMTP id 2adb3069b0e04-53546babeb7mr4329508e87.58.1725173139120; Sat, 31 Aug 2024 23:45:39 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-48-52-249.retail.telecomitalia.it. [82.48.52.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8988feb32asm402254066b.23.2024.08.31.23.45.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 31 Aug 2024 23:45:38 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: Dario Binacchi , Samuel Martin , linux-amarula@amarulasolutions.com Subject: [PATCH v2 1/2] package/armadillo: temporarily update the site URL Date: Sun, 1 Sep 2024 08:45:08 +0200 Message-ID: <20240901064509.3505801-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JejubYtE; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- 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))