qt5 build problem

Robert Sutherland bubbasuth at ...54...
Tue Feb 6 04:15:44 CET 2018


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/${QTSCRIPTCLASSIC}.tar.gz
# URL(${QTSCRIPTCLASSIC}) := 
/home/rasuth/Downloads/${QTSCRIPTCLASSIC}.tar.gz
# SHA(${QTSCRIPTCLASSIC}) := 74e9dc82dd194d8ae0fb0f8f1df74081948b943a
URL(${QTSCRIPTCLASSIC}) := 
http://ftp.icm.edu.pl/packages/qt.old/solutions/lgpl/${QTSCRIPTCLASSIC}.zip
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 at ...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?





More information about the users mailing list