Skip to content

Instantly share code, notes, and snippets.

@nurav
Created December 16, 2015 15:44
Show Gist options
  • Save nurav/c91f405367ccaafef43f to your computer and use it in GitHub Desktop.
Save nurav/c91f405367ccaafef43f to your computer and use it in GitHub Desktop.
In file included from /home/varun/repos/kde/src/kfilemetadata/src/writers/taglibwriter.cpp:6:0:
/usr/include/taglib/fileref.h:92:25: warning: 'class TagLib::FileRef::FileTypeResolver' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
class TAGLIB_EXPORT FileTypeResolver
^
[ 88%] Building CXX object autotests/CMakeFiles/taglibextractortest.dir/taglibextractortest_automoc.cpp.o
In file included from /home/varun/repos/kde/src/kfilemetadata-build/autotests/taglibextractortest_automoc.cpp:4:0:
/home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibwriter.cpp:93:39: error: redefinition of 'const uint qt_section_alignment_dummy'
QT_PLUGIN_METADATA_SECTION const uint qt_section_alignment_dummy = 42;
^
In file included from /home/varun/repos/kde/src/kfilemetadata-build/autotests/taglibextractortest_automoc.cpp:3:0:
/home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibextractor.cpp:93:39: note: 'const uint qt_section_alignment_dummy' previously defined here
QT_PLUGIN_METADATA_SECTION const uint qt_section_alignment_dummy = 42;
^
In file included from /home/varun/repos/kde/src/kfilemetadata-build/autotests/taglibextractortest_automoc.cpp:4:0:
/home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibwriter.cpp:98:46: error: redefinition of 'const unsigned char qt_pluginMetaData []'
static const unsigned char qt_pluginMetaData[] = {
^
In file included from /home/varun/repos/kde/src/kfilemetadata-build/autotests/taglibextractortest_automoc.cpp:3:0:
/home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibextractor.cpp:98:28: note: 'const unsigned char qt_pluginMetaData [200]' previously defined here
static const unsigned char qt_pluginMetaData[] = {
^
In file included from /home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibextractor.cpp:12:0,
from /home/varun/repos/kde/src/kfilemetadata-build/autotests/taglibextractortest_automoc.cpp:3:
/home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibwriter.cpp: In function 'const char* qt_plugin_query_metadata()':
/home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibwriter.cpp:157:1: error: redefinition of 'const char* qt_plugin_query_metadata()'
QT_MOC_EXPORT_PLUGIN(KFileMetaData::TagLibWriter, TagLibWriter)
^
/home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibextractor.cpp:159:1: note: 'const char* qt_plugin_query_metadata()' previously defined here
QT_MOC_EXPORT_PLUGIN(KFileMetaData::TagLibExtractor, TagLibExtractor)
^
/home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibwriter.cpp: In function 'QObject* qt_plugin_instance()':
/home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibwriter.cpp:157:1: error: redefinition of 'QObject* qt_plugin_instance()'
QT_MOC_EXPORT_PLUGIN(KFileMetaData::TagLibWriter, TagLibWriter)
^
/home/varun/repos/kde/src/kfilemetadata-build/autotests/moc_taglibextractor.cpp:159:1: note: 'QObject* qt_plugin_instance()' previously defined here
QT_MOC_EXPORT_PLUGIN(KFileMetaData::TagLibExtractor, TagLibExtractor)
^
autotests/CMakeFiles/taglibextractortest.dir/build.make:134: recipe for target 'autotests/CMakeFiles/taglibextractortest.dir/taglibextractortest_automoc.cpp.o' failed
make[2]: *** [autotests/CMakeFiles/taglibextractortest.dir/taglibextractortest_automoc.cpp.o] Error 1
make[1]: *** [autotests/CMakeFiles/taglibextractortest.dir/all] Error 2
CMakeFiles/Makefile2:1561: recipe for target 'autotests/CMakeFiles/taglibextractortest.dir/all' failed
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
21:12:31: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project kfilemetadata (kit: Desktop)
When executing step "Make"
21:12:31: Elapsed time: 00:06.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment