GNU bug report logs - #54209
‘guix shell -D … --with-branch …’ leads to an invalid derivation

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Tue, 1 Mar 2022 10:09:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Subject: bug#54209: closed (Re: bug#54209: ‘guix shell
 -D … --with-branch …’
 leads to an invalid derivation)
Date: Tue, 08 Mar 2022 08:35:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#54209: ‘guix shell -D … --with-branch …’ leads to an invalid derivation

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 54209 <at> debbugs.gnu.org.

-- 
54209: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54209
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: 54209-done <at> debbugs.gnu.org
Cc: florent.pruvost <at> inria.fr
Subject: Re: bug#54209: ‘guix shell -D
 … --with-branch …’ leads to an
 invalid derivation
Date: Tue, 08 Mar 2022 09:33:58 +0100
Ludovic Courtès <ludovic.courtes <at> inria.fr> skribis:

> The following command ends up creating an invalid derivation in the
> glib-schemas hook:
>
> $ guix shell -D guile-next  --with-branch=guile-next=stable-2.2 python-matplotlib  
> guix shell: error: derivation `/gnu/store/6hy95hpjbbzvppwxndzapi3f5s1xcgkm-glib-schemas.drv' has incorrect output `/gnu/store/vahx614bazd4zk5akkqp1y7aflbi1rla-glib-schemas', should be `/gnu/store/m0138ijax94m5lcdksw8jz5zdvlhdghh-glib-schemas'

Fixed:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=1cad3476189d2ce84fabe95b69db8fb85a10b67a

Ludo’.

[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: ‘guix shell -D …
 --with-branch …’ leads to an invalid derivation
Date: Tue, 01 Mar 2022 11:08:04 +0100
Hello,

The following command ends up creating an invalid derivation in the
glib-schemas hook:

--8<---------------cut here---------------start------------->8---
$ guix shell -D guile-next  --with-branch=guile-next=stable-2.2 python-matplotlib  
guix shell: error: derivation `/gnu/store/6hy95hpjbbzvppwxndzapi3f5s1xcgkm-glib-schemas.drv' has incorrect output `/gnu/store/vahx614bazd4zk5akkqp1y7aflbi1rla-glib-schemas', should be `/gnu/store/m0138ijax94m5lcdksw8jz5zdvlhdghh-glib-schemas'
$ guix describe
Generacio 205	Feb 27 2022 17:52:04	(nuna)
  guix 85a5110
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 85a5110de79f4fe9fd822ede3915654ee699d6c5
--8<---------------cut here---------------end--------------->8---

The problem vanishes if we pass ‘--no-grafts’ or if we remove
‘--with-branch’.

Ludo’.



This bug report was last modified 3 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.