Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895622 - net-libs/webkit-gtk-2.38.5-r410 Emerge failed on my RiscV Hardware
Summary: net-libs/webkit-gtk-2.38.5-r410 Emerge failed on my RiscV Hardware
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-20 19:19 UTC by Andrew Cameron
Modified: 2023-03-02 18:24 UTC (History)
2 users (show)

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


Attachments
make.conf (make.conf,1.29 KB, text/plain)
2023-02-20 19:19 UTC, Andrew Cameron
Details
Build log (build.log.bz2,252.82 KB, application/x-bzip)
2023-02-20 19:19 UTC, Andrew Cameron
Details
Emerge PQV (emerge-pqv.log,212 bytes, text/x-log)
2023-02-20 19:20 UTC, Andrew Cameron
Details
Emerge Info (emerg-info.log,7.03 KB, text/x-log)
2023-02-20 19:20 UTC, Andrew Cameron
Details
envronment (environment,156.91 KB, text/plain)
2023-02-20 19:21 UTC, Andrew Cameron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cameron 2023-02-20 19:19:05 UTC
Created attachment 853398 [details]
make.conf

net-libs/webkit-gtk-2.38.5-r410 Emerge failed on my RiscV Hardware with the following error.

/var/tmp/portage/net-libs/webkit-gtk-2.38.5-r410/work/webkitgtk-2.38.5/Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:198:59: error: invalid ‘static_cast’ from type ‘GLNativeWindowType’ {aka ‘long unsigned int’} to type ‘EGLNativeWindowType’ {aka ‘void*’}
  198 |         surface = eglCreateWindowSurface(display, config, static_cast<EGLNativeWindowType>(window), nullptr);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Attached is a copy of the requested information and Logs.
It also failed with the same error on net-libs/webkit-gtk-2.38.4-r410 and net-libs/webkit-gtk-2.38.5
Comment 1 Andrew Cameron 2023-02-20 19:19:51 UTC
Created attachment 853400 [details]
Build log
Comment 2 Andrew Cameron 2023-02-20 19:20:20 UTC
Created attachment 853402 [details]
Emerge PQV
Comment 3 Andrew Cameron 2023-02-20 19:20:46 UTC
Created attachment 853404 [details]
Emerge Info
Comment 4 Andrew Cameron 2023-02-20 19:21:09 UTC
Created attachment 853406 [details]
envronment
Comment 5 Andrew Cameron 2023-02-20 19:23:32 UTC
Portage 3.0.44 (python 3.10.10-final-0, default/linux/riscv/20.0/rv64gc/lp64d/desktop/systemd, gcc-12, glibc-2.36-r7, 5.15.0-starfive-dirty riscv64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.0-starfive-dirty-riscv64-with-glibc2.36
KiB Mem:     8116060 total,   7515332 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Mon, 20 Feb 2023 02:30:01 +0000
Head commit of repository gentoo: 458f34dd83af7442fef005222e6fa824d68ff536
Timestamp of repository ace: Sun, 19 Feb 2023 19:48:31 +0000
Head commit of repository ace: 5ede590a1d229d91c90e8dbca2f05e30d79d3bc8

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p2) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p1::gentoo, 3.11.2_p1::gentoo
dev-lang/rust:             1.67.1::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            1.0.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.40-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

ace
    location: /var/db/repos/ace
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ace.git
    masters: gentoo
    volatile: True

riscv
    location: /var/lib/layman/riscv
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="riscv ~riscv"
ACCEPT_LICENSE="*"
CBUILD="riscv64-unknown-linux-gnu"
CFLAGS="-mabi=lp64d -march=rv64imafdczbb0p93_zba0p93 -mcpu=sifive-u74 -mtune=sifive-7-series -O2 -pipe -fomit-frame-pointer --param l1-cache-size=32 --param l2-cache-size=2048"
CHOST="riscv64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mabi=lp64d -march=rv64imafdczbb0p93_zba0p93 -mcpu=sifive-u74 -mtune=sifive-7-series -O2 -pipe -fomit-frame-pointer --param l1-cache-size=32 --param l2-cache-size=2048"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-mabi=lp64d -march=rv64imafdczbb0p93_zba0p93 -mcpu=sifive-u74 -mtune=sifive-7-series -O2 -pipe -fomit-frame-pointer --param l1-cache-size=32 --param l2-cache-size=2048"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mabi=lp64d -march=rv64imafdczbb0p93_zba0p93 -mcpu=sifive-u74 -mtune=sifive-7-series -O2 -pipe -fomit-frame-pointer --param l1-cache-size=32 --param l2-cache-size=2048"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en_US"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr egl eglfs encode exif fbcon flac fortran gdbm gif gles gles1 gles2 gles2-only gles3 gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify mad mng mp3 mp4 mpeg ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline riscv sdl seccomp sound spell split-usr ssl startup-notification svg systemd test-rust threadsi tiff truetype truetypei udev udisks unicode upower usb v4l vaapii vorbis vulkan wifi wxwidgets x264 xattr xcb xft xml xv xvid zlib" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="edev libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="fbdev v3dv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 6 Yixun Lan archtester gentoo-dev 2023-02-28 12:29:56 UTC
can you try to drop USE="gles2-only"? and see if it solves your problem

I'm testing exact the same version, and it seems pass the compilation of file GLContextEGL.cpp
Comment 7 Andrew Cameron 2023-03-02 18:24:36 UTC
Thank you.

I dropped USE="gles2-only" and it compiled cleanly.

This can now be closed