all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Craven <david@craven.ch>
To: "Francisco Gómez García" <espectalll@kydara.com>
Cc: help-guix@gnu.org
Subject: Re: Cargo build system: Lock file cannot be updated
Date: Sat, 24 Dec 2016 14:51:22 +0100	[thread overview]
Message-ID: <CAL1_immb4CdZwp4=Ru4_X_d5G9SksNT2kg4vx87O7oFP9yCE0A@mail.gmail.com> (raw)
In-Reply-To: <104949EB-C468-4F56-B27B-F7C533CE5129@kydara.com>

> I can assume it’s attempting to modify the current crate's Cargo.lock,
> but obviously is unable to do so. Is this some sort of bug on the build
> system, or is there any parameter which the script is missing?

Ansi term is a rust library. Because of that it does not have a
Cargo.lock file. This means that cargo needs to perform it's
dependency resolution algorithm to determine which dependencies are
needed and which versions. This doesn't work because cargo requires
network connectivity to download the crates.io registry. To prevent
this we pass the --frozen flag to cargo build. This is a bit annoying
in this particular case because there are no dependencies. What you
are experiencing is a known deficiency in the cargo-build-system [0],
the relevant excerpt copied below for reference.

* Cargo build system should not do anything if there isn't a
Cargo.lock file except copy the source to out.

Contributions are welcome!

[0] http://lists.gnu.org/archive/html/guix-devel/2016-12/msg00454.html

      reply	other threads:[~2016-12-24 13:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-24  0:43 Cargo build system: Lock file cannot be updated Francisco Gómez García
2016-12-24 13:51 ` David Craven [this message]

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

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

  git send-email \
    --in-reply-to='CAL1_immb4CdZwp4=Ru4_X_d5G9SksNT2kg4vx87O7oFP9yCE0A@mail.gmail.com' \
    --to=david@craven.ch \
    --cc=espectalll@kydara.com \
    --cc=help-guix@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.