From unknown Sun Jun 22 00:40:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34203: scmutils fails to build Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 25 Jan 2019 22:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34203 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 34203@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15484545516661 (code B ref -1); Fri, 25 Jan 2019 22:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jan 2019 22:15:51 +0000 Received: from localhost ([127.0.0.1]:45685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gn9lP-0001jN-BW for submit@debbugs.gnu.org; Fri, 25 Jan 2019 17:15:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gn9lN-0001jB-Q2 for submit@debbugs.gnu.org; Fri, 25 Jan 2019 17:15:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:55480) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gn9lI-0004rd-Bg for submit@debbugs.gnu.org; Fri, 25 Jan 2019 17:15:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gn9lH-0003MV-6p for bug-guix@gnu.org; Fri, 25 Jan 2019 17:15:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gn9lC-0004kY-F1 for bug-guix@gnu.org; Fri, 25 Jan 2019 17:15:39 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21048) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gn9l4-0004ZX-Vq for bug-guix@gnu.org; Fri, 25 Jan 2019 17:15:34 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1548454512; cv=none; d=zoho.com; s=zohoarc; b=R3Zp4AK3NhU/UTo+l0me+Pr+leedT29t+T7/FzYPcxwDiZe9sHxxRSAt2qtb+dCvjq1cconT8JmzNS/LGxkASDqj+Fybf86mHU/wEIEZsFKI85nwmu82WgkGSJqZaS9RD1Qt5CuABfr0+YZ6K5seczyKuCa4p+ze4qDpgffzfzU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1548454512; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=QUeZ0pbBwBaZkKQGLhu3+cfhepvhrwCL9N6pwKIceoQ=; b=OBqNZPADwMKTznIgpKZQuDsb2rO74g1+285haHcGduZfx1yLP8FQ/ER7HwOZGshj08K0yPL6OVERj1JO/22N8wjzFxNszT25TQ4oA66SfrPEh54t3JohyVSf3fG01PD/iC5FBpwRbG+34w5ZXHCKNA9vUD89/elCn0m/IMO0rvA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1548454512; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1874; bh=QUeZ0pbBwBaZkKQGLhu3+cfhepvhrwCL9N6pwKIceoQ=; b=FsCbXjkx87XhDLKwWLgpF1n+P49YqCqiZvdOL3XAWgT1IgfN2R3dlFbwDPr/vNTj SR3Ikv9JrxCWCkBIq3I/rNKbI6GnZ+/HHz1tQUoA/9ZimcMldM2nPAMWvFk6rUq1sij OBayyYMCzE4g3aKX8uIkwVgz0lSdH93J4iNlokRo= Received: from localhost (p578E7F3B.dip0.t-ipconnect.de [87.142.127.59]) by mx.zohomail.com with SMTPS id 1548454510217190.23160986776657; Fri, 25 Jan 2019 14:15:10 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 25 Jan 2019 23:15:02 +0100 Message-ID: <87d0okv0yh.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.216 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) 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: -0.0 (/) scmutils fails to build with the current MIT Scheme. I first thought it might just be minor problems, so I applied some patches in build phases: --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index bcaccb452..bb2a9f9fb 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -680,8 +680,25 @@ threads.") "(disk-save \"edwin-mechanics.com\")'" "| mit-scheme"))) (with-directory-excursion "scmutils/scmutils" - (and (zero? (system "mit-scheme < compile.scm")) - (zero? (system make-img)))) + ;; Case seems to be important. + (substitute* "kernel/utils.scm" + (("#F") "#f")) + (substitute* "display/exdisplay.scm" + (("SPACE") "space")) + (substitute* "enclose/jinx-utils.scm" + (("Space") "space")) + ;; These files only contain comments, so don't compile = them + ;; or else we get an error. + (substitute* "mechanics/compile.scm" + (("\"Lagrangian-evolution\"") "") + (("\"Hamiltonian-evolution\"") "") + (("\"generating-functions\"") "")) + (substitute* "compile.scm" + (("\\(cf \"./patch\"\\)") "(display \"skipping\")")) + + (invoke "mit-scheme" "--load" "compile.scm") + (unless (zero? (system make-img)) + (error "could not build scmutils"))) #t))) (add-before 'install 'fix-directory-names ;; Correct directory names in the startup script. --8<---------------cut here---------------end--------------->8--- Unfortunately, this is not enough as some procedure bindings have disappeared, such as =E2=80=9Cguarantee-procedure-arity=E2=80=9D. The compilation results in a lot of warnings; I=E2=80=99m not sure if they = are harmless. There is no more recent release of scmutils. There is a port to Guile 2.0, but it is not obvious how to compile it: https://www.cs.rochester.edu/~gildea/guile-scmutils/ -- Ricardo From unknown Sun Jun 22 00:40:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ricardo Wurmus Subject: bug#34203: closed (Re: scmutils fails to build) Message-ID: References: <87k1fc6dlq.fsf@elephly.net> <87d0okv0yh.fsf@elephly.net> X-Gnu-PR-Message: they-closed 34203 X-Gnu-PR-Package: guix Reply-To: 34203@debbugs.gnu.org Date: Mon, 29 Apr 2019 15:23:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1556551382-21966-1" This is a multi-part message in MIME format... ------------=_1556551382-21966-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #34203: scmutils fails to build which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 34203@debbugs.gnu.org. --=20 34203: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34203 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1556551382-21966-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 34203-done) by debbugs.gnu.org; 29 Apr 2019 15:22:25 +0000 Received: from localhost ([127.0.0.1]:39508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hL86r-0005hK-BT for submit@debbugs.gnu.org; Mon, 29 Apr 2019 11:22:25 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hL86p-0005hB-9M for 34203-done@debbugs.gnu.org; Mon, 29 Apr 2019 11:22:24 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1556551334; cv=none; d=zoho.com; s=zohoarc; b=C0xelWx+iLiJrSvEGWtJlszQV4toegTveKnmn4Xfq6hmiwBPxDwrq6kw0ofy1gWP9e/e+qD2Yc3mzFG61T8dYv8MPo2pjuo5MrILBOKjask17MK93Os63E4pQPEntCN5dUfmJ9ZUKoXa5dMwfxLp+nExZC1qC1pcvtafeix/Xjw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556551334; h=Content-Type:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=cwby/i+MbRo0zpw7PR2PV/p6rHSVs57DoiJC4g0RffI=; b=IyLn2vem4iiO1i8/a3YXkX3yxOhNoixE+Khrym1CSbQ1qi74y/Egfx2EjL5mrl1lvsvBR8bzPb8UnsEkx7wpC41gBmUkNN5YdIB/hFzV2dr4z/RcG0kVKDT0P+ou2+9A/jYQIqmjhlks4lwYdJQq5LotgrevK4VWulGMG2Bb5Sc= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1556551334; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=138; bh=cwby/i+MbRo0zpw7PR2PV/p6rHSVs57DoiJC4g0RffI=; b=OiXaz3gLNj6h2Wz2DtBBiOOy3fNt3paTooUMn2LVsVe8jW417Bp8IiVxRqYenkuZ L6qETfb0LQ/7gdx9g8UrwsjanoBAAL9RoEw0v2e8eUH8oGsaaeTaLc/CbdwomVJW/gc zg9obi+DtExfstSXra9RHCaU4oMZwIdsp4ddW9Ps= Received: from localhost (p54AD4D3C.dip0.t-ipconnect.de [84.173.77.60]) by mx.zohomail.com with SMTPS id 1556551332255267.94443794533845; Mon, 29 Apr 2019 08:22:12 -0700 (PDT) References: <87d0okv0yh.fsf@elephly.net> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: 34203-done@debbugs.gnu.org Subject: Re: scmutils fails to build In-reply-to: <87d0okv0yh.fsf@elephly.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 29 Apr 2019 17:22:09 +0200 Message-ID: <87k1fc6dlq.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34203-done 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 (-) > scmutils fails to build with the current MIT Scheme. I have removed the scmutils package with commit 4267481a4e. -- Ricardo ------------=_1556551382-21966-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Jan 2019 22:15:51 +0000 Received: from localhost ([127.0.0.1]:45685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gn9lP-0001jN-BW for submit@debbugs.gnu.org; Fri, 25 Jan 2019 17:15:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53876) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gn9lN-0001jB-Q2 for submit@debbugs.gnu.org; Fri, 25 Jan 2019 17:15:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:55480) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gn9lI-0004rd-Bg for submit@debbugs.gnu.org; Fri, 25 Jan 2019 17:15:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gn9lH-0003MV-6p for bug-guix@gnu.org; Fri, 25 Jan 2019 17:15:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gn9lC-0004kY-F1 for bug-guix@gnu.org; Fri, 25 Jan 2019 17:15:39 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21048) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gn9l4-0004ZX-Vq for bug-guix@gnu.org; Fri, 25 Jan 2019 17:15:34 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1548454512; cv=none; d=zoho.com; s=zohoarc; b=R3Zp4AK3NhU/UTo+l0me+Pr+leedT29t+T7/FzYPcxwDiZe9sHxxRSAt2qtb+dCvjq1cconT8JmzNS/LGxkASDqj+Fybf86mHU/wEIEZsFKI85nwmu82WgkGSJqZaS9RD1Qt5CuABfr0+YZ6K5seczyKuCa4p+ze4qDpgffzfzU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1548454512; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=QUeZ0pbBwBaZkKQGLhu3+cfhepvhrwCL9N6pwKIceoQ=; b=OBqNZPADwMKTznIgpKZQuDsb2rO74g1+285haHcGduZfx1yLP8FQ/ER7HwOZGshj08K0yPL6OVERj1JO/22N8wjzFxNszT25TQ4oA66SfrPEh54t3JohyVSf3fG01PD/iC5FBpwRbG+34w5ZXHCKNA9vUD89/elCn0m/IMO0rvA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1548454512; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1874; bh=QUeZ0pbBwBaZkKQGLhu3+cfhepvhrwCL9N6pwKIceoQ=; b=FsCbXjkx87XhDLKwWLgpF1n+P49YqCqiZvdOL3XAWgT1IgfN2R3dlFbwDPr/vNTj SR3Ikv9JrxCWCkBIq3I/rNKbI6GnZ+/HHz1tQUoA/9ZimcMldM2nPAMWvFk6rUq1sij OBayyYMCzE4g3aKX8uIkwVgz0lSdH93J4iNlokRo= Received: from localhost (p578E7F3B.dip0.t-ipconnect.de [87.142.127.59]) by mx.zohomail.com with SMTPS id 1548454510217190.23160986776657; Fri, 25 Jan 2019 14:15:10 -0800 (PST) User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: bug-guix@gnu.org Subject: scmutils fails to build X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Fri, 25 Jan 2019 23:15:02 +0100 Message-ID: <87d0okv0yh.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 135.84.80.216 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) 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: -0.0 (/) scmutils fails to build with the current MIT Scheme. I first thought it might just be minor problems, so I applied some patches in build phases: --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index bcaccb452..bb2a9f9fb 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -680,8 +680,25 @@ threads.") "(disk-save \"edwin-mechanics.com\")'" "| mit-scheme"))) (with-directory-excursion "scmutils/scmutils" - (and (zero? (system "mit-scheme < compile.scm")) - (zero? (system make-img)))) + ;; Case seems to be important. + (substitute* "kernel/utils.scm" + (("#F") "#f")) + (substitute* "display/exdisplay.scm" + (("SPACE") "space")) + (substitute* "enclose/jinx-utils.scm" + (("Space") "space")) + ;; These files only contain comments, so don't compile = them + ;; or else we get an error. + (substitute* "mechanics/compile.scm" + (("\"Lagrangian-evolution\"") "") + (("\"Hamiltonian-evolution\"") "") + (("\"generating-functions\"") "")) + (substitute* "compile.scm" + (("\\(cf \"./patch\"\\)") "(display \"skipping\")")) + + (invoke "mit-scheme" "--load" "compile.scm") + (unless (zero? (system make-img)) + (error "could not build scmutils"))) #t))) (add-before 'install 'fix-directory-names ;; Correct directory names in the startup script. --8<---------------cut here---------------end--------------->8--- Unfortunately, this is not enough as some procedure bindings have disappeared, such as =E2=80=9Cguarantee-procedure-arity=E2=80=9D. The compilation results in a lot of warnings; I=E2=80=99m not sure if they = are harmless. There is no more recent release of scmutils. There is a port to Guile 2.0, but it is not obvious how to compile it: https://www.cs.rochester.edu/~gildea/guile-scmutils/ -- Ricardo ------------=_1556551382-21966-1--