Grafted python2 packages gets erroneous package names

OpenSubmitted by Marius Bakke.
Details
3 participants
  • Ludovic Courtès
  • Marius Bakke
  • Mark H Weaver
Owner
unassigned
Severity
important
M
M
Marius Bakke wrote on 23 May 2021 16:22
(address . bug-guix@gnu.org)
87a6olbkd3.fsf@gnu.org
Hello,

'guix build python2-urllib3' currently gives:

/gnu/store/cx22ny550g97klf499yqgzx9mpvvkx1f-python2-python2-urllib3-1.26.4

Adding '--no-grafts' gives the expected file name.

Note that up until commit 2f97a666a564fea0fdcff00a0513aa8b4c2d60fe, the
store file name was actually '...-python2-python2-python2-urllib3-...'!

Not sure if this is a recent regression, or what may be causing it.

Ideas?
-----BEGIN PGP SIGNATURE-----

iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCYKplKA8cbWFyaXVzQGdu
dS5vcmcACgkQ6HGLpZEUEHe74QEAr3K+foiQX0wQGx2vEVcgVpToKl6pIG8jEyXY
awgg//MBAJUZuKuG51e+gIRfEMhxzFYVQXpgWB7orCaA4nPljdIO
=uab7
-----END PGP SIGNATURE-----

M
M
Mark H Weaver wrote on 24 May 2021 07:23
87o8d0so0c.fsf@netris.org
Hi Marius,

Marius Bakke <marius@gnu.org> writes:

Toggle quote (13 lines)
> 'guix build python2-urllib3' currently gives:
>
> /gnu/store/cx22ny550g97klf499yqgzx9mpvvkx1f-python2-python2-urllib3-1.26.4
>
> Adding '--no-grafts' gives the expected file name.
>
> Note that up until commit 2f97a666a564fea0fdcff00a0513aa8b4c2d60fe, the
> store file name was actually '...-python2-python2-python2-urllib3-...'!
>
> Not sure if this is a recent regression, or what may be causing it.
>
> Ideas?

It might be related to commit 1a265842e634656411bc7304c4648273f174f65e,
and especially the changes made to guix/build-system/python.scm.

Mark
L
L
Ludovic Courtès wrote on 27 May 2021 15:12
control message for bug #48602
(address . control@debbugs.gnu.org)
871r9smic2.fsf@gnu.org
severity 48602 important
quit
?