From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iGzgLyDuG2I/eAAAgWs5BA (envelope-from ) for ; Sun, 27 Feb 2022 22:33:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UGGpLCDuG2J1+QAAauVa8A (envelope-from ) for ; Sun, 27 Feb 2022 22:33:20 +0100 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 6014F3FA52 for ; Sun, 27 Feb 2022 22:33:20 +0100 (CET) Received: from localhost ([::1]:32866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nORAN-0001rt-85 for larch@yhetil.org; Sun, 27 Feb 2022 16:33:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nORA6-0001rH-PB for guix-patches@gnu.org; Sun, 27 Feb 2022 16:33:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37259) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nORA6-0005qc-H8 for guix-patches@gnu.org; Sun, 27 Feb 2022 16:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nORA6-0008KH-EC for guix-patches@gnu.org; Sun, 27 Feb 2022 16:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [PATCH v7 16/24] gnu: chez-scheme: Use shared zlib and lz4. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Feb 2022 21:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53878@debbugs.gnu.org, Liliana Marie Prikler , zimoun Cc: Philip McGrath , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxime Devos , raingloom , Liliana Marie Prikler , Attila Lendvai , Malte Gerdes Received: via spool by 53878-submit@debbugs.gnu.org id=B53878.164599752631899 (code B ref 53878); Sun, 27 Feb 2022 21:33:02 +0000 Received: (at 53878) by debbugs.gnu.org; 27 Feb 2022 21:32:06 +0000 Received: from localhost ([127.0.0.1]:59380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOR9B-0008IR-Tw for submit@debbugs.gnu.org; Sun, 27 Feb 2022 16:32:06 -0500 Received: from mail-qv1-f42.google.com ([209.85.219.42]:36770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOR93-0008Gm-Va for 53878@debbugs.gnu.org; Sun, 27 Feb 2022 16:31:58 -0500 Received: by mail-qv1-f42.google.com with SMTP id w7so11006304qvr.3 for <53878@debbugs.gnu.org>; Sun, 27 Feb 2022 13:31:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=vYcCJ8OzcVN6l+LnkyuEvkLv2msDMJdHSBe1qqljWPg=; b=IPorIX7r+FsRmtND+GpPcIiTAgwZBRSol5ueCBMQJsxmVPNWeckTnk7B88IJVTgy3r EOAFs7CjcnUGU5sA78Me64uT3S2crP8HDfrbXzQnTRH3eQb6T6wj7Bunra0HXULIofKG M66bS/QPuzTD4GyK3e28jEd51r6d2IoFM4KbJ1u/EzpjjyjzgbQUDimUF9VZZu24yeZI ydKHxt3NEY0v77c5qTo24vEj8utZAN+HPQ0yzZcrdVX4YMrHUPE/oEAd8Spvq4CrArg5 QRFw6vOXkt0MceGTv2lpQxJPYGNTc5S8MNrXBWVpYttEL9JrxOUzEPcHqBphgLmeGC8N nXxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=vYcCJ8OzcVN6l+LnkyuEvkLv2msDMJdHSBe1qqljWPg=; b=1W0looIXIPhdxA127JJbmdjXMRl7qBgLQg4WksKV8RH4zqHowUQfPNLhxm/pjClgi8 MHUOIgUOS7aB2Cnt86kNB8x4na72BkcicSg0O6fMP0nN2tSH8T/HOZFZfRRTWrVuvrPW 4RNi5UrIENubdThqot3RKJya30FGY2X2FdVPWBaxy/elEU8gUZcihhtaW4j+iL7MTgp6 XXyoEfL7n1BObZV6szQh3NB/ev/QOvzjdjIZiZ8DG9rf0WRQ/MvS5Kje2pUWrN0vyR72 a+d/b/N2Ir1Pj+oxx8ernuyt2xwODyk5KV7DigSRmlyzSZfzIg3NWAwh3BynWZtzvQPR thRA== X-Gm-Message-State: AOAM533kDIPAytxlHgbDOhi4tstL4yJ1tyVmD4/aQq4HszbMVzxKwnq/ oc2QeERM+3+QKYwjWoxsyvnxshYFECtdiUg0TIY= X-Google-Smtp-Source: ABdhPJw1IRvYjzO8oBWeHNwMmdkS1almQPl+B+nf5WyloOphCunyVVZUZi0RXUicYPBisAhYFRQqKw== X-Received: by 2002:ad4:5f4b:0:b0:432:2ab5:e670 with SMTP id p11-20020ad45f4b000000b004322ab5e670mr12116555qvg.50.1645997512417; Sun, 27 Feb 2022 13:31:52 -0800 (PST) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id i133-20020a379f8b000000b0060ded9f21d6sm4268458qke.102.2022.02.27.13.31.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Feb 2022 13:31:52 -0800 (PST) From: Philip McGrath Date: Sun, 27 Feb 2022 16:29:12 -0500 Message-Id: <20220227212920.2009000-17-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220227212920.2009000-1-philip@philipmcgrath.com> References: <20220220060610.178131-1-philip@philipmcgrath.com> <20220227212920.2009000-1-philip@philipmcgrath.com> 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: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645997600; 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=vYcCJ8OzcVN6l+LnkyuEvkLv2msDMJdHSBe1qqljWPg=; b=HPp0B4eYQiIZd4a7VdOFoL/p/5O54QiB86yOU0Rg6QA3LVGHblluWyMxwJz1CaSykRYLHf TQKuYHV0kFmsx7ZuLeBzooPyTvq7su8Zr4pIK4eDw4GHZ5eBZXtcT9tvo9WxyvJhc5k6e6 slmOx7YlwAc2J4moKQSkhKIvwYD+UyRsKrNWL76qsXerJJrDFNn18prYXfvE8Eu4xCF36m XizExBWib4Ysit3ZnzH4kgqjC+p95+++cmr8mxhATVITRu3eMuBqNvWiDMB8WuFvLt/VG1 brYiX2VWlGfPpDSxKjGHVtVekrWlZLKMNYFDotSl2YRS8TJjGhzF+MsJELFLbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645997600; a=rsa-sha256; cv=none; b=rLPYfiM0hNthXOX2/IJ5qXwZgLwNzL8DxKIz+NLa3Ti/1DY7tPQG+NRkOWuH1hyaZpkGQA vdYWeSItxjZXW7ycfb3oSSHkDGKYDz/cc1VH3JYt5pqG/mJJTwB7BMuEWkVAtpt+4yHO31 wz0Piq3tnqyCLc0ZjIg6e/Jku43pMS0NSbLE/QUs4ACQw5D2+SkGzTtipig8NONaqUpCnR FJAFsfihLnAhEMVwsQoLNJHKfkFqJnuumToubHUf730QV8wGxcR3ZdqYXDzXc7wzSSosM2 +KxzSxWrHjw7SUKZjDQ3gPT3IqGBIaCQ4jDcnOjWIzi5RD6sFjB7zl5JKBADSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=IPorIX7r; 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: 3.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=IPorIX7r; 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: 6014F3FA52 X-Spam-Score: 3.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: kyUtiGzKf2OO This change also involves building 'libkernel.a' instead of 'kernel.o'. Support for these build options was merged upstream in 2019: see discussion at . * gnu/packages/chez.scm (chez-scheme)[inputs]: Remove 'zlib:static' and 'lz4:static'. [arguments]: Adjust configure phase accordingly. --- gnu/packages/chez.scm | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm index f4c87fbcf7..dd40baa719 100644 --- a/gnu/packages/chez.scm +++ b/gnu/packages/chez.scm @@ -211,9 +211,7 @@ (define-public chez-scheme (inputs `(("libuuid" ,util-linux "lib") ("zlib" ,zlib) - ("zlib:static" ,zlib "static") ("lz4" ,lz4) - ("lz4:static" ,lz4 "static") ;; for expeditor: ("ncurses" ,ncurses) ;; for X11 clipboard support in expeditor: @@ -266,14 +264,14 @@ (define src (lz4-static (assoc-ref inputs "lz4:static")) (out (assoc-ref outputs "out")) ;; add flags which are always required: - (flags (cons* - (string-append "--installprefix=" out) - (string-append "ZLIB=" zlib-static "/lib/libz.a") - (string-append "LZ4=" lz4-static "/lib/liblz4.a") - ;; Guix will do compress man pages, - ;; and letting Chez try causes an error - "--nogzip-man-pages" - configure-flags))) + (flags (cons* (string-append "--installprefix=" out) + "ZLIB=-lz" + "LZ4=-llz4" + "--libkernel" + ;; Guix will do compress-man-pages, + ;; and letting Chez try causes an error + "--nogzip-man-pages" + configure-flags))) (format #t "configure flags: ~s~%" flags) ;; Some makefiles (for tests) don't seem to propagate CC ;; properly, so we take it out of their hands: -- 2.32.0