Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639300 - media-gfx/digikam-5.7.0-r1: emake failed: coredburl.cpp:94:14: error: no match for ‘operator!=’ (operand types are ‘QString’ and ‘QLatin1Char’)
Summary: media-gfx/digikam-5.7.0-r1: emake failed: coredburl.cpp:94:14: error: no matc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 638400
  Show dependency tree
 
Reported: 2017-11-30 17:52 UTC by Thomas Deutschmann (RETIRED)
Modified: 2017-11-30 23:46 UTC (History)
2 users (show)

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


Attachments
build.log (build.log.gz,464.50 KB, application/gzip)
2017-11-30 17:52 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2017-11-30 17:52:19 UTC
Created attachment 507278 [details]
build.log

Scanning dependencies of target digikamwidgetscore_src
/var/tmp/portage/media-gfx/digikam-5.7.0-r1/work/digikam-5.7.0/core/libs/database/coredb/coredburl.cpp: In static member function ‘static Digikam::CoreDbUrl Digikam::CoreDbUrl::fromAlbumAndName(const QString&, const QString&, const QUrl&, int, const Digikam::DbEngineParameters&)’:
/var/tmp/portage/media-gfx/digikam-5.7.0-r1/work/digikam-5.7.0/core/libs/database/coredb/coredburl.cpp:94:14: error: no match for ‘operator!=’ (operand types are ‘QString’ and ‘QLatin1Char’)
     if (path != QLatin1Char('/'))
              ^
In file included from /usr/include/qt5/QtCore/qdatetime.h:43:0,
                 from /usr/include/qt5/QtCore/QDateTime:1,
                 from /var/tmp/portage/media-gfx/digikam-5.7.0-r1/work/digikam-5.7.0/core/libs/database/coredb/coredburl.h:29,
                 from /var/tmp/portage/media-gfx/digikam-5.7.0-r1/work/digikam-5.7.0/core/libs/database/coredb/coredburl.cpp:24:
/usr/include/qt5/QtCore/qstring.h:648:17: note: candidate: bool QString::operator!=(QLatin1String) const
     inline bool operator!=(QLatin1String s) const Q_DECL_NOTHROW { return !operator==(s); }
                 ^
/usr/include/qt5/QtCore/qstring.h:648:17: note:   no known conversion for argument 1 from ‘QLatin1Char’ to ‘QLatin1String’
In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48:0,
                 from /usr/include/qt5/QtCore/qdebug.h:54,
                 from /usr/include/qt5/QtCore/qloggingcategory.h:44,
                 from /usr/include/qt5/QtCore/QLoggingCategory:1,
                 from /var/tmp/portage/media-gfx/digikam-5.7.0-r1/work/digikam-5.7.0/core/app/utils/digikam_debug.h:31,
                 from /var/tmp/portage/media-gfx/digikam-5.7.0-r1/work/digikam-5.7.0/core/libs/database/coredb/coredburl.cpp:35:
/usr/include/qt5/QtCore/qsharedpointer_impl.h:814:6: note: candidate: template<class T, class X> bool operator!=(const QSharedPointer<T>&, const QWeakPointer<X>&)
 bool operator!=(const QSharedPointer<T> &ptr1, const QWeakPointer<X> &ptr2)
      ^
/usr/include/qt5/QtCore/qsharedpointer_impl.h:814:6: note:   template argument deduction/substitution failed:
/var/tmp/portage/media-gfx/digikam-5.7.0-r1/work/digikam-5.7.0/core/libs/database/coredb/coredburl.cpp:94:32: note:   ‘QString’ is not derived from ‘const QSharedPointer<T>’
     if (path != QLatin1Char('/'))
                                ^
In file included from /usr/include/qt5/QtCore/qsharedpointer.h:48:0,
                 from /usr/include/qt5/QtCore/qdebug.h:54,
                 from /usr/include/qt5/QtCore/qloggingcategory.h:44,
                 from /usr/include/qt5/QtCore/QLoggingCategory:1,
                 from /var/tmp/portage/media-gfx/digikam-5.7.0-r1/work/digikam-5.7.0/core/app/utils/digikam_debug.h:31,
                 from /var/tmp/portage/media-gfx/digikam-5.7.0-r1/work/digikam-5.7.0/core/libs/database/coredb/coredburl.cpp:35:
/usr/include/qt5/QtCore/qsharedpointer_impl.h:803:6: note: candidate: template<class T, class X> bool operator!=(const T*, const QSharedPointer<T>&)
 bool operator!=(const T *ptr1, const QSharedPointer<X> &ptr2)
     

[...]

/usr/include/qt5/QtCore/qstring.h:641:24: note:   no known conversion for argument 2 from ‘QLatin1Char’ to ‘const QString&’
make[2]: *** [libs/database/CMakeFiles/digikamdatabase_src.dir/build.make:447: libs/database/CMakeFiles/digikamdatabase_src.dir/coredb/coredburl.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-gfx/digikam-5.7.0-r1/work/digikam-5.7.0_build'
make[1]: *** [CMakeFiles/Makefile2:997: libs/database/CMakeFiles/digikamdatabase_src.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....


Portage 2.3.13 (python 2.7.14-final-0, default/linux/x86/13.0, gcc-5.4.0, glibc-2.25-r9, 4.12.14-gentoo i686)
=================================================================
System uname: Linux-4.12.14-gentoo-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108084 total,   1800432 free
KiB Swap:     488276 total,    449036 free
Timestamp of repository gentoo: Thu, 30 Nov 2017 14:23:28 +0000
Head commit of repository gentoo: 64bd2369333227382b1de6d2480f28f1d3770893

Head commit of repository whissi-overlay: 9583bde898a6b758944543b727af3c676bdcd42a

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/5.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/5.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
QT_PLUGIN_PATH="/usr/lib/kde4/plugins"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/5.4.0:/usr/lib/llvm/4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,5020,0"
TMUX_PANE="%1"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
Comment 1 Larry the Git Cow gentoo-dev 2017-11-30 22:14:07 UTC
The bug has been referenced in the following commit(s):

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

commit f11c24645887b7016c407ac8737981c3802a7213
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-11-30 18:38:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-11-30 22:12:39 +0000

    media-gfx/digikam: Fix build w/ Qt-5.7.0
    
    Bug: https://bugs.gentoo.org/639300
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-gfx/digikam/files/digikam-5.7.0-qt-5.9.3.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)}
Comment 2 Andreas Sturmlechner gentoo-dev 2017-11-30 22:22:42 UTC
This should be fixed now, please test.
Comment 3 Robert G. Siebeck 2017-11-30 23:45:16 UTC
(In reply to Andreas Sturmlechner from comment #2)
> This should be fixed now, please test.

The problem is fixed for me, thank you!
Comment 4 Andreas Sturmlechner gentoo-dev 2017-11-30 23:46:02 UTC
Thanks for your report!