From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: "jar" tool and and reproducible builds - how? Date: Tue, 5 Nov 2019 09:20:12 +0100 Message-ID: <7da5c7ff-7933-3d5b-8905-8a8f29db32de@crazy-compilers.com> References: <20191104181842.0d392ece@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34675) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRu4Z-00080C-Sm for guix-devel@gnu.org; Tue, 05 Nov 2019 03:20:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRu4Y-00037O-N2 for guix-devel@gnu.org; Tue, 05 Nov 2019 03:20:19 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:49522) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iRu4Y-00035C-DA for guix-devel@gnu.org; Tue, 05 Nov 2019 03:20:18 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 476jJw3Z0gz1qqxR for ; Tue, 5 Nov 2019 09:20:16 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 476jJw3SWHz1qqkX for ; Tue, 5 Nov 2019 09:20:16 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id fzNDhYsYqc04 for ; Tue, 5 Nov 2019 09:20:15 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-49-229.dynamic.mnet-online.de [188.174.49.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 5 Nov 2019 09:20:15 +0100 (CET) Received: from [192.168.110.31] (lenashee.fritz.box [192.168.110.31]) by hermia.goebel-consult.de (Postfix) with ESMTP id AB87F60234 for ; Tue, 5 Nov 2019 09:20:15 +0100 (CET) In-Reply-To: <20191104181842.0d392ece@scratchpost.org> Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Am 04.11.19 um 18:18 schrieb Danny Milosavljevic: > I tried > > (substitute* "tools/Makefile.in" > ((" jar cf \\.\\./nesc.jar") > " zip -0 -X ../nesc.jar META-INF/MANIFEST.MF ")) > > but that doesn't seem to be enough. The ant-build-system contains phases dealing with this. Have a look at guix/buid/ant-build-system.scm, near the bottom. Noteble this runs "strip-jar-timestamps twice! -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |