Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701548 - [kde overlay] kde-apps/kpimtextedit-9999 texteditor/commonwidget/textfindreplacewidget.cpp:212:36: error: conversion from ‘std::nullptr_t’ to non-scalar type ‘QTextDocument::FindFlags’ {aka ‘QFlags<QTextDocument::FindFlag>’} requested
Summary: [kde overlay] kde-apps/kpimtextedit-9999 texteditor/commonwidget/textfindrepl...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-30 12:48 UTC by jospezial
Modified: 2019-12-03 01:05 UTC (History)
0 users

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 jospezial 2019-11-30 12:48:56 UTC
/usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKF5PimTextEdit_EXPORTS -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_TEXTTOSPEECH_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"libkpimtextedit\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Isrc -I/var/tmp/portage/kde-apps/kpimtextedit-9999/work/kpimtextedit-9999/src -Isrc/KF5PimTextEdit_autogen/include -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/SonnetUi -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/KF5/SonnetCore -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KSyntaxHighlighting -isystem /usr/include/qt5/QtTextToSpeech  -DQT_NO_DEBUG -DNDEBUG -march=native -O2 -pipe -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -pedantic -Wzero-as-null-pointer-constant -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/KF5PimTextEdit.dir/texteditor/commonwidget/textfindreplacewidget.cpp.o -MF src/CMakeFiles/KF5PimTextEdit.dir/texteditor/commonwidget/textfindreplacewidget.cpp.o.d -o src/CMakeFiles/KF5PimTextEdit.dir/texteditor/commonwidget/textfindreplacewidget.cpp.o -c /var/tmp/portage/kde-apps/kpimtextedit-9999/work/kpimtextedit-9999/src/texteditor/commonwidget/textfindreplacewidget.cpp
/var/tmp/portage/kde-apps/kpimtextedit-9999/work/kpimtextedit-9999/src/texteditor/commonwidget/textfindreplacewidget.cpp: In member function ‘QTextDocument::FindFlags KPIMTextEdit::TextFindWidget::searchOptions() const’:
/var/tmp/portage/kde-apps/kpimtextedit-9999/work/kpimtextedit-9999/src/texteditor/commonwidget/textfindreplacewidget.cpp:212:36: error: conversion from ‘std::nullptr_t’ to non-scalar type ‘QTextDocument::FindFlags’ {aka ‘QFlags<QTextDocument::FindFlag>’} requested
  212 |     QTextDocument::FindFlags opt = nullptr;
      |                                    ^~~~~~~
ninja: build stopped: subcommand failed.
 * ERROR: kde-apps/kpimtextedit-9999::kde failed (compile phase):
 *   ninja -v -j1 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 3090:  Called cmake-utils_src_compile
 *   environment, line 1147:  Called cmake-utils_src_make
 *   environment, line 1328:  Called _cmake_ninja_src_make
 *   environment, line  556:  Called eninja
 *   environment, line 1832:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *
Comment 1 jospezial 2019-11-30 12:51:27 UTC
Portage 2.3.80 (python 3.7.5-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.30-r3, 5.4.0-rc8 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.0-rc8-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.6
KiB Mem:     4032164 total,    890604 free
KiB Swap:   11534328 total,  11289080 free
Timestamp of repository poly-c: Fri, 29 Nov 2019 13:33:00 +0000
Head commit of repository gentoo: c8dd6231490e0c68e2b918b792548de96ca518df

sh bash 5.0_p11
ld GNU ld (Gentoo 2.33.1 p1) 2.33.1
ccache version 3.7.6 [enabled]
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo, 3.8.0::gentoo
dev-util/ccache:          3.7.6::gentoo
dev-util/cmake:           3.16.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::poly-c
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r2::gentoo
sys-devel/binutils:       2.33.1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

poly-c
    location: /var/lib/layman/poly-c
    sync-type: laymansync
    sync-uri: rsync://rsync.gentoofan.org/poly-c
    masters: gentoo
    priority: -1001

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000

overlay_jl
    location: /usr/local/portage
    masters: gentoo
    priority: 0

betagarden
    location: /var/lib/layman/betagarden
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/betagarden.git
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gamerlay.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

mbucas
    location: /var/lib/layman/mbucas
    sync-type: laymansync
    sync-uri: https://github.com/mbucas/gentoo-overlay
    masters: gentoo
    priority: 50

pg_overlay
    location: /var/lib/layman/pg_overlay
    sync-type: laymansync
    sync-uri: https://github.com/perfect7gentleman/pg_overlay.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/user/seden.git
    masters: gentoo
    priority: 50

stefantalpalaru
    location: /var/lib/layman/stefantalpalaru
    sync-type: laymansync
    sync-uri: https://github.com/stefantalpalaru/gentoo-overlay.git
    masters: gentoo
    priority: 50

wine
    location: /var/lib/layman/wine
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/wine.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

libressl
    location: /var/lib/layman/libressl
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/proj/libressl.git
    masters: gentoo
    priority: 51

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
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/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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --quiet-build=y --verbose-conflicts"
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="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache 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 xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
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="3dnowext 64bit X Xaw3d a52 aac aacplus aacs aalib ace acl acpi activefilter admin aes aften alsa ambisonics amd64 ap apm apng archive arping audacious audiofile automount bazaar bdplus berkdb binary-drivers bluetooth bluray boost bzip2 bzr cairo canusb caps ccache cdda cddb cdio cdparanoia cdr cdrdao cdrom cgi charconv chm chroot cjk clang cli client colordiff colorpicker colors compress consolekit corefonts cpio cpufreq_bench cpuload cracklib crypt css cue cups curl curlwrappers cxx d3d9 daemon dav1d dbus dcadec declarative device-mapper dga dhcp dom doom doomsday dos download-subs dri dri3 drm dts dump dv dvb dvd dvdnav eap eap-sim eap-tls ebook emerald emoticon encode enscript epub equalizer evdev exif extensions extras faac faad fam farstream fat fax fbcon fdformat fdk ffmpeg fftw firefox flac fluidsynth fontconfig foomatic foomaticdb fortran freedoom ftp fuse g3dvl gadu gallium gd gdbm gegl geoip gif gimp git glamor gme gnutls gpg gphoto2 gpm graphite gsm gstreamer gtk gtk3 gtkstyle gui gzip haptic hddtemp hdf hdf5 heretic hexen hid highlight history hpcups hpijs http hwdb iconv icq icu id3tag idn imagemagick inotify introspection ipc ipod ipv6 jack java javascript jit jpeg jpeg2k kate kde kdenlive keymap ladspa lame lcms legacy-systray lensfun libaom libass libcanberra libdrm libinput libkms libnotify libressl librtmp libsamplerate libssh2 libtiger libtirpc libv4l libwww lightdm linguas_de linguas_de_DE live llvm-shared-libs lm-sensors lm_sensors logrotate lua lv2 lximage lz4 lzma lzo mad madwifi magic man matroska md5sum meanwhile melt mercurial metalink midi mikmod mime minizip mixer mjpeg mmap mms mmx mng mobi mod modplug mono mount mouse mozilla mp3 mp4 mpeg mpeg2 mplayer mtp multilib multimedia multislot musepack musicbrainz nano-syntax ncat ncurses ndiff network networkmonitor nls nmap-update nokia normalize nowlistening nping nptl ntfs ntfsprogs ntp nvidia nvram obex ocr odbc ogg ogm openal opencl opengl openh264 openmax openmp opus oscar osdmenu otr p2p pam pango panorama parse-clocks pcap pci pcre pcre16 pdf pdfimport pipes plasma plugins pm-utils png policykit postproc postscript powermanagement ppds printsupport privacy projectm pulseaudio pvr python qalculate qml qt5 quicktime r600-llvm-compiler radio rar raw rdesktop readline recording redeyes reiser4 reiserfs remote-access replaygain rtc rtmp rtsp rubberband s3tc sbsms scanner schroedinger screensaver scripttools sdl seccomp secure-delete sensors serial serialport sftp sha512 shorten shout skins slang smi sndfile snowberry sockets sound soundtouch source-highlight sox speech speex spell split-usr sql sqlite sqlite3 squashfs ssh ssl staging startup-notification statistics statusnotifier stk stream subtitles subversion sudo svc svg swat symlink sync-plugin-portage syslog sysstat system-ffmpeg system-harfbuzz system-icu system-jpeg system-jsoncpp system-libvpx system-opus system-sqlite szip taglib tcpd text texteffect tftp tftpd themes theora threads thumbnail tiff timidity tk tracepath traceroute track-src-odirect translator truetype twolame udev udf udisks unicode update_drivedb upower urlpicpreview usb v4l v4l2 vaapi vala vamp vapigen vdpau vector-icons video videos virtualbox vkd3d vlm vnc vorbis vpx vroot vst vulkan wad wav wavpack webgl webm webp webpresence widgets winbind winpopup wmf worldclock wps wxwidgets x264 x265 xattr xcb xcomposite xfs xine xinerama xinetd xkb xml xmp xorg xosd xpm xrandr xscreensaver xv xvid xvmc yahoo zenmap zip zlib zvbi" 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 sse3 ssse3" CURL_SSL="libressl" 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="evdev" KERNEL="linux" L10N="de" 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_6 python3_6 python3_7 python3_8" RUBY_TARGETS="ruby24 ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="radeon r600 amdgpu radeonsi" 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

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

dev-qt/qtcore-5.15.9999::qt was built with the following:
USE="icu -debug -systemd -test" ABI_X86="(64)"
Comment 2 Andreas Sturmlechner gentoo-dev 2019-11-30 12:55:02 UTC
Please raise such bugs upstream.
Comment 3 Andreas Sturmlechner gentoo-dev 2019-12-01 15:40:40 UTC
Please try again after the last upstream commit.
Comment 4 jospezial 2019-12-02 21:39:13 UTC
https://cgit.kde.org/kpimtextedit.git/commit/?id=01e0c5025223a8a9254e7572b0f6f5fc19106d50
"Don't use nullptr for flags"



Untested because of
CMake Error in src/CMakeLists.txt:
  Imported target "KF5::XmlGui" includes non-existent path

    "/usr/include/KF5/KXmlGui"

  in its INTERFACE_INCLUDE_DIRECTORIES.