From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: "Alexis Lothoré via buildroot" <buildroot@buildroot.org>
Cc: "Giulio Benetti" <giulio.benetti@benettiengineering.com>,
"Alexis Lothoré" <alexis.lothore@bootlin.com>,
"Julien Corjon" <corjon.j@ecagroup.com>
Subject: Re: [Buildroot] [PATCH 1/2] package/qt5/qt5webkit: fix JavaScriptCore parser error
Date: Fri, 12 Jul 2024 15:45:12 +0200 [thread overview]
Message-ID: <20240712154512.3cecec39@windsurf> (raw)
In-Reply-To: <20240313224610.2743219-2-alexis.lothore@bootlin.com>
On Wed, 13 Mar 2024 23:46:09 +0100
Alexis Lothoré via buildroot <buildroot@buildroot.org> wrote:
> From: Alexis Lothoré <alexis.lothore@bootlin.com>
>
> qt5webkit build currently fails with the following error:
>
> [...] parser.rb:587:in `block in parseSequence': undefined method `=~' for an instance of Annotation (NoMethodError)
> from <internal:kernel>:187:in `loop'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:654:in `block in parseSequence'
> from <internal:kernel>:187:in `loop'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:814:in `parseData'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:818:in `parse'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:780:in `block in parseSequence'
> from <internal:kernel>:187:in `loop'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:625:in `block in parseSequence'
> from <internal:kernel>:187:in `loop'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:586:in `parseSequence'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:814:in `parseData'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/parser.rb:818:in `parse'
> from /home/alexis/src/buildroot_min/output/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb:68:in `<main>'
>
> This issue is due to =~ being marked as deprecated since a few Ruby
> versions, and finally removed in 3.2.0 [1]. This now breaks the build since
> buildroot has moved to Ruby v3.3.0.
> The corresponding fix has already been issued in upstream Webkit project
> [2], but qt5webkit version tracked in buildroot does not have the
> corresponding webkit version pulled. Fix this build error by bringing the upstream
> patch. The patch is slightly modified (exclude part about Changelog file,
> which is absent from qt5webkit)
>
> [1] https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
> [2] https://github.com/WebKit/WebKit/commit/c7d19a492d97f9282a546831beb918e03315f6ef
>
> Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
> ---
> ...ngs-with-newer-Ruby-versions-https-b.patch | 48 +++++++++++++++++++
> 1 file changed, 48 insertions(+)
> create mode 100644 package/qt5/qt5webkit/0007-Offlineasm-warnings-with-newer-Ruby-versions-https-b.patch
Applied to master after adding a reference to the autobuilder issue
being fixed by this commit. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-07-12 13:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-13 22:46 [Buildroot] [PATCH 0/2] package/qt5/qt5webkit: backport upstream patches to fix build Alexis Lothoré via buildroot
2024-03-13 22:46 ` [Buildroot] [PATCH 1/2] package/qt5/qt5webkit: fix JavaScriptCore parser error Alexis Lothoré via buildroot
2024-07-12 13:45 ` Thomas Petazzoni via buildroot [this message]
2024-07-31 16:35 ` Peter Korsgaard
2024-03-13 22:46 ` [Buildroot] [PATCH 2/2] package/qt5/qt5webkit: fix WebCore compatibility issue with updated libxml2 Alexis Lothoré via buildroot
2024-07-12 13:45 ` Thomas Petazzoni via buildroot
2024-07-31 16:35 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240712154512.3cecec39@windsurf \
--to=buildroot@buildroot.org \
--cc=alexis.lothore@bootlin.com \
--cc=corjon.j@ecagroup.com \
--cc=giulio.benetti@benettiengineering.com \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.