akonadi-contacts 19.08 link failure windows

Allen Winter winter at kde.org
Mon Sep 9 23:28:23 BST 2019


I'm getting this strange link error on Windows with 19.08 tarball (well, I *think* craft uses the official tarball releases)

I'm wondering if a backport of 2f552ac573770ce22ec5489b22c6269280aa4e36 from master
would fix it.  And if so.. I think I'll need to wait until the next 19.0x release or beg for a respin.

(too bad this got past the CI)

 [1996/233] Linking CXX executable bin\phonewidgettest.exe
FAILED: bin/phonewidgettest.exe 
cmd.exe /C "cd . && C:\Craft\windows-msvc2017_64-cl\dev-utils\cmake\bin\cmake.exe -E vs_link_exe --intdir=src\contact-editor\editor\generalinfoeditor\autotests\CMakeFiles\phonewidgettest.dir --manifests  -- C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1416~1.270\bin\HostX64\x64\link.exe /nologo src\contact-editor\editor\generalinfoeditor\autotests\CMakeFiles\phonewidgettest.dir\phonewidgettest.cpp.obj src\contact-editor\editor\generalinfoeditor\autotests\CMakeFiles\phonewidgettest.dir\phonewidgettest_autogen\mocs_compilation.cpp.obj  /out:bin\phonewidgettest.exe /implib:lib\phonewidgettest.lib /pdb:bin\phonewidgettest.pdb /version:0.0  /machine:x64 /NODEFAULTLIB:libcmt /DEFAULTLIB:msvcrt /debug /INCREMENTAL  /subsystem:windows  C:\Craft\windows-msvc2017_64-cl\lib\Qt5Test.lib lib\KF5ContactEditor.lib C:\Craft\windows-msvc2017_64-cl\lib\KF5Contacts.lib C:\Craft\windows-msvc2017_64-cl\lib\KF5Completion.lib C:\Craft\windows-msvc2017_64-cl\lib\KF5IconThemes.lib C:\Craft\windows-msvc2017_64-cl\lib\KF5I18n.lib C:\Craft\windows-msvc2017_64-cl\lib\Qt5Widgets.lib C:\Craft\windows-msvc2017_64-cl\lib\Qt5Gui.lib C:\Craft\windows-msvc2017_64-cl\lib\Qt5Core.lib C:\Craft\windows-msvc2017_64-cl\lib\qtmain.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK Pass 1: command "C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1416~1.270\bin\HostX64\x64\link.exe /nologo src\contact-editor\editor\generalinfoeditor\autotests\CMakeFiles\phonewidgettest.dir\phonewidgettest.cpp.obj src\contact-editor\editor\generalinfoeditor\autotests\CMakeFiles\phonewidgettest.dir\phonewidgettest_autogen\mocs_compilation.cpp.obj /out:bin\phonewidgettest.exe /implib:lib\phonewidgettest.lib /pdb:bin\phonewidgettest.pdb /version:0.0 /machine:x64 /NODEFAULTLIB:libcmt /DEFAULTLIB:msvcrt /debug /INCREMENTAL /subsystem:windows C:\Craft\windows-msvc2017_64-cl\lib\Qt5Test.lib lib\KF5ContactEditor.lib C:\Craft\windows-msvc2017_64-cl\lib\KF5Contacts.lib C:\Craft\windows-msvc2017_64-cl\lib\KF5Completion.lib C:\Craft\windows-msvc2017_64-cl\lib\KF5IconThemes.lib C:\Craft\windows-msvc2017_64-cl\lib\KF5I18n.lib C:\Craft\windows-msvc2017_64-cl\lib\Qt5Widgets.lib C:\Craft\windows-msvc2017_64-cl\lib\Qt5Gui.lib C:\Craft\windows-msvc2017_64-cl\lib\Qt5Core.lib C:\Craft\windows-msvc2017_64-cl\lib\qtmain.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:src\contact-editor\editor\generalinfoeditor\autotests\CMakeFiles\phonewidgettest.dir/intermediate.manifest src\contact-editor\editor\generalinfoeditor\autotests\CMakeFiles\phonewidgettest.dir/manifest.res" failed (exit code 1120) with the following output:
phonewidgettest.cpp.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const ContactEditor::PhoneComboBoxType::staticMetaObject" (?staticMetaObject at PhoneComboBoxType@ContactEditor@@2UQMetaObject@@B)
bin\phonewidgettest.exe : fatal error LNK1120: 1 unresolved externals




More information about the kde-pim mailing list