You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Dave Thompson (JIRA)" <ji...@apache.org> on 2018/10/05 19:57:00 UTC

[jira] [Closed] (DAFFODIL-1938) RPM/tar/zips contain jars with different hashes

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

Dave Thompson closed DAFFODIL-1938.
-----------------------------------

Pulled latest updates from incubator-daffodil repository which included specified commit, 80d40e01f533ffe04fa8fa6e12be7b73d4eff269.

Verified changes specified in the commit comment by code review.

Performed the following commands to create daffodil rpm, tar and zip files, respectively:
 * sbt daffodil-cli/rpm:packageBin
 * sbt daffodil-cli/universal:packageZipTarball
 * sbt daffodil-cli/universal:packageBin

Extracted the jar files from each and performed md5sum checks on each set of jar files. Verified the md5sum hashes of jar files in each set were the same.

> RPM/tar/zips contain jars with different hashes
> -----------------------------------------------
>
>                 Key: DAFFODIL-1938
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1938
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Infrastructure
>            Reporter: Steve Lawrence
>            Assignee: Steve Lawrence
>            Priority: Critical
>             Fix For: 2.2.0
>
>
> When generating rpm, zip, and tar for release, the hashes of the daffodil jars are different in the rpm than in the zip and tar. Since it is rebuild, it appears the only changes are things like timestamps--the content is exactly the same. However, this makes it difficult to verify that the jars are the same during a release process. This appears to be a bug with the sbt-native-packager plugin always rebuilding the packaged jars each time it creates an rpm or zip. Issue has been opened on the sbt-native-packager bug tracker to investigate this: https://github.com/sbt/sbt-native-packager/issues/1130



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)