compiling net-misc/nextcloud-client-2.5.1 fails with this error: /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp: In member function ‘virtual QWebEnginePage* OCC::WebEnginePage::createWindow(QWebEnginePage::WebWindowType)’: /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp:153:76: warning: unused parameter ‘type’ [-Wunused-parameter] QWebEnginePage * WebEnginePage::createWindow(QWebEnginePage::WebWindowType type) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp: In member function ‘virtual bool OCC::WebEnginePage::certificateError(const QWebEngineCertificateError&)’: /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp:164:9: error: invalid use of incomplete type ‘const class QWebEngineCertificateError’ if (certificateError.error() == QWebEngineCertificateError::CertificateAuthorityInvalid) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWebEngineWidgets/QWebEnginePage:1, from /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp:3: /usr/include/qt5/QtWebEngineWidgets/qwebenginepage.h:62:7: note: forward declaration of ‘class QWebEngineCertificateError’ class QWebEngineCertificateError; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp:164:65: error: incomplete type ‘QWebEngineCertificateError’ used in nested name specifier if (certificateError.error() == QWebEngineCertificateError::CertificateAuthorityInvalid) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp:165:16: error: invalid use of incomplete type ‘const class QWebEngineCertificateError’ return certificateError.url().host() == _rootUrl.host(); ^~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtWebEngineWidgets/QWebEnginePage:1, from /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp:3: /usr/include/qt5/QtWebEngineWidgets/qwebenginepage.h:62:7: note: forward declaration of ‘class QWebEngineCertificateError’ class QWebEngineCertificateError; ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp: In member function ‘virtual bool OCC::ExternalWebEnginePage::acceptNavigationRequest(const QUrl&, QWebEnginePage::NavigationType, bool)’: /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp:176:101: warning: unused parameter ‘type’ [-Wunused-parameter] bool ExternalWebEnginePage::acceptNavigationRequest(const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /var/tmp/portage/net-misc/nextcloud-client-2.5.1/work/desktop-2.5.1/src/gui/wizard/webview.cpp:176:112: warning: unused parameter ‘isMainFrame’ [-Wunused-parameter] bool ExternalWebEnginePage::acceptNavigationRequest(const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame) ~~~~~^~~~~~~~~~~ At global scope: cc1plus: warning: unrecognized command line option ‘-Wno-gnu-zero-variadic-macro-arguments’ make[2]: *** [src/gui/CMakeFiles/nextcloud.dir/build.make:1364: src/gui/CMakeFiles/nextcloud.dir/wizard/webview.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:343: src/gui/CMakeFiles/nextcloud.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 Same for net-misc/nextcloud-client-2.5.0
emerge --info '=net-misc/nextcloud-client-2.5.1::gentoo' Portage 2.3.59 (python 3.7.0-final-0, default/linux/amd64/17.1, gcc-8.2.0, glibc-2.28-r5, 5.0.0-rc3-00554-g2754bd080bea x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.0.0-rc3-00554-g2754bd080bea-x86_64-AMD_PRO_A10-8700B_R6,_10_Compute_Cores_4C+6G-with-gentoo-2.6 KiB Mem: 15886716 total, 640136 free KiB Swap: 4194304 total, 4048032 free Head commit of repository gentoo: f130a7b274ed2fc3e5c880cc42951d9e50ca6cb1 Head commit of repository kde: 451ed372a87f4f3c97ad33b70704460c12e2ced3 Head commit of repository qt: f968f4b5cba6932806e4fb329cb9c49156a1cda7 sh bash 5.0_p2 ld GNU ld (Gentoo 2.31.1 p5) 2.31.1 distcc 3.3.2 x86_64-pc-linux-gnu [disabled] ccache version 3.6 [disabled] app-shells/bash: 5.0_p2::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.0::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo dev-util/ccache: 3.6::gentoo dev-util/cmake: 3.13.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.15::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r3::gentoo sys-devel/gcc: 7.3.0-r6::gentoo, 8.1.0-r3::gentoo, 8.2.0-r6::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers) sys-libs/glibc: 2.28-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://anongit.gentoo.org/repo/gentoo.git priority: -1000 kde location: /usr/local/portage/kde sync-type: git sync-uri: git://anongit.gentoo.org/proj/kde.git masters: gentoo priority: 50 local location: /usr/local/portage/local masters: gentoo priority: 50 qt location: /usr/local/portage/qt sync-type: git sync-uri: git://anongit.gentoo.org/proj/qt.git masters: gentoo priority: 50 sirjaren location: /usr/local/portage/sirjaren masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=bdver4 -msahf -mpopcnt -mlzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=bdver4 -ftree-vectorize -fvect-cost-model -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /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="-O2 -march=bdver4 -msahf -mpopcnt -mlzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=1024 -mtune=bdver4 -ftree-vectorize -fvect-cost-model -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n" 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 metadata-transfer multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j3" 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 aacplus acl alsa amd64 amr amrenc anacron berkdb bluetooth bzip2 cairo caps celt chm clang cleartype_hinting cli corefonts crypt cryptsetup cups cxx d3d9 dbus device-mapper djvu dri drm dvd ebook editorconfig efi egl eps epub evdev exif faac ffmpeg fftw flac fontconfig fortran gbm gdbm gif git glamor gmp gold gpg gphoto2 gpm graphviz harfbuzz iconv icu id3tag ipv6 ithreads jemalloc jpeg kipi lcms lensfun libatomic libcxx libcxxabi libffi libinput libkms libsamplerate libtirpc libunwind lm_sensors lz4 lzma lzo mad matroska mjpeg mmap mng mobi modern-top mp3 mpeg mtp multilib mysql ncurses networkmanager nfs nls nptl ogg openal opencv openexr opengl openmp openssl opus pam parted pcre pcre16 pdf png policykit postscript pulseaudio python qt5 raw readline s3tc schroedinger sdl sdl2 seccomp sift smp sndfile sox speex spice sqlite ssl subversion svg system-harfbuzz system-icu system-jpeg system-jsoncpp system-libvpx system-sqlite systemd taglib tcpd tesseract theora threads thumbnail tiff truetype udev unicode urandom usb usbredir user-session v4l vaapi vde vdpau vhosts virgl virt-network virtfs vorbis vpx vte vulkan wavpack wayland webp wmf x264 x265 xattr xcb xcomposite xkb xml xmp xpm xv xvid zlib zstd" ABI_X86="64" 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" CAMERAS="canon ricoh ricoh_g3" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx avx2 f16c fma3 fma4 mmx mmxext popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2 xop" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32 efi-64 pc" INPUT_DEVICES="evdev libinput synaptics" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX X86" 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="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python3_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 563386 [details] build.log
Can confirm. Maybe this happens with qtwebengine-5.12.0 from qt overlay.
I can confirm it as well and it seems to be an issue of qtwebengine-5.12.1 from qt overlay. Building nextcloud-client-2.5.0 fails with the same error message.
dev-qt/qtwebengine-5.12.1 is already in the main tree so the issue exists in the main tree now aswell, not just with overlay.
Indeed, I just added the upstream patch to fix it (missing header include)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eca64a213519d2aeb0fb3f737a0f31cf9c023d9 commit 4eca64a213519d2aeb0fb3f737a0f31cf9c023d9 Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2019-03-05 23:33:42 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2019-03-05 23:33:52 +0000 net-misc/nextcloud-client: fix compilation with Qt 5.12 Closes: https://bugs.gentoo.org/677008 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org> ...nextcloud-client-2.5.1-missing_qt_include.patch | 23 ++++++++++++++++++++++ .../nextcloud-client/nextcloud-client-2.5.1.ebuild | 6 +++++- 2 files changed, 28 insertions(+), 1 deletion(-)
*** Bug 674412 has been marked as a duplicate of this bug. ***