maintainer-feedback requested: [Bug 271562] www/qt5-webkit: Port fails to build with Ruby 3.2.x
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 22 13:29:08 BST 2023
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (Team)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 271562: www/qt5-webkit: Port fails to build with Ruby 3.2.x
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271562
--- Description ---
www/qt5-webkit fails to build with Ruby 3.2.2 for me (and almost certainly
others), since one of its files uses deprecated Ruby syntax.
Searching on the error led me to
https://www.linuxquestions.org/questions/slackware-14/regression-on-current-wit
h-qt5-webkit-4175720296/
and applying that patch locally fixes the build.
Here is the build error:
FAILED: DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h
/usr/ports/www/qt5-webkit/work/.build/DerivedSources/JavaScriptCore/LLIntDesire
dOffsets.h
cd /usr/ports/www/qt5-webkit/work/.build/Source/JavaScriptCore &&
/usr/local/bin/ruby
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/generate_offset_extractor.rb
-I/usr/ports/www/qt5-webkit/work/.build/DerivedSources/JavaScriptCore/
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/ll
int/LowLevelInterpreter.asm
/usr/ports/www/qt5-webkit/work/.build/DerivedSources/JavaScriptCore/LLIntDesire
dOffsets.h
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:587:in
`block in parseSequence': undefined method `=~' for
#<Annotation:0x0000000806bf2468 @codeOrigin=#<CodeOrigin:0x0000000806bf2530
@sourceFile=#<SourceFile:0x0000000806c1fb70
@name=#<Pathname:/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/
JavaScriptCore/llint/LowLevelInterpreter64.asm>,
@fileNumber=3>, @lineNumber=511>, @type=:local, @string="Check if there are
some unaligned slots we can use"> (NoMethodError)
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:586:in
`loop'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:586:in
`parseSequence'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:654:in
`block in parseSequence'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:586:in
`loop'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:586:in
`parseSequence'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:814:in
`parseData'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:818:in
`parse'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:780:in
`block in parseSequence'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:586:in
`loop'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:586:in
`parseSequence'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:625:in
`block in parseSequence'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:586:in
`loop'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:586:in
`parseSequence'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:814:in
`parseData'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/parser.rb:818:in
`parse'
from
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/JavaScriptCore/of
flineasm/generate_offset_extractor.rb:68:in
`<main>'
Using the attached patch as
www/qt5-webkit/files/patch-Source_JavaScriptCore_offlineasm_parser.rb allows
the port to build successfully
More information about the kde-freebsd
mailing list