You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows export fails attempting to code sign on non-windows platform. This seems to occur because godot attempts to use the same path for the -in and -out parameters to osslsigncode, but osslsigncode fails attempting to output to a file that already exists.
# godot -v --export "Windows Desktop" export/test.exe
Godot Engine v3.3.2.stable.official - https://godotengine.org
CORE API HASH: 14308214189771907951
EDITOR API HASH: 5656882008335453207
Loading resource: res://default_env.tres
Construct gdnative interface
Destruct gdnative interface
Class 'BulletPhysicsDirectBodyState' is not exposed, skipping.
Class 'BulletPhysicsDirectSpaceState' is not exposed, skipping.
Class 'BulletPhysicsServer' is not exposed, skipping.
Class 'GDScriptNativeClass' is not exposed, skipping.
Class 'IP_Unix' is not exposed, skipping.
Class 'InputDefault' is not exposed, skipping.
Class 'Physics2DDirectBodyStateSW' is not exposed, skipping.
Class 'Physics2DDirectSpaceStateSW' is not exposed, skipping.
Class 'Physics2DServerSW' is not exposed, skipping.
Class 'ResourceImporterMP3' is not exposed, skipping.
Class 'ResourceImporterOGGVorbis' is not exposed, skipping.
Loading resource: /root/.config/godot/editor_settings-3.tres
EditorSettings: Load OK!
Loaded builtin certs
EditorSettings: Save OK!
savepack: begin: Packing steps: 102
savepack: step 2: Storing File: res://Main.tscn
savepack: step 35: Storing File: res://default_env.tres
savepack: step 68: Storing File: res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex
savepack: step 68: Storing File: res://icon.png.import
savepack: step 102: Storing File: res://icon.png
savepack: step 102: Storing File: res://project.binary
savepack: end
codesign (export/test.exe): Failed to create file: export/test.exe
140257349455744:error:02001011:system library:fopen:File exists:../crypto/bio/bss_file.c:69:fopen('export/test.exe','w+bx')
140257349455744:error:2006D002:BIO routines:BIO_new_file:system lib:../crypto/bio/bss_file.c:78:
Failed
EditorSettings: Save OK!
osslsigncode-test.zip
The codesign/identity and the codesign/password fields in export_presets.cfg have been intentionally left blank for obvious reasons, but need to be set with a valid code signing certificate and password to reproduce this.
The text was updated successfully, but these errors were encountered:
Godot version
v3.3.2.stable.official
System information
GNU/Linux 6edf56f2a00a (barichello/godot-ci:3.3.2)
Issue description
Windows export fails attempting to code sign on non-windows platform. This seems to occur because godot attempts to use the same path for the
-in
and-out
parameters toosslsigncode
, butosslsigncode
fails attempting to output to a file that already exists.Steps to reproduce
osslsigncode
godot -v --export "Windows Desktop" export/test.exe
You can also get the same error calling
osslsigncode
directly with the same path for-in
and-out
:It succeeds if an
-out
path is specified that does not exist:Minimal reproduction project
osslsigncode-test.zip
The
codesign/identity
and thecodesign/password
fields inexport_presets.cfg
have been intentionally left blank for obvious reasons, but need to be set with a valid code signing certificate and password to reproduce this.The text was updated successfully, but these errors were encountered: