Calligra fails on MSVC

Dag dag.andersen at kdemail.net
Mon Mar 8 09:00:56 GMT 2021


Hi,
I don't have windows to test on so any pointers are very much appreciated!

Linking fails, see:
https://binary-factory.kde.org/job/Calligra_Nightly_win64/1101/console
with error:
22:05:44  bin\calligrasheetspart.dll : fatal error LNK1107: invalid or 
corrupt file: cannot read at 0x3A8

So, it seems it to want to link to the dll file:
bin\calligrasheetspart.dll
According to some ms forum that is not legal?

This is from the log:

22:05:44  LINK Pass 1: command 
"C:\PROGRA~2\MICROS~1\2019\PROFES~1\VC\Tools\MSVC\1424~1.283\bin\Hostx64\x64\link.exe 
/nologo 
sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir\calligra_shape_spreadsheet_autogen\mocs_compilation.cpp.obj 
sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir\TablePageManager.cpp.obj 
sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir\TableShape.cpp.obj 
sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir\TableTool.cpp.obj 
sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir\TableShapeFactory.cpp.obj 
sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir\TableToolFactory.cpp.obj 
sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir\SheetsEditor.cpp.obj 
sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir\ToolHeaders.cpp.obj 
sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir\ScreenConversions.cpp.obj 
/out:bin\calligra_shape_spreadsheet.dll 
/implib:lib\calligra_shape_spreadsheet.lib 
/pdb:bin\calligra_shape_spreadsheet.pdb /dll /version:0.0 /machine:x64 
/debug /INCREMENTAL lib\calligrasheetscommon.lib bin\calligrasheetspart.dll 
lib\calligrasheetsodf.lib lib\komain.lib lib\kowidgets.lib 
lib\kotextlayout.lib lib\kotext.lib lib\flake.lib lib\pigmentcms.lib 
lib\kowidgetutils.lib lib\koodf.lib lib\kostore.lib lib\kundo2.lib 
lib\koversion.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5KDELibs4Support.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5KIOFileWidgets.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5Bookmarks.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5Solid.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5Notifications.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5UnitConversion.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5Parts.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5TextWidgets.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\kdewin.lib uuid.lib 
ole32.lib user32.lib netapi32.lib userenv.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\kdewin-qt-static.lib 
advapi32.lib shell32.lib ws2_32.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5SonnetUi.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5KIOWidgets.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5Completion.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5KIOGui.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5KIOCore.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5Crash.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5WindowSystem.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5JobWidgets.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\Qt5Concurrent.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5XmlGui.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\Qt5PrintSupport.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5IconThemes.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5ConfigWidgets.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5WidgetsAddons.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5Codecs.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5ConfigGui.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5Auth.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5AuthCore.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5GuiAddons.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5Service.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5I18n.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\Qt5Xml.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5CoreAddons.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5ConfigCore.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\Qt5DBus.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\KF5ItemViews.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\Qt5Widgets.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\Qt5Gui.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\Qt5Network.lib 
C:\Craft\BinaryFactory\windows-msvc2019_64-cl\lib\Qt5Core.lib kernel32.lib 
user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib 
uuid.lib comdlg32.lib advapi32.lib /MANIFEST 
/MANIFESTFILE:sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir/intermediate.manifest 
sheets\shape\CMakeFiles\calligra_shape_spreadsheet.dir/manifest.res" failed 
(exit code 1107) with the following output:

-- 
Mvh Dag


More information about the Kde-windows mailing list