Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777759 - dev-qt/qtwebkit-5.212.0_pre20200309-r1[gstreamer] fails to build: error: expected unqualified-id before ‘typename’
Summary: dev-qt/qtwebkit-5.212.0_pre20200309-r1[gstreamer] fails to build: error: expe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Qt Bug Alias
URL: https://github.com/qtwebkit/qtwebkit/...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: glib-2.68
  Show dependency tree
 
Reported: 2021-03-22 18:16 UTC by Leonid Kopylov
Modified: 2021-04-19 04:28 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,188.00 KB, application/x-xz)
2021-03-22 18:17 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2021-03-22 18:16:18 UTC
# emerge -pqv '=dev-qt/qtwebkit-5.212.0_pre20200309-r1::gentoo'
[ebuild   R   ] dev-qt/qtwebkit-5.212.0_pre20200309-r1  USE="X geolocation gstreamer* hyphen jit nsplugin opengl orientation printsupport qml webp -gles2-only -multimedia"

# emerge --info '=dev-qt/qtwebkit-5.212.0_pre20200309-r1::gentoo'
Portage 3.0.17 (python 3.8.8-final-0, default/linux/amd64/17.1/desktop/systemd, gcc-10.2.0, glibc-2.32-r8, 5.11.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.11.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-10710U_CPU_@_1.10GHz-with-glibc2.2.5
KiB Mem:     8149664 total,   7394728 free
KiB Swap:    8388604 total,   8219124 free
Timestamp of repository gentoo: Mon, 22 Mar 2021 13:00:01 +0000
Head commit of repository gentoo: 9934e6cd2cf173ee7bdf078df86c6c576d6c3c7e
sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
ccache version 4.2 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.8.8::gentoo, 3.9.2::gentoo, 3.10.0_alpha6-r2::gentoo
dev-util/ccache:          4.2::gentoo
dev-util/cmake:           3.19.7::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.21::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r8::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome OPERA-2018 PUEL AnyDesk-TOS geekbench TeamViewer microsoft-edge"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
USE="X a52 aac accessibility acl acpi addc addns ads afp alsa amd64 archive aspell audio audit authdaemond autoipd avif berkdb bidi bluetooth bluray bookmarks branding brotli bzip2 cacert cairo ccache cdda cdr ceph cgi cgroup-hybrid cli cluster colord corefonts cron crypt cryptsetup cscope cups curl dbus dec265 declarative designer device-mapper djvu dnd dns-over-tls doc doctool dot doxysearch dri dts dvd dvdr dvi dynamic-loading emacs emboss enc265 encode eolconv equalizer examples exif experimental extra extras fam fbcon ffmpeg firmware flac fontconfig fontforge fortran fpx fuse games gconf gcrypt gd gdbm gdk-pixbuf geoclue geolocation gfile gif git glusterfs gmp go google gpg gphoto2 gpm graphviz gsettings gssapi gstreamer gtk gtk-doc gui guile harfbuzz hdri heif help highlight howl-compat html http http2 iconv icu idn imagemagick importd inputlirc ios ipv6 iscsi jadetex java jpeg json kerberos kyotocabinet lcms ldap ldap-bind ldap-sasl ldapdb leaps-timezone libde265 libglvnd libkms libnotify libotf libsamplerate libtirpc libxml2 lirc location logrotate lua lz4 lzma m17n-lib mad mailutils mdadm mdnsresponder-compat mediawiki mediawiki-experimental minizip mng mongo mongodb mount mp3 mp4 mpeg mpx mtp mule multilib mysql nas nat ncurses netgroups networkauth networkmanager nfs nis nls nptl nscd nsplugin ntlm odbc odbcmanual offensive ogg openexr opengl openldap openmp openntpd orientation pam pango parse-clocks pcre pdf perl pkcs11 pkcs7 png policykit pop positioning postgres ppds pulseaudio python qml qrcode qt5 quota raw readline realtime repart ruby samba sample sasl savedconfig sctp sdl sdl-image seccomp security-key sensord sensors slp snapper socks5 sound source source-highlight sox speex spell spidermonkey split-usr spoof-source spotlight sql sqlite srp ssl startup-notification svg symlink sync-plugin-portage systemd tcl tcpd tdb terminal theora threads tiff tk tls-heartbeat tokyocabinet tools trashquota truetype tty-helpers uchardet udev udisks unicode upower usb utils vala valadoc vim vim-pager vim-syntax vnc vorbis wayland webchannel webkit webp websockets widgets wifi winbind wininst wmf wxwidgets x11extras x264 x265 xa xattr xcb xemacs xetex xface xft xinerama xinetd xkb xml xmlpatterns xpm xps xv xvid xwidgets yaml zeroconf zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell wiki-publisher scripting-javascript" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965 iris vmware vesa" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-qt/qtwebkit-5.212.0_pre20200309-r1::gentoo was built with the following:
USE="X geolocation hyphen jit nsplugin opengl orientation printsupport qml webp -gles2-only -gstreamer -multimedia" ABI_X86="(64)"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing"
Comment 1 Leonid Kopylov 2021-03-22 18:17:41 UTC
Created attachment 693078 [details]
build.log.xz
Comment 2 Ionen Wolkens gentoo-dev 2021-03-22 18:31:37 UTC
/var/tmp/portage/dev-qt/qtwebkit-5.212.0_pre20200309-r1/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/glib/GRefPtr.h:33:21: error: expected unqualified-id before ‘typename’
   33 | extern "C" gpointer g_object_ref_sink(gpointer);
      |    

glib-2.68 issue again? (haven't tested)
Comment 3 Matt Turner gentoo-dev 2021-04-13 21:53:40 UTC
Ping
Comment 4 Larry the Git Cow gentoo-dev 2021-04-19 04:28:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a7998633134fa5ed93cfa880e3fad27156e09f

commit 25a7998633134fa5ed93cfa880e3fad27156e09f
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-19 03:33:08 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-19 03:33:11 +0000

    dev-qt/qtwebkit: Fix build with glib-2.68
    
    Closes: https://bugs.gentoo.org/777759
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../qtwebkit-5.212.0_pre20200309-glib-2.68.patch   | 28 ++++++++++++++++++++++
 .../qtwebkit-5.212.0_pre20200309-r1.ebuild         |  1 +
 2 files changed, 29 insertions(+)