[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#975797: qtwebkit-opensource-src: FTBFS: NameError: name 'bytecodeSections' is not defined



Control: fixed -1 qtwebkit-opensource-src/5.212.0~alpha4-9

On Wed, Nov 25, 2020 at 09:05:29PM +0100, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
> Relevant part (hopefully):
>
> > [114/4460] cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/JavaScriptCore" && /usr/bin/python3 "/<<PKGBUILDDIR>>/Source/JavaScriptCore/generate-bytecode-files" --bytecodes_h "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/DerivedSources/JavaScriptCore/Bytecodes.h" --init_bytecodes_asm "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/DerivedSources/JavaScriptCore/InitBytecodes.asm" "/<<PKGBUILDDIR>>/Source/JavaScriptCore/bytecode/BytecodeList.json"
> > FAILED: DerivedSources/JavaScriptCore/Bytecodes.h DerivedSources/JavaScriptCore/InitBytecodes.asm 
> > cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Source/JavaScriptCore" && /usr/bin/python3 "/<<PKGBUILDDIR>>/Source/JavaScriptCore/generate-bytecode-files" --bytecodes_h "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/DerivedSources/JavaScriptCore/Bytecodes.h" --init_bytecodes_asm "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/DerivedSources/JavaScriptCore/InitBytecodes.asm" "/<<PKGBUILDDIR>>/Source/JavaScriptCore/bytecode/BytecodeList.json"
> > Unexpected error parsing /<<PKGBUILDDIR>>/Source/JavaScriptCore/bytecode/BytecodeList.json: (<class 'TypeError'>, TypeError("__init__() got an unexpected keyword argument 'encoding'"), <traceback object at 0x7fb9ee1d1b80>)
> > Traceback (most recent call last):
> >   File "/<<PKGBUILDDIR>>/Source/JavaScriptCore/generate-bytecode-files", line 181, in <module>
> >     for section in bytecodeSections:
> > NameError: name 'bytecodeSections' is not defined

This is fixed in experimental.

The fix will reach unstable as part of Qt 5.15.2 transition which will
happen soon, I think it can wait until that.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: