[bug#34837] r-minpack-lm fix typo in description causing 'guix package --search' failure

Message ID alpine.DEB.2.20.1903122331040.16784@marsh.hcoop.net
State Accepted
Headers show
Series [bug#34837] r-minpack-lm fix typo in description causing 'guix package --search' failure | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

Jack Hill March 13, 2019, 3:32 a.m. UTC
Hello Guix,

The attatched patch fixes a typo in the description that causes the 
texinfo parsing to fail with:

$ guix package --search=hello
Backtrace:
           18 (primitive-load "/home/jackhill/.config/guix/current/bi…")
In guix/ui.scm:
   1654:12 17 (run-guix-command _ . _)
In ice-9/boot-9.scm:
     829:9 16 (catch _ _ #<procedure 7fa81e59b9b8 at guix/ui.scm:624…> …)
     829:9 15 (catch _ _ #<procedure 7fa81e59b9d0 at guix/ui.scm:750…> …)
In guix/scripts/package.scm:
     894:8 14 (_)
     742:9 13 (process-query _)
In ice-9/boot-9.scm:
     829:9 12 (catch _ _ #<procedure 7fa81c379470 at guix/scripts/pa…> …)
In guix/scripts/package.scm:
    744:24 11 (_)
    181:17 10 (find-packages-by-description _)
In guix/discovery.scm:
     179:3  9 (fold-module-public-variables _ _ _)
In guix/combinators.scm:
     45:26  8 (fold2 #<procedure 2149000 at guix/discovery.scm:179:1…> …)
     45:26  7 (fold2 #<procedure 37a78c0 at guix/discovery.scm:180:1…> …)
In guix/discovery.scm:
    182:33  6 (_ #<package r-minpack-lm@1.2-1 gnu/packages/cran.scm:…> …)
In guix/scripts/package.scm:
    184:38  5 (_ #<package r-minpack-lm@1.2-1 gnu/packages/cran.scm:…> …)
In srfi/srfi-1.scm:
    466:18  4 (fold #<procedure 29051c0 at guix/ui.scm:1318:8 (metri…> …)
In guix/ui.scm:
   1321:13  3 (_ _ 0)
   1197:23  2 (texi->plain-text _)
In texinfo.scm:
   1131:22  1 (parse _)
    966:36  0 (loop #<input: string 26ad850> (*fragment*) #<procedur…> …)

texinfo.scm:966:36: In procedure loop:
Throw to key `parser-error' with args `(#f "Unknown command" rode)'.


Best,
Jack

Comments

Leo Famulari March 13, 2019, 4:38 a.m. UTC | #1
On Tue, Mar 12, 2019 at 11:32:43PM -0400, Jack Hill wrote:
> The attatched patch fixes a typo in the description that causes the texinfo
> parsing to fail with:
> 
> $ guix package --search=hello

[...]

> From abad0c088d6d5d1c96624921186f5e711e04d819 Mon Sep 17 00:00:00 2001
> From: Jack Hill <jackhill@jackhill.us>
> Date: Tue, 12 Mar 2019 23:27:39 -0400
> Subject: [PATCH] gnu: r-minpack-lm: fix typo in description
> 
> * gnu/packages/cran.scm (r-minpack-lm)[description]: Fix typo.

Thanks! Pushed as 2f041a4cef82fa339ec0b86b3538e05e2c9705c4

Patch

From abad0c088d6d5d1c96624921186f5e711e04d819 Mon Sep 17 00:00:00 2001
From: Jack Hill <jackhill@jackhill.us>
Date: Tue, 12 Mar 2019 23:27:39 -0400
Subject: [PATCH] gnu: r-minpack-lm: fix typo in description

* gnu/packages/cran.scm (r-minpack-lm)[description]: Fix typo.
---
 gnu/packages/cran.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b41e45673..d6301f1a8 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -11144,7 +11144,7 @@  transformation, respectively.")
 @code{lmdif} from the MINPACK library, for solving nonlinear least-squares
 problems by a modification of the Levenberg-Marquardt algorithm, with support
 for lower and upper parameter bounds.  The implementation can be used via
-@rode{nls}-like calls using the @code{nlsLM} function.")
+@code{nls}-like calls using the @code{nlsLM} function.")
     (license license:gpl3)))
 
 (define-public r-moments
-- 
2.21.0