https://bugs.kde.org/show_bug.cgi?id=412052
Bug ID: 412052 Summary: On Windows, craft --package extragear/kdeconnect-kde fails to build NSIS package Product: Craft Version: unspecified Platform: MS Windows OS: MS Windows Status: REPORTED Severity: normal Priority: NOR Component: Blueprints Assignee: vonr...@kde.org Reporter: jimbo1...@protonmail.com CC: kde-wind...@kde.org Target Milestone: --- SUMMARY STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT PS C:\CraftRoot> craft --package extragear/kdeconnect-kde Craft : C:\CraftRoot Version : master ABI : windows-msvc2017_64-cl Download directory : C:\CraftRoot\download ====================================================================================================================================== *** Handling package: extragear/kdeconnect-kde, action: package *** *** Action: package for extragear/kdeconnect-kde *** Overriding C:\CraftRoot\build\extragear\kdeconnect-kde\archive\bin\data\info\dir Overriding C:\CraftRoot\build\extragear\kdeconnect-kde\archive\bin\data\info\dir executing command: C:\CraftRoot\dev-utils\bin\7za.exe a -r C:\CraftRoot\tmp\kdeconnect-kde-master-8a25eb6f-master-windows-msvc2017_64-cl-dbg.7z -bso2 -bsp1 C:\CraftRoot\build\extragear\kdeconnect-kde\archive-dbg\* executing command: C:\CraftRoot\dev-utils\bin\7za.exe a -r C:\CraftRoot\tmp\kdeconnect-kde-master-8a25eb6f-master-windows-msvc2017_64-cl.7z -bso2 -bsp1 C:\CraftRoot\build\extragear\kdeconnect-kde\archive\* *** Craft package succeeded: extragear/kdeconnect-kde after 4 minutes 23 seconds *** Failed to configure C:\CraftRoot\craft\bin\Packager\Nsis\NullsoftInstaller.nsi: @{exename} is not in variables 169: !insertmacro SnoreShortcut "$SMPROGRAMS\KDE Connect.lnk" "$INSTDIR\bin\@{exename}.exe" "@{AppUserModelID}" Traceback (most recent call last): File "C:\CraftRoot\craft\bin\craft.py", line 266, in <module> success = main() File "C:\CraftRoot\craft\bin\craft.py", line 254, in main if not CraftCommands.run(package, action, tempArgs): File "C:\CraftRoot\craft\bin\CraftCommands.py", line 288, in run if not handlePackage(info, action, directTargets=directTargets): File "C:\CraftRoot\craft\bin\CraftCommands.py", line 75, in handlePackage success = doExec(package, action) File "C:\CraftRoot\craft\bin\CraftCommands.py", line 41, in doExec ret = package.instance.runAction(action) File "C:\CraftRoot\craft\bin\Package\PackageBase.py", line 221, in runAction if not getattr(self, step)(): File "C:\CraftRoot\etc\blueprints\locations\craft-blueprints-kde\extragear\kdeconnect-kde\kdeconnect-kde.py", line 74, in createPackage return TypePackager.createPackage(self) File "C:\CraftRoot\craft\bin\Packager\TypePackager.py", line 77, in createPackage return self.__packager.createPackage(self) File "C:\CraftRoot\craft\bin\Packager\NullsoftInstallerPackager.py", line 198, in createPackage if not self.generateNSISInstaller(defines): File "C:\CraftRoot\craft\bin\Packager\NullsoftInstallerPackager.py", line 174, in generateNSISInstaller if not utils.configureFile(self.scriptname, configuredScrip, defines): File "C:\CraftRoot\craft\bin\utils.py", line 804, in configureFile raise Exception(f"Failed to configure {inFile}: @{{{match}}} is not in variables\n" Exception: Failed to configure C:\CraftRoot\craft\bin\Packager\Nsis\NullsoftInstaller.nsi: @{exename} is not in variables 169: !insertmacro SnoreShortcut "$SMPROGRAMS\KDE Connect.lnk" "$INSTDIR\bin\@{exename}.exe" "@{AppUserModelID}" EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: Windows 10 x64 version 1903 -- You are receiving this mail because: You are watching all bug changes.