From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EJhhBX038mLflgAAbAwnHQ (envelope-from ) for ; Tue, 09 Aug 2022 12:31:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wAeXBX038mJelQAA9RJhRA (envelope-from ) for ; Tue, 09 Aug 2022 12:31:25 +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 809913C65E for ; Tue, 9 Aug 2022 12:31:24 +0200 (CEST) Received: from localhost ([::1]:39380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLMWB-0002cY-FL for larch@yhetil.org; Tue, 09 Aug 2022 06:31:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLMVs-0002cP-79 for guix-patches@gnu.org; Tue, 09 Aug 2022 06:31:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLMVq-0002Mt-AY for guix-patches@gnu.org; Tue, 09 Aug 2022 06:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLMVq-0006dM-2T for guix-patches@gnu.org; Tue, 09 Aug 2022 06:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57074] [PATCH] gnu: maxima: Fix to find info files. Resent-From: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Aug 2022 10:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57074@debbugs.gnu.org Cc: Daniel =?UTF-8?Q?Mei=C3=9Fner?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166004102325430 (code B ref -1); Tue, 09 Aug 2022 10:31:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2022 10:30:23 +0000 Received: from localhost ([127.0.0.1]:42646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLMVC-0006c5-AB for submit@debbugs.gnu.org; Tue, 09 Aug 2022 06:30:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:54858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLMV9-0006bw-I5 for submit@debbugs.gnu.org; Tue, 09 Aug 2022 06:30:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLMV8-0002Ig-Pz for guix-patches@gnu.org; Tue, 09 Aug 2022 06:30:18 -0400 Received: from out3.mail.ruhr-uni-bochum.de ([2a05:3e00:8:1001::8693:359b]:44327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLMV6-000262-4B for guix-patches@gnu.org; Tue, 09 Aug 2022 06:30:18 -0400 Received: from mx3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out3.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4M28TW5BCfz8SnY for ; Tue, 9 Aug 2022 12:30:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1660041007; bh=okE954H2AQ0RrYHWQYDf0l+TnN+CCUEPkyNXp/zWqPo=; h=From:To:Cc:Subject:Date:From; b=UmHF5INZo1kUKqz8WkTm3D/6IP9BHGUMlOHziMWrtIWYki+MWE0E8/jKx/TkS76k7 h9a8O/pdTzfeXrNnRo+c8srfuvJwwUraNk/cJfM3Q9/6sb6WCqj9gazY00BC7/SCn/ AFM91uevVy/wSg+ixcIYPuFH7W5btK40bv6xGszs= Received: from out3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx3.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4M28TW4G6pz8Sjt; Tue, 9 Aug 2022 12:30:07 +0200 (CEST) X-RUB-Notes: Internal origin=134.147.42.236 X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [134.147.42.236]) by out3.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4M28TW0jWhz8SZY; Tue, 9 Aug 2022 12:30:06 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.1 at mx3.mail.ruhr-uni-bochum.de Received: from xii-04.mg07.ruhr-uni-bochum.de (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4M28TT6pXFzDgys; Tue, 9 Aug 2022 12:30:05 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.104.2 at mail2.mail.ruhr-uni-bochum.de Date: Tue, 9 Aug 2022 12:29:42 +0200 Message-Id: <20220809102942.3501-1-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a05:3e00:8:1001::8693:359b; envelope-from=daniel.meissner-i4k@ruhr-uni-bochum.de; helo=out3.mail.ruhr-uni-bochum.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: Daniel =?UTF-8?Q?Mei=C3=9Fner?= X-ACL-Warn: , =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= From: =?utf-8?q?Daniel_Mei=C3=9Fner_via_Guix-patches?= via 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=1660041084; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=kiXssjp4E40VvYnudRqXhrFTnnnWOKjjhXOEmXbtDmE=; b=VBVY1NCkD/jokVTpQ+N3SkuItvL4Vt0KgKKp7sb36OtuD+4p/ep3iq4yz5Dds13CR5nyhE GA3kfBk7vUDV2ofC9M0bYn9WXhmNX97Z2Tj9vXZm+n4nMVe5aGSOC8/Qef2dkpqF2eAzOE 7Fgc/Ylrci8VV8l6sB7/Hp2RhLRWCNy9vFT0FUElvrCHcczxmMq/eKCVFAyqDSX+Oz+viB ijn99muz5s1VcMaULO71vvX5k3bQmnSKFRVPLhcT7yx5l/LykwxrhzimTYpgydZT1uOoTj +JEqaJvd4zGviL/mDE0aHS3iSCka5cgT5SBTq+rDAyBMhW7fKnN3RbxDOcka+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660041084; a=rsa-sha256; cv=none; b=sLCQbYwlJlfzawxJc9DFxZk/ec09Z4zoet8rmziT6UJ+hhShxrkYWvwA2wCOmQXfMveqee 0nkhc5GVVSwyHhhl6s78JqcbNzciynuJIvFJqlSuCnR+O72x1LStIr5X9Md8NhB0b1bdKU prPrY3sLEJn07oYGUKS4P87eW7XlXYAFYwkR4G1y8zcS12mwJzNiYyVrBS76eQQ00lopRQ JLvbIM7p02fb8MZmV05E3o6OaKncfs6EcPJExX/ZF+KboAj7PBfXGXJzztN/2j41kfUqf7 e8OnWsCT5nTstFaO2vbp7CpniYRJeodIaNfR/CwfDMrpAIb9IsahCe8XoGrBsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=UmHF5INZ; dmarc=pass (policy=none) header.from=gnu.org; 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: -5.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=UmHF5INZ; dmarc=pass (policy=none) header.from=gnu.org; 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: 809913C65E X-Spam-Score: -5.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: q+CQHIuoAjPC The Maxima command ‘describe’ allows to pick the relevant portions from Maxima’s TeXinfo docs. However it does not support reading gzipped info files. * gnu/packages/maths.scm (maxima)[arguments]: Remove 'compress-documentation phase. --- Hi Guix, one of the default phases of the GNU build system is called 'compress-documentation which invokes `gzip' on the .info files but Maxima does not support gzipped files: --8<---------------cut here---------------start------------->8--- daniel@xii-04 ~/src/guix$ maxima Maxima 5.45.1 https://maxima.sourceforge.io using Lisp SBCL 2.2.6 Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) describe(exp); Maxima encountered a Lisp error: The file #P"/gnu/store/vbhzggawcjp52ww5mx4nc68d7c6s7mwz-maxima-5.45.1/share/info/./maxima\\.info-1" does not exist: No such file or directory Automatically continuing. To enable the Lisp debugger set *debugger-hook* to nil. (%i2) --8<---------------cut here---------------end--------------->8--- This simple fix removes the 'compress-documentation which then causes the expected results: --8<---------------cut here---------------start------------->8--- daniel@xii-04 ~/src/guix/_build [env]$ maxima Maxima 5.45.1 https://maxima.sourceforge.io using Lisp SBCL 2.2.6 Distributed under the GNU Public License. See the file COPYING. Dedicated to the memory of William Schelter. The function bug_report() provides bug reporting information. (%i1) describe(exp); -- Function: exp () Represents the exponential function. Instances of 'exp ()' in input are simplified to '%e^'; 'exp' does not appear in simplified expressions. 'demoivre' if 'true' causes '%e^(a + b %i)' to simplify to '%e^(a (cos(b) + %i sin(b)))' if 'b' is free of '%i'. See 'demoivre'. '%emode', when 'true', causes '%e^(%pi %i x)' to be simplified. See '%emode'. '%enumer', when 'true' causes '%e' to be replaced by 2.718... whenever 'numer' is 'true'. See '%enumer'. (%i1) demoivre; (%o1) false (%i2) %e^(a + b*%i); %i b + a (%o2) %e (%i3) demoivre: not demoivre; (%o3) true (%i4) %e^(a + b*%i); a (%o4) %e (%i sin(b) + cos(b)) There are also some inexact matches for `exp'. Try `?? exp' to see them. (%o1) true (%i2) --8<---------------cut here---------------end--------------->8--- Thanks Daniel gnu/packages/maths.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index c10794a089..d531db27c8 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4420,7 +4420,8 @@ (define-public maxima ;; components at runtime. (wrap-program (string-append out "/bin/maxima") `("PATH" prefix (,binutils)))) - #t))))) + #t)) + (delete 'compress-documentation)))) (home-page "https://maxima.sourceforge.io") (synopsis "Numeric and symbolic expression manipulation") (description "Maxima is a system for the manipulation of symbolic and base-commit: 2efc787811a2c4586b763aeed319cb3777e7aa37 -- 2.37.1