[Ohrrpgce] [ohrrpgce/ohrrpgce] Can't distribute for Linux: "tar.exe reported failure" or "couldn't run tar" (#1157)

Ralph Versteegen notifications at github.com
Mon Aug 24 06:33:25 PDT 2020


Both distributing a .deb or a .tar.gz for Linux are broken, at least when running on Windows, when either the path to tar.exe (in support/) contains a space, or the name of the game (and hence .tar filename). They both call `create_tarball`.

This is apparently two different very similar bugs.
The first (I couldn't figure out what encoding this is) is demonstrated by:
> 1573,1  C:\Users\Admin\Google Äèñê\OHRRPGCE\Polaris\0_Distant Polaris\SDL2\support\tar.exe --version > "C:\Users\Admin\AppData\Roaming\OHRRPGCE\temp_stdout.518281.tmp" 2> "C:\Users\Admin\AppData\Roaming\OHRRPGCE\temp_stderr.99769.tmp"
> 1573,3  safe_shell()=1 stderr:"C:\Users\Admin\Google" ­¥ ï¥âáï ¢­ãâ७­¥© ¨«¨ ¢­¥è­¥©
> ª®¬ ­¤®©, ¨á¯®«­ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â­ë¬ ä ©«®¬.
> 
> 1573,3  ! ERROR: couldn't run tar
> "C:\Users\Admin\Google" ­¥ ï¥âáï ¢­ãâ७­¥© ¨«¨ ¢­¥è­¥©
> ª®¬ ­¤®©, ¨á¯®«­ï¥¬®© ¯à®£à ¬¬®© ¨«¨ ¯ ª¥â­ë¬ ä ©«®¬.

That last ERROR is shown on the screen.

The second happens when there's a space in the .tar file, it shows an error "tar.exe reported failure, errorcode 2"

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1157
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20200824/3ce88b41/attachment.html>


More information about the Ohrrpgce mailing list