All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-java] fails to fetch icedtea
@ 2016-10-20  6:36 Joël Guittet
  2016-10-20  8:28 ` Richard Leitner
  2016-10-20  8:30 ` Maxin B. John
  0 siblings, 2 replies; 4+ messages in thread
From: Joël Guittet @ 2016-10-20  6:36 UTC (permalink / raw)
  To: openembedded-devel

Hi,

I'm building an image with OpenJDK, but fetching icedtea fails. It was
correctly done few weeks ago. Log indicates error on checksum, but I have
reviewed changes on meta-java and I do not understand why. Anybody with the
same issue?

Log:

WARNING: Checksum failure encountered with download of
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false
- will attempt other sources if available
WARNING: Renaming /home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2
to
/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2_bad-checksum_2bc941373ca4b033c9a25f972eec7858
ERROR: Fetcher failure for URL: '
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'.
Checksum mismatch!
File: '/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2' has md5
checksum 2bc941373ca4b033c9a25f972eec7858 when
c26bbb33addfaeb14d28a1329b4b5a3e was expected
File: '/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2' has sha256
checksum 5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba
when 54a0ef02b56b265b4122324e08a33c42ececbf2a300ada260611e7b6ccdba96d was
expected
If this change is expected (e.g. you have upgraded to a new version without
updating the checksums) then you can use these lines within the recipe:
SRC_URI[openjdk.md5sum] = "2bc941373ca4b033c9a25f972eec7858"
SRC_URI[openjdk.sha256sum] =
"5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba"
Otherwise you should retry the download and/or check with upstream to
determine if the file has become corrupted or otherwise unexpectedly
modified.

ERROR: Function failed: Fetcher failure for URL: '
http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/home/kubuntu/yocto/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/temp/log.do_fetch.10452
ERROR: Task 1258
(/home/kubuntu/yocto/build/../meta-java/recipes-core/icedtea/
icedtea7-native_2.1.3.bb, do_fetch) failed with exit code '1'

Regards,
Joel


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

* Re: [meta-java] fails to fetch icedtea
  2016-10-20  6:36 [meta-java] fails to fetch icedtea Joël Guittet
@ 2016-10-20  8:28 ` Richard Leitner
  2016-10-20  8:30 ` Maxin B. John
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Leitner @ 2016-10-20  8:28 UTC (permalink / raw)
  To: openembedded-devel

On 10/20/2016 08:36 AM, Joël Guittet wrote:
> Hi,
> 
> I'm building an image with OpenJDK, but fetching icedtea fails. It was
> correctly done few weeks ago. Log indicates error on checksum, but I have
> reviewed changes on meta-java and I do not understand why. Anybody with the
> same issue?

Yes, I'm facing the same issue (discovered it after removing my
downloads folder and starting a new build).
For icedtea7-native the source archives upstream somehow have changed
(but the content is the same) and therefore calc to a new checksum.

Yesterday I've sent a patch for fixing this issue:
http://lists.openembedded.org/pipermail/openembedded-devel/2016-October/109533.html

> 
> Regards,
> Joel
> 

regards,
RichardL


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

* Re: [meta-java] fails to fetch icedtea
  2016-10-20  6:36 [meta-java] fails to fetch icedtea Joël Guittet
  2016-10-20  8:28 ` Richard Leitner
@ 2016-10-20  8:30 ` Maxin B. John
  2016-10-20 21:49   ` Joël Guittet
  1 sibling, 1 reply; 4+ messages in thread
From: Maxin B. John @ 2016-10-20  8:30 UTC (permalink / raw)
  To: openembedded-devel

Hi Joel,

On Thu, Oct 20, 2016 at 08:36:06AM +0200, Joël Guittet wrote:
> Hi,
> 
> I'm building an image with OpenJDK, but fetching icedtea fails. It was
> correctly done few weeks ago. Log indicates error on checksum, but I have
> reviewed changes on meta-java and I do not understand why. Anybody with the
> same issue?
> 

Apparently, there were some updates in the upstream servers and it resulted in
change in checksums (pretty bad)

Richard Leitner sent a fix for that yesterday and it is in master-next now:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?h=master-next&id=8b028a5e67c8081a4ecd65d33fe52fed46416a1a

> Log:
> 
> WARNING: Checksum failure encountered with download of
> http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false
> - will attempt other sources if available
> WARNING: Renaming /home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2
> to
> /home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2_bad-checksum_2bc941373ca4b033c9a25f972eec7858
> ERROR: Fetcher failure for URL: '
> http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'.
> Checksum mismatch!
> File: '/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2' has md5
> checksum 2bc941373ca4b033c9a25f972eec7858 when
> c26bbb33addfaeb14d28a1329b4b5a3e was expected
> File: '/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2' has sha256
> checksum 5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba
> when 54a0ef02b56b265b4122324e08a33c42ececbf2a300ada260611e7b6ccdba96d was
> expected
> If this change is expected (e.g. you have upgraded to a new version without
> updating the checksums) then you can use these lines within the recipe:
> SRC_URI[openjdk.md5sum] = "2bc941373ca4b033c9a25f972eec7858"
> SRC_URI[openjdk.sha256sum] =
> "5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba"
> Otherwise you should retry the download and/or check with upstream to
> determine if the file has become corrupted or otherwise unexpectedly
> modified.
> 
> ERROR: Function failed: Fetcher failure for URL: '
> http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'.
> Unable to fetch URL from any source.
> ERROR: Logfile of failure stored in:
> /home/kubuntu/yocto/build/tmp/work/x86_64-linux/icedtea7-native/2.1.3-r1.0/temp/log.do_fetch.10452
> ERROR: Task 1258
> (/home/kubuntu/yocto/build/../meta-java/recipes-core/icedtea/
> icedtea7-native_2.1.3.bb, do_fetch) failed with exit code '1'
> 
> Regards,
> Joel
> -- 

Best Regards,
Maxin


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

* Re: [meta-java] fails to fetch icedtea
  2016-10-20  8:30 ` Maxin B. John
@ 2016-10-20 21:49   ` Joël Guittet
  0 siblings, 0 replies; 4+ messages in thread
From: Joël Guittet @ 2016-10-20 21:49 UTC (permalink / raw)
  To: openembedded-devel

Hi,

The fix also works here, thanks!

Joel

2016-10-20 10:30 GMT+02:00 Maxin B. John <maxin.john@intel.com>:

> Hi Joel,
>
> On Thu, Oct 20, 2016 at 08:36:06AM +0200, Joël Guittet wrote:
> > Hi,
> >
> > I'm building an image with OpenJDK, but fetching icedtea fails. It was
> > correctly done few weeks ago. Log indicates error on checksum, but I have
> > reviewed changes on meta-java and I do not understand why. Anybody with
> the
> > same issue?
> >
>
> Apparently, there were some updates in the upstream servers and it
> resulted in
> change in checksums (pretty bad)
>
> Richard Leitner sent a fix for that yesterday and it is in master-next now:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/
> commit/?h=master-next&id=8b028a5e67c8081a4ecd65d33fe52fed46416a1a
>
> > Log:
> >
> > WARNING: Checksum failure encountered with download of
> > http://icedtea.classpath.org/hg/release/icedtea7-forest-2.
> 1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false
> > - will attempt other sources if available
> > WARNING: Renaming /home/kubuntu/yocto/build/
> downloads/f89009ada191.tar.bz2
> > to
> > /home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2_bad-checksum_
> 2bc941373ca4b033c9a25f972eec7858
> > ERROR: Fetcher failure for URL: '
> > http://icedtea.classpath.org/hg/release/icedtea7-forest-2.
> 1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'.
> > Checksum mismatch!
> > File: '/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2' has md5
> > checksum 2bc941373ca4b033c9a25f972eec7858 when
> > c26bbb33addfaeb14d28a1329b4b5a3e was expected
> > File: '/home/kubuntu/yocto/build/downloads/f89009ada191.tar.bz2' has
> sha256
> > checksum 5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb48
> 27ba
> > when 54a0ef02b56b265b4122324e08a33c42ececbf2a300ada260611e7b6ccdba96d
> was
> > expected
> > If this change is expected (e.g. you have upgraded to a new version
> without
> > updating the checksums) then you can use these lines within the recipe:
> > SRC_URI[openjdk.md5sum] = "2bc941373ca4b033c9a25f972eec7858"
> > SRC_URI[openjdk.sha256sum] =
> > "5efd8e66f18fcbf45527bcc74aa3e6ed11f66bc793c88e3841925c4acb4827ba"
> > Otherwise you should retry the download and/or check with upstream to
> > determine if the file has become corrupted or otherwise unexpectedly
> > modified.
> >
> > ERROR: Function failed: Fetcher failure for URL: '
> > http://icedtea.classpath.org/hg/release/icedtea7-forest-2.
> 1/archive/f89009ada191.tar.bz2;name=openjdk;unpack=false'.
> > Unable to fetch URL from any source.
> > ERROR: Logfile of failure stored in:
> > /home/kubuntu/yocto/build/tmp/work/x86_64-linux/icedtea7-
> native/2.1.3-r1.0/temp/log.do_fetch.10452
> > ERROR: Task 1258
> > (/home/kubuntu/yocto/build/../meta-java/recipes-core/icedtea/
> > icedtea7-native_2.1.3.bb, do_fetch) failed with exit code '1'
> >
> > Regards,
> > Joel
> > --
>
> Best Regards,
> Maxin
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

end of thread, other threads:[~2016-10-20 21:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-20  6:36 [meta-java] fails to fetch icedtea Joël Guittet
2016-10-20  8:28 ` Richard Leitner
2016-10-20  8:30 ` Maxin B. John
2016-10-20 21:49   ` Joël Guittet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.