Pulseview fails to build after updating Qt. /var/tmp/portage/sci-electronics/pulseview-0.4.1-r1/work/pulseview-0.4.1/pv/util.cpp: In function ‘QString pv::util::format_time_si(const Timestamp&, pv::util::SIPrefix, unsigned int, QString, bool)’: /var/tmp/portage/sci-electronics/pulseview-0.4.1-r1/work/pulseview-0.4.1/pv/util.cpp:140:6: error: no match for ‘operator<<’ (operand types are ‘QTextStream’ and ‘<unresolved overloaded function type>’) 140 | ts << forcesign; | ~~~^~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qdebug.h:49, from /usr/include/qt5/QtCore/QDebug:1, from /var/tmp/portage/sci-electronics/pulseview-0.4.1-r1/work/pulseview-0.4.1/pv/util.cpp:28: /usr/include/qt5/QtCore/qtextstream.h:174:18: note: candidate: ‘QTextStream& QTextStream::operator<<(QChar)’ 174 | QTextStream &operator<<(QChar ch); | ^~~~~~~~ /usr/include/qt5/QtCore/qtextstream.h:174:35: note: no known conversion for argument 1 from ‘<unresolved overloaded function type>’ to ‘QChar’ 174 | QTextStream &operator<<(QChar ch); | ~~~~~~^~ /usr/include/qt5/QtCore/qtextstream.h:175:18: note: candidate: ‘QTextStream& QTextStream::operator<<(char)’ 175 | QTextStream &operator<<(char ch); | ^~~~~~~~ Reproducible: Always Steps to Reproduce: 1. sudo emerge -v pulseview Actual Results: The error message above. Expected Results: Completed build. emerge --info '=sci-electronics/pulseview-0.4.1-r1::gentoo' Portage 2.3.103 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.31-r5, 5.7.7 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.7.7-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.7 KiB Mem: 16347036 total, 12582492 free KiB Swap: 4143264 total, 4143264 free Timestamp of repository gentoo: Wed, 01 Jul 2020 00:45:01 +0000 Head commit of repository gentoo: 8f1cc39e7021af220e5840322fd105a00bc936de sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.8::gentoo, 3.8.3::gentoo, 3.9.0_beta3::gentoo dev-util/cmake: 3.14.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 8.4.0-r1::gentoo, 9.3.0::gentoo, 10.1.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: crossdev location: /home/gentoo/overlay1 masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE dlj-1.1 NVIDIA-CUDA google-chrome baudline NVIDIA-r2 linux-fw-redistributable no-source-code free-noncomm xgraph FESTIVAL bh-luxi MPEG-4 BitstreamCyberbit grass-ipafonts" CBUILD="x86_64-pc-linux-gnu" CC="gcc" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/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="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n" ENV_UNSET="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="-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 qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ " LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en ja" MAKEOPTS="-j9" 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 activities alsa amd64 amrnb amrwb ass berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdr cli crypt cups dbus declarative dirac dri dts dv dvd dvdnav dvdr egl elogind emboss enca encode exif faac faad flac fortran gd gdbm gif gmp gpm graphite gtk iconv icu ipv6 jpeg kde kipi kwallet lcms libnotify libtirpc live lldb mad mmx mng mp2 mp3 mp4 mpeg mpx multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qml qt5 quicktime readline real schrodinger sdl seccomp speex spell split-usr sse sse2 ssl ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l vorbis widgets 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" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="author braindump flow kexi krita sheets stage 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US 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 AArch64 ARM" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 arm i386 m68k mips mips64 mips64el mipsel ppc ppc64 sparc sparc64" QEMU_USER_TARGETS="x86_64 arm i386 m68k mips mips64 mips64el mipsel ppc ppc64 sparc sparc64" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="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: CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sci-electronics/pulseview-0.4.1-r1::gentoo was built with the following: USE="decode -static" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_6 -python3_7" CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe"
(In reply to Javantea from comment #0) > Pulseview fails to build after updating Qt. At that point you might want to disclose that version. embedded proj won't be able to just guess as much.
Please attach full build.log as well.
Created attachment 647358 [details] build.log
Version of Qt is 5.15.0.
Did you build it successfully at any point since Qt 5.11? Because that error makes it look like it is broken that long. Blocking qt-5.15 tracker for now though.
(In reply to Andreas Sturmlechner from comment #5) > Did you build it successfully at any point since Qt 5.11? Because that error > makes it look like it is broken that long. Blocking qt-5.15 tracker for now > though. Yes, I have a working install of pulseview that uses Qt-5.14. It looks like Timestamp is actually linked to boost. I'm using boost-1.73.0. The working version of pulseview is using boost-1.72.0. I'll try downgrading and seeing if that works.
Ignore the previous comment. I confused Timestamp and QTextStream. I will try to downgrade Qt.
The linked PR fixes your issue. However to actually come that far I had to uncover a lot more issues in dependencies as well. I have not tested yet with python as I will have to add at least python3_8 for that... If anyone listens at embedded proj, please have a look and see...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960e9cf1f2e3bdf0aa85fc14fdeaa57543a2a680 commit 960e9cf1f2e3bdf0aa85fc14fdeaa57543a2a680 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-07-02 23:20:02 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-07-06 18:15:27 +0000 sci-electronics/pulseview: Fix build with Qt 5.15 Closes: https://bugs.gentoo.org/730452 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../pulseview/files/pulseview-0.4.2-qt-5.15.patch | 142 +++++++++++++++++++++ sci-electronics/pulseview/pulseview-0.4.2.ebuild | 2 + 2 files changed, 144 insertions(+)