From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 44408@debbugs.gnu.org
Subject: bug#44408: Elisa build fails on mediaplaylisttest.cpp
Date: Tue, 03 Nov 2020 00:10:10 -0500 [thread overview]
Message-ID: <87k0v3yqj1.fsf@gmail.com> (raw)
Hello,
The compilation fails with the error:
--8<---------------cut here---------------start------------->8---
In file included from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/qtest.h:45:0,
from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/QtTest:11,
from /tmp/guix-build-elisa-0.4.2.drv-0/elisa-0.4.2/autotests/mediaplaylisttest.cpp:27:
/tmp/guix-build-elisa-0.4.2.drv-0/elisa-0.4.2/autotests/mediaplaylisttest.cpp: In member function ‘void MediaPlayListTest::restoreTrackWithoutAlbum()’:
/tmp/guix-build-elisa-0.4.2.drv-0/elisa-0.4.2/autotests/mediaplaylisttest.cpp:3048:5: error: call of overloaded ‘qCompare(QString, <brace-enclosed initializer list>, const char [77], const char [3], const char [78], int)’ is ambiguous
QCOMPARE(myPlayList.data(myPlayList.index(0, 0), MediaPlayList::AlbumRole).toString(), {});
^
In file included from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/qtest.h:45:0,
from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/QtTest:11,
from /tmp/guix-build-elisa-0.4.2.drv-0/elisa-0.4.2/autotests/mediaplaylisttest.cpp:27:
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/qtestcase.h:349:17: note: candidate: bool QTest::qCompare(const T&, const T&, const char*, const char*, const char*, int) [with T = QString]
inline bool qCompare(T const &t1, T const &t2, const char *actual, const char *expected,
^~~~~~~~
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/qtestcase.h:372:27: note: candidate: bool QTest::qCompare(QStringView, QStringView, const char*, const char*, const char*, int)
Q_TESTLIB_EXPORT bool qCompare(QStringView t1, QStringView t2,
^~~~~~~~
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/qtestcase.h:375:27: note: candidate: bool QTest::qCompare(QStringView, const QLatin1String&, const char*, const char*, const char*, int)
Q_TESTLIB_EXPORT bool qCompare(QStringView t1, const QLatin1String &t2,
^~~~~~~~
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/qtestcase.h:381:17: note: candidate: bool QTest::qCompare(const QString&, const QString&, const char*, const char*, const char*, int)
inline bool qCompare(const QString &t1, const QString &t2,
^~~~~~~~
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/qtestcase.h:387:17: note: candidate: bool QTest::qCompare(const QString&, const QLatin1String&, const char*, const char*, const char*, int)
inline bool qCompare(const QString &t1, const QLatin1String &t2,
^~~~~~~~
In file included from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/qtest_widgets.h:51:0,
from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/qtest.h:462,
from /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/QtTest:11,
from /tmp/guix-build-elisa-0.4.2.drv-0/elisa-0.4.2/autotests/mediaplaylisttest.cpp:27:
/gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/include/qt5/QtTest/qtest_gui.h:192:13: note: candidate: bool QTest::qCompare(const QPixmap&, const QPixmap&, const char*, const char*, const char*, int)
inline bool qCompare(QPixmap const &t1, QPixmap const &t2, const char *actual, const char *expected,
^~~~~~~~
[...]
[100%] Built target databaseInterfaceTest
make[1]: Leaving directory '/tmp/guix-build-elisa-0.4.2.drv-0/build'
make: *** [Makefile:144: all] Error 2
command "make" "-j" "24" failed with status 2
--8<---------------cut here---------------end--------------->8---
Thanks,
Maxim
next reply other threads:[~2020-11-03 5:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-03 5:10 Maxim Cournoyer [this message]
2021-01-04 8:16 ` bug#44408: Elisa build fails on mediaplaylisttest.cpp Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k0v3yqj1.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=44408@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.