On 2023-08-31, Chris Lamb wrote:
> 2. The jtreg.jar file was being generated with 444 (read-only)
> permissions. This meant that strip-determinism could not fixup the
> file modification times of the files within that archive. It was
> actually printing: "dh_strip_nondeterminism: warning: Ignoring unwritable
> file: jtreg.jar".

Curious!

> --- a/debian/rules    2023-08-31 09:50:06.571624952 -0700
> --- b/debian/rules    2023-08-31 10:08:31.850276393 -0700
> @@ -33,3 +33,6 @@
>       # Generate the manpages
>       JT_HOME=./dist/jtreg/lib/ help2man --name="Regression Test Harness" 
> --help-option="-help all" dist/jtreg/bin/jtdiff > jtdiff.1
>       JT_HOME=./dist/jtreg/lib/ help2man --name="Regression Test Harness" 
> --help-option="-help all" dist/jtreg/bin/jtreg > jtreg.1
> +
> +execute_before_dh_strip_nondeterminism:
> +     find  debian/ -type f -name jtreg.jar -print0 | xargs -0tr chmod +w

Maybe this should be restricted to only make it writeable to the user
... e.g. chmod u+w or similar?


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to