You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2012/06/02 12:48:24 UTC

[jira] [Resolved] (JCR-3325) check-release script fails to compute hashes on Cygwin (conf'd to text mode)

     [ https://issues.apache.org/jira/browse/JCR-3325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke resolved JCR-3325.
---------------------------------

    Resolution: Fixed

I have worked around the openssl problem by using a different command line syntax (argument instead of stdin redirection).

There doesn't seem to be a simple fix for gpg, which appears to use text mode even when opening named files; it appears this is a problem of the Cygwin port, as the source seems to conditionally setmode() the file to binary.

I may open bugs against the ports; in which case I'll update this issue with links.
                
> check-release script fails to compute hashes on Cygwin (conf'd to text mode)
> ----------------------------------------------------------------------------
>
>                 Key: JCR-3325
>                 URL: https://issues.apache.org/jira/browse/JCR-3325
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>         Attachments: JCR-3325.patch
>
>
> In check-release.sh, the invocations for openssl and qgp do not work with Cygwin (text mode), because both programs apparently fail to read binary from stdin (that's a bug in both programs).
> For openssl, the simple work around is to pass the filename as parameter instead of redirecting stdin.
> For gpg, I haven't figured out yet how to fix it.
> (Fixing the openssl invocation at least makes 2 out of 3 hashes match)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira