From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#38162: icedtea "jar" tool could automatically pack reproducible jars Date: Mon, 11 Nov 2019 21:59:13 +0100 Message-ID: <87pnhym8ny.fsf@gnu.org> References: <20191110154849.1123db10@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53563) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUGn6-0007PC-3j for bug-guix@gnu.org; Mon, 11 Nov 2019 16:00:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUGn5-0001J2-6O for bug-guix@gnu.org; Mon, 11 Nov 2019 16:00:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47233) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUGn5-0001IP-2o for bug-guix@gnu.org; Mon, 11 Nov 2019 16:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iUGn4-0002vF-Ub for bug-guix@gnu.org; Mon, 11 Nov 2019 16:00:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20191110154849.1123db10@scratchpost.org> (Danny Milosavljevic's message of "Sun, 10 Nov 2019 15:48:49 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 38162@debbugs.gnu.org Hi Danny, Danny Milosavljevic skribis: > it would be better if icedtea's "jar" tool automatically packed reproduci= ble jar > files instead of us doing some barely safe unzip-then-rezip-with-specific= -order > in the ant-build-system. > > It could check the environment variable SOURCE_DATE_EPOCH and then use th= at as > timestamp for the zip entries. Someone proposed patches several months ago to reset timestamps in jar/zip files, which I reviewed, but then lost track of (which may well be my fault!) and I can=E2=80=99t find them on guix-patches now. If you don=E2=80=99t mind researching a bit :-), this could be helpful. Ludo=E2=80=99.