Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643190 - media-plugins/audacious-plugins-3.9-r1[qt5] failed to build with Qt 5.10 (fine with Qt 5.9)
Summary: media-plugins/audacious-plugins-3.9-r1[qt5] failed to build with Qt 5.10 (fin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 649026
  Show dependency tree
 
Reported: 2018-01-02 21:24 UTC by josef.95
Modified: 2018-04-16 14:23 UTC (History)
2 users (show)

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 josef.95 2018-01-02 21:24:06 UTC
Hello,
media-plugins/audacious-plugins-3.9-r1[qt5] failed to build with Qt 5.10

info_bar.cc: In member function 'virtual void InfoBar::paintEvent(QPaintEvent*)':
info_bar.cc:259:61: error: no match for 'operator=' (operand types are 'QStaticText' and 'QString')
              width () - ps.VisWidth - ps.Height - ps.Spacing);
                                                             ^
In file included from /usr/include/qt5/QtGui/QStaticText:1:0,
                 from info_bar.h:23,
                 from info_bar.cc:22:
/usr/include/qt5/QtGui/qstatictext.h:68:18: note: candidate: QStaticText& QStaticText::operator=(QStaticText&&)
     QStaticText &operator=(QStaticText &&other) Q_DECL_NOTHROW { swap(other); return *this; }
                  ^~~~~~~~
/usr/include/qt5/QtGui/qstatictext.h:68:18: note:   no known conversion for argument 1 from 'QString' to 'QStaticText&&'
/usr/include/qt5/QtGui/qstatictext.h:70:18: note: candidate: QStaticText& QStaticText::operator=(const QStaticText&)
     QStaticText &operator=(const QStaticText &);
                  ^~~~~~~~
/usr/include/qt5/QtGui/qstatictext.h:70:18: note:   no known conversion for argument 1 from 'QString' to 'const QStaticText&'
Failed to compile info_bar.cc (plugin)!
make[5]: *** [../../buildsys.mk:414: info_bar.plugin.o] Error 1


A upstream Commit is here available: https://github.com/audacious-media-player/audacious-plugins/commit/971f7ff7c3d8a0b9b420bf4fd19ab97755607637

This commit (diff) builds and works fine with audacious-plugins-3.9-r1[qt5] and Qt 5.10.0

Thanks.
Comment 1 David Seifert gentoo-dev 2018-01-03 09:53:13 UTC
Please test the patch using the stable versions of Qt too, we can then add it.
Comment 2 Larry the Git Cow gentoo-dev 2018-04-16 14:23:30 UTC
The bug has been closed via the following commit(s):

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

commit 6ad3911d4fc3e2cade7aad9a4e6495d03c2898ae
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-04-16 14:22:51 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-16 14:23:16 +0000

    media-plugins/audacious-plugins: Fix build with Qt 5.10
    
    Reported-by: josef.95 <josef.95@freenet.de>
    Closes: https://bugs.gentoo.org/643190
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../audacious-plugins-3.9-r1.ebuild                |  2 ++
 .../files/audacious-plugins-3.9-qt-5.10.patch      | 26 ++++++++++++++++++++++
 2 files changed, 28 insertions(+)