Summary: | [qt overlay] dev-qt/qtwebengine-5.13.1: content_features.cc:122:14: error: missing binary operator before token "(" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas Sturmlechner <asturm> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arthurzam, david.narvaez, klaus818, nickAristocrates |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | workaround: emerge -C qtwebengine && emerge -1 qtwebengine | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 689016 | ||
Attachments: |
qtwebengine-5.13.1-build.log.xz
qtwebengine_fresh_install_build.log.gz qtwebengine-5.13.1-content_features-disable_kCrashReporting.patch |
Description
Andreas Sturmlechner
2019-09-07 11:32:34 UTC
Problem seems to be caused by installed 5.12.x headers, removing old qtwebengine 'fixed' it. Easy way out here could be hard-build-blocking <qtwebengine-5.13.1, in the absence of a real fix. Just noting that I didn't hit this bug with USE="alsa bindist designer jumbo-build pulseaudio system-ffmpeg system-icu widgets -debug -pax_kernel -test" when upgrading from Qt 5.12.5 I ran into this bug on a clean install of =dev-qt/qtwebengine-5.13.1 emerge -pv1 dev-qt/qtwebengine These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N #] dev-qt/qtwebengine-5.13.1:5/5.13::qt USE="alsa pulseaudio system-ffmpeg system-icu -bindist -debug -designer -jumbo-build -pax_kernel -test -widgets" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Really? Can you please provide a build.log? Created attachment 592382 [details] qtwebengine_fresh_install_build.log.gz ../../3rdparty/chromium/content/public/common/content_features.cc:122:14: error: missing binary operator before token "(" 122 | #if BUILDFLAG(ENABLE_REPORTING) | ^ [ebuild N #] dev-qt/qtwebengine-5.13.1:5/5.13::qt USE="alsa pulseaudio system-ffmpeg system-icu -bindist -debug -designer -jumbo-build -pax_kernel -test -widgets" 0 KiB emerge --info Portage 2.3.76 (python 3.6.9-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-9.2.0, glibc-2.29-r2, 5.3.4-gentoo x86_64) ================================================================= System uname: Linux-5.3.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.6 KiB Mem: 16348356 total, 9769812 free KiB Swap: 16777212 total, 16668924 free Timestamp of repository gentoo: Wed, 09 Oct 2019 00:45:01 +0000 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.31.1 p7) 2.31.1 app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.2-r1::gentoo dev-lang/python: 2.7.16::gentoo, 3.5.7::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo dev-util/cmake: 3.14.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r6::gentoo, 2.32-r1::gentoo sys-devel/gcc: 7.4.0-r2::gentoo, 8.3.0-r1::gentoo, 9.1.0-r1::gentoo, 9.2.0-r1::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: webrsync sync-uri: #rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-webrsync-verify-signature: yes brother-overlay location: /var/lib/layman/brother-overlay masters: gentoo priority: 50 printer-drivers location: /var/lib/layman/printer-drivers masters: gentoo priority: 50 qt location: /var/lib/layman/qt masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-O2 -pipe" 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://cosmos.illinois.edu/pub/gentoo/ http://gentoo.osuosl.org/ http://distfiles.gentoo.org/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" 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 acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cuda cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk ibus iconv icu introspection ipv6 jpeg lcms libass libnotify libsecret libtirpc mad mmx mng modplug mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opencl opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr sse sse2 ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vaapi vdpau vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" 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="mmx mmxext sse sse2" 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="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq 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 And do you have chromium installed, by chance? > And do you have chromium installed, by chance?
Yes:
emerge -pv1 www-client/chromium
[ebuild R ~] www-client/chromium-78.0.3904.34::gentoo USE="closure-compile cups gnome-keyring hangouts (pic) proprietary-codecs pulseaudio system-ffmpeg tcmalloc -component-build -custom-cflags -jumbo-build -kerberos (-selinux) -suid -system-icu (-system-libvpx) -widevine" L10N="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk vi zh-CN zh-TW" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Created attachment 592482 [details, diff]
qtwebengine-5.13.1-content_features-disable_kCrashReporting.patch
The following patch makes the package compile for me; I have not tested packages that depend on qtwebengine yet.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=9d8a69d0257d8eca4012a7ba63bd7d1bbf85873b commit 9d8a69d0257d8eca4012a7ba63bd7d1bbf85873b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-10-19 22:41:05 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-10-19 22:41:05 +0000 dev-qt/qtwebengine: Try to fix some randomly occurring build error Thanks-to: Nicholas Meyer <nickaristocrates@gmail.com> Bug: https://bugs.gentoo.org/693668 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/qtwebengine-5.13.1-no-kcrash-reporting.patch | 18 ++++++++++++++++++ dev-qt/qtwebengine/qtwebengine-5.13.1.ebuild | 4 +++- 2 files changed, 21 insertions(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=80b5fad5ee3dba8059ad21a2fb5e8ab01c2e960f commit 80b5fad5ee3dba8059ad21a2fb5e8ab01c2e960f Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-10-24 22:45:00 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-10-24 23:08:52 +0000 dev-qt/qtwebengine: Add build fix to 5.13/5.14 stable branch Bug: https://bugs.gentoo.org/693668 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild | 5 +++++ dev-qt/qtwebengine/qtwebengine-5.14.9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) Properly fixed by commit eb95b42220ff63338858a7fc86624b8141f910bc thanks to Jimi. |