Hello
I have some problems with the qt5 build. The first being a sha1sum issue with qtscriptclassic-1.0_1-opensource. The initial build gives:
qt5Â extract qtwebkit-opensource-src-5.8.0.tar.xz (qtwebkit-opensource-src-5.8.0) Error: Hash sum check 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: *** [qt5] Error 2
I ran the sha1sum program on all of the remote archives for *.gz and downloaded the file for *.gz as well, all of which failed. Since a decision tree was included for differing compression formats I chose a *.zip file I could find and ran the sha1sum program to change the verification sum, and then modified the ./repos/libports/ports/qt5.port file.
# URL(${QTSCRIPTCLASSIC}) := ftp://ftp.informatik.hu-berlin.de/pub/Mirrors/ftp.troll.no/QT/qt/solutions/lgpl/${QTSCRIPTCLASSIC}.tar.gz # URL(${QTSCRIPTCLASSIC}) := ftp://ftp.pl.vim.org/vol/rzm4/qt.old/solutions/lgpl/${QTSCRIPTCLASSIC}.tar.gz # URL(${QTSCRIPTCLASSIC}) := http://ftp.icm.edu.pl/packages/qt.old/solutions/lgpl/$%7BQTSCRIPTCLASSIC%7D.... # URL(${QTSCRIPTCLASSIC}) := /home/rasuth/Downloads/${QTSCRIPTCLASSIC}.tar.gz # SHA(${QTSCRIPTCLASSIC}) := 74e9dc82dd194d8ae0fb0f8f1df74081948b943a URL(${QTSCRIPTCLASSIC}) := http://ftp.icm.edu.pl/packages/qt.old/solutions/lgpl/$%7BQTSCRIPTCLASSIC%7D.... SHA(${QTSCRIPTCLASSIC}) := de0d6b6ccbc8b06e4eb8a9eac36741b5d80153a3 DIR(${QTSCRIPTCLASSIC}) := src/lib/qt5/${QTSCRIPTCLASSIC}
which appears to work. However, during the patch process it asks me for a file to patch. I think I understand the 'imaginary' diff --git nature (though this is new to me), but the port preparation then seem to require unexpected interaction.
.                   .
qt5 apply src/lib/qt5/patches/qtwebkit_genode.patch qt5 apply src/lib/qt5/patches/qtscriptclassic_qt5.patch The text leading up to this was: -------------------------- |qtscriptclassic_qt5.patch | |From: Christian Prochaska <christian.prochaska@...1...> | | |--- | src/qscriptcontextinfo.cpp      |   2 - | src/qscriptecmafunction.cpp     |  12 ++++----- | src/qscriptengine_p.cpp         |  30 ++++++++++++++-------- | src/qscriptextqobject.cpp       |  52 +++++++++++++++++--------------------- | src/qscriptstring.cpp           |   1 - | src/qscriptsyntaxcheckresult_p.h |   2 + | src/qscriptvalue.cpp            |   4 +-- | src/qscriptvalue.h              |   4 +-- | src/qscriptvalue_p.h            |   1 - | src/qscriptvalueimpl_p.h        |   3 +- | 10 files changed, 55 insertions(+), 56 deletions(-) | |diff --git a/src/qscriptcontextinfo.cpp b/src/qscriptcontextinfo.cpp |index ef080ff..df0e555 100644 |--- a/src/qscriptcontextinfo.cpp |+++ b/src/qscriptcontextinfo.cpp -------------------------- File to patch: qtscriptclassic_qt5 qtscriptclassic_qt5: No such file or directory Skip this patch? [y]
So did I mangle something when getting qtscriptclassic running? Or do I need to name a file?
Hi Robert,
On 06.02.2018 04:15, Robert Sutherland via genode-main wrote:
Hello
I have some problems with the qt5 build. The first being a sha1sum issue with qtscriptclassic-1.0_1-opensource. The initial build gives:
qt5 extract qtwebkit-opensource-src-5.8.0.tar.xz (qtwebkit-opensource-src-5.8.0) Error: Hash sum check 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: *** [qt5] Error 2
does it work for you after deleting the 'contrib/qt5-<hash>' directory? I just tried the preparation with the current master branch and it went well here.
Regards, Christian
Hello Robert,
On Mon, Feb 05, 2018 at 10:15:44PM -0500, Robert Sutherland via genode-main wrote:
I have some problems with the qt5 build. The first being a sha1sum issue with qtscriptclassic-1.0_1-opensource. The initial build gives:
qt5Â extract qtwebkit-opensource-src-5.8.0.tar.xz (qtwebkit-opensource-src-5.8.0) Error: Hash sum check 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: *** [qt5] Error 2
I ran the sha1sum program on all of the remote archives for *.gz and downloaded the file for *.gz as well, all of which failed.
I have three questions to further investigate the issue:
1. Which host system are you building Genode on? (Ubuntu 16.04 and flavors works pretty well.)
2. What does "sha1sum --version" print to the terminal? (mine prints sha1sum (GNU coreutils) 8.25)
3. What is the output of "sha1sum contrib/qt5-0171ade66403e7d2f48d08009cb49eae9f731f76/qtscriptclassic-1.0_1-opensource.tar.gz" (I get 74e9dc82dd194d8ae0fb0f8f1df74081948b943a contrib/qt5-0171ade66403e7d2f48d08009cb49eae9f731f76/qtscriptclassic-1.0_1-opensource.tar.gz)
Regards
Maybe the following conversation helps you further?
https://sourceforge.net/p/genode/mailman/message/34796432/
Did you change the link in the qt5.port file?
Regards
Hi Christian
1. Ubuntu 14.04 2. 8.21 3. contrib/0171ade66403e7d2f48d08009cb49eae9f731f76.incomplete
Is the directory. I don't think '.incomplete' is correct. I deleted the directory and tried to build but it's still running.
sha1sum returns a number NOT consistent with makefile variable. It gives:
da39a3ee5e6b4b0d3255bfef95601890afd80709.
But, as noted in original email, I downloaded the .gz file, ran sha1sum to verify it matched the makefile number, then pointed the makefile to the local copy. This didn't work.
I'll let you know when qt5 prepare is done or fails.
Thanks for the help
Sent from my iPhone
On Feb 6, 2018, at 8:27 AM, Christian Helmuth <christian.helmuth@...1...> wrote:
Hello Robert,
On Mon, Feb 05, 2018 at 10:15:44PM -0500, Robert Sutherland via genode-main wrote: I have some problems with the qt5 build. The first being a sha1sum issue with qtscriptclassic-1.0_1-opensource. The initial build gives:
qt5 extract qtwebkit-opensource-src-5.8.0.tar.xz (qtwebkit-opensource-src-5.8.0) Error: Hash sum check 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: *** [qt5] Error 2
I ran the sha1sum program on all of the remote archives for *.gz and downloaded the file for *.gz as well, all of which failed.
I have three questions to further investigate the issue:
- Which host system are you building Genode on?
(Ubuntu 16.04 and flavors works pretty well.)
- What does "sha1sum --version" print to the terminal?
(mine prints sha1sum (GNU coreutils) 8.25)
- What is the output of "sha1sum contrib/qt5-0171ade66403e7d2f48d08009cb49eae9f731f76/qtscriptclassic-1.0_1-opensource.tar.gz"
(I get 74e9dc82dd194d8ae0fb0f8f1df74081948b943a contrib/qt5-0171ade66403e7d2f48d08009cb49eae9f731f76/qtscriptclassic-1.0_1-opensource.tar.gz)
Regards
Christian Helmuth Genode Labs
https://www.genode-labs.com/ · https://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
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Still failed at same place. Generated a contrib directory tagged .incomplete.
Sent from my iPhone
On Feb 6, 2018, at 1:06 PM, Robert Sutherland via genode-main genode-main@lists.sourceforge.net wrote:
Hi Christian
- Ubuntu 14.04
- 8.21
- contrib/0171ade66403e7d2f48d08009cb49eae9f731f76.incomplete
Is the directory. I don't think '.incomplete' is correct. I deleted the directory and tried to build but it's still running.
sha1sum returns a number NOT consistent with makefile variable. It gives:
da39a3ee5e6b4b0d3255bfef95601890afd80709.
But, as noted in original email, I downloaded the .gz file, ran sha1sum to verify it matched the makefile number, then pointed the makefile to the local copy. This didn't work.
I'll let you know when qt5 prepare is done or fails.
Thanks for the help
Sent from my iPhone
On Feb 6, 2018, at 8:27 AM, Christian Helmuth <christian.helmuth@...1...> wrote:
Hello Robert,
On Mon, Feb 05, 2018 at 10:15:44PM -0500, Robert Sutherland via genode-main wrote: I have some problems with the qt5 build. The first being a sha1sum issue with qtscriptclassic-1.0_1-opensource. The initial build gives:
qt5 extract qtwebkit-opensource-src-5.8.0.tar.xz (qtwebkit-opensource-src-5.8.0) Error: Hash sum check 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: *** [qt5] Error 2
I ran the sha1sum program on all of the remote archives for *.gz and downloaded the file for *.gz as well, all of which failed.
I have three questions to further investigate the issue:
- Which host system are you building Genode on?
(Ubuntu 16.04 and flavors works pretty well.)
- What does "sha1sum --version" print to the terminal?
(mine prints sha1sum (GNU coreutils) 8.25)
- What is the output of "sha1sum contrib/qt5-0171ade66403e7d2f48d08009cb49eae9f731f76/qtscriptclassic-1.0_1-opensource.tar.gz"
(I get 74e9dc82dd194d8ae0fb0f8f1df74081948b943a contrib/qt5-0171ade66403e7d2f48d08009cb49eae9f731f76/qtscriptclassic-1.0_1-opensource.tar.gz)
Regards
Christian Helmuth Genode Labs
https://www.genode-labs.com/ · https://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
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Removed contrib/qt5... directory. Pointed to remote .zip and changed SHA1 value and rebuilt. Works until patches, as before. /contrib/qt... directory is back with .incomplete extension again
Sent from my iPhone
On Feb 6, 2018, at 1:06 PM, Robert Sutherland via genode-main genode-main@lists.sourceforge.net wrote:
Hi Christian
- Ubuntu 14.04
- 8.21
- contrib/0171ade66403e7d2f48d08009cb49eae9f731f76.incomplete
Is the directory. I don't think '.incomplete' is correct. I deleted the directory and tried to build but it's still running.
sha1sum returns a number NOT consistent with makefile variable. It gives:
da39a3ee5e6b4b0d3255bfef95601890afd80709.
But, as noted in original email, I downloaded the .gz file, ran sha1sum to verify it matched the makefile number, then pointed the makefile to the local copy. This didn't work.
I'll let you know when qt5 prepare is done or fails.
Thanks for the help
Sent from my iPhone
On Feb 6, 2018, at 8:27 AM, Christian Helmuth <christian.helmuth@...1...> wrote:
Hello Robert,
On Mon, Feb 05, 2018 at 10:15:44PM -0500, Robert Sutherland via genode-main wrote: I have some problems with the qt5 build. The first being a sha1sum issue with qtscriptclassic-1.0_1-opensource. The initial build gives:
qt5 extract qtwebkit-opensource-src-5.8.0.tar.xz (qtwebkit-opensource-src-5.8.0) Error: Hash sum check 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: *** [qt5] Error 2
I ran the sha1sum program on all of the remote archives for *.gz and downloaded the file for *.gz as well, all of which failed.
I have three questions to further investigate the issue:
- Which host system are you building Genode on?
(Ubuntu 16.04 and flavors works pretty well.)
- What does "sha1sum --version" print to the terminal?
(mine prints sha1sum (GNU coreutils) 8.25)
- What is the output of "sha1sum contrib/qt5-0171ade66403e7d2f48d08009cb49eae9f731f76/qtscriptclassic-1.0_1-opensource.tar.gz"
(I get 74e9dc82dd194d8ae0fb0f8f1df74081948b943a contrib/qt5-0171ade66403e7d2f48d08009cb49eae9f731f76/qtscriptclassic-1.0_1-opensource.tar.gz)
Regards
Christian Helmuth Genode Labs
https://www.genode-labs.com/ · https://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
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hello,
with the information provided by you I have no idea what may possibly go wrong. Please execute the attached shell script in a temporary directory (e.g., /tmp/qt5) and send the complete log.
Greets
Hi Christian
I attached the result file.
Thanks -----Original Message----- From: Christian Helmuth [mailto:christian.helmuth@...1...] Sent: Wednesday, February 07, 2018 6:31 AM To: genode-main@lists.sourceforge.net Subject: Re: qt5 build problem
Hello,
with the information provided by you I have no idea what may possibly go wrong. Please execute the attached shell script in a temporary directory (e.g., /tmp/qt5) and send the complete log.
Greets -- Christian Helmuth Genode Labs
https://www.genode-labs.com/ · https://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
Hello Bob,
On Thu, Feb 08, 2018 at 12:51:27AM -0500, Bob Sutherland via genode-main wrote:
I attached the result file.
da39a3ee5e6b4b0d3255bfef95601890afd80709 1 da39a3ee5e6b4b0d3255bfef95601890afd80709 2 74e9dc82dd194d8ae0fb0f8f1df74081948b943a 3
This tells me the first two downloads did not succed but the last one produces the correct hash. The download URLs differ in the fact that 1 and 2 are FTP but 3 is HTTP. Therefore, I pushed a fixup to our staging branch to use HTTP for downloading qtscriptclassic.
https://github.com/genodelabs/genode/commit/8c9bbdcdbdca0aec6c578437d21f6687...
Please cherry-pick and retry. Thanks for your cooperation to identify the issue so far.
BTW, the first hash is produced if the downloaded file has size 0:
$ touch 0 $ sha1sum 0 da39a3ee5e6b4b0d3255bfef95601890afd80709 0
Regards
It appears that the files were corrupted during diownload, though the file I manually downloaded matching the sha1sum check value still didn't work. So no real confirmation.
I switched from DSL to LTE network to finish building qt5, and while I got it to build through the patching process, I still got a qt5 hash 'out of date' error. I then started from scratch and everything went through without a hitch.
Thanks for the help.
Sent from my iPhone
On Feb 8, 2018, at 8:21 AM, Christian Helmuth <christian.helmuth@...1...> wrote:
Hello Bob,
On Thu, Feb 08, 2018 at 12:51:27AM -0500, Bob Sutherland via genode-main wrote: I attached the result file.
da39a3ee5e6b4b0d3255bfef95601890afd80709 1 da39a3ee5e6b4b0d3255bfef95601890afd80709 2 74e9dc82dd194d8ae0fb0f8f1df74081948b943a 3
This tells me the first two downloads did not succed but the last one produces the correct hash. The download URLs differ in the fact that 1 and 2 are FTP but 3 is HTTP. Therefore, I pushed a fixup to our staging branch to use HTTP for downloading qtscriptclassic.
https://github.com/genodelabs/genode/commit/8c9bbdcdbdca0aec6c578437d21f6687...
Please cherry-pick and retry. Thanks for your cooperation to identify the issue so far.
BTW, the first hash is produced if the downloaded file has size 0:
$ touch 0 $ sha1sum 0 da39a3ee5e6b4b0d3255bfef95601890afd80709 0
Regards
Christian Helmuth Genode Labs
https://www.genode-labs.com/ · https://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
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main