Bug 1807535
| Summary: | qt5-qtwebkit requires Python 2 to build | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Viktorin (pviktori) <pviktori> |
| Component: | qt5-qtwebkit | Assignee: | Rex Dieter <rdieter> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jgrulich, jreznik, kamikazow, kde-sig, rdieter, than |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-24 16:17:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1803205 | ||
|
Description
Petr Viktorin (pviktori)
2020-02-26 15:08:31 UTC
Naively attempting to use python3 fails,
[ 4%] Generating ../../DerivedSources/JavaScriptCore/Bytecodes.h, ../../DerivedSources/JavaScriptCore/InitBytecodes.asm
cd /builddir/build/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore && /usr/bin/python /builddir/build/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/generate-bytecode-files --bytecodes_h /builddir/build/BUILD/qtwebkit-5.212.0-alpha3/DerivedSources/JavaScriptCore/Bytecodes.h --init_bytecodes_asm /builddir/build/BUILD/qtwebkit-5.212.0-alpha3/DerivedSources/JavaScriptCore/InitBytecodes.asm /builddir/build/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/bytecode/BytecodeList.json
make[2]: Leaving directory '/builddir/build/BUILD/qtwebkit-5.212.0-alpha3'
File "/builddir/build/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/generate-bytecode-files", line 94
print "I/O error opening {0}, ({1}): {2}".format(path, e.errno, e.strerror)
^
SyntaxError: invalid syntax
make[2]: *** [Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/build.make:110: DerivedSources/JavaScriptCore/Bytecodes.h] Error 1
make[1]: *** [CMakeFiles/Makefile2:722: Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Context in Source/JavaScriptCore/generate-bytecode-files where the error occurs:
def openOrExit(path, mode):
try:
return open(path, mode)
except IOError as e:
print "I/O error opening {0}, ({1}): {2}".format(path, e.errno, e.strerror)
exit(1)
New upstream release is out that fixes that problem. Package has not been updated, yet. Thanks, trying out an alpha4 scratch build now. Package updated in rawhide, builds underway |