Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] boost: Fix SRC_URI checksums
@ 2016-10-29 19:46 Khem Raj
  2016-10-30 16:40 ` Richard Purdie
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2016-10-29 19:46 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-support/boost/boost-1.62.0.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/boost/boost-1.62.0.inc b/meta/recipes-support/boost/boost-1.62.0.inc
index a097ea1..1144ac9 100644
--- a/meta/recipes-support/boost/boost-1.62.0.inc
+++ b/meta/recipes-support/boost/boost-1.62.0.inc
@@ -13,7 +13,7 @@ BOOST_P = "boost_${BOOST_VER}"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2"
 
-SRC_URI[md5sum] = "7ef085456c48c49a7fe8237f07e5f674"
-SRC_URI[sha256sum] = "bce80293052e2d6230f1bec9b7524b33412e4fb26e9723460a0f362ac15b7acb"
+SRC_URI[md5sum] = "21b799e5d35ba2beef75b225deaf199a"
+SRC_URI[sha256sum] = "a715dc2adff2d451719352b1e863d78cbb100a03f7ed76097c89b9016c59091e"
 
 S = "${WORKDIR}/${BOOST_P}"
-- 
2.10.1



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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-10-29 19:46 [PATCH] boost: Fix SRC_URI checksums Khem Raj
@ 2016-10-30 16:40 ` Richard Purdie
  2016-10-30 17:39   ` Khem Raj
  0 siblings, 1 reply; 12+ messages in thread
From: Richard Purdie @ 2016-10-30 16:40 UTC (permalink / raw)
  To: Khem Raj, openembedded-core

On Sat, 2016-10-29 at 12:46 -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

Why, what happened?

Cheers,

Richard


> ---
>  meta/recipes-support/boost/boost-1.62.0.inc | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-support/boost/boost-1.62.0.inc
> b/meta/recipes-support/boost/boost-1.62.0.inc
> index a097ea1..1144ac9 100644
> --- a/meta/recipes-support/boost/boost-1.62.0.inc
> +++ b/meta/recipes-support/boost/boost-1.62.0.inc
> @@ -13,7 +13,7 @@ BOOST_P = "boost_${BOOST_VER}"
>  
>  SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2"
>  
> -SRC_URI[md5sum] = "7ef085456c48c49a7fe8237f07e5f674"
> -SRC_URI[sha256sum] =
> "bce80293052e2d6230f1bec9b7524b33412e4fb26e9723460a0f362ac15b7acb"
> +SRC_URI[md5sum] = "21b799e5d35ba2beef75b225deaf199a"
> +SRC_URI[sha256sum] =
> "a715dc2adff2d451719352b1e863d78cbb100a03f7ed76097c89b9016c59091e"
>  
>  S = "${WORKDIR}/${BOOST_P}"
> -- 
> 2.10.1
> 


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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-10-30 16:40 ` Richard Purdie
@ 2016-10-30 17:39   ` Khem Raj
  2016-10-31  3:27     ` Paul Eggleton
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2016-10-30 17:39 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On Sun, Oct 30, 2016 at 9:40 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Sat, 2016-10-29 at 12:46 -0700, Khem Raj wrote:
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>
> Why, what happened?

I haven't checked in detail but after the recent master commits my
builds started to fail with checksum errors.
since it was happening on two different machines I though it might
have been over sight.
>
> Cheers,
>
> Richard
>
>
>> ---
>>  meta/recipes-support/boost/boost-1.62.0.inc | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/recipes-support/boost/boost-1.62.0.inc
>> b/meta/recipes-support/boost/boost-1.62.0.inc
>> index a097ea1..1144ac9 100644
>> --- a/meta/recipes-support/boost/boost-1.62.0.inc
>> +++ b/meta/recipes-support/boost/boost-1.62.0.inc
>> @@ -13,7 +13,7 @@ BOOST_P = "boost_${BOOST_VER}"
>>
>>  SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2"
>>
>> -SRC_URI[md5sum] = "7ef085456c48c49a7fe8237f07e5f674"
>> -SRC_URI[sha256sum] =
>> "bce80293052e2d6230f1bec9b7524b33412e4fb26e9723460a0f362ac15b7acb"
>> +SRC_URI[md5sum] = "21b799e5d35ba2beef75b225deaf199a"
>> +SRC_URI[sha256sum] =
>> "a715dc2adff2d451719352b1e863d78cbb100a03f7ed76097c89b9016c59091e"
>>
>>  S = "${WORKDIR}/${BOOST_P}"
>> --
>> 2.10.1
>>


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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-10-30 17:39   ` Khem Raj
@ 2016-10-31  3:27     ` Paul Eggleton
  2016-10-31  3:45       ` Paul Eggleton
  0 siblings, 1 reply; 12+ messages in thread
From: Paul Eggleton @ 2016-10-31  3:27 UTC (permalink / raw)
  To: openembedded-core, Alexander Kanavin

On Sun, 30 Oct 2016 10:39:34 Khem Raj wrote:
> On Sun, Oct 30, 2016 at 9:40 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > On Sat, 2016-10-29 at 12:46 -0700, Khem Raj wrote:
> >> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > 
> > Why, what happened?
> 
> I haven't checked in detail but after the recent master commits my
> builds started to fail with checksum errors.
> since it was happening on two different machines I though it might
> have been over sight.

We need to be extremely cautious changing the SRC_URI checksums when there's a 
mismatch, otherwise we might as well not have them at all. The SRC_URI 
checksums definitely were changed when the last update was done, so this 
doesn't appear to be a case where they accidentally weren't updated.

Alex, any idea what's happened here? Do you have the originals from when you 
did the upgrade?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-10-31  3:27     ` Paul Eggleton
@ 2016-10-31  3:45       ` Paul Eggleton
  2016-10-31 12:53         ` Alexander Kanavin
  0 siblings, 1 reply; 12+ messages in thread
From: Paul Eggleton @ 2016-10-31  3:45 UTC (permalink / raw)
  To: openembedded-core

On Mon, 31 Oct 2016 16:27:15 Paul Eggleton wrote:
> On Sun, 30 Oct 2016 10:39:34 Khem Raj wrote:
> > On Sun, Oct 30, 2016 at 9:40 AM, Richard Purdie
> > <richard.purdie@linuxfoundation.org> wrote:
> > > On Sat, 2016-10-29 at 12:46 -0700, Khem Raj wrote:
> > >> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > > 
> > > Why, what happened?
> > 
> > I haven't checked in detail but after the recent master commits my
> > builds started to fail with checksum errors.
> > since it was happening on two different machines I though it might
> > have been over sight.
> 
> We need to be extremely cautious changing the SRC_URI checksums when there's
> a mismatch, otherwise we might as well not have them at all. The SRC_URI
> checksums definitely were changed when the last update was done, so this
> doesn't appear to be a case where they accidentally weren't updated.
> 
> Alex, any idea what's happened here? Do you have the originals from when you
> did the upgrade?

Hmm, it seems we aren't the only ones to have hit this:

  http://osdir.com/ml/blfs-dev/2016-10/msg00013.html

That said, I still don't think we should blindly trust the latest archives 
until we're sure of what the differences are.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-10-31  3:45       ` Paul Eggleton
@ 2016-10-31 12:53         ` Alexander Kanavin
  2016-10-31 16:22           ` Khem Raj
  0 siblings, 1 reply; 12+ messages in thread
From: Alexander Kanavin @ 2016-10-31 12:53 UTC (permalink / raw)
  To: openembedded-core

On 10/31/2016 05:45 AM, Paul Eggleton wrote:
>> Alex, any idea what's happened here? Do you have the originals from when you
>> did the upgrade?
>
> Hmm, it seems we aren't the only ones to have hit this:
>
>   http://osdir.com/ml/blfs-dev/2016-10/msg00013.html
>
> That said, I still don't think we should blindly trust the latest archives
> until we're sure of what the differences are.

Sourceforge is doing too-clever redirecting that fails miserably here:

Proxy request sent, awaiting response... 301 Moved Permanently
Location: 
http://downloads.sourceforge.net/project/boost/boost/snapshots/master/boost_1_62_0.tar.bz2 
[following]

So we've been fetching a moving master snapshot all along. Patch is 
coming shortly.

Alex



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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-10-31 12:53         ` Alexander Kanavin
@ 2016-10-31 16:22           ` Khem Raj
  2016-11-01 12:40             ` Alexander Kanavin
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2016-10-31 16:22 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]


> On Oct 31, 2016, at 5:53 AM, Alexander Kanavin <alexander.kanavin@linux.intel.com> wrote:
> 
> On 10/31/2016 05:45 AM, Paul Eggleton wrote:
>>> Alex, any idea what's happened here? Do you have the originals from when you
>>> did the upgrade?
>> 
>> Hmm, it seems we aren't the only ones to have hit this:
>> 
>>  http://osdir.com/ml/blfs-dev/2016-10/msg00013.html
>> 
>> That said, I still don't think we should blindly trust the latest archives
>> until we're sure of what the differences are.
> 
> Sourceforge is doing too-clever redirecting that fails miserably here:
> 
> Proxy request sent, awaiting response... 301 Moved Permanently
> Location: http://downloads.sourceforge.net/project/boost/boost/snapshots/master/boost_1_62_0.tar.bz2 [following]
> 
> So we've been fetching a moving master snapshot all along. Patch is coming shortly.

we should specify boost/boost/1.62.0/boost_1_62_0.tar.bz2 instead of boost/boost/boost_1_62_0.tar.bz2

> 
> Alex
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-10-31 16:22           ` Khem Raj
@ 2016-11-01 12:40             ` Alexander Kanavin
  2016-11-01 16:06               ` Khem Raj
  0 siblings, 1 reply; 12+ messages in thread
From: Alexander Kanavin @ 2016-11-01 12:40 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 10/31/2016 06:22 PM, Khem Raj wrote:

>> Sourceforge is doing too-clever redirecting that fails miserably here:
>>
>> Proxy request sent, awaiting response... 301 Moved Permanently
>> Location: http://downloads.sourceforge.net/project/boost/boost/snapshots/master/boost_1_62_0.tar.bz2 [following]
>>
>> So we've been fetching a moving master snapshot all along. Patch is coming shortly.
>
> we should specify boost/boost/1.62.0/boost_1_62_0.tar.bz2 instead of boost/boost/boost_1_62_0.tar.bz2

Incorrect. That will still download a master snapshot tarball. Only if 
the 'project/' is prefixed, SF will give you the release tarball.


Alex



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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-11-01 12:40             ` Alexander Kanavin
@ 2016-11-01 16:06               ` Khem Raj
  2016-11-01 16:33                 ` Alexander Kanavin
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2016-11-01 16:06 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]


> On Nov 1, 2016, at 5:40 AM, Alexander Kanavin <alexander.kanavin@linux.intel.com> wrote:
> 
> On 10/31/2016 06:22 PM, Khem Raj wrote:
> 
>>> Sourceforge is doing too-clever redirecting that fails miserably here:
>>> 
>>> Proxy request sent, awaiting response... 301 Moved Permanently
>>> Location: http://downloads.sourceforge.net/project/boost/boost/snapshots/master/boost_1_62_0.tar.bz2 [following]
>>> 
>>> So we've been fetching a moving master snapshot all along. Patch is coming shortly.
>> 
>> we should specify boost/boost/1.62.0/boost_1_62_0.tar.bz2 instead of boost/boost/boost_1_62_0.tar.bz2
> 
> Incorrect. That will still download a master snapshot tarball. Only if the 'project/' is prefixed, SF will give you the release tarball.

if we need projects/ then it should be encoded into SOURCEFORGE_MIRROR variable in bitbake.conf. Since that required for
every sf.net project.

> 
> 
> Alex
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-11-01 16:06               ` Khem Raj
@ 2016-11-01 16:33                 ` Alexander Kanavin
  2016-11-01 16:45                   ` Khem Raj
  0 siblings, 1 reply; 12+ messages in thread
From: Alexander Kanavin @ 2016-11-01 16:33 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 11/01/2016 06:06 PM, Khem Raj wrote:

>>> we should specify boost/boost/1.62.0/boost_1_62_0.tar.bz2 instead of boost/boost/boost_1_62_0.tar.bz2
>>
>> Incorrect. That will still download a master snapshot tarball. Only if the 'project/' is prefixed, SF will give you the release tarball.
>
> if we need projects/ then it should be encoded into SOURCEFORGE_MIRROR variable in bitbake.conf. Since that required for
> every sf.net project.

Would you then also fix the remaining recipe-specific part of the URI in 
all those recipes? I don't have the bandwidth for that right now, and 
it's a problem that is unlikely to happen in other recipes.

Alex



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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-11-01 16:33                 ` Alexander Kanavin
@ 2016-11-01 16:45                   ` Khem Raj
  2016-11-02  2:43                     ` Paul Eggleton
  0 siblings, 1 reply; 12+ messages in thread
From: Khem Raj @ 2016-11-01 16:45 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]


> On Nov 1, 2016, at 9:33 AM, Alexander Kanavin <alexander.kanavin@linux.intel.com> wrote:
> 
> On 11/01/2016 06:06 PM, Khem Raj wrote:
> 
>>>> we should specify boost/boost/1.62.0/boost_1_62_0.tar.bz2 instead of boost/boost/boost_1_62_0.tar.bz2
>>> 
>>> Incorrect. That will still download a master snapshot tarball. Only if the 'project/' is prefixed, SF will give you the release tarball.
>> 
>> if we need projects/ then it should be encoded into SOURCEFORGE_MIRROR variable in bitbake.conf. Since that required for
>> every sf.net project.
> 
> Would you then also fix the remaining recipe-specific part of the URI in all those recipes? I don't have the bandwidth for that right now, and it's a problem that is unlikely to happen in other recipes.
> 

I wonder if same problem would not happen for other sf.net packages.
probably we never run into it probably because it gets backed up on yp download mirror
and then used. I am not expecting you to fix it, don't worry.

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

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

* Re: [PATCH] boost: Fix SRC_URI checksums
  2016-11-01 16:45                   ` Khem Raj
@ 2016-11-02  2:43                     ` Paul Eggleton
  0 siblings, 0 replies; 12+ messages in thread
From: Paul Eggleton @ 2016-11-02  2:43 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Tue, 01 Nov 2016 09:45:48 Khem Raj wrote:
> > On Nov 1, 2016, at 9:33 AM, Alexander Kanavin
> > <alexander.kanavin@linux.intel.com> wrote:> 
> > On 11/01/2016 06:06 PM, Khem Raj wrote:
> >>>> we should specify boost/boost/1.62.0/boost_1_62_0.tar.bz2 instead of
> >>>> boost/boost/boost_1_62_0.tar.bz2>>> 
> >>> Incorrect. That will still download a master snapshot tarball. Only if
> >>> the 'project/' is prefixed, SF will give you the release tarball.>> 
> >> if we need projects/ then it should be encoded into SOURCEFORGE_MIRROR
> >> variable in bitbake.conf. Since that required for every sf.net project.
> > 
> > Would you then also fix the remaining recipe-specific part of the URI in
> > all those recipes? I don't have the bandwidth for that right now, and
> > it's a problem that is unlikely to happen in other recipes.
>
> I wonder if same problem would not happen for other sf.net packages.
> probably we never run into it probably because it gets backed up on yp
> download mirror and then used. I am not expecting you to fix it, don't
> worry.

I think it's less likely to happen elsewhere because most projects don't 
release snapshot tarballs with the exact same name as the latest stable 
release ones. Someone really ought to explain to the boost folks why that is a 
bad idea.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

end of thread, other threads:[~2016-11-02  2:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-29 19:46 [PATCH] boost: Fix SRC_URI checksums Khem Raj
2016-10-30 16:40 ` Richard Purdie
2016-10-30 17:39   ` Khem Raj
2016-10-31  3:27     ` Paul Eggleton
2016-10-31  3:45       ` Paul Eggleton
2016-10-31 12:53         ` Alexander Kanavin
2016-10-31 16:22           ` Khem Raj
2016-11-01 12:40             ` Alexander Kanavin
2016-11-01 16:06               ` Khem Raj
2016-11-01 16:33                 ` Alexander Kanavin
2016-11-01 16:45                   ` Khem Raj
2016-11-02  2:43                     ` Paul Eggleton

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