Bug 389799 - craft nsis fails
Summary: craft nsis fails
Status: RESOLVED FIXED
Alias: None
Product: Craft
Classification: Developer tools
Component: Core (show other bugs)
Version: stable
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Hannah von Reth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-02 14:10 UTC by Jarosław Staniek
Modified: 2018-02-02 17:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Logs from craft -v nsis (474.84 KB, application/octet-stream)
2018-02-02 14:22 UTC, Jarosław Staniek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jarosław Staniek 2018-02-02 14:10:55 UTC
Actual result: Installer creation advertises 'craft nsis' installation but this fails.

Expected: 'craft nsis' installs.

Is is good idea to have a script or so to test availability of third party binaries?

LOG:
​PS D:\Craft\craft-2017.12> craft nsis
Craft Root          : D:\Craft
Craft               : R:\
Version             : master
ABI                 : windows-msvc2015_64-cl
Svn directory       : D:\craft\download\svn
Git directory       : Q:\
Download directory  : D:\craft\download
=======================================================================================================================================

*** Handling package: dev-util/nsis, action: all ***
*** Action: fetch for dev-util/nsis ***
*** Action: unpack for dev-util/nsis ***
executing command: c:\Program Files\7-Zip\7za.exe x -r -y -oR:\build\dev-util\nsis\work D:\craft\download\nsis-3.02.1.zip -bso2 -bsp1
*** Action: compile for dev-util/nsis ***
*** Action: cleanimage for dev-util/nsis ***
*** Action: install for dev-util/nsis ***
Action: install for dev-util/nsis FAILED
*** Craft all failed: dev-util/nsis after 1 second ***
fatal error: package dev-util/nsis all failed​
Comment 1 Hannah von Reth 2018-02-02 14:13:45 UTC
Installing nsis works fine here, you might have a faulty download or what ever.
Please attach you full logs from craft as the output here is useless.
Comment 2 Jarosław Staniek 2018-02-02 14:14:12 UTC
BTW, the D:\craft\download\nsis-3.02.1.zip file exists.
Comment 3 Hannah von Reth 2018-02-02 14:17:06 UTC
its obvious that the file exists as it was extracted, as you can see in your log.
Have you reinstalled craft since your bug report from yesterday?
Comment 4 Jarosław Staniek 2018-02-02 14:22:26 UTC
Created attachment 110308 [details]
Logs from craft -v nsis
Comment 5 Jarosław Staniek 2018-02-02 14:25:29 UTC
I tried again but the same error appears. Then I followed the in comments in settings template and executed 'craft craft' and also updated recipes. I wonder if this makes sense. 
Executed test build of kate without problem.
Comment 6 Hannah von Reth 2018-02-02 14:26:48 UTC
Please try to reinstall dev-util/shimgen.
If the it continues to fail please report the output of
craft -i dev-util/shimgen

For how to reteive log files, pelase read https://community.kde.org/Craft#Troubleshooting .
Comment 7 Jarosław Staniek 2018-02-02 17:01:31 UTC
'craft dev-util/shimgen' helped, thanks. Is it set as depenency of nsis?
Comment 8 Hannah von Reth 2018-02-02 17:05:57 UTC
Its a base dependency and should already have ben installed.
Not sure why it wasn't in your setup.