Re: [Reproducible-builds] dh_strip_nondeterminism

2015-09-08 Thread Eugene Zhukov
Hi Chris,

On Tue, Sep 8, 2015 at 4:27 PM, Chris Lamb  wrote:
> Hi Eugene,
>
>> I was testing my epubcheck package built with ExperimentalToolchain
>> and noticed that jar file executable permissions get stripped.
>
> If you don't mind me asking:
>
I'm glad to help.

>  a) Does this matter? (Am merely curious, strip-nondeterminism should
>  not do this)
>
Yes, the jar is linked in /usr/bin/ via jarwrapper, so must be
executable. It's a command line tool.

>  b) How did you notice?
Installed the package and tried to run :)

Eugene

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Re: [Reproducible-builds] dh_strip_nondeterminism

2015-09-08 Thread Chris Lamb
Hi Eugene,

> I was testing my epubcheck package built with ExperimentalToolchain
> and noticed that jar file executable permissions get stripped.

If you don't mind me asking:

 a) Does this matter? (Am merely curious, strip-nondeterminism should
 not do this)

 b) How did you notice?


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Re: [Reproducible-builds] dh_strip_nondeterminism

2015-09-07 Thread Eugene Zhukov
On Mon, Sep 7, 2015 at 8:11 PM, Andrew Ayer  wrote:
> Hi Eugene,
>
> On Mon, 7 Sep 2015 19:49:56 +0300
> Eugene Zhukov  wrote:
>
>> I was testing my epubcheck package built with ExperimentalToolchain
>> and noticed that jar file executable permissions get stripped.
>> If I drop dh_strip_nondeterminism line from
>> /usr/share/cdbs/1/rules/debhelper.mk everything works as expected.
>> I don't really understand how this is related so I'd appreciate if you
>> could have a look.
>
> Do you mean the jar file itself, or files within the jar?
The jar file itself.

> (dh-)strip-nondeterminism should leave the execute bit alone within the
> jar, but I just checked and confirmed that it doesn't preserve the
> execute bit on the jar itself.  I can fix this.
Thanks for fixing!

Eugene

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds


Re: [Reproducible-builds] dh_strip_nondeterminism

2015-09-07 Thread Andrew Ayer
Hi Eugene,

On Mon, 7 Sep 2015 19:49:56 +0300
Eugene Zhukov  wrote:
 
> I was testing my epubcheck package built with ExperimentalToolchain
> and noticed that jar file executable permissions get stripped.
> If I drop dh_strip_nondeterminism line from
> /usr/share/cdbs/1/rules/debhelper.mk everything works as expected.
> I don't really understand how this is related so I'd appreciate if you
> could have a look.

Do you mean the jar file itself, or files within the jar?
(dh-)strip-nondeterminism should leave the execute bit alone within the
jar, but I just checked and confirmed that it doesn't preserve the
execute bit on the jar itself.  I can fix this.

Cheers,
Andrew

___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds