RFR: Fix jtreg build with /usr/bin/git available

Jan Kratochvil duke at openjdk.org
Thu Aug 18 07:51:33 UTC 2022


On Tue, 16 Aug 2022 19:13:04 GMT, Jan Kratochvil <duke at openjdk.org> wrote:

> I have tried to rebase JTREG on top of `jt6.0-b23` or `master` of jtharness but with `/usr/bin/git` available JTREG then does not build:
> 
> generate.release.file:
> BUILD FAILED
> .../jtreg/build/deps/jtharness/src/jtharness-jt6.0-b23/build/build.xml:277: exec returned: 128
> 
> This reverts a part of commit [8a0bc39980118fc47d9fbe161f1bc1fa75aa854b](https://github.com/openjdk/jtharness/commit/8a0bc39980118fc47d9fbe161f1bc1fa75aa854b) by @dbessono where this change is not described and it may have been unintentional.
> Unforunately I am not yet Author so I do not yet have a JBS account so I cannot file it to JBS (Java Bug System).

Yes, [current master](https://github.com/openjdk/jtharness/commit/b9f4a2c03135208608b7e1a6586be6fe57a062d6) does fix this issue (and sure in a better way):

generate.release.file:
     [echo] Warning: the latest git commit ID could not be determined
     [echo] generated /home/azul/azul/jtreg/make/../build/deps/jtharness/build/binaries/release file:
     [echo] =================================================================
     [echo] JTHARNESS_VERSION=6.0 b24
     [echo] BUILD_DATE=Aug 18, 2022

For b24 it would be nice to also deal with #35 but sure up to you.

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

PR: https://git.openjdk.org/jtharness/pull/34


More information about the jtharness-dev mailing list