From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GGnTALBC6mKg8QAAbAwnHQ (envelope-from ) for ; Wed, 03 Aug 2022 11:41:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2PBkO69C6mIpegEAG6o9tA (envelope-from ) for ; Wed, 03 Aug 2022 11:41:03 +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 77B1C326E3 for ; Wed, 3 Aug 2022 11:41:03 +0200 (CEST) Received: from localhost ([::1]:51918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJAsA-0005sM-37 for larch@yhetil.org; Wed, 03 Aug 2022 05:41:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJAfa-00033Q-4j for guix-patches@gnu.org; Wed, 03 Aug 2022 05:28:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJAfZ-0004NA-Ra for guix-patches@gnu.org; Wed, 03 Aug 2022 05:28:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJAfZ-0000Wn-Je for guix-patches@gnu.org; Wed, 03 Aug 2022 05:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v2] gnu: gap: Update to 4.11.1. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Aug 2022 09:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56729@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , vicvbcun , Andreas Enge Received: via spool by 56729-submit@debbugs.gnu.org id=B56729.16595188431976 (code B ref 56729); Wed, 03 Aug 2022 09:28:01 +0000 Received: (at 56729) by debbugs.gnu.org; 3 Aug 2022 09:27:23 +0000 Received: from localhost ([127.0.0.1]:46132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJAew-0000Vo-LA for submit@debbugs.gnu.org; Wed, 03 Aug 2022 05:27:23 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([81.169.146.182]:40231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJAes-0000Ve-PD for 56729@debbugs.gnu.org; Wed, 03 Aug 2022 05:27:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1659518835; s=strato-dkim-0002; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=BqtrXk7sDIZHpJir72KXTKIQR0DFeD1DmlUtXuOwaDo=; b=CTnl4x13Wuoj7iEQxMa4qzeMv3Ilb58kfFLpwLNw/7XINHYLX8QjHI2MGn7cla8Y/q KqDWF6L1Qzg2vOfio3D/wCOZCFjkHybjo1jDrHKGFHVbGf3s0mNePhiI7Ht2FK1SSpJW ZkSF8j3C33boUCLiisjuRMU0wMwHyO9X1N2/kGc2BKPWJ6ujlKvuBSoD/mh0esZnLJtu 8qUAAGRWJJFfYjGJ/CMwwMOy8/vT0xoj/bvVWe895PNGA2iv0qN0NYovb9eTiDb6AjjV Qmcw9ONkMMskqNyQ4XjbImpNAWGCMRx6DoJmkV0Bypz32D9h3BepC6vzHmJ6vub6G+lp GqRw== X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9SmHnazdiAbr2jcTsO0Ng==" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 47.47.0 DYNA|AUTH) with ESMTPSA id 0cac6cy739RFWHP (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 3 Aug 2022 11:27:15 +0200 (CEST) From: vicvbcun Date: Wed, 3 Aug 2022 11:25:22 +0200 Message-Id: X-Mailer: git-send-email 2.37.0 In-Reply-To: <28cd72717547c8d8b6a3bf6d993cb07c897a1ba6.1658595756.git.guix@ikherbers.com> References: <28cd72717547c8d8b6a3bf6d993cb07c897a1ba6.1658595756.git.guix@ikherbers.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-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=1659519663; 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=BqtrXk7sDIZHpJir72KXTKIQR0DFeD1DmlUtXuOwaDo=; b=Td/3OlJG+fJ4ftig4eUAxcoauiIx6fyyv9/9YyXNUwzcDexTrybLI+ddkuV9siWFkkEZMf 1zXJBmbCe0xWJGcebSSiMz+D9WA9rdcoSlVJdGP16QgVKwGtdpfnLaTVS8iMuTBSRWAZD0 EbVwhSv5eYwYBQVjk0IyJ0ogDfPdtMAJjCnLO/modUcXurN4ZwF27x+/ZWwAahF0iAoRUQ /wCQazK3b+pg9hHKB24oTQEnAqSZcl7o0VUXA81+0+N157atpnz0M1V1395mauw+sFSU98 Y7mfvGIjimR0XLHYJIckGG+IVbKQz/T3Bqthn4mPLowMXtWAtofSjNXxT+UbKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659519663; a=rsa-sha256; cv=none; b=ir/CtmUr9DW/kx5iDj6OIjA8muY4ul4x8iQzGWXROpf8MbmzppNvUY8vpubrC0GhjsSwmr uUwYWfKCKsa31VrXMNMCd4KP0dIwDE5v+AimpeTDCfY10jJTDAstGkP4C4DqAiFJk7Nkpo vGym95SwfsXp5/1XNI1ZWPXWXTp5PisvlCvb2Pp1almXP2JNRtzHAX/Cfy3C4/vVrh7G+t 9N6kLSuWGJyN52WFmvmgRN3SZTJEZHA9i/SjUAXxXRr5KF19UFyMduwN+u0wM6D7HjBx4s Ivkd8IQEpx0mCbIFRczBuTsIT7k1ntfAfA+ZIM1dungaqs/RjiTK3zqq7Ix6Ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=CTnl4x13; 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: 2.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=CTnl4x13; 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: 77B1C326E3 X-Spam-Score: 2.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: b9yVSqKSoz02 Remove logs that are not reproducible. * gnu/packages/algebra.scm (gap): Update to 4.11.1. [source]: Remove trailing #t. [arguments]<#:phases>: Remove trailing #t, use gexps. [install]: Install missing config.h header. --- gnu/packages/algebra.scm | 181 +++++++++++++++++++-------------------- 1 file changed, 90 insertions(+), 91 deletions(-) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 95fbdb5e36..c3b1c7fc3b 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1209,17 +1209,17 @@ (define-public xtensor-benchmark (define-public gap (package (name "gap") - (version "4.11.0") + (version "4.11.1") (source (origin (method url-fetch) (uri (string-append "https://files.gap-system.org/gap-" (version-major+minor version) - "/tar.bz2/gap-" + "/tar.gz/gap-" version - ".tar.bz2")) + ".tar.gz")) (sha256 - (base32 "00l6hvy4iggnlrib4vp805sxdm3j7n3hzpv5zs9hbiiavh80l1xz")) + (base32 "01535s81h254zcs84zi95xqmhvvn6fn9qss8761myxc2gpdcadb6")) (modules '((guix build utils) (ice-9 ftw) (srfi srfi-1))) (snippet '(begin @@ -1235,97 +1235,96 @@ (define-public gap ;; given by their names up to version numbers. (with-directory-excursion "pkg" (for-each delete-file-recursively - (lset-difference - (lambda (all keep) (string-prefix? keep all)) - (scandir ".") - '("." ".." - ;; Necessary packages. - "GAPDoc-" - "primgrp-" - "SmallGrp-" ; artistic2.0 - "transgrp" ; artistic2.0 for data, - ; gpl2 or gpl3 for code - ;; Recommended package. - "io-" ; gpl3+ - ;; Optional packages, searched for at start, - ;; and their depedencies. - "alnuth-" - "autpgrp-" - "crisp-" ; bsd-2 - "ctbllib" ; gpl3+, clarified in the next release; - ; see - ; http://www.math.rwth-aachen.de/~Thomas.Breuer/ctbllib/README.md - "FactInt-" - "fga" - "irredsol-" ; bsd-2 - "laguna-" - "polenta-" - "polycyclic-" - "radiroot-" - "resclasses-" - "sophus-" - "tomlib-" - "utils-")))) - #t)))) + (lset-difference + (lambda (all keep) (string-prefix? keep all)) + (scandir ".") + '("." ".." + ;; Necessary packages. + "GAPDoc-" + "primgrp-" + "SmallGrp-" ; artistic2.0 + "transgrp" ; artistic2.0 for data, + ; gpl2 or gpl3 for code + ;; Recommended package. + "io-" ; gpl3+ + ;; Optional packages, searched for at start, + ;; and their depedencies. + "alnuth-" + "autpgrp-" + "crisp-" ; bsd-2 + "ctbllib" ; gpl3+, clarified in the next release; + ; see + ; http://www.math.rwth-aachen.de/~Thomas.Breuer/ctbllib/README.md + "FactInt-" + "fga" + "irredsol-" ; bsd-2 + "laguna-" + "polenta-" + "polycyclic-" + "radiroot-" + "resclasses-" + "sophus-" + "tomlib-" + "utils-")))))))) (build-system gnu-build-system) (inputs (list gmp readline zlib)) (arguments - `(#:modules ((ice-9 ftw) - (srfi srfi-26) - (guix build gnu-build-system) - (guix build utils)) - #:phases - (modify-phases %standard-phases - (add-after 'build 'build-packages - ;; Compile all packages that have not been deleted by the - ;; code snippet above. - (lambda _ - (setenv "CONFIG_SHELL" (which "bash")) - (with-directory-excursion "pkg" - (invoke "../bin/BuildPackages.sh") - #t))) - (add-after 'build-packages 'build-doc - ;; The documentation is bundled, but we create it from source. - (lambda _ - (with-directory-excursion "doc" - (invoke "./make_doc")) - #t)) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin")) - (prog (string-append bin "/gap")) - (prog-real (string-append bin "/.gap-real")) - (share (string-append out "/share/gap"))) - ;; Install only the gap binary; the gac compiler is left - ;; for maybe later. "Wrap" it in a shell script that calls - ;; the binary with the correct parameter. - ;; The make target install-bin is supposed to do that, but - ;; is not currently working. - (mkdir-p bin) - (copy-file "gap" prog-real) - (call-with-output-file prog - (lambda (port) - (format port - "#!~a~%exec ~a -l ~a \"$@\"~%" - (which "bash") - prog-real - share))) - (chmod prog #o755) - ;; Install the headers and library, which are needed by Sage. - (invoke "make" "install-headers") - (invoke "make" "install-libgap") - ;; Remove information on the build directory from sysinfo.gap. - (substitute* "sysinfo.gap" - (("GAP_BIN_DIR=\".*\"") "GAP_BIN_DIR=\"\"") - (("GAP_LIB_DIR=\".*\"") "GAP_LIB_DIR=\"\"") - (("GAP_CPPFLAGS=\".*\"") "GAP_CPPFLAGS=\"\"")) - (invoke "make" "install-gaproot") - ;; Copy the directory of compiled packages; the make target - ;; install-pkg is currently empty. - (copy-recursively "pkg" (string-append share "/pkg"))) - #t))))) + (list #:modules '((ice-9 ftw) + (srfi srfi-26) + (guix build gnu-build-system) + (guix build utils)) + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'build-packages + ;; Compile all packages that have not been deleted by the + ;; code snippet above. + (lambda _ + (setenv "CONFIG_SHELL" (which "bash")) + (with-directory-excursion "pkg" + (invoke "../bin/BuildPackages.sh")))) + (add-after 'build-packages 'build-doc + ;; The documentation is bundled, but we create it from source. + (lambda _ + (with-directory-excursion "doc" + (invoke "./make_doc")))) + (replace 'install + (lambda _ + (let* ((bin (string-append #$output "/bin")) + (prog (string-append bin "/gap")) + (prog-real (string-append bin "/.gap-real")) + (share (string-append #$output "/share/gap"))) + ;; Install only the gap binary; the gac compiler is left + ;; for maybe later. "Wrap" it in a shell script that calls + ;; the binary with the correct parameter. + ;; The make target install-bin is supposed to do that, but + ;; is not currently working. + (mkdir-p bin) + (copy-file "gap" prog-real) + (call-with-output-file prog + (lambda (port) + (format port + "#!~a~%exec ~a -l ~a \"$@\"~%" + (which "bash") + prog-real + share))) + (chmod prog #o755) + ;; Install the headers and library, which are needed by Sage. + (invoke "make" "install-headers") + (invoke "make" "install-libgap") + (install-file "gen/config.h" (string-append #$output "/include/gap")) + ;; Remove information on the build directory from sysinfo.gap. + (substitute* "sysinfo.gap" + (("GAP_BIN_DIR=\".*\"") "GAP_BIN_DIR=\"\"") + (("GAP_LIB_DIR=\".*\"") "GAP_LIB_DIR=\"\"") + (("GAP_CPPFLAGS=\".*\"") "GAP_CPPFLAGS=\"\"")) + (invoke "make" "install-gaproot") + ;; Copy the directory of compiled packages; the make target + ;; install-pkg is currently empty. + (copy-recursively "pkg" (string-append share "/pkg")) + ;; these log files are not reproducible + (delete-file (string-append share "/pkg/io-4.7.0/config.log")) + (delete-file-recursively (string-append share "/pkg/log")))))))) (home-page "https://www.gap-system.org/") (synopsis "System for computational group theory") base-commit: f6904c0b19c2fcca41bbf1400c738bd833fec9a8 prerequisite-patch-id: 73510fd06d7520fe1f53a6d654ad79bfb197731a -- 2.37.0