From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CMPWMDn6ImSXJwAASxT56A (envelope-from ) for ; Tue, 28 Mar 2023 16:31:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SIq7MDn6ImSRKgAA9RJhRA (envelope-from ) for ; Tue, 28 Mar 2023 16:31:21 +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 84680357F for ; Tue, 28 Mar 2023 16:31:21 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=EIZVA6RO; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680013881; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MRBDP3tsTOS4R0saS++kEpScBPxBhvdhhXpkAbPxqMA=; b=sThjIlx55DPJi8uka4wtx03/ZaxIXdidr+5zERKMoUer40XIEQyLYjvOycf/+baI197b5d xJiPoMsAxffGIOml/QsO5xAZ3E0iS9eJEz3EOHJKsNl/JDXOgpjs2oCOjKndrMdPlQaL7t EQQtjPpkFQcME0PEIVaCbq/c1rN14j+KUMVElIKNK2tm+dQlo+sCt3v+YK47pO5jaQZokd hcu/7s1Q6/p5wF/fhwc+zFY5fo0Woqwb/Jk5TMMymMdyjK2LPZdeB4cT6qhQN+favPDsR5 HXqZTLFt8bEECdI2hgsZIHfKPbTM34O4q8NPUQptXyy/RjptxohArPQpmwl1zw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680013881; a=rsa-sha256; cv=none; b=VTW977tcLGjceV3QC/PwZejiARn6Y/p+gvzvwkCXMPFLchcQmKeFDtJrelx1Lv8nFuZt82 UnfitYfZifPoQLCF4AHco4wA6j34yt6B981gWCXVL1JryvvuWNfHAy0EPfHj8ahTFcjQVv cW+1aZyLYlgKQawKNaxeSAhcOHyP6w5fL+qppV7nZf0KGk/hKymy0Vn3GJQ5IBbBakNZKz v0r7THVUm3f0mJuIg8xQ9Fj2E8g/jxCVYkrwuh9Mk/cEjdkmHS935n8y4frffYoZj8YiwN 3XOu9SPAdDvIl/P/XPmFwaZcXIrCBixK9ce3UHGa5pzbKq3DcqnXZBI5BlAtDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=EIZVA6RO; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phAL0-0004jf-3A; Tue, 28 Mar 2023 10:30:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phAKy-0004iW-4C for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phAKx-0006tK-RI for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phAKx-0002cK-N1 for guix-patches@gnu.org; Tue, 28 Mar 2023 10:30:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62307] [PATCH core-updates v2 17/20] gnu: guile-static: Switch to gexps. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Mar 2023 14:30:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62307 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62307@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 62307-submit@debbugs.gnu.org id=B62307.16800137889859 (code B ref 62307); Tue, 28 Mar 2023 14:30:11 +0000 Received: (at 62307) by debbugs.gnu.org; 28 Mar 2023 14:29:48 +0000 Received: from localhost ([127.0.0.1]:50436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phAKZ-0002Yq-Qe for submit@debbugs.gnu.org; Tue, 28 Mar 2023 10:29:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phAKH-0002Vz-Ki for 62307@debbugs.gnu.org; Tue, 28 Mar 2023 10:29:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phAKC-0006T0-Dw; Tue, 28 Mar 2023 10:29:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=MRBDP3tsTOS4R0saS++kEpScBPxBhvdhhXpkAbPxqMA=; b=EIZVA6ROX+6PRjefQDAt hX5l916vv7R0898nnpXwWQveAxY5cCVXrixlJOm0FVfi0qnCYzyti5vOl7c5rPYRQuVfD1FE3Xwk6 2nNSJLirjY2S30+bO2nWRbT1iTevzhKrWxVHDx2XFBcOGTR0zuG0D7HmaeSGXpi2Bd/fpnTgmkyz9 +UaygSYoppJ+5Y8XdbcaqrqWKpEPUs0t5ETs2KpubtF+wrFMIaNLjell5KxOFVhykMqWWpBTHxiAD wM5SWCCb5gwYBaEdcaQFVFqyidBT9+89s9N45YykWt8TvvxibmF8zxH754lmaqJOwDt7/XONemxJV ad7vF0sgrZb3qw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phAKC-00026Y-0d; Tue, 28 Mar 2023 10:29:24 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 28 Mar 2023 16:28:49 +0200 Message-Id: <20230328142852.26635-18-ludo@gnu.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230328142852.26635-1-ludo@gnu.org> References: <87pm90bzva.fsf_-_@gnu.org> <20230328142852.26635-1-ludo@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: X-Migadu-Queue-Id: 84680357F X-Spam-Score: -2.03 X-Migadu-Spam-Score: -2.03 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: bTW34ZNi/JuU * gnu/packages/make-bootstrap.scm (make-guile-static): Switch to gexps. --- gnu/packages/make-bootstrap.scm | 58 ++++++++++++++++----------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm index 2eed01ece8..6bafc5697c 100644 --- a/gnu/packages/make-bootstrap.scm +++ b/gnu/packages/make-bootstrap.scm @@ -613,44 +613,44 @@ (define* (make-guile-static guile patches) (replace "libgc" libgc/static-libs))) (arguments (substitute-keyword-arguments (package-arguments guile) - ((#:configure-flags flags '()) + ((#:configure-flags flags #~'()) ;; When `configure' checks for ltdl availability, it ;; doesn't try to link using libtool, and thus fails ;; because of a missing -ldl. Work around that. - `(list "LDFLAGS=-ldl" "--enable-mini-gmp" + #~(list "LDFLAGS=-ldl" "--enable-mini-gmp" - ;; Guile does an LTO build by default, but in 3.0.9 it - ;; wrongfully picks 'ar' instead of 'gcc-ar', so work around - ;; it (see ). - ,@(if (version-prefix? "3.0" (package-version guile)) - '("AR=gcc-ar" "RANLIB=gcc-ranlib") - '()) + ;; Guile does an LTO build by default, but in 3.0.9 it + ;; wrongfully picks 'ar' instead of 'gcc-ar', so work around + ;; it (see ). + #$@(if (version-prefix? "3.0" (package-version guile)) + #~("AR=gcc-ar" "RANLIB=gcc-ranlib") + #~()) - ,@(if (hurd-target?) - '("--disable-jit") - '()))) + #$@(if (hurd-target?) + #~("--disable-jit") + #~()))) ((#:phases phases '%standard-phases) - `(modify-phases ,phases + #~(modify-phases #$phases - ;; Do not record the absolute file name of 'sh' in - ;; (ice-9 popen). This makes 'open-pipe' unusable in - ;; a build chroot ('open-pipe*' is fine) but avoids - ;; keeping a reference to Bash. - (delete 'pre-configure) + ;; Do not record the absolute file name of 'sh' in + ;; (ice-9 popen). This makes 'open-pipe' unusable in + ;; a build chroot ('open-pipe*' is fine) but avoids + ;; keeping a reference to Bash. + (delete 'pre-configure) - (add-before 'configure 'static-guile - (lambda _ - (substitute* "libguile/Makefile.in" - ;; Create a statically-linked `guile' - ;; executable. - (("^guile_LDFLAGS =") - "guile_LDFLAGS = -all-static") + (add-before 'configure 'static-guile + (lambda _ + (substitute* "libguile/Makefile.in" + ;; Create a statically-linked `guile' + ;; executable. + (("^guile_LDFLAGS =") + "guile_LDFLAGS = -all-static") - ;; Add `-ldl' *after* libguile-2.0.la. - (("^guile_LDADD =(.*)$" _ ldadd) - (string-append "guile_LDADD = " - (string-trim-right ldadd) - " -ldl\n"))))))) + ;; Add `-ldl' *after* libguile-2.0.la. + (("^guile_LDADD =(.*)$" _ ldadd) + (string-append "guile_LDADD = " + (string-trim-right ldadd) + " -ldl\n"))))))) ((#:tests? _ #f) ;; There are uses of `dynamic-link' in ;; {foreign,coverage}.test that don't fly here. -- 2.39.2