Subject: bug#44408: closed (Re: bug#44408: Elisa build fails on mediaplaylisttest.cpp)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 04 Jan 2021 08:17:02 +0000

Your bug report

#44408: Elisa build fails on mediaplaylisttest.cpp

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
44408: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44408
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#44408: Elisa build fails on mediaplaylisttest.cpp
From: Efraim Flashner <[email-masked]>
To: Maxim Cournoyer <[email-masked]>
Cc: [email-masked]
Date: Mon, 4 Jan 2021 10:16:04 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Elisa updated to 20.12.0 with commit
6f365f7c10938fc7bc609f95a79893585843454d and now builds.

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: Elisa build fails on mediaplaylisttest.cpp
From: Maxim Cournoyer <[email-masked]>
To: bug-guix <[email-masked]>
Date: Tue, 03 Nov 2020 00:10:10 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

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