Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542764 - media-video/vlc-9999: compile failure
Summary: media-video/vlc-9999: compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Nick Andrade
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-09 22:23 UTC by francesco florian
Modified: 2015-04-18 13:51 UTC (History)
0 users

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


Attachments
'emerge --info' output (emergeinfo,5.87 KB, text/plain)
2015-03-09 22:23 UTC, francesco florian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description francesco florian 2015-03-09 22:23:30 UTC
Created attachment 398556 [details]
'emerge --info' output

gcc (partial) output:
util/qmenuview.cpp:43:21: error: redefinition of ‘struct QMetaTypeId<QPersistentModelIndex>’
 Q_DECLARE_METATYPE(QPersistentModelIndex); // So we can store it in a QVariant
                     ^
In file included from /usr/include/qt5/QtCore/QAbstractItemModel:1:0,
                 from ./util/qmenuview.hpp:28,
                 from util/qmenuview.cpp:25:
/usr/include/qt5/QtCore/qabstractitemmodel.h:487:21: error: previous definition of ‘struct QMetaTypeId<QPersistentModelIndex>’
 Q_DECLARE_METATYPE(QPersistentModelIndex)
                     ^
Makefile:2671: recipe for target 'util/libqt4_plugin_la-qmenuview.lo' failed
make[7]: *** [util/libqt4_plugin_la-qmenuview.lo] Error 1
make[7]: Leaving directory '/var/tmp/portage/media-video/vlc-2.2.0/work/vlc-2.2.0/modules/gui/qt4'

commenting out line 43 in that file (var/tmp/portage/media-video/vlc-2.2.0/work/vlc-2.2.0/modules/gui/qt4/util/qmenuview.cpp) makes it compile, though i could not verify it actually runs as i miss a working desktop enviroment (vlc seems to be a dependency of @kde-plasma-live).
Comment 1 francesco florian 2015-04-18 13:51:12 UTC
today it works