Discussion:
Hash sum check for qtscriptclassic-1.0_1-opensource failed
Bent Bracke
2016-01-25 19:52:51 UTC
Permalink
Hi

When trying to “make prepare” the lib ports directory I get the following error:

"Hash sum check for qtscriptclassic-1.0_1-opensource failed“

The hash seems to be correct.

Any ideas?

kind regards
Bent Bracke
Christian Helmuth
2016-01-26 12:37:07 UTC
Permalink
Hello Bent,
"Hash sum check for qtscriptclassic-1.0_1-opensource failed“
I tried to reproduce your issue just now, but it works as expected.
The hash seems to be correct.
What do you mean by "hash seems to be correct"? Did you run sha1sum
manually?
Any ideas?
Which Genode release do you use?

In the past, we had an issue with a custom version of the sha1sum
tool, which produced incompatible output. If I run it manually on
Ubuntu 12.04 I get
sha1sum contrib/qt5-4d7c2192509a580b54ac069e68f1e9ac4d9159bd.incomplete/qtscriptclassic-1.0_1-opensource.tar.gz
74e9dc82dd194d8ae0fb0f8f1df74081948b943a contrib/qt5-4d7c2192509a580b54ac069e68f1e9ac4d9159bd.incomplete/qtscriptclassic-1.0_1-opensource.tar.gz

Can you confirm that your output is similar?

Regards
--
Christian Helmuth
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Bent Bracke
2016-01-26 19:36:16 UTC
Permalink
Post by Christian Helmuth
Hello Bent,
Post by Bent Bracke
"Hash sum check for qtscriptclassic-1.0_1-opensource failed“
I tried to reproduce your issue just now, but it works as expected.
Post by Bent Bracke
The hash seems to be correct.
What do you mean by "hash seems to be correct"? Did you run sha1sum
manually?
Yes,
Post by Christian Helmuth
Post by Bent Bracke
Any ideas?
Which Genode release do you use?
15.11
Post by Christian Helmuth
In the past, we had an issue with a custom version of the sha1sum
tool, which produced incompatible output. If I run it manually on
Ubuntu 12.04 I get
Post by Bent Bracke
sha1sum contrib/qt5-4d7c2192509a580b54ac069e68f1e9ac4d9159bd.incomplete/qtscriptclassic-1.0_1-opensource.tar.gz
74e9dc82dd194d8ae0fb0f8f1df74081948b943a contrib/qt5-4d7c2192509a580b54ac069e68f1e9ac4d9159bd.incomplete/qtscriptclassic-1.0_1-opensource.tar.gz
Can you confirm that your output is similar?
Yes, 74e9dc82dd194d8ae0fb0f8f1df74081948b943a qtscriptclassic-1.0_1-opensource.tar.gz
This is on Ubuntu 14.04.


Kind regards
Bent Bracke
Evolux OS
2016-01-26 20:30:43 UTC
Permalink
Forgot to mention:

It actually fails earlier:
Error: Download for qtscriptclassic-1.0_1-opensource failed
make[2]: *** [qtscriptclassic-1.0_1-opensource.file] Error 1
make[1]: *** [_install_in_port_dir] Error 2
make: *** [prepare-qt5] Error 2


I fixed that by manually downloading the file and changing the link to point to the downloaded file.

Steps to reproduce:

1. Install toolchain (sudo tar xPfj genode-toolchain-15.5-x86_64.tar.bz2)
2. git clone git://github.com/genodelabs/genode.git
3.cd genode/repos/libports
4.make prepare

kind regards
Bent Bracke


--
Evolux OS
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
Post by Bent Bracke
Post by Christian Helmuth
Hello Bent,
Post by Bent Bracke
"Hash sum check for qtscriptclassic-1.0_1-opensource failed“
I tried to reproduce your issue just now, but it works as expected.
Post by Bent Bracke
The hash seems to be correct.
What do you mean by "hash seems to be correct"? Did you run sha1sum
manually?
Yes,
Post by Christian Helmuth
Post by Bent Bracke
Any ideas?
Which Genode release do you use?
15.11
Post by Christian Helmuth
In the past, we had an issue with a custom version of the sha1sum
tool, which produced incompatible output. If I run it manually on
Ubuntu 12.04 I get
Post by Bent Bracke
sha1sum contrib/qt5-4d7c2192509a580b54ac069e68f1e9ac4d9159bd.incomplete/qtscriptclassic-1.0_1-opensource.tar.gz
74e9dc82dd194d8ae0fb0f8f1df74081948b943a contrib/qt5-4d7c2192509a580b54ac069e68f1e9ac4d9159bd.incomplete/qtscriptclassic-1.0_1-opensource.tar.gz
Can you confirm that your output is similar?
Yes, 74e9dc82dd194d8ae0fb0f8f1df74081948b943a qtscriptclassic-1.0_1-opensource.tar.gz
This is on Ubuntu 14.04.
Kind regards
Bent Bracke
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Nobody III
2016-01-27 00:53:09 UTC
Permalink
You need to update qt5.hash. qt5.hash is an SHA1 hash of qt5.port. I've had
this problem before. Whenever you change a .port file, you need to update
its corresponding .hash file.
Post by Evolux OS
Error: Download for qtscriptclassic-1.0_1-opensource failed
make[2]: *** [qtscriptclassic-1.0_1-opensource.file] Error 1
make[1]: *** [_install_in_port_dir] Error 2
make: *** [prepare-qt5] Error 2
I fixed that by manually downloading the file and changing the link to
point to the downloaded file.
1. Install toolchain (sudo tar xPfj genode-toolchain-15.5-x86_64.tar.bz2)
2. git clone git://github.com/genodelabs/genode.git
3.cd genode/repos/libports
4.make prepare
kind regards
Bent Bracke
--
Evolux OS
Sent with Sparrow <http://www.sparrowmailapp.com/?sig>
Hello Bent,
"Hash sum check for qtscriptclassic-1.0_1-opensource failed“
I tried to reproduce your issue just now, but it works as expected.
The hash seems to be correct.
What do you mean by "hash seems to be correct"? Did you run sha1sum
manually?
Yes,
Any ideas?
Which Genode release do you use?
15.11
In the past, we had an issue with a custom version of the sha1sum
tool, which produced incompatible output. If I run it manually on
Ubuntu 12.04 I get
Post by Christian Helmuth
sha1sum
contrib/qt5-4d7c2192509a580b54ac069e68f1e9ac4d9159bd.incomplete/qtscriptclassic-1.0_1-opensource.tar.gz
74e9dc82dd194d8ae0fb0f8f1df74081948b943a
contrib/qt5-4d7c2192509a580b54ac069e68f1e9ac4d9159bd.incomplete/qtscriptclassic-1.0_1-opensource.tar.gz
Can you confirm that your output is similar?
Yes, 74e9dc82dd194d8ae0fb0f8f1df74081948b943a
qtscriptclassic-1.0_1-opensource.tar.gz
This is on Ubuntu 14.04.
Kind regards
Bent Bracke
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Bent Bracke
2016-01-27 19:50:36 UTC
Permalink
Hi

Ah, thank you, that worked.



Kind regards
Bent Bracke
You need to update qt5.hash. qt5.hash is an SHA1 hash of qt5.port. I've had this problem before. Whenever you change a .port file, you need to update its corresponding .hash file.
Post by Evolux OS
Error: Download for qtscriptclassic-1.0_1-opensource failed
make[2]: *** [qtscriptclassic-1.0_1-opensource.file] Error 1
make[1]: *** [_install_in_port_dir] Error 2
make: *** [prepare-qt5] Error 2
I fixed that by manually downloading the file and changing the link to point to the downloaded file.
1. Install toolchain (sudo tar xPfj genode-toolchain-15.5-x86_64.tar.bz2)
2. git clone git://github.com/genodelabs/genode.git
3.cd genode/repos/libports
4.make prepare
kind regards
Bent Bracke
--
Evolux OS
Sent with Sparrow
Post by Bent Bracke
Post by Christian Helmuth
Hello Bent,
Post by Bent Bracke
"Hash sum check for qtscriptclassic-1.0_1-opensource failed“
I tried to reproduce your issue just now, but it works as expected.
Post by Bent Bracke
The hash seems to be correct.
What do you mean by "hash seems to be correct"? Did you run sha1sum
manually?
Yes,
Post by Christian Helmuth
Post by Bent Bracke
Any ideas?
Which Genode release do you use?
15.11
Post by Christian Helmuth
In the past, we had an issue with a custom version of the sha1sum
tool, which produced incompatible output. If I run it manually on
Ubuntu 12.04 I get
Post by Bent Bracke
sha1sum contrib/qt5-4d7c2192509a580b54ac069e68f1e9ac4d9159bd.incomplete/qtscriptclassic-1.0_1-opensource.tar.gz
74e9dc82dd194d8ae0fb0f8f1df74081948b943a contrib/qt5-4d7c2192509a580b54ac069e68f1e9ac4d9159bd.incomplete/qtscriptclassic-1.0_1-opensource.tar.gz
Can you confirm that your output is similar?
Yes, 74e9dc82dd194d8ae0fb0f8f1df74081948b943a qtscriptclassic-1.0_1-opensource.tar.gz
This is on Ubuntu 14.04.
Kind regards
Bent Bracke
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Loading...