diff mbox series

boost: fix do_fetch error

Message ID 20250102084152.2042864-1-jiaying.song.cn@windriver.com
State Accepted, archived
Commit 8dd4814c5994ff008969591e863f931692740361
Headers show
Series boost: fix do_fetch error | expand

Commit Message

Song, Jiaying (CN) Jan. 2, 2025, 8:41 a.m. UTC
From: Jiaying Song <jiaying.song.cn@windriver.com>

Change the sha256sum to the correct value due to the following error:
WARNING: boost-native-1.86.0-r0 do_fetch: Checksum failure encountered with download of https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2 - will attempt other sources if available

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
---
 meta/recipes-support/boost/boost-1.86.0.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anders Montonen Jan. 2, 2025, 8:56 a.m. UTC | #1
Hi,

> On 2 Jan 2025, at 10:41, Song, Jiaying (CN) via lists.openembedded.org <Jiaying.Song.CN=windriver.com@lists.openembedded.org> wrote:
> 
> From: Jiaying Song <jiaying.song.cn@windriver.com>
> 
> Change the sha256sum to the correct value due to the following error:
> WARNING: boost-native-1.86.0-r0 do_fetch: Checksum failure encountered with download of https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2 - will attempt other sources if available
> 
> Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
> ---
> meta/recipes-support/boost/boost-1.86.0.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-support/boost/boost-1.86.0.inc b/meta/recipes-support/boost/boost-1.86.0.inc
> index 2378b27575..6d6064fc7b 100644
> --- a/meta/recipes-support/boost/boost-1.86.0.inc
> +++ b/meta/recipes-support/boost/boost-1.86.0.inc
> @@ -12,7 +12,7 @@ BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
> BOOST_P = "boost_${BOOST_VER}"
> 
> SRC_URI = "https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2"
> -SRC_URI[sha256sum] = "1bed88e40401b2cb7a1f76d4bab499e352fa4d0c5f31c0dbae64e24d34d7513b"
> +SRC_URI[sha256sum] = "79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848"
> 
> UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
> UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/"
> -- 
> 2.34.1

The url https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2 points to an error page. Also, in both this update and the Scarthgap 1.84.0 update you posted, you’re updating the recipes to the same sha256sum. I’m guessing these patches were not tested at all? I would also have expected the reason for the changed checksum in the commit message.

Is there a reason the Boost recipes are not using archives.boost.io?

-a
Anders Montonen Jan. 2, 2025, 9:11 a.m. UTC | #2
Hi,

> On 2 Jan 2025, at 10:56, Anders Montonen <Anders.Montonen@iki.fi> wrote:
> 
> Hi,
> 
>> On 2 Jan 2025, at 10:41, Song, Jiaying (CN) via lists.openembedded.org <Jiaying.Song.CN=windriver.com@lists.openembedded.org> wrote:
>> 
>> From: Jiaying Song <jiaying.song.cn@windriver.com>
>> 
>> Change the sha256sum to the correct value due to the following error:
>> WARNING: boost-native-1.86.0-r0 do_fetch: Checksum failure encountered with download of https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2 - will attempt other sources if available
>> 
>> Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
>> ---
>> meta/recipes-support/boost/boost-1.86.0.inc | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>> 
>> diff --git a/meta/recipes-support/boost/boost-1.86.0.inc b/meta/recipes-support/boost/boost-1.86.0.inc
>> index 2378b27575..6d6064fc7b 100644
>> --- a/meta/recipes-support/boost/boost-1.86.0.inc
>> +++ b/meta/recipes-support/boost/boost-1.86.0.inc
>> @@ -12,7 +12,7 @@ BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
>> BOOST_P = "boost_${BOOST_VER}"
>> 
>> SRC_URI = "https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2"
>> -SRC_URI[sha256sum] = "1bed88e40401b2cb7a1f76d4bab499e352fa4d0c5f31c0dbae64e24d34d7513b"
>> +SRC_URI[sha256sum] = "79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848"
>> 
>> UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
>> UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/"
>> -- 
>> 2.34.1
> 
> The url https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2 <https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2> points to an error page. Also, in both this update and the Scarthgap 1.84.0 update you posted, you’re updating the recipes to the same sha256sum. I’m guessing these patches were not tested at all? I would also have expected the reason for the changed checksum in the commit message.
> 
> Is there a reason the Boost recipes are not using archives.boost.io <http://archives.boost.io/>?

According to this comment, JFrog are no longer providing a mirror for Boost: https://github.com/boostorg/boost/issues/996#issuecomment-2567031602

-a
Song, Jiaying (CN) Jan. 3, 2025, 3:15 a.m. UTC | #3
Hi,

The URL has indeed expired, but there was a misunderstanding because the package download was successful. I will update the correct URL and send the v2 patch.

Thanks,
Jiaying

From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Anders Montonen via lists.openembedded.org
Sent: Thursday, January 2, 2025 4:57 PM
To: Song, Jiaying (CN) <Jiaying.Song.CN@windriver.com>
Cc: openembedded-core@lists.openembedded.org; Li, Changqing <Changqing.Li@windriver.com>
Subject: Re: [OE-core] [PATCH] boost: fix do_fetch error

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi,

> On 2 Jan 2025, at 10:41, Song, Jiaying (CN) via lists.openembedded.org <Jiaying.Song.CN=windriver.com@lists.openembedded.org<mailto:Jiaying.Song.CN=windriver.com@lists.openembedded.org>> wrote:
>
> From: Jiaying Song <jiaying.song.cn@windriver.com<mailto:jiaying.song.cn@windriver.com>>
>
> Change the sha256sum to the correct value due to the following error:
> WARNING: boost-native-1.86.0-r0 do_fetch: Checksum failure encountered with download of https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2 - will attempt other sources if available
>
> Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com<mailto:jiaying.song.cn@windriver.com>>
> ---
> meta/recipes-support/boost/boost-1.86.0.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-support/boost/boost-1.86.0.inc b/meta/recipes-support/boost/boost-1.86.0.inc
> index 2378b27575..6d6064fc7b 100644
> --- a/meta/recipes-support/boost/boost-1.86.0.inc
> +++ b/meta/recipes-support/boost/boost-1.86.0.inc
> @@ -12,7 +12,7 @@ BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
> BOOST_P = "boost_${BOOST_VER}"
>
> SRC_URI = "https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2<https://boostorg.jfrog.io/artifactory/main/release/$%7bPV%7d/source/$%7bBOOST_P%7d.tar.bz2>"
> -SRC_URI[sha256sum] = "1bed88e40401b2cb7a1f76d4bab499e352fa4d0c5f31c0dbae64e24d34d7513b"
> +SRC_URI[sha256sum] = "79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848"
>
> UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
> UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/"
> --
> 2.34.1

The url https://boostorg.jfrog.io/artifactory/main/release/1.86.0/source/boost_1_86_0.tar.bz2 points to an error page. Also, in both this update and the Scarthgap 1.84.0 update you posted, you’re updating the recipes to the same sha256sum. I’m guessing these patches were not tested at all? I would also have expected the reason for the changed checksum in the commit message.

Is there a reason the Boost recipes are not using archives.boost.io?

-a

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209258): https://lists.openembedded.org/g/openembedded-core/message/209258
Mute This Topic: https://lists.openembedded.org/mt/110386235/8575670
Group Owner: openembedded-core+owner@lists.openembedded.org<mailto:openembedded-core+owner@lists.openembedded.org>
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Jiaying.Song.CN@windriver.com]
-=-=-=-=-=-=-=-=-=-=-=-
diff mbox series

Patch

diff --git a/meta/recipes-support/boost/boost-1.86.0.inc b/meta/recipes-support/boost/boost-1.86.0.inc
index 2378b27575..6d6064fc7b 100644
--- a/meta/recipes-support/boost/boost-1.86.0.inc
+++ b/meta/recipes-support/boost/boost-1.86.0.inc
@@ -12,7 +12,7 @@  BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
 BOOST_P = "boost_${BOOST_VER}"
 
 SRC_URI = "https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2"
-SRC_URI[sha256sum] = "1bed88e40401b2cb7a1f76d4bab499e352fa4d0c5f31c0dbae64e24d34d7513b"
+SRC_URI[sha256sum] = "79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848"
 
 UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
 UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/"