Bug#1050944: jtreg6: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Sep 1 17:30:45 BST 2023


Hey tony & Vagrant,

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

Ah, I mistakenly confused "+w" as a synonym for "u+w". (I used to know
all the octal codes like the back of my hand, but there seems to be
little call to use them in the 2020s…)

> […] I went with the following for symmetry:
>
> execute_before_dh_strip_nondeterminism:
>         find  debian/ -type f -name jtreg.jar -print0 | xargs -0tr chmod u+w
>
> execute_after_dh_strip_nondeterminism:
>         find  debian/ -type f -name jtreg.jar -print0 | xargs -0tr chmod u-w

As you like… Although the `execute_after` portion feels a little
redundant to me. After all, it doesn't seem right that the build
system is generating read-only build artefacts to begin with. But
it's your package. :)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
       `-



More information about the pkg-java-maintainers mailing list