From unknown Fri Jun 20 18:13:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41971 <41971@debbugs.gnu.org> To: bug#41971 <41971@debbugs.gnu.org> Subject: Status: [WIP PATCH 0/5] Add SageMath Reply-To: bug#41971 <41971@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:13:06 +0000 retitle 41971 [WIP PATCH 0/5] Add SageMath reassign 41971 guix-patches submitter 41971 Jakub K=C4=85dzio=C5=82ka severity 41971 normal tag 41971 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 20 17:28:23 2020 Received: (at submit) by debbugs.gnu.org; 20 Jun 2020 21:28:23 +0000 Received: from localhost ([127.0.0.1]:58839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml2B-000716-6M for submit@debbugs.gnu.org; Sat, 20 Jun 2020 17:28:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:49536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml25-00070t-0O for submit@debbugs.gnu.org; Sat, 20 Jun 2020 17:28:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jml24-0004RC-OR for guix-patches@gnu.org; Sat, 20 Jun 2020 17:28:12 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:55182) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jml1z-0004tZ-2v for guix-patches@gnu.org; Sat, 20 Jun 2020 17:28:12 -0400 Received: (qmail 17957 invoked by uid 1009); 20 Jun 2020 23:28:04 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25848. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.038542 secs); 20 Jun 2020 21:28:04 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 20 Jun 2020 23:28:04 +0200 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= To: guix-patches@gnu.org Subject: [WIP PATCH 0/5] Add SageMath Date: Sat, 20 Jun 2020 23:28:02 +0200 Message-Id: <20200620212802.31906-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/20 17:28:04 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This patchstack builds upon #40283 and packages (some of) SageMath. Currently, sagelib is built successfully, but the `sage' binary is not being installed. I'm submitting this here as I'm no longer actively working on this for now. Some things remain to be done: - Install the sage command itself and make sure it runs. This will probably require understanding what SAGE_ROOT, SAGE_SHARE and SAGE_LOCAL mean. - Run the tests. This would be best done as another package to make sure all the right packages are propagated. Nix does the same [0]. - Make sure the docs are installed. - Remove the cython debug info. I haven't done this yet only because testing it would require waiting for a long build. - Resolve some small TODOs. [0]: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/science/math/sage Jakub KÄ…dzioÅ‚ka (5): gnu: linbox: Fix linking of dependant packages. gnu: sagemath: Remove unnecessary old versions of packages gnu: Add ECL 16.1.3 for Sage. gnu: lcalc: Don't rename the include directory. [WIP] gnu: Add sagemath. gnu/local.mk | 4 + gnu/packages/algebra.scm | 5 +- .../ecl-16-format-directive-limit.patch | 83 +++++++ .../ecl-16-ignore-stderr-write-error.patch | 17 ++ gnu/packages/patches/ecl-16-libffi.patch | 16 ++ .../patches/linbox-fix-pkgconfig.patch | 23 ++ gnu/packages/sagemath.scm | 203 +++++++++++++----- 7 files changed, 291 insertions(+), 60 deletions(-) create mode 100644 gnu/packages/patches/ecl-16-format-directive-limit.patch create mode 100644 gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch create mode 100644 gnu/packages/patches/ecl-16-libffi.patch create mode 100644 gnu/packages/patches/linbox-fix-pkgconfig.patch -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 20 17:31:53 2020 Received: (at 41971) by debbugs.gnu.org; 20 Jun 2020 21:31:53 +0000 Received: from localhost ([127.0.0.1]:58852 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml5b-00078Y-7e for submit@debbugs.gnu.org; Sat, 20 Jun 2020 17:31:53 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:38826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml5W-00078N-Fr for 41971@debbugs.gnu.org; Sat, 20 Jun 2020 17:31:50 -0400 Received: (qmail 19961 invoked by uid 1009); 20 Jun 2020 23:31:45 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25848. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.041647 secs); 20 Jun 2020 21:31:45 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 20 Jun 2020 23:31:45 +0200 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= To: 41971@debbugs.gnu.org Subject: [PATCH 1/5] gnu: linbox: Fix linking of dependant packages. Date: Sat, 20 Jun 2020 23:31:43 +0200 Message-Id: <20200620213143.1774-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Qmailux-2.08st: added fake Content-Type header Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41971 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/algebra.scm (linbox)[source]: Add a patch. [inputs]: Move fflas-ffpack to... [propagated-inputs]: ...here. * gnu/packages/patches/linbox-fix-pkgconfig.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. --- gnu/local.mk | 1 + gnu/packages/algebra.scm | 5 ++-- .../patches/linbox-fix-pkgconfig.patch | 23 +++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 gnu/packages/patches/linbox-fix-pkgconfig.patch diff --git a/gnu/local.mk b/gnu/local.mk index def87a4360..41b92e3830 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1219,6 +1219,7 @@ dist_patch_DATA = \ %D%/packages/patches/lierolibre-newer-libconfig.patch \ %D%/packages/patches/lierolibre-remove-arch-warning.patch \ %D%/packages/patches/lierolibre-try-building-other-arch.patch \ + %D%/packages/patches/linbox-fix-pkgconfig.patch \ %D%/packages/patches/linkchecker-tests-require-network.patch \ %D%/packages/patches/linphoneqt-tabbutton.patch \ %D%/packages/patches/linux-libre-support-for-Pinebook-Pro.patch \ diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index f2138bbe4e..2244b7ac94 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1323,14 +1323,15 @@ algebra, such as the row echelon form.") (file-name (git-file-name name version)) (sha256 (base32 - "10j6dspbsq7d2l4q3y0c1l1xwmaqqba2fxg59q5bhgk9h5d7q571")))) + "10j6dspbsq7d2l4q3y0c1l1xwmaqqba2fxg59q5bhgk9h5d7q571")) + (patches (search-patches "linbox-fix-pkgconfig.patch")))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ("libtool" ,libtool) ("pkg-config" ,pkg-config))) - (inputs + (propagated-inputs `(("fflas-ffpack" ,fflas-ffpack))) (synopsis "C++ library for linear algebra over exact rings") (description diff --git a/gnu/packages/patches/linbox-fix-pkgconfig.patch b/gnu/packages/patches/linbox-fix-pkgconfig.patch new file mode 100644 index 0000000000..c93915fb1b --- /dev/null +++ b/gnu/packages/patches/linbox-fix-pkgconfig.patch @@ -0,0 +1,23 @@ +Backported from: + +From 426eb97ba762c7663884f57ead0909f2aa3cd6a5 Mon Sep 17 00:00:00 2001 +From: Cyril Bouvier +Date: Thu, 17 Jan 2019 16:32:19 +0100 +Subject: [PATCH] Remove @LINBOXSAGE_LIBS@ from linbox.pc.in + +--- + linbox.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/linbox.pc.in b/linbox.pc.in +index 278f127e4..c6b8091eb 100644 +--- a/linbox.pc.in ++++ b/linbox.pc.in +@@ -9,6 +9,6 @@ Description: Exact Linear Algebra library + URL: http://github.com/linbox-team/linbox + Version: @VERSION@ + Requires: fflas-ffpack >= 2.4.0, givaro >= 4.1.0 +-Libs: -L${libdir} -llinbox @LINBOXSAGE_LIBS@ @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@ ++Libs: -L${libdir} -llinbox @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@ + Cflags: @DEFAULT_CFLAGS@ -DDISABLE_COMMENTATOR -I${includedir} @NTL_CFLAGS@ @MPFR_CFLAGS@ @FPLLL_CFLAGS@ @IML_CFLAGS@ @FLINT_CFLAGS@ + \------------------------------------------------------- -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 20 17:31:54 2020 Received: (at 41971) by debbugs.gnu.org; 20 Jun 2020 21:31:54 +0000 Received: from localhost ([127.0.0.1]:58855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml5e-00078q-BJ for submit@debbugs.gnu.org; Sat, 20 Jun 2020 17:31:54 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:38852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml5c-00078a-Mg for 41971@debbugs.gnu.org; Sat, 20 Jun 2020 17:31:53 -0400 Received: (qmail 20035 invoked by uid 1009); 20 Jun 2020 23:31:51 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25848. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.038363 secs); 20 Jun 2020 21:31:51 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 20 Jun 2020 23:31:51 +0200 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= To: 41971@debbugs.gnu.org Subject: [PATCH 2/5] gnu: sagemath: Remove unnecessary old versions of packages Date: Sat, 20 Jun 2020 23:31:50 +0200 Message-Id: <20200620213150.2013-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Qmailux-2.08st: added fake Content-Type header Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41971 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sage has updated givaro, fflas-ffpack and linbox since the comment was written. * gnu/packages/sagemath.scm (givaro, fflas-ffpack, linbox): Remove variables. --- gnu/packages/sagemath.scm | 54 --------------------------------------- 1 file changed, 54 deletions(-) diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index b96cb6b96e..34fe9e524c 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -184,60 +184,6 @@ represented as strings.") (license license:public-domain) (home-page "https://github.com/miguelmarco/libhomfly"))) -;; The following three packages from the Linbox group are needed in -;; an outdated version for Sage. - -(define-public givaro-4.0.4 - (package (inherit givaro) - (name "givaro") - (version "4.0.4") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/linbox-team/givaro") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "199p8wyj5i63jbnk7j8qbdbfp5rm2lpmcxyk3mdjy9bz7ygx3hhy")))))) - -(define-public fflas-ffpack-2.3.2 - (package (inherit fflas-ffpack) - (name "fflas-ffpack") - (version "2.3.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/linbox-team/fflas-ffpack") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1cqhassj2dny3gx0iywvmnpq8ca0d6m82xl5rz4mb8gaxr2kwddl")))) - (propagated-inputs - `(("givaro" ,givaro-4.0.4))) - ;; A test fails, but since all tests pass in the latest version, - ;; there is not much point in investigating. - (arguments - (substitute-keyword-arguments (package-arguments fflas-ffpack) - ((#:tests? _ #f) #f))))) - -(define-public linbox-1.5.2 - (package (inherit linbox) - (version "1.5.2") - (name "linbox") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/linbox-team/linbox") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1wfivlwp30mzdy1697w7rzb8caajim50mc8h27k82yipn2qc5n4i")))) - (inputs - `(("fflas-ffpack" ,fflas-ffpack-2.3.2))))) - (define-public pynac (package (name "pynac") -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 20 17:32:09 2020 Received: (at 41971) by debbugs.gnu.org; 20 Jun 2020 21:32:10 +0000 Received: from localhost ([127.0.0.1]:58860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml5n-00079j-Jd for submit@debbugs.gnu.org; Sat, 20 Jun 2020 17:32:09 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:38856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml5k-000794-20 for 41971@debbugs.gnu.org; Sat, 20 Jun 2020 17:32:02 -0400 Received: (qmail 20099 invoked by uid 1009); 20 Jun 2020 23:31:59 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25848. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.054335 secs); 20 Jun 2020 21:31:59 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 20 Jun 2020 23:31:59 +0200 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= To: 41971@debbugs.gnu.org Subject: [PATCH 3/5] gnu: Add ECL 16.1.3 for Sage. Date: Sat, 20 Jun 2020 23:31:58 +0200 Message-Id: <20200620213158.2253-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41971 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/sagemath.scm (ecl-16): New variable. * gnu/packages/patches/ecl-16-format-directive-limit.patch, gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch, gnu/packages/patches/ecl-16-libffi.patch: New files. * gnu/local.mk (dist_patch_DATA): Register the patches. --- gnu/local.mk | 3 + .../ecl-16-format-directive-limit.patch | 83 +++++++++++++++++++ .../ecl-16-ignore-stderr-write-error.patch | 17 ++++ gnu/packages/patches/ecl-16-libffi.patch | 16 ++++ gnu/packages/sagemath.scm | 23 +++++ 5 files changed, 142 insertions(+) create mode 100644 gnu/packages/patches/ecl-16-format-directive-limit.patch create mode 100644 gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch create mode 100644 gnu/packages/patches/ecl-16-libffi.patch diff --git a/gnu/local.mk b/gnu/local.mk index 41b92e3830..486e7aa8cc 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -881,6 +881,9 @@ dist_patch_DATA = \ %D%/packages/patches/dstat-skip-devices-without-io.patch \ %D%/packages/patches/dune-istl-2.7-fix-non-mpi-tests.patch \ %D%/packages/patches/dvd+rw-tools-add-include.patch \ + %D%/packages/patches/ecl-16-format-directive-limit.patch \ + %D%/packages/patches/ecl-16-ignore-stderr-write-error.patch \ + %D%/packages/patches/ecl-16-libffi.patch \ %D%/packages/patches/eigen-stabilise-sparseqr-test.patch \ %D%/packages/patches/einstein-build.patch \ %D%/packages/patches/elfutils-tests-ptrace.patch \ diff --git a/gnu/packages/patches/ecl-16-format-directive-limit.patch b/gnu/packages/patches/ecl-16-format-directive-limit.patch new file mode 100644 index 0000000000..237db92722 --- /dev/null +++ b/gnu/packages/patches/ecl-16-format-directive-limit.patch @@ -0,0 +1,83 @@ +Patch backported by Sage. + +Fix from upstream that happens to work around +https://trac.sagemath.org/ticket/23011 +diff --git a/src/lsp/format.lsp b/src/lsp/format.lsp +index 77ca799..53b887c 100644 +--- a/src/lsp/format.lsp ++++ b/src/lsp/format.lsp +@@ -307,11 +307,13 @@ + :start (format-directive-start struct) + :end (format-directive-end struct)))) + ++(defconstant +format-directive-limit+ (1+ (char-code #\~))) ++ + #+formatter + (defparameter *format-directive-expanders* +- (make-array char-code-limit :initial-element nil)) ++ (make-array +format-directive-limit+ :initial-element nil)) + (defparameter *format-directive-interpreters* +- (make-array char-code-limit :initial-element nil)) ++ (make-array +format-directive-limit+ :initial-element nil)) + + (defparameter *default-format-error-control-string* nil) + (defparameter *default-format-error-offset* nil) +@@ -550,24 +552,24 @@ + (write-string directive stream) + (interpret-directive-list stream (cdr directives) orig-args args)) + (#-ecl format-directive #+ecl vector ++ (multiple-value-bind ++ (new-directives new-args) ++ (let* ((code (char-code (format-directive-character directive))) ++ (function ++ (and (< code +format-directive-limit+) ++ (svref *format-directive-interpreters* code))) ++ (*default-format-error-offset* ++ (1- (format-directive-end directive)))) ++ (unless function ++ (error 'format-error ++ :complaint "Unknown format directive.")) + (multiple-value-bind + (new-directives new-args) +- (let ((function +- (svref *format-directive-interpreters* +- (char-code (format-directive-character +- directive)))) +- (*default-format-error-offset* +- (1- (format-directive-end directive)))) +- (unless function +- (error 'format-error +- :complaint "Unknown format directive.")) +- (multiple-value-bind +- (new-directives new-args) +- (funcall function stream directive +- (cdr directives) orig-args args) +- (values new-directives new-args))) +- (interpret-directive-list stream new-directives +- orig-args new-args))))) ++ (funcall function stream directive ++ (cdr directives) orig-args args) ++ (values new-directives new-args))) ++ (interpret-directive-list stream new-directives ++ orig-args new-args))))) + args)) + + +@@ -639,11 +641,12 @@ + (values `(write-string ,directive stream) + more-directives)) + (format-directive +- (let ((expander +- (aref *format-directive-expanders* +- (char-code (format-directive-character directive)))) +- (*default-format-error-offset* +- (1- (format-directive-end directive)))) ++ (let* ((code (char-code (format-directive-character directive))) ++ (expander ++ (and (< code +format-directive-limit+) ++ (svref *format-directive-expanders* code))) ++ (*default-format-error-offset* ++ (1- (format-directive-end directive)))) + (if expander + (funcall expander directive more-directives) + (error 'format-error diff --git a/gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch b/gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch new file mode 100644 index 0000000000..42d213c0e9 --- /dev/null +++ b/gnu/packages/patches/ecl-16-ignore-stderr-write-error.patch @@ -0,0 +1,17 @@ +Patch adapted from Sage. +diff -Naur ecl-16.1.2.orig/src/c/file.d ecl-16.1.2/src/c/file.d +--- ecl-16.1.2.orig/src/c/file.d 2016-05-11 13:10:51.867673867 +1200 ++++ ecl-16.1.2/src/c/file.d 2016-05-11 14:44:48.121907307 +1200 +@@ -3354,8 +3354,10 @@ + ecl_disable_interrupts(); + do { + out = fwrite(c, sizeof(char), n, IO_STREAM_FILE(strm)); +- } while (out < n && restartable_io_error(strm, "fwrite")); +- ecl_enable_interrupts(); ++ /* Ignore write errors to stderr to avoid an infinite loop */ ++ } while (out < n && (IO_STREAM_FILE(strm) != stderr) && restartable_io_error(strm, "fwrite")); ++ ++ ecl_enable_interrupts(); + return out; + } + diff --git a/gnu/packages/patches/ecl-16-libffi.patch b/gnu/packages/patches/ecl-16-libffi.patch new file mode 100644 index 0000000000..fc06a07606 --- /dev/null +++ b/gnu/packages/patches/ecl-16-libffi.patch @@ -0,0 +1,16 @@ +Patch adapted from Sage. Allows building ECL on libffi 3.3. +diff --git a/src/c/ffi.d b/src/c/ffi.d +index 8861303e..8a959c23 100644 +--- a/src/c/ffi.d ++++ b/src/c/ffi.d +@@ -133,8 +133,8 @@ static struct { + #elif defined(X86_WIN64) + {@':win64', FFI_WIN64}, + #elif defined(X86_ANY) || defined(X86) || defined(X86_64) +- {@':cdecl', FFI_SYSV}, +- {@':sysv', FFI_SYSV}, ++ {@':cdecl', FFI_UNIX64}, ++ {@':sysv', FFI_UNIX64}, + {@':unix64', FFI_UNIX64}, + #endif + }; diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index 34fe9e524c..c94020f13e 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2019 Andreas Enge ;;; Copyright © 2019 Nicolas Goaziou ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice +;;; Copyright © 2020 Jakub KÄ…dzioÅ‚ka ;;; ;;; This file is part of GNU Guix. ;;; @@ -33,6 +34,7 @@ #:use-module (gnu packages boost) #:use-module (gnu packages compression) #:use-module (gnu packages image) + #:use-module (gnu packages lisp) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -184,6 +186,27 @@ represented as strings.") (license license:public-domain) (home-page "https://github.com/miguelmarco/libhomfly"))) +;; Sage 9.1 doesn't build with ECL 20. This won't be necessary once 9.2 is +;; released. See https://trac.sagemath.org/ticket/22191 +(define-public ecl-16 + (package + (inherit ecl) + (version "16.1.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://common-lisp.net/project/ecl/static/files/release/ecl" + "-" version ".tgz")) + (sha256 + (base32 "0m0j24w5d5a9dwwqyrg0d35c0nys16ijb4r0nyk87yp82v38b9bn")) + (patches (search-patches + "ecl-16-libffi.patch" + "ecl-16-ignore-stderr-write-error.patch" + "ecl-16-format-directive-limit.patch")))) + ;; Current ECL uses LGPL 2.1+ + (license license:lgpl2.0+))) + (define-public pynac (package (name "pynac") -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 20 17:32:13 2020 Received: (at 41971) by debbugs.gnu.org; 20 Jun 2020 21:32:13 +0000 Received: from localhost ([127.0.0.1]:58863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml5w-0007A6-W9 for submit@debbugs.gnu.org; Sat, 20 Jun 2020 17:32:13 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:38918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml5u-00079x-Nh for 41971@debbugs.gnu.org; Sat, 20 Jun 2020 17:32:11 -0400 Received: (qmail 20236 invoked by uid 1009); 20 Jun 2020 23:32:09 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25848. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.009267 secs); 20 Jun 2020 21:32:09 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 20 Jun 2020 23:32:09 +0200 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= To: 41971@debbugs.gnu.org Subject: [PATCH 4/5] gnu: lcalc: Don't rename the include directory. Date: Sat, 20 Jun 2020 23:32:08 +0200 Message-Id: <20200620213208.2435-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Qmailux-2.08st: added fake Content-Type header Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41971 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sage no longer renames the directory, so we shouldn't either. * gnu/packages/sagemath.scm (lcalc)[arguments]: Remove a substitution from the prepare-build phase. --- gnu/packages/sagemath.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index c94020f13e..8c837fdaeb 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -368,10 +368,7 @@ used as internal storage type for polynomial structures.") (let ((out (assoc-ref outputs "out"))) (substitute* "Makefile" (("^INSTALL_DIR= /usr/local") - (string-append "INSTALL_DIR=" out)) - ;; Sage renames the include directory, so we do it also. - (("include/Lfunction") - "include/libLfunction"))) + (string-append "INSTALL_DIR=" out)))) #t)) (add-before 'install 'make-output-dirs (lambda* (#:key outputs #:allow-other-keys) -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 20 17:32:23 2020 Received: (at 41971) by debbugs.gnu.org; 20 Jun 2020 21:32:23 +0000 Received: from localhost ([127.0.0.1]:58866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml67-0007AX-7k for submit@debbugs.gnu.org; Sat, 20 Jun 2020 17:32:23 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:38950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jml64-0007AL-Kk for 41971@debbugs.gnu.org; Sat, 20 Jun 2020 17:32:21 -0400 Received: (qmail 20376 invoked by uid 1009); 20 Jun 2020 23:32:19 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25848. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.037576 secs); 20 Jun 2020 21:32:19 -0000 Received: from unknown (HELO localhost.localdomain) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with AES256-SHA encrypted SMTP; 20 Jun 2020 23:32:19 +0200 From: =?UTF-8?q?Jakub=20K=C4=85dzio=C5=82ka?= To: 41971@debbugs.gnu.org Subject: [PATCH 5/5] [WIP] gnu: Add sagemath. Date: Sat, 20 Jun 2020 23:32:18 +0200 Message-Id: <20200620213218.2677-1-kuba@kadziolka.net> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Qmailux-2.08st: added fake Content-Type header Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41971 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --- gnu/packages/sagemath.scm | 123 +++++++++++++++++++++++++++++++++++++- 1 file changed, 122 insertions(+), 1 deletion(-) diff --git a/gnu/packages/sagemath.scm b/gnu/packages/sagemath.scm index 8c837fdaeb..9809f93060 100644 --- a/gnu/packages/sagemath.scm +++ b/gnu/packages/sagemath.scm @@ -29,16 +29,33 @@ #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages assembly) #:use-module (gnu packages autotools) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages boost) + #:use-module (gnu packages cmake) + #:use-module (gnu packages commencement) #:use-module (gnu packages compression) + #:use-module (gnu packages gd) + #:use-module (gnu packages gettext) + #:use-module (gnu packages graph) #:use-module (gnu packages image) + #:use-module (gnu packages libffi) #:use-module (gnu packages lisp) + #:use-module (gnu packages m4) + #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) + #:use-module (gnu packages ncurses) + #:use-module (gnu packages networking) + #:use-module (gnu packages pcre) + #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) - #:use-module (gnu packages python-xyz)) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages readline) + #:use-module (gnu packages sqlite) + #:use-module (gnu packages tex) + #:use-module (gnu packages tls)) (define-public python-cypari2 @@ -432,3 +449,107 @@ zeta function and its twists by quadratic characters.") a given height bound on a hyperelliptic curve in a very efficient way, by using an optimized quadratic sieve algorithm.") (license license:gpl2+))) + +(define-public sagemath + (package + (name "sagemath") + (version "9.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "git://git.sagemath.org/sage.git/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1imlqa5mg7xxp6xbzzjnjjpd8k79vlx48zm0qfj7cd4bi0i809pp")))) + (build-system python-build-system) + (arguments + `(#:use-setuptools? #f + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'prepare + (lambda _ + (setenv "HOME" "/tmp") + (setenv "SAGE_ROOT" (getcwd)) + (setenv "SAGE_LOCAL" (getcwd)) + (setenv "SAGE_SHARE" (string-append (getcwd) "/share")) + (setenv "SAGE_NUM_THREADS" (number->string (parallel-job-count))) + (mkdir-p "var/lib/sage/installed") + (chdir "src") + #t))))) + (propagated-inputs + `(("python-cypari2" ,python-cypari2) + ("python-cysignals" ,python-cysignals) + ("python-cython" ,python-cython) + ("python-gmpy2" ,python-gmpy2) + ("python-jinja2" ,python-jinja2) + ("python-numpy" ,python-numpy) + ("python-pkgconfig" ,python-pkgconfig) + ("python-six" ,python-six))) + (inputs + `(("arb" ,arb) + ("boost" ,boost) ; TODO: Is this needed? + ("braiding" ,libbraiding) + ("brial" ,brial) + ("bzip2" ,bzip2) + ("cliquer" ,cliquer) + ("ecl" ,ecl-16) + ("eclib" ,eclib) + ("ecm" ,gmp-ecm) + ("ecm:libatomic-ops" ,libatomic-ops) + ("flint" ,flint) + ("gf2x" ,gf2x) + ("gap" ,gap) + ("gc" ,libgc) + ("gd" ,gd) + ("givaro" ,givaro) + ("glpk" ,glpk) + ("gmp" ,gmp) + ("gsl" ,gsl) + ("homfly" ,libhomfly) + ("iml" ,iml) + ("lcalc" ,lcalc) + ("libffi" ,libffi) + ("libpng" ,libpng) + ("linbox" ,linbox) + ("lrcalc" ,lrcalc) + ("m4ri" ,m4ri) + ("m4rie" ,m4rie) + ("mpc" ,mpc) + ("mpfi" ,mpfi) + ("mpfr" ,mpfr) + ("ncurses" ,ncurses) + ("ntl" ,ntl) + ("openssl" ,openssl) + ("pari" ,pari-gp) + ("pcre" ,pcre) + ("planarity" ,edge-addition-planarity-suite) + ("ppl" ,ppl) + ("pynac" ,pynac) + ("rw" ,rw) + ("ratpoints" ,ratpoints) + ("readline" ,readline) + ("singular" ,singular) + ("sqlite" ,sqlite) + ("symmetrica" ,symmetrica) + ("texlive" ,texlive-tiny) + ("zeromq" ,zeromq) ; TODO: Is this needed? + ("zlib" ,zlib) + ("zn-poly" ,zn-poly))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("cmake" ,cmake) + ("gettext" ,gettext-minimal) + ("gfortran" ,gfortran-toolchain) + ("m4" ,m4) + ("perl" ,perl) + ("pkg-config" ,pkg-config) + ("yasm" ,yasm))) + (home-page "https://www.sagemath.org/") + (synopsis "Python-based computer algebra system") + (description "TODO") + (license license:gpl3))) -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 07 08:47:39 2020 Received: (at 41971) by debbugs.gnu.org; 7 Jul 2020 12:47:39 +0000 Received: from localhost ([127.0.0.1]:35721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsn0c-0004EC-UK for submit@debbugs.gnu.org; Tue, 07 Jul 2020 08:47:39 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:51275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsn0a-0004Dx-Jw for 41971@debbugs.gnu.org; Tue, 07 Jul 2020 08:47:37 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 7959AFF808; Tue, 7 Jul 2020 12:47:29 +0000 (UTC) From: Nicolas Goaziou To: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= Subject: Re: [bug#41971] [WIP PATCH 0/5] Add SageMath References: <20200620212802.31906-1-kuba@kadziolka.net> Date: Tue, 07 Jul 2020 14:47:28 +0200 In-Reply-To: <20200620212802.31906-1-kuba@kadziolka.net> ("Jakub =?utf-8?B?S8SFZHppb8WCa2EiJ3M=?= message of "Sat, 20 Jun 2020 23:28:02 +0200") Message-ID: <87v9iz5w67.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41971 Cc: 41971@debbugs.gnu.org, andreas@enge.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Jakub K=C4=85dzio=C5=82ka writes: > This patchstack builds upon #40283 and packages (some of) SageMath. > Currently, sagelib is built successfully, but the `sage' binary is not > being installed. I'm submitting this here as I'm no longer actively > working on this for now. Some things remain to be done: Thanks! Would it make sense to add the uncontroversial fourth first patches, along with #40283, so it is easier to hack on the sagemath package itself? I'm also Cc'ing Andreas Enge, who showed interest in packaging Sagemath a few months ago, and, AFAIK, was close to succeeding. Regards, --=20 Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 10 17:06:48 2020 Received: (at 41971) by debbugs.gnu.org; 10 Jul 2020 21:06:48 +0000 Received: from localhost ([127.0.0.1]:43544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ju0EK-0005Vx-Ir for submit@debbugs.gnu.org; Fri, 10 Jul 2020 17:06:48 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:48282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ju0EG-0005Vd-EK for 41971@debbugs.gnu.org; Fri, 10 Jul 2020 17:06:46 -0400 Received: (qmail 30868 invoked by uid 1009); 10 Jul 2020 23:06:42 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25868. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.043313 secs); 10 Jul 2020 21:06:42 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 10 Jul 2020 23:06:42 +0200 Date: Fri, 10 Jul 2020 23:06:40 +0200 From: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= To: Nicolas Goaziou Subject: Re: [bug#41971] [WIP PATCH 0/5] Add SageMath Message-ID: <20200710210640.izcxlglsmp6tvse7@gravity> References: <20200620212802.31906-1-kuba@kadziolka.net> <87v9iz5w67.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sgjgbmmejxhmhmgt" Content-Disposition: inline In-Reply-To: <87v9iz5w67.fsf@nicolasgoaziou.fr> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41971 Cc: 41971@debbugs.gnu.org, andreas@enge.fr, 40283-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --sgjgbmmejxhmhmgt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 07, 2020 at 02:47:28PM +0200, Nicolas Goaziou wrote: > Hello, >=20 > Jakub K=C4=85dzio=C5=82ka writes: >=20 > > This patchstack builds upon #40283 and packages (some of) SageMath. > > Currently, sagelib is built successfully, but the `sage' binary is not > > being installed. I'm submitting this here as I'm no longer actively > > working on this for now. Some things remain to be done: >=20 > Thanks! >=20 > Would it make sense to add the uncontroversial fourth first patches, > along with #40283, so it is easier to hack on the sagemath package > itself? Sure it would! I just did. > I'm also Cc'ing Andreas Enge, who showed interest in packaging Sagemath > a few months ago, and, AFAIK, was close to succeeding. Thanks! Regards, Jakub K=C4=85dzio=C5=82ka --sgjgbmmejxhmhmgt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl8I2GAACgkQ4xWnWEYT FWRWbBAAp5s3cOeZMLuvHVhZZdlbKDbi6G1Lm/3w9uXyONIfBhMYV7LfhBZeRIUH VJ8NRS91rxyBnbhowmTxQkuILCS9jhP+FXwTFi6m6fhWulfOSsxu8sr9q2u8cvcX JKYM5xpvxXKdgRWtns94K/N6lnWz0E4EP9xbOn+70+Jc/kLopJt6uwSm0jlLWJYD 1KLgAb2bOjtsxNmWRaHe/t94YdaLZg8Nd7jG4lZWzE5+l6O96s8DNI+9mGoorOso LXyQKbKgZ+XrCgWWCcoXlTrUt1XA7EBCy3FsHAx+0sP7hkYMNKy5sP1g/s7omiGL RLdvqsykCI+LYhKLyLFn+Ma96+/rvemh7l80d3nWdCmWGTHnpvmE60RavJeDAZqU li81PX3yc4MgkpFFlR+bk7/0TIsjqll+bwtcITMMIGacCwtnPDUrshCZ6S6fyfeD Gx5Dm5lJKNxCJWztcsfWL7hwqbz3pwnE2Z54E8vqRVsGvB8ApM/Pq2f5Mm9JR7Xz 2LYtLhhNnimMzXH0y63elL7kpgrXzgCBi3WqRI/uMcZMrtVQ/t1j1yF1n51q5vBk KMrDARce0DnMxCLgJPbBbKmkEMAt4sS9Rzrp88RNQpxsggeh5CIa6QkQQniR9uNq D6bVsiOJjHvZ38OtMif45ESXYoaiU6faDSt2rUAMdOjZAsK9hKQ= =h1CR -----END PGP SIGNATURE----- --sgjgbmmejxhmhmgt-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 10:13:37 2023 Received: (at 41971) by debbugs.gnu.org; 20 Mar 2023 14:13:37 +0000 Received: from localhost ([127.0.0.1]:55456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peGGX-0004KQ-IZ for submit@debbugs.gnu.org; Mon, 20 Mar 2023 10:13:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peGGV-0004KC-Gs for 41971@debbugs.gnu.org; Mon, 20 Mar 2023 10:13:35 -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 1peGGO-0006J1-O9; Mon, 20 Mar 2023 10:13:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=BuMdFrzq2vGh2a3NuVrel9RZGhY15KrNimOl3jpN49I=; b=WB2AJWHNMJYVuV+qPJhe yiCuofnTAUHgVSG2t/lf7tjJ9ub6Ks8WEGQ26cs32m+629K60MjcwaLiSzXavlh9pbVmxc/rGgN0n /0f708CSs2Ug5mlShnbyT23irw0+pV2StMp9dcvZPgp3UrRZdgIHPeoHKUF1mX9iNJrbrRsgMolbn ljvFa+SyM0rrMevBY+nke0M4QgVbdc8SGzFgl+VDcUxnJb7iSY+E61SEps5F/hygyV6uWQPUVgoPq b8L20m+ggZXM3sGwyq0BVWpD/PoGGPPWKIZ0omf5Jq8c7U8MqpabX62LtlSGeP173pmEo9AaPGeDg R6V/5AdwZLnQdQ==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peGGO-00084h-BB; Mon, 20 Mar 2023 10:13:28 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Nicolas Goaziou Subject: Re: bug#41971: [WIP PATCH 0/5] Add SageMath References: <20200620212802.31906-1-kuba@kadziolka.net> <87v9iz5w67.fsf@nicolasgoaziou.fr> Date: Mon, 20 Mar 2023 15:13:24 +0100 In-Reply-To: <87v9iz5w67.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 07 Jul 2020 14:47:28 +0200") Message-ID: <87cz53mry3.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41971 Cc: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= , 41971@debbugs.gnu.org, andreas@enge.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello! Nicolas Goaziou skribis: > Jakub K=C4=85dzio=C5=82ka writes: > >> This patchstack builds upon #40283 and packages (some of) SageMath. >> Currently, sagelib is built successfully, but the `sage' binary is not >> being installed. I'm submitting this here as I'm no longer actively >> working on this for now. Some things remain to be done: > > Thanks! > > Would it make sense to add the uncontroversial fourth first patches, > along with #40283, so it is easier to hack on the sagemath package > itself? Time has passed, but it still sounds like a nice addition. Andreas, Nicolas: should one of you go ahead and apply part of these patches? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 11:01:55 2023 Received: (at 41971) by debbugs.gnu.org; 20 Mar 2023 15:01:55 +0000 Received: from localhost ([127.0.0.1]:55500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peH1G-00080k-RM for submit@debbugs.gnu.org; Mon, 20 Mar 2023 11:01:55 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:55406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peH1F-00080X-H1 for 41971@debbugs.gnu.org; Mon, 20 Mar 2023 11:01:54 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DC60E1A71; Mon, 20 Mar 2023 16:01:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Abs5dB4KrQHc; Mon, 20 Mar 2023 16:01:46 +0100 (CET) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5AA6A333; Mon, 20 Mar 2023 16:01:46 +0100 (CET) Date: Mon, 20 Mar 2023 16:01:45 +0100 From: Andreas Enge To: Ludovic =?iso-8859-15?Q?Court=E8s?= Subject: Re: bug#41971: [WIP PATCH 0/5] Add SageMath Message-ID: References: <20200620212802.31906-1-kuba@kadziolka.net> <87v9iz5w67.fsf@nicolasgoaziou.fr> <87cz53mry3.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87cz53mry3.fsf_-_@gnu.org> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41971 Cc: Jakub =?utf-8?B?S8SFZHppb8WCa2E=?= , 41971@debbugs.gnu.org, Guillaume Le Vaillant , Nicolas Goaziou X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Mon, Mar 20, 2023 at 03:13:24PM +0100 schrieb Ludovic Courtès: > > Would it make sense to add the uncontroversial fourth first patches, > > along with #40283, so it is easier to hack on the sagemath package > > itself? > Time has passed, but it still sounds like a nice addition. There is also https://issues.guix.gnu.org/56729 where I was waiting for a reply from the submitter, and/or Guillaume concerning the Lisp version with which Maxima is compiled. I would have to get back to both issues to see what the current status is, but could only do so in a week or two. Andreas From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 20 14:13:55 2023 Received: (at 41971) by debbugs.gnu.org; 20 Mar 2023 18:13:55 +0000 Received: from localhost ([127.0.0.1]:56742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peK15-0007Hm-Ao for submit@debbugs.gnu.org; Mon, 20 Mar 2023 14:13:55 -0400 Received: from otis.linlux.net ([65.21.219.100]:45541) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peK12-0007HZ-Cj for 41971@debbugs.gnu.org; Mon, 20 Mar 2023 14:13:53 -0400 X-Hashcash: 1:23:230320:g::ObDeZ6y2W9riL9G/:3/sr Received: (qmail 16726 invoked by uid 1008); 20 Mar 2023 19:13:50 +0100 X-Qmailux-Diagnostics: from 45-142-146-28.connected.by.freedominter.net (kuba@kadziolka.net@45-142-146-28.connected.by.freedominter.net) by otis10 (envelope-from , uid 1001) with qmail-scanner-2.11st (clamdscan: 1.0.1/26848. spamassassin: 3.4.6. perlscan: 2.11st. Clear:RC:1(45.142.146.28):. Processed in 0.008659 secs); 20 Mar 2023 18:13:50 -0000 Received: from 45-142-146-28.connected.by.freedominter.net (HELO ?192.168.178.43?) (kuba@kadziolka.net@45.142.146.28) by otis.linlux.net with AES128-GCM-SHA256 encrypted SMTP; 20 Mar 2023 19:13:50 +0100 Message-ID: <4d3555d2-0a58-caea-d683-e8d49d7f7b68@kadziolka.net> Date: Mon, 20 Mar 2023 19:13:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: bug#41971: [WIP PATCH 0/5] Add SageMath Content-Language: en-US To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= , Nicolas Goaziou References: <20200620212802.31906-1-kuba@kadziolka.net> <87v9iz5w67.fsf@nicolasgoaziou.fr> <87cz53mry3.fsf_-_@gnu.org> From: =?UTF-8?Q?Maja_K=c4=85dzio=c5=82ka?= In-Reply-To: <87cz53mry3.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: 41971 Cc: 41971@debbugs.gnu.org, andreas@enge.fr X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On 20/03/2023 15:13, Ludovic Courtès wrote: > Nicolas Goaziou skribis: > >> Would it make sense to add the uncontroversial fourth first patches, >> along with #40283, so it is easier to hack on the sagemath package >> itself? > > Time has passed, but it still sounds like a nice addition. > > Andreas, Nicolas: should one of you go ahead and apply part of these > patches? > > Thanks, > Ludo’. Wow, I wrote these patches like 2 genders and 3 distros ago :P FWIW, they did get pushed to master when you first suggested it, at commit db7f74d2eb4878c0a9ed8bb33853090752277370 and friends. Regards, Maya :3 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 21 05:40:41 2023 Received: (at 41971-done) by debbugs.gnu.org; 21 Mar 2023 09:40:41 +0000 Received: from localhost ([127.0.0.1]:57690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peYTx-00038a-Dk for submit@debbugs.gnu.org; Tue, 21 Mar 2023 05:40:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peYTw-00038L-2T for 41971-done@debbugs.gnu.org; Tue, 21 Mar 2023 05:40:40 -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 1peYTp-0000tB-KY; Tue, 21 Mar 2023 05:40:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=p0PTCbYpELwEr2G9zDDN1OgT0lu7dIY7lV8icEXmQjk=; b=c8IlDaADTmly3cbOS015 eS+wn4r+nrp0bP50xIZKjazgcYm/gQZG0hSlekfEZerKoRVCXbUlHGVqCc+KrvOLbem4YwAyr5Ki0 7O1jePjEqyiGbi60YjR9qAjuUgyp4CK2/zyGMADCjh5I91bsv4IiT1ZqTPp5PmH2PNyKD/1t1Se2g 0aFTkZwKfjd1ZIz/9tGUfnveXuQDOt4eeDpRyNPHmEWI3TV0C8fBkX5Aro2aOJESjC3BSlYi6KhEp rwvo9bQ0Pk8gYl14TsIBjLO43FaEQQhFakvI+Fk+r213omv3G0TKKa7VKaiVw6x2euKLlQzocOOLX WFcTUdORI822ow==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peYTp-0002wq-80; Tue, 21 Mar 2023 05:40:33 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maja =?utf-8?B?S8SFZHppb8WCa2E=?= Subject: Re: bug#41971: [WIP PATCH 0/5] Add SageMath References: <20200620212802.31906-1-kuba@kadziolka.net> <87v9iz5w67.fsf@nicolasgoaziou.fr> <87cz53mry3.fsf_-_@gnu.org> <4d3555d2-0a58-caea-d683-e8d49d7f7b68@kadziolka.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 1 Germinal an 231 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour de la =?utf-8?Q?Primev=C3=A8re?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 21 Mar 2023 10:40:30 +0100 In-Reply-To: <4d3555d2-0a58-caea-d683-e8d49d7f7b68@kadziolka.net> ("Maja =?utf-8?B?S8SFZHppb8WCa2EiJ3M=?= message of "Mon, 20 Mar 2023 19:13:49 +0100") Message-ID: <87ttyesar5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41971-done Cc: andreas@enge.fr, 41971-done@debbugs.gnu.org, Nicolas Goaziou X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Maja K=C4=85dzio=C5=82ka skribis: > FWIW, they did get pushed to master when you first suggested it, at > commit db7f74d2eb4878c0a9ed8bb33853090752277370 and friends. Ooooh, right! My bad. Closing, thanks! Ludo=E2=80=99. From unknown Fri Jun 20 18:13:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 18 Apr 2023 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator