Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938162 - net-libs/webkit-gtk: error: 'toB3Type' was not declared in this scope (riscv)
Summary: net-libs/webkit-gtk: error: 'toB3Type' was not declared in this scope (riscv)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugs.webkit.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-18 20:25 UTC by Michael Orlitzky
Modified: 2024-09-01 17:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2024-08-18 20:25:23 UTC
On riscv, I've got the bug reported at $url, preventing any version of webkit-gtk from building. The suggested workaround *does* work for me, however:

  local mycmakeargs=(
    ...
    -DENABLE_JIT=OFF
  )

Can anyone else on riscv successfully build webkit-gtk? If not, we could append that flag behind USE=riscv until the upstream bug is addressed. Otherwise a more fine-grained workaround will be needed.
Comment 1 Larry the Git Cow gentoo-dev 2024-09-01 17:56:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77f5000b1f0138d4a0ee2a8a0af5446ea67871fd

commit 77f5000b1f0138d4a0ee2a8a0af5446ea67871fd
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-09-01 11:32:08 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-09-01 17:48:07 +0000

    net-libs/webkit-gtk: add workaround for riscv build failure
    
    There's a reproducible build failure on riscv that has been open
    upstream for almost six months. On my machine at least, it can be worked
    around by passing -DENABLE_JIT=OFF to CMake, so let's do that in the
    meantime when USE=riscv is set.
    
    Closes: https://bugs.gentoo.org/938162
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 net-libs/webkit-gtk/webkit-gtk-2.44.3-r410.ebuild | 3 +++
 net-libs/webkit-gtk/webkit-gtk-2.44.3-r600.ebuild | 3 +++
 net-libs/webkit-gtk/webkit-gtk-2.44.3.ebuild      | 3 +++
 3 files changed, 9 insertions(+)