emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66461: closed (importer opam: unsupported type in string-ci=?)


From: GNU bug Tracking System
Subject: bug#66461: closed (importer opam: unsupported type in string-ci=?)
Date: Tue, 17 Oct 2023 12:58:02 +0000

Your message dated Tue, 17 Oct 2023 14:56:38 +0200
with message-id 
<CAJ3okZ3kTh0ObqROH0ueb_+38=pMBto2=00FM+zjAFo-wqEL3g@mail.gmail.com>
and subject line Re: [PATCH] guix: import: opam: Handle list of licenses.
has caused the debbugs.gnu.org bug report #66461,
regarding importer opam: unsupported type in string-ci=?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
66461: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66461
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: importer opam: unsupported type in string-ci=? Date: Wed, 11 Oct 2023 11:06:34 +0200
Hi,

Using Guix 6113e05, I get this error:

--8<---------------cut here---------------start------------->8---
$ guix import opam odig

Starting download of /tmp/guix-file.Yahnl4
>From https://erratique.ch/software/odig/releases/odig-0.0.9.tbz...
 odig-0.0.9.tbz  11.2MiB              550KiB/s 00:21 ▕██████████████████▏ 100.0%
Backtrace:
           8 (primitive-load "/home/simon/.config/guix/current/bin/guix")
In guix/ui.scm:
   2323:7  7 (run-guix . _)
  2286:10  6 (run-guix-command _ . _)
In guix/scripts/import.scm:
    90:11  5 (guix-import . _)
In guix/scripts/import/opam.scm:
   105:24  4 (guix-import-opam . _)
In guix/import/opam.scm:
   382:24  3 (opam->guix-package _ #:repo _ #:version _)
In guix/import/utils.scm:
    300:2  2 (spdx-string->license ((string-pat "ISC") (string-pat 
"LicenseRef-ParaType-Free-Font-License") (# …)))
In srfi/srfi-1.scm:
   939:17  1 (assoc ((string-pat "ISC") (string-pat 
"LicenseRef-ParaType-Free-Font-License") (string-pat "Li…")) _ …)
In unknown file:
           0 (string-ci=? ((string-pat "ISC") (string-pat 
"LicenseRef-ParaType-Free-Font-License") (# "Licen…")) #)

ERROR: In procedure string-ci=?:
In procedure string-ci=: Wrong type argument in position 1 (expecting string): 
((string-pat "ISC") (string-pat "LicenseRef-ParaType-Free-Font-License") 
(string-pat "LicenseRef-DejaVu-fonts"))
--8<---------------cut here---------------end--------------->8---


Cheers,
simon



--- End Message ---
--- Begin Message --- Subject: Re: [PATCH] guix: import: opam: Handle list of licenses. Date: Tue, 17 Oct 2023 14:56:38 +0200
Hi Josselin,

Cool, thank you for the quick fix.

On Sun, 15 Oct 2023 at 11:39, Josselin Poiret <dev@jpoiret.xyz> wrote:

> * guix/import/opam.scm (opam->guix-package): Handle lists of licenses.
> ---
>  guix/import/opam.scm | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

LGTM.  Pushed and closing.

Cheers,
simon


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]