Openembedded Core Discussions
 help / color / mirror / Atom feed
* Recipes with SRC_URI in .inc file and checksum in bb file
@ 2013-01-04 16:45 Philip Balister
  2013-01-04 16:59 ` Marko Lindqvist
  0 siblings, 1 reply; 4+ messages in thread
From: Philip Balister @ 2013-01-04 16:45 UTC (permalink / raw)
  To: openembedded-core

The specific case I am looking at is fftw in meta-oe, ,but I believe
this is a general problem.

The fftw recipe has a .inc file that includes the SRC_URI to a tarball
and bb files that build packages with slightly different compile
options. The tarball checksums are in the version specific bb files.

I am on the process of updating the fftw recipes to the most recent
version. Along the way I noticed it looks like the checksum test is
being ignored. The only way I can get it to fail is to remove all the
checksum entries from the bb files.

Something needs fixing and I'd like to know what we want in the recipes
before I submit the fixes, even if bitbake  is broken :)

Should the checksums move to the .inc file? (bad since that makes the
.inc file version specific). Should they be duped in each recipe?
(Annoying and doesn't really work) Maybe another version specific
include? (likely won't work, but could be fixed)

Philip



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

* Re: Recipes with SRC_URI in .inc file and checksum in bb file
  2013-01-04 16:45 Recipes with SRC_URI in .inc file and checksum in bb file Philip Balister
@ 2013-01-04 16:59 ` Marko Lindqvist
  2013-01-04 17:05   ` Philip Balister
  0 siblings, 1 reply; 4+ messages in thread
From: Marko Lindqvist @ 2013-01-04 16:59 UTC (permalink / raw)
  To: Philip Balister; +Cc: openembedded-core

On 4 January 2013 18:45, Philip Balister <philip@balister.org> wrote:
>
> I am on the process of updating the fftw recipes to the most recent
> version. Along the way I noticed it looks like the checksum test is
> being ignored. The only way I can get it to fail is to remove all the
> checksum entries from the bb files.

 I've got this kind of problems when I have made several iterations of
the recipe update. In my case the explanation has always been that
first test already downloaded the file, so no matter what I do to
checksums after that, there's no download + checksum check on later
tests.
 Remove file and <file>.done from download, + 'bitbake <recipe> -c clean'


 - ML



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

* Re: Recipes with SRC_URI in .inc file and checksum in bb file
  2013-01-04 16:59 ` Marko Lindqvist
@ 2013-01-04 17:05   ` Philip Balister
  2013-01-07 13:25     ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Philip Balister @ 2013-01-04 17:05 UTC (permalink / raw)
  To: Marko Lindqvist; +Cc: openembedded-core

On 01/04/2013 11:59 AM, Marko Lindqvist wrote:
> On 4 January 2013 18:45, Philip Balister <philip@balister.org> wrote:
>>
>> I am on the process of updating the fftw recipes to the most recent
>> version. Along the way I noticed it looks like the checksum test is
>> being ignored. The only way I can get it to fail is to remove all the
>> checksum entries from the bb files.
> 
>  I've got this kind of problems when I have made several iterations of
> the recipe update. In my case the explanation has always been that
> first test already downloaded the file, so no matter what I do to
> checksums after that, there's no download + checksum check on later
> tests.
>  Remove file and <file>.done from download, + 'bitbake <recipe> -c clean'

I uderstand that, but the other problem is even with a new download, the
checksum check is ignored if there are checksum entries in more than one
bb file.

Philip



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

* Re: Recipes with SRC_URI in .inc file and checksum in bb file
  2013-01-04 17:05   ` Philip Balister
@ 2013-01-07 13:25     ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2013-01-07 13:25 UTC (permalink / raw)
  To: Philip Balister; +Cc: openembedded-core

On Fri, 2013-01-04 at 12:05 -0500, Philip Balister wrote:
> On 01/04/2013 11:59 AM, Marko Lindqvist wrote:
> > On 4 January 2013 18:45, Philip Balister <philip@balister.org> wrote:
> >>
> >> I am on the process of updating the fftw recipes to the most recent
> >> version. Along the way I noticed it looks like the checksum test is
> >> being ignored. The only way I can get it to fail is to remove all the
> >> checksum entries from the bb files.
> > 
> >  I've got this kind of problems when I have made several iterations of
> > the recipe update. In my case the explanation has always been that
> > first test already downloaded the file, so no matter what I do to
> > checksums after that, there's no download + checksum check on later
> > tests.
> >  Remove file and <file>.done from download, + 'bitbake <recipe> -c clean'
> 
> I uderstand that, but the other problem is even with a new download, the
> checksum check is ignored if there are checksum entries in more than one
> bb file.

Multiple checksums in different .bb files for the same filename?

Cheers,

Richard




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

end of thread, other threads:[~2013-01-07 13:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-04 16:45 Recipes with SRC_URI in .inc file and checksum in bb file Philip Balister
2013-01-04 16:59 ` Marko Lindqvist
2013-01-04 17:05   ` Philip Balister
2013-01-07 13:25     ` Richard Purdie

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