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

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Ludovic Courtès
Owner
unassigned
Submitted by
Ludovic Courtès
Severity
important
L
L
Ludovic Courtès wrote on 1 Mar 2022 11:08
(address . bug-guix@gnu.org)
87wnhe6l4r.fsf@inria.fr
Hello,

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

Toggle snippet (10 lines)
$ 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

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

Ludo’.
L
L
Ludovic Courtès wrote on 2 Mar 2022 11:29
control message for bug #54209
(address . control@debbugs.gnu.org)
87ilsw4pht.fsf@gnu.org
severity 54209 important
quit
L
L
Ludovic Courtès wrote on 8 Mar 2022 09:33
Re: bug#54209: ‘guix shell -D … --with-branch …’ leads to an invalid derivation
(address . 54209-done@debbugs.gnu.org)(address . florent.pruvost@inria.fr)
87ee3calmx.fsf@gnu.org
Ludovic Courtès <ludovic.courtes@inria.fr> skribis:

Toggle quote (6 lines)
> 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'

Closed
?