Subject: Re: bug#42510: ‘guix pack -RR’ can lead to profile collisions
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Fri, 24 Jul 2020 14:28:51 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> skribis:

> ‘guix pack -RR’ produces package variants that can lead to profile
> collision in the presence of propagated inputs:
>
> $ guix describe
> Generacio 151	Jul 20 2020 11:16:29	(nuna)
>   guix cd0c426
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: cd0c4268d74e58fcfe9c729183d90665f4abbb09
> $ guix pack -RR python-scipy python-numpy --no-grafts
> guix pack: error: profile contains conflicting entries for python-numpy
> guix pack: error:   first entry: [email-masked] /gnu/store/603imkkh2bqs01z8ik0b2ndgpdz0jghk-python-numpy-1.17.3
> guix pack: error:    ... propagated from [email-masked]
> guix pack: error:   second entry: [email-masked] /gnu/store/0fjdgihg6r3m2d6qfbkis4vg0017ilkj-python-numpy-1.17.3R
> hint: Try upgrading both `python-scipy' and `python-numpy', or remove one of them from the profile.
>
> Here the “R” variant conflicts with the regular one.

Fixed:

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

Ludo’.