GNU bug report logs - #55751
[PATCH 0/8] Towards reproducible openjdk

Previous Next

Package: guix-patches;

Reported by: dannym <at> scratchpost.org

Date: Wed, 1 Jun 2022 12:59:01 UTC

Severity: normal

Tags: patch

Done: Vagrant Cascadian <vagrant <at> reproducible-builds.org>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 55751 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 55751 <at> debbugs.gnu.org
Subject: Re: [bug#55751] [PATCH 1/8] gnu: openjdk9: Make build reproducible.
Date: Wed, 21 Sep 2022 22:18:10 +0200
[Message part 1 (text/plain, inline)]
Hi,

On Wed, 01 Jun 2022 15:18:24 +0200
Maxime Devos <maximedevos <at> telenet.be> wrote:

> dannym <at> scratchpost.org schreef op wo 01-06-2022 om 15:00 [+0200]:
> > +                             (let ((code (system* "unzip" "--" zip)))
> > +                               (write code)
> > +                               (newline)
> > +                               (when (> (status:exit-val code) 1) ; 1 is just a warning  
> 
> What's the warning?  Maybe the warning can be addressed or we could ask
> unzip to not do warnings and then this could simplified to (invoke
> "unzip" ...).

In jmod files, there's a weird header in front and the warning is that it's
skipping that header.

> 
> > +                                 (raise (condition (&invoke-error
> > +                                                    (program "unzip")
> > +                                                    (arguments (list "--" zip))
> > +                                                    (exit-status (status:exit-val code))
> > +                                                    (term-signal (status:term-sig code))
> > +                                                    (stop-signal (status:stop-sig code))))))))  
> 
> This block could use a block explaining what it's for.
> Likewise for the other undocumented block of code.

Sure. I'll add a comment.

It's basically just like "invoke" with a change in the exit-val check
(1 instead of 0).
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 269 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.