From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uM7gM4tOnWIwEQEAbAwnHQ (envelope-from ) for ; Mon, 06 Jun 2022 02:47:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YDfRMotOnWKbawAAG6o9tA (envelope-from ) for ; Mon, 06 Jun 2022 02:47:07 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 509ED6E1B for ; Mon, 6 Jun 2022 02:47:07 +0200 (CEST) Received: from localhost ([::1]:45888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ny0te-0005Kd-Bw for larch@yhetil.org; Sun, 05 Jun 2022 20:47:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ny0ta-0005KU-As for guix-patches@gnu.org; Sun, 05 Jun 2022 20:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ny0ta-0000en-23 for guix-patches@gnu.org; Sun, 05 Jun 2022 20:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ny0ta-0008DM-0P for guix-patches@gnu.org; Sun, 05 Jun 2022 20:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55813] autogen: Use guile-3.0 Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Jun 2022 00:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55813 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 55813@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165447641831565 (code B ref -1); Mon, 06 Jun 2022 00:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 6 Jun 2022 00:46:58 +0000 Received: from localhost ([127.0.0.1]:33789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ny0tV-0008D2-Rq for submit@debbugs.gnu.org; Sun, 05 Jun 2022 20:46:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:53362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ny0tU-0008Cv-3F for submit@debbugs.gnu.org; Sun, 05 Jun 2022 20:46:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ny0tT-0005JD-ST for guix-patches@gnu.org; Sun, 05 Jun 2022 20:46:55 -0400 Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:55888) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ny0tR-0000df-U1 for guix-patches@gnu.org; Sun, 05 Jun 2022 20:46:55 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:20]) (Authenticated sender: vagrant@aikidev.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id EFB731AAD2 for ; Sun, 5 Jun 2022 17:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=reproducible-builds.org; s=1.vagrant; t=1654476412; bh=RHfRV80aRqLkoNtzQuBAegMsOO780kWwQ3T2sGAU8XI=; h=From:To:Subject:Date:From; b=Kbz3+jOeY0nPxpKfhY0jAL92CXTMy2RK+gtYXVeFX0tGZH3tBX9e3tNDnyvSbTLiD HjbP8GlR+hlHgYCIUDtks4r6h2wve3QDkm1rjmNvIhXxatcbboja2zPdIp5YjDlA9m Alj+XGIzGvfdD5G73+39l+izbdyvhM5Oxv56vHvh+YFrerRY/ZJ5WegWR7mLZBm4WH vWFqAa5ggyX79JX/dw2chH16Gv5aJBJreulsTMugDOroRUL5fslqX5t5BSJZ9BrEun RRfiO5pFBa/j+XDdkFIMR7cNmXJ4koiLmf4hhp8IbuZSOopV/ZZiu0id26AOx2A8aq 2q3taBFMoxhmg== From: Vagrant Cascadian Date: Sun, 05 Jun 2022 17:46:46 -0700 Message-ID: <87ilpe4o09.fsf@contorta> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=2600:3c01:e000:267:0:a171:de7:c; envelope-from=vagrant@reproducible-builds.org; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654476427; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=iX454Ry3TxUp4z/G8Kb2tu65TSZwEMT+RLIGsh8WrSU=; b=lu4Z7wJMR8RrrOihXCa3QqqVBHIZ40gex+UzVBkF/ScmsEwXmAfSfnCCs4TheCFeOmiVuC Km9d2Suq8PuphcxxHeqSI8v1sk5tsc6ozy5EWss72u8iHXymoG7xi+o3TYZyle4KNsyyZW wJS+dwW4m+GzJuxybXxENnnsGXM7zdZmPyCpq40NIX8M4C+TqaN1hVqMEj6qc4UHzzzwbQ rVmAVM9z0/RA/ubEOW1HnF0eSWR7o5S75jiSSz8pA4A0QjDO2pJMIdE7Y5P3F7WztNAZjh AY6pG5gsqiHY7DnBe8kuUH8rOWML1Nr3O178LbUz5qfI3bBwySGyJe7tUECJ/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654476427; a=rsa-sha256; cv=none; b=uQb7Rji5U1KB+YUyrNvH48f2vmn8UMwqo4fqGRQV+Ro962al2iWMU63tc51ipxpvjm0hNE fzeZr9YaKVFtyHltlm+5a5l7gQeANEHyKOzsEMVBBOvAYHJME8opHqOi360VuRDoaD/IvQ aPYjcGqkIYGisjqSjcym56gXpGJDStHQjrrrnR26L49IRGhJ5+Bui7P2TwupCup/v1cIgo wEaGz+yd0KAMBAH516cVUaBHBLk22/5WSO42aStMpjexA0Sb/d5f9SX/I7eXSCWdBlA/FC b3YH9v5YJG8JaD/GhSgZPcWPD7rWl38uz1ariHxbg7kWXrAjNv260q36+vb11A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reproducible-builds.org header.s=1.vagrant header.b=Kbz3+jOe; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=reproducible-builds.org header.s=1.vagrant header.b=Kbz3+jOe; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 509ED6E1B X-Spam-Score: -0.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: B6mHxa0PJWxV --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Some relatively simply patches make autogen build with guile-3.0. Used by both Debian an openSUSE, so already has a bit of field testing. I'm not 100% sure that it wasn't just dumb luck, but it seemed like building autogen with guile-3.0 was more likely to build reproducibly. It did require adding automake and autoconf to inputs, seeming to detect that something changed since configure was generated. Not sure if that could be avoided by being cleverer, or if that is an acceptible change. live well, vagrant --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0003-gnu-autogen-Build-with-guile-3.0.patch Content-Transfer-Encoding: quoted-printable From=209745d65234b70115a07d324f5514b125ad97369a Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 5 Jun 2022 16:05:02 -0700 Subject: [PATCH 3/3] gnu: autogen: Build with guile 3.0. * gnu/packages/autogen.scm (autogen)[arguments]: Add 'support-guile-3.0 pha= se. [inputs]: Remove guile-2.2 and add automake, autoconf and guile-3.0. =2D-- gnu/packages/autogen.scm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/gnu/packages/autogen.scm b/gnu/packages/autogen.scm index d0c8df17ec..7e22167be5 100644 =2D-- a/gnu/packages/autogen.scm +++ b/gnu/packages/autogen.scm @@ -25,6 +25,7 @@ (define-module (gnu packages autogen) #:use-module (guix download) #:use-module (guix build-system gnu) #:use-module (gnu packages) + #:use-module (gnu packages autotools) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages base) @@ -49,7 +50,7 @@ (define-public autogen "def_bf[MAXNAMELEN + 10]"))))) (build-system gnu-build-system) (native-inputs (list pkg-config which)) =2D (inputs (list guile-2.2 perl)) ; for doc generator mdoc + (inputs (list automake autoconf guile-3.0 perl)) ; for doc ge= nerator mdoc (arguments '(#:configure-flags ;; XXX Needed to build 5.18.16. ./configure fails without it: @@ -62,6 +63,21 @@ (define-public autogen =20 #:phases (modify-phases %standard-phases + (add-after 'unpack 'support-guile-3.0 + ;; Upstream bug: + ;; https://sourceforge.net/p/autogen/bugs/196/ + ;; + ;; Supported in Debian and openSUSE: + ;; https://salsa.debian.org/debian/autogen/-/blob/master/debian= /patches/40_suse_04-guile-version.patch + (lambda _ + (substitute* + "agen5/guile-iface.h" + (("#elif GUILE_VERSION < 203000") "#elif GUILE_VERSION < 30= 1000")) + (substitute* + (list + "configure" + "config/guile.m4") + (("2.2 2.0 1.8") "3.0 2.2 2.0 1.8")))) (add-before 'build 'set-man-page-date ;; Avoid embedding the current date for reproducible builds (lambda _ =2D-=20 2.35.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYp1OdwAKCRDcUY/If5cW qghzAPsFJ2ZAjbBp62GBGGmNCRya4kedbd422xxjjlQThT6plwD6AktrPwRA1uNR KeEwNwwunq5rE/2w2PDn4bZONm2aagI= =/5Fn -----END PGP SIGNATURE----- --==-=-=--