[Development] CI autotest failures for MinGW

Koehne Kai Kai.Koehne at digia.com
Wed Jan 9 10:48:35 CET 2013


> -----Original Message-----
> From: development-bounces+kai.koehne=digia.com at qt-project.org
> [mailto:development-bounces+kai.koehne=digia.com at qt-project.org] On
> Behalf Of Anttila Janne
> Sent: Tuesday, January 08, 2013 9:00 AM
> To: development at qt-project.org
> Subject: [Development] CI autotest failures for MinGW
> 
[...]
> Below is list of failed autotests from already executed MinGW stages:
> 
> QtActiveQt_dev_Integration [1]
> 
> === Failures:
> =======================================================
>   cmake
> === Totals: 3 tests, 2 passes, 1 fail ===============================


I spend way too mich time on this one already when trying to reproduce it locally. Unfortunately the exact way cmake is called here , as well as the test runner setup, is pretty convoluted ... Anyway, what's suspicious is that the test is compiled with Visual Studio 2010 although this is a MinGW test run. Is that to be expected?

>From the log:

+ C:\strawberry\perl\bin\perl.exe C:\work\build\_qtqa_latest\scripts\generic\testplanner.pl --input . --output testplan.txt --make mingw32-make -- -silent -o testresults.xml,xml -o -,txt
-- Building for: Visual Studio 10
[...]
2>ClCompile:
2>  axcontainer.cpp
2>axcontainer.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl QListData::dispose(struct QListData::Data *)" (__imp_?dispose at QListData@@SAXPAUData at 1@@Z) referenced in function "public: __thiscall `public: __thiscall QList<class QVariant>::QList<class QVariant>(class QList<class QVariant> const &)'::`5'::Cleanup::~Cleanup(void)" (??1Cleanup@?4???0?$QList at VQVariant@@@@QAE at ABV1@@Z at QAE@XZ)
2>axcontainer.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall QAxWidget::~QAxWidget(void)" (??1QAxWidget@@UAE at XZ) referenced in function _main
2>axcontainer.obj : error LNK2019: unresolved external symbol "public: __thiscall QAxWidget::QAxWidget(class QWidget *,class QFlags<enum Qt::WindowType>)" (??0QAxWidget@@QAE at PAVQWidget@@V?$QFlags at W4WindowType@Qt@@@@@Z) referenced in function _main
2>C:\work\build\qt\qtactiveqt\tests\auto\cmake\build\test_modules\container\Release\axcontainerapp.exe : fatal error LNK1120: 3 unresolved externals

Maybe the cmake call should add a -G "MinGW Makefiles", or Visual Studio shouldn't be in the environment, or both :) Can some cmake or ActiveQt expert comment?

Regards

Kai




More information about the Development mailing list