[
https://issues.apache.org/jira/browse/RATIS-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18101500#comment-18101500
]
Attila Doroszlai commented on RATIS-2639:
-----------------------------------------
Build depends on the environment, e.g. Mac and Linux produce different results.
reproducible-central has tooling to reduce environment differences (builds on
Linux, uses specific JDK).
{code}
git clone https://github.com/jvm-repo-rebuild/reproducible-central
cd reproducible-central
cp content/org/apache/ratis/ratis-3.{2,3}.0.buildspec
sed -i -e "s/version=3.2.0/version=3.3.0/" -e "s/gitTag=.*/&-rc2/" -e "s@mvn
-P@./mvnw -P@" content/org/apache/ratis/ratis-3.3.0.buildspec
./rebuild.sh content/org/apache/ratis/ratis-3.3.0.buildspec staging
{code}
> Make release .tar.gz files reproducible.
> ----------------------------------------
>
> Key: RATIS-2639
> URL: https://issues.apache.org/jira/browse/RATIS-2639
> Project: Ratis
> Issue Type: Improvement
> Components: build
> Reporter: Tsz-wo Sze
> Priority: Major
> Attachments: image-2026-08-03-11-26-40-659.png
>
>
> Currently, the [src|bin].tar.gz files generated by ./dev-support/make_rc.sh
> are not reproducible. According to Google, it is due to file ordering and
> metadata such user id. These problem can be fixed; see below:
> !image-2026-08-03-11-26-40-659.png|width=600!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)