RFR: 8279834: Alpine Linux fails to build when --with-source-date enabled

Erik Joelsson erikj at openjdk.java.net
Tue Jan 11 13:57:23 UTC 2022


On Tue, 11 Jan 2022 10:25:31 GMT, Andrew Leonard <aleonard at openjdk.org> wrote:

> The new reproducible build jar & jmod feature exposed a problem on Alpline linux whereby when --with-source-date is specified the IS_GNU_DATE setting was actually wrong. It was assuming the BusyBox "date" tool on Alpine linux was BSD compatible, but it is actually GNU syntax compatible.
> 
> This PR additionally checks for BusyBox when determining the date tool version compatibility.
> 
> Signed-off-by: Andrew Leonard <anleonar at redhat.com>

Marked as reviewed by erikj (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/7025



More information about the build-dev mailing list