[Kst] [kst] [Bug 322289] New: kst 2.0.7 with -Dkst_merge_files=1 build is failing with redefined symbols

Orion Poplawski orion at cora.nwra.com
Fri Jul 12 18:40:48 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=322289

            Bug ID: 322289
           Summary: kst 2.0.7 with -Dkst_merge_files=1 build is failing
                    with redefined symbols
    Classification: Unclassified
           Product: kst
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: packaging
          Assignee: kst at kde.org
          Reporter: orion at cora.nwra.com

Building kst 2.0.7 on Fedora 19+.  Get:

cd /builddir/build/BUILD/kst-2.0.7/src/libkst && /usr/lib64/ccache/cc 
-DBUILD_KSTCORE -DKST_HAV
E_SVN_REVISION_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -Dkst2core_EXPORTS
-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord
-gcc-switches  -m64 -mtune=generic  -DNDEBUG -fPIC -isystem /usr/include/QtGui
-isystem /usr/inc
lude/QtCore -I/builddir/build/BUILD/kst-2.0.7 -I/usr/include/QtDesigner
-I/usr/include/QtDeclara
tive -I/usr/include/QtScriptTools -I/usr/include/QtDBus -I/usr/include/QtXml
-I/usr/include/QtSq
l -I/usr/include/QtOpenGL -I/usr/include/QtMultimedia -I/usr/include/QtNetwork
-I/usr/include/Qt
XmlPatterns -I/usr/include/QtHelp -I/usr/include/QtUiTools
-I/usr/include/QtTest -I/usr/include/
QtScript -I/usr/include/QtSvg -I/usr/include/Qt3Support
-I/usr/lib64/qt4/mkspecs/default -I/buil
ddir/build/BUILD/kst-2.0.7/src/libkst    -o
CMakeFiles/kst2core.dir/psversion.c.o   -c /builddir
/build/BUILD/kst-2.0.7/src/libkst/psversion.c
In file included from
/builddir/build/BUILD/kst-2.0.7/src/libkst/merged_const.cpp:508:0:
/builddir/build/BUILD/kst-2.0.7/src/libkst/moc_datasource.cxx:19:48: error:
redefinition of 'con
st uint qt_meta_data_Kst__DataSource []'
 static const uint qt_meta_data_Kst__DataSource[] = {
                                                ^
In file included from
/builddir/build/BUILD/kst-2.0.7/src/libkst/merged_const.cpp:238:0:
/builddir/build/BUILD/kst-2.0.7/src/libkst/moc_datasource.cxx:19:19: error:
'const uint qt_meta_
data_Kst__DataSource [25]' previously defined here
 static const uint qt_meta_data_Kst__DataSource[] = {
                   ^
....

Looks like moc_datasource.cxx ends up being included twice in merged_const.cpp.
 Build succeeds with -Dkst_merge_files=0.

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kst mailing list