Not able to build source code on windows 10 x64

42 views
Skip to first unread message

Yogesh Kumar

unread,
Aug 21, 2019, 3:10:44 AM8/21/19
to Cyberduck
Hi,
I was trying to build the project on Windows 10 x64 using VS 2019 developer command prompt. All the prerequisites are configured in the system but while building using 'mvn verify -DskipTests' I div into the error listed below.

[msbuild] InscribeBundleEngine:
  [msbuild]   C:\Program Files (x86)\WiX Toolset v3.11\bin\insignia.exe -ib C:\Users\ajay\Desktop\cyberduck\windows\target\Release\Cyberduck-Installer-7.1.0.31197.exe -out C:\Users\ajay\Desktop\cyberduck\windows\target\obj\Cyberduck.Bootstrapper\Release\Cyberduck-Installer-7.1.0.31197.exe
  [msbuild]   Windows Installer XML Toolset Inscriber version 3.11.1.2318
  [msbuild]   Copyright (c) .NET Foundation and contributors. All rights reserved.
  [msbuild]
  [msbuild] SignBundleEngine:
  [msbuild]   "C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86\signtool.exe" sign /d "Cyberduck" /fd sha256 /tr http://timestamp.globalsign.com/scripts/timestamp.dll /td sha256 /a /sm /n "iterate GmbH" "C:\Users\ajay\Desktop\cyberduck\windows\target\obj\Cyberduck.Bootstrapper\Release\Cyberduck-Installer-7.1.0.31197.exe"
  [msbuild] EXEC : SignTool error : No certificates were found that met all the given criteria. [C:\Users\ajay\Desktop\cyberduck\windows\src\main\wix\Bootstrapper\Cyberduck.Bootstrapper.wixproj]
  [msbuild] C:\Users\ajay\Desktop\cyberduck\windows\src\main\wix\Bootstrapper\Cyberduck.Bootstrapper.wixproj(76,5): error MSB3073: The command ""C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86\signtool.exe" sign /d "Cyberduck" /fd sha256 /tr http://timestamp.globalsign.com/scripts/timestamp.dll /td sha256 /a /sm /n "iterate GmbH" "C:\Users\ajay\Desktop\cyberduck\windows\target\obj\Cyberduck.Bootstrapper\Release\Cyberduck-Installer-7.1.0.31197.exe"" exited with code 1.
  [msbuild] Done Building Project "C:\Users\ajay\Desktop\cyberduck\windows\src\main\wix\Bootstrapper\Cyberduck.Bootstrapper.wixproj" (Build target(s)) -- FAILED.
  [msbuild]
  [msbuild] Build FAILED.
  [msbuild]
  [msbuild] "C:\Users\ajay\Desktop\cyberduck\windows\src\main\wix\Bootstrapper\Cyberduck.Bootstrapper.wixproj" (Build target) (1) ->
  [msbuild] (AddSolutionDefineConstants target) ->
  [msbuild]   C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(1199,5): warning : Solution properties are only available during IDE builds or when building the solution file from the command line. To turn off this warning set <DefineSolutionProperties>false</DefineSolutionProperties> in your .wixproj file. [C:\Users\ajay\Desktop\cyberduck\windows\src\main\wix\Bootstrapper\Cyberduck.Bootstrapper.wixproj]
  [msbuild]
  [msbuild]
  [msbuild] "C:\Users\ajay\Desktop\cyberduck\windows\src\main\wix\Bootstrapper\Cyberduck.Bootstrapper.wixproj" (Build target) (1) ->
  [msbuild] (SignBundleEngine target) ->
  [msbuild]   EXEC : SignTool error : No certificates were found that met all the given criteria. [C:\Users\ajay\Desktop\cyberduck\windows\src\main\wix\Bootstrapper\Cyberduck.Bootstrapper.wixproj]
  [msbuild]   C:\Users\ajay\Desktop\cyberduck\windows\src\main\wix\Bootstrapper\Cyberduck.Bootstrapper.wixproj(76,5): error MSB3073: The command ""C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86\signtool.exe" sign /d "Cyberduck" /fd sha256 /tr http://timestamp.globalsign.com/scripts/timestamp.dll /td sha256 /a /sm /n "iterate GmbH" "C:\Users\ajay\Desktop\cyberduck\windows\target\obj\Cyberduck.Bootstrapper\Release\Cyberduck-Installer-7.1.0.31197.exe"" exited with code 1.
  [msbuild]
  [msbuild]     1 Warning(s)
  [msbuild]     2 Error(s)
  [msbuild]
  [msbuild] Time Elapsed 00:00:10.77
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Cyberduck 7.1.0-SNAPSHOT:
[INFO]
[INFO] Cyberduck .......................................... SUCCESS [  3.419 s]
[INFO] core ............................................... SUCCESS [ 23.126 s]
[INFO] binding ............................................ SUCCESS [  4.480 s]
[INFO] profiles ........................................... SUCCESS [  1.541 s]
[INFO] test ............................................... SUCCESS [  1.395 s]
[INFO] libcore ............................................ SUCCESS [  2.984 s]
[INFO] Cyberduck.Core ..................................... SUCCESS [ 24.367 s]
[INFO] Cyberduck.Core.Native .............................. SUCCESS [ 40.019 s]
[INFO] i18n ............................................... SUCCESS [ 25.159 s]
[INFO] cryptomator ........................................ SUCCESS [  2.568 s]
[INFO] Cyberduck.Cryptomator .............................. SUCCESS [ 11.826 s]
[INFO] bonjour ............................................ SUCCESS [  2.775 s]
[INFO] Cyberduck.Bonjour .................................. SUCCESS [ 11.300 s]
[INFO] Cyberduck.Bonjour.Native ........................... SUCCESS [ 19.243 s]
[INFO] importer ........................................... SUCCESS [  2.329 s]
[INFO] Cyberduck.Importer ................................. SUCCESS [ 11.686 s]
[INFO] oauth .............................................. SUCCESS [  1.775 s]
[INFO] udt ................................................ SUCCESS [  1.934 s]
[INFO] irods .............................................. SUCCESS [  1.942 s]
[INFO] webdav ............................................. SUCCESS [  2.711 s]
[INFO] s3 ................................................. SUCCESS [  3.220 s]
[INFO] spectra ............................................ SUCCESS [  2.067 s]
[INFO] googlestorage ...................................... SUCCESS [  2.147 s]
[INFO] openstack .......................................... SUCCESS [  2.328 s]
[INFO] azure .............................................. SUCCESS [  2.093 s]
[INFO] ssh ................................................ SUCCESS [  3.109 s]
[INFO] ftp ................................................ SUCCESS [  2.616 s]
[INFO] googledrive ........................................ SUCCESS [  2.221 s]
[INFO] backblaze .......................................... SUCCESS [  2.252 s]
[INFO] dropbox ............................................ SUCCESS [  2.156 s]
[INFO] nio ................................................ SUCCESS [  1.886 s]
[INFO] hubic .............................................. SUCCESS [  1.647 s]
[INFO] onedrive ........................................... SUCCESS [  2.451 s]
[INFO] dracoon ............................................ SUCCESS [  8.286 s]
[INFO] storegate .......................................... SUCCESS [  6.221 s]
[INFO] brick .............................................. SUCCESS [  1.731 s]
[INFO] nextcloud .......................................... SUCCESS [  1.799 s]
[INFO] manta .............................................. SUCCESS [  2.371 s]
[INFO] protocols .......................................... SUCCESS [  1.481 s]
[INFO] Cyberduck.Protocols ................................ SUCCESS [ 40.969 s]
[INFO] osx ................................................ SUCCESS [  4.939 s]
[INFO] Cyberduck.Native ................................... FAILURE [01:45 min]
[INFO] cli ................................................ SKIPPED
[INFO] Cyberduck.Cli ...................................... SKIPPED
[INFO] cli-linux .......................................... SKIPPED
[INFO] cli-windows ........................................ SKIPPED
[INFO] cli-osx ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:42 min
[INFO] Finished at: 2019-08-16T16:42:26+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (run-ant-installer-target) on project Cyberduck.Native: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] C:\Users\ajay\Desktop\cyberduck\windows\build.xml:108: null returned: 1
[ERROR] around Ant part ...<ant antfile="C:\Users\ajay\Desktop\cyberduck\windows/build.xml" dir="." target="package"/>... @ 7:94 in C:\Users\ajay\Desktop\cyberduck\windows\target\antrun\build-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :Cyberduck.Native
PS C:\Users\ajay\Desktop\cyberduck>

David Kocher

unread,
Aug 23, 2019, 2:39:05 AM8/23/19
to Cyberduck
Try building by invoking mvn with the -DskipSign flag.

— David
> --
> --
> You received this message because you are subscribed to the Google Groups "Cyberduck" group. To post to this group, send email to cybe...@googlegroups.com
> To unsubscribe from this group, send email to cyberduck+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/cyberduck
> --
> Post bug reports and feature requests
> http://trac.cyberduck.ch/newticket
> --
> Support development
> http://cyberduck.ch/donate/
>
> ---
> You received this message because you are subscribed to the Google Groups "Cyberduck" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cyberduck+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/cyberduck/47f51c03-a7d2-41ab-8bfd-85bba09194b5%40googlegroups.com.

Yogesh Kumar

unread,
Aug 28, 2019, 1:29:10 AM8/28/19
to cybe...@googlegroups.com
Hey thanks for your support and the issue is gone away now however I'm unable to run the tests as it is throwing NullPointerException while running with "mvn test -DskipITs".

Reply all
Reply to author
Forward
0 new messages