unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Ryan Prior <rprior@protonmail.com>
Cc: 45453@debbugs.gnu.org
Subject: bug#45453: Error when I try to build a package using a JSON definition
Date: Sun, 27 Dec 2020 11:38:01 +0100	[thread overview]
Message-ID: <87lfdjmt4m.fsf@elephly.net> (raw)
In-Reply-To: <87wnx4nkx1.fsf@protonmail.com>


Hi Ryan,

> Any idea what the issue here is or how I should go about debugging?

You were *so* close!  The problem is with the license field.
Uncharacteristically, we are using spdx-string->license here, so “expat”
is not a valid license name.  When you replace it with “MIT” it will
work.

I’ll change this to use the Guixy license names first, and only fall
back to SPDX names when that fails.  And there should be a proper error
message, of course.

Thanks for the bug report!

-- 
Ricardo




  parent reply	other threads:[~2020-12-27 10:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-27  0:38 bug#45453: Error when I try to build a package using a JSON definition Ryan Prior via Bug reports for GNU Guix
2020-12-27  2:28 ` Julien Lepiller
2020-12-27  3:19   ` Ryan Prior via Bug reports for GNU Guix
2020-12-27 10:40   ` Ricardo Wurmus
2020-12-27 10:38 ` Ricardo Wurmus [this message]
2020-12-27 11:08   ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfdjmt4m.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=45453@debbugs.gnu.org \
    --cc=rprior@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).