You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/07/19 21:13:00 UTC

[jira] [Commented] (COMPRESS-583) 1.21 generates different output binaries compared to older versions as well as on different OSes

    [ https://issues.apache.org/jira/browse/COMPRESS-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17383588#comment-17383588 ] 

Michael Osipov commented on COMPRESS-583:
-----------------------------------------

Did you run diffoscope on it?

> 1.21 generates different output binaries compared to older versions as well as on different OSes
> ------------------------------------------------------------------------------------------------
>
>                 Key: COMPRESS-583
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-583
>             Project: Commons Compress
>          Issue Type: Bug
>    Affects Versions: 1.21
>            Reporter: Chanseok Oh
>            Priority: Major
>
> Upgrading {{commons-compress}} had always been generating the same compressed output byte-to-byte for the same input (i.e., their SHA checksum didn't change between versions). However, starting with 1.21, we noticed it's generating different output than what previous versions are generating.
> We also noticed that the same code generates different binaries on different OSes. For example, 1.21 on Linux is different from 1.21 on Mac.
> However, at least on the same OS, 1.21 seems to reproducibly generate the same output.
> See the context at https://github.com/GoogleContainerTools/jib/pull/3342



--
This message was sent by Atlassian Jira
(v8.3.4#803005)