Daemon fails with "got unexpected path ... from substituter"

  • Done
  • quality assurance status badge
Details
3 participants
  • Gábor Boskovits
  • Ludovic Courtès
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Gábor Boskovits
Severity
important
G
G
Gábor Boskovits wrote on 11 Jan 2020 15:48
Installer fails on install disk built from master
(address . bug-guix@gnu.org)
CAE4v=pjosnJ07=XOMckmvXXYUbeB2j6jFMovX7QywkB9+iB1_g@mail.gmail.com
Hello,

I noticed that the install disk created on current master can't
install the system.

This is on:
e4c9ba4da2a6faf80209488d5c086ea0d5c39214
.

I have found a reproducer that might highlight where the problem is.

Steps to reproduce:
1. guix pull
2. build the installer image
guix system disk-image --file-system-type=iso9660 \
gnu/system/install.scm
3. boot it
4. switch to tty3
5. create a file gexp.scm with this content:
(use-modules
(gnu packages package-management)
(guix gexp))

(program-file
"a"
(with-extensions
(list guix)
#~(#t)))
6. guix build -f gexp.scm

This will fail with as strange error message.
This same problem causes the final installation failure in the installer.

This works fine on the latest installation image.
This works if you run it again after it fails.

Any help on debugging this further would be appreciated.

Best regards,
g_bor
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
R
R
Ricardo Wurmus wrote on 11 Jan 2020 17:43
(name . Gábor Boskovits)(address . boskovits@gmail.com)(address . 39090@debbugs.gnu.org)
87a76uymd8.fsf@elephly.net
Gábor Boskovits <boskovits@gmail.com> writes:

Toggle quote (14 lines)
> 5. create a file gexp.scm with this content:
> (use-modules
> (gnu packages package-management)
> (guix gexp))
>
> (program-file
> "a"
> (with-extensions
> (list guix)
> #~(#t)))
> 6. guix build -f gexp.scm
>
> This will fail with as strange error message.

What’s the error message?

--
Ricardo
G
G
Gábor Boskovits wrote on 11 Jan 2020 20:07
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 39090@debbugs.gnu.org)
CAE4v=pj1exCTChkqt93AnGNh_oxhgso+p5n1a2yY-7irtPsgZw@mail.gmail.com
Ricardo Wurmus <rekado@elephly.net> ezt írta (id?pont: 2020. jan. 11.,
Szo, 17:44):
Toggle quote (20 lines)
>
>
> Gábor Boskovits <boskovits@gmail.com> writes:
>
> > 5. create a file gexp.scm with this content:
> > (use-modules
> > (gnu packages package-management)
> > (guix gexp))
> >
> > (program-file
> > "a"
> > (with-extensions
> > (list guix)
> > #~(#t)))
> > 6. guix build -f gexp.scm
> >
> > This will fail with as strange error message.
>
> What’s the error message?

guix build: error: got unexpected path <store-path-name> from substituter

<store-path-name> varies, currently it was
/gnu/store/0q95b...-libarchive-3.4.0.tar.gz
Toggle quote (6 lines)
>
> --
> Ricardo
>


--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
G
G
Gábor Boskovits wrote on 12 Jan 2020 02:15
(address . 39090@debbugs.gnu.org)
CAE4v=pgKP7i71toneBnujKp1r6nNi3N8rRQSZkPR1ZRttW0+OA@mail.gmail.com
Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
11., Szo, 15:49):
Toggle quote (46 lines)
>
> Hello,
>
> I noticed that the install disk created on current master can't
> install the system.
>
> This is on:
> e4c9ba4da2a6faf80209488d5c086ea0d5c39214
> .
>
> I have found a reproducer that might highlight where the problem is.
>
> Steps to reproduce:
> 1. guix pull
> 2. build the installer image
> guix system disk-image --file-system-type=iso9660 \
> gnu/system/install.scm
> 3. boot it
> 4. switch to tty3
> 5. create a file gexp.scm with this content:
> (use-modules
> (gnu packages package-management)
> (guix gexp))
>
> (program-file
> "a"
> (with-extensions
> (list guix)
> #~(#t)))
> 6. guix build -f gexp.scm
>
> This will fail with as strange error message.
> This same problem causes the final installation failure in the installer.
>
> This works fine on the latest installation image.
> This works if you run it again after it fails.
>
> Any help on debugging this further would be appreciated.
>
> Best regards,
> g_bor
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
>
>
>
I started a bisect,
b1d13e40... is good.

--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
G
G
Gábor Boskovits wrote on 12 Jan 2020 03:06
(address . 39090@debbugs.gnu.org)
CAE4v=pgXy+UVASGgE1mun2nh8fHz0tQMrvq9M_UXuvr1NdFm1w@mail.gmail.com
Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
12., V, 2:15):
Toggle quote (51 lines)
>
> Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> 11., Szo, 15:49):
> >
> > Hello,
> >
> > I noticed that the install disk created on current master can't
> > install the system.
> >
> > This is on:
> > e4c9ba4da2a6faf80209488d5c086ea0d5c39214
> > .
> >
> > I have found a reproducer that might highlight where the problem is.
> >
> > Steps to reproduce:
> > 1. guix pull
> > 2. build the installer image
> > guix system disk-image --file-system-type=iso9660 \
> > gnu/system/install.scm
> > 3. boot it
> > 4. switch to tty3
> > 5. create a file gexp.scm with this content:
> > (use-modules
> > (gnu packages package-management)
> > (guix gexp))
> >
> > (program-file
> > "a"
> > (with-extensions
> > (list guix)
> > #~(#t)))
> > 6. guix build -f gexp.scm
> >
> > This will fail with as strange error message.
> > This same problem causes the final installation failure in the installer.
> >
> > This works fine on the latest installation image.
> > This works if you run it again after it fails.
> >
> > Any help on debugging this further would be appreciated.
> >
> > Best regards,
> > g_bor
> > --
> > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> >
> >
> >
> I started a bisect,
> b1d13e40... is good.
a3569a3 good
Toggle quote (6 lines)
>
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21



--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
G
G
Gábor Boskovits wrote on 12 Jan 2020 12:39
(address . 39090@debbugs.gnu.org)
CAE4v=piU-y9+HVGq9e_HsWMM6JV=BpOKEacGq6FRW2BsgfO3Mw@mail.gmail.com
Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
12., V, 3:06):
Toggle quote (55 lines)
>
> Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> 12., V, 2:15):
> >
> > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > 11., Szo, 15:49):
> > >
> > > Hello,
> > >
> > > I noticed that the install disk created on current master can't
> > > install the system.
> > >
> > > This is on:
> > > e4c9ba4da2a6faf80209488d5c086ea0d5c39214
> > > .
> > >
> > > I have found a reproducer that might highlight where the problem is.
> > >
> > > Steps to reproduce:
> > > 1. guix pull
> > > 2. build the installer image
> > > guix system disk-image --file-system-type=iso9660 \
> > > gnu/system/install.scm
> > > 3. boot it
> > > 4. switch to tty3
> > > 5. create a file gexp.scm with this content:
> > > (use-modules
> > > (gnu packages package-management)
> > > (guix gexp))
> > >
> > > (program-file
> > > "a"
> > > (with-extensions
> > > (list guix)
> > > #~(#t)))
> > > 6. guix build -f gexp.scm
> > >
> > > This will fail with as strange error message.
> > > This same problem causes the final installation failure in the installer.
> > >
> > > This works fine on the latest installation image.
> > > This works if you run it again after it fails.
> > >
> > > Any help on debugging this further would be appreciated.
> > >
> > > Best regards,
> > > g_bor
> > > --
> > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > >
> > >
> > >
> > I started a bisect,
> > b1d13e40... is good.
> a3569a3 good
92afa57 good


Toggle quote (11 lines)
> >
> > --
> > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
>
>
>
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21



--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
G
G
Gábor Boskovits wrote on 12 Jan 2020 14:00
(address . 39090@debbugs.gnu.org)
CAE4v=pgNtxvVQ2YnfeowjW3ot1GT7HqZN8379kbBQjCuRMaksQ@mail.gmail.com
Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
12., V, 12:39):
Toggle quote (59 lines)
>
> Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> 12., V, 3:06):
> >
> > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > 12., V, 2:15):
> > >
> > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > 11., Szo, 15:49):
> > > >
> > > > Hello,
> > > >
> > > > I noticed that the install disk created on current master can't
> > > > install the system.
> > > >
> > > > This is on:
> > > > e4c9ba4da2a6faf80209488d5c086ea0d5c39214
> > > > .
> > > >
> > > > I have found a reproducer that might highlight where the problem is.
> > > >
> > > > Steps to reproduce:
> > > > 1. guix pull
> > > > 2. build the installer image
> > > > guix system disk-image --file-system-type=iso9660 \
> > > > gnu/system/install.scm
> > > > 3. boot it
> > > > 4. switch to tty3
> > > > 5. create a file gexp.scm with this content:
> > > > (use-modules
> > > > (gnu packages package-management)
> > > > (guix gexp))
> > > >
> > > > (program-file
> > > > "a"
> > > > (with-extensions
> > > > (list guix)
> > > > #~(#t)))
> > > > 6. guix build -f gexp.scm
> > > >
> > > > This will fail with as strange error message.
> > > > This same problem causes the final installation failure in the installer.
> > > >
> > > > This works fine on the latest installation image.
> > > > This works if you run it again after it fails.
> > > >
> > > > Any help on debugging this further would be appreciated.
> > > >
> > > > Best regards,
> > > > g_bor
> > > > --
> > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > >
> > > >
> > > >
> > > I started a bisect,
> > > b1d13e40... is good.
> > a3569a3 good
> 92afa57 good
aa8f64b bad


Toggle quote (18 lines)
>
>
> > >
> > > --
> > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> >
> >
> >
> > --
> > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
>
>
>
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21



--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
G
G
Gábor Boskovits wrote on 12 Jan 2020 16:18
(address . 39090@debbugs.gnu.org)
CAE4v=pjj=7jyborLAGB9VCozeL4PmTXUzhQxuiJW4G1f581qbQ@mail.gmail.com
Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
12., V, 14:00):
Toggle quote (63 lines)
>
> Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> 12., V, 12:39):
> >
> > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > 12., V, 3:06):
> > >
> > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > 12., V, 2:15):
> > > >
> > > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > > 11., Szo, 15:49):
> > > > >
> > > > > Hello,
> > > > >
> > > > > I noticed that the install disk created on current master can't
> > > > > install the system.
> > > > >
> > > > > This is on:
> > > > > e4c9ba4da2a6faf80209488d5c086ea0d5c39214
> > > > > .
> > > > >
> > > > > I have found a reproducer that might highlight where the problem is.
> > > > >
> > > > > Steps to reproduce:
> > > > > 1. guix pull
> > > > > 2. build the installer image
> > > > > guix system disk-image --file-system-type=iso9660 \
> > > > > gnu/system/install.scm
> > > > > 3. boot it
> > > > > 4. switch to tty3
> > > > > 5. create a file gexp.scm with this content:
> > > > > (use-modules
> > > > > (gnu packages package-management)
> > > > > (guix gexp))
> > > > >
> > > > > (program-file
> > > > > "a"
> > > > > (with-extensions
> > > > > (list guix)
> > > > > #~(#t)))
> > > > > 6. guix build -f gexp.scm
> > > > >
> > > > > This will fail with as strange error message.
> > > > > This same problem causes the final installation failure in the installer.
> > > > >
> > > > > This works fine on the latest installation image.
> > > > > This works if you run it again after it fails.
> > > > >
> > > > > Any help on debugging this further would be appreciated.
> > > > >
> > > > > Best regards,
> > > > > g_bor
> > > > > --
> > > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > > >
> > > > >
> > > > >
> > > > I started a bisect,
> > > > b1d13e40... is good.
> > > a3569a3 good
> > 92afa57 good
> aa8f64b bad
6298f32 bad
Toggle quote (25 lines)
>
>
> >
> >
> > > >
> > > > --
> > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > >
> > >
> > >
> > > --
> > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> >
> >
> >
> > --
> > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
>
>
>
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21



--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
G
G
Gábor Boskovits wrote on 12 Jan 2020 17:54
(address . 39090@debbugs.gnu.org)
CAE4v=ph5q8r=JcPgrdpCqS2D+Df7N-N=Aj45VmS0ZH9jdWj-CA@mail.gmail.com
Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
12., V, 16:18):
Toggle quote (67 lines)
>
> Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> 12., V, 14:00):
> >
> > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > 12., V, 12:39):
> > >
> > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > 12., V, 3:06):
> > > >
> > > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > > 12., V, 2:15):
> > > > >
> > > > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > > > 11., Szo, 15:49):
> > > > > >
> > > > > > Hello,
> > > > > >
> > > > > > I noticed that the install disk created on current master can't
> > > > > > install the system.
> > > > > >
> > > > > > This is on:
> > > > > > e4c9ba4da2a6faf80209488d5c086ea0d5c39214
> > > > > > .
> > > > > >
> > > > > > I have found a reproducer that might highlight where the problem is.
> > > > > >
> > > > > > Steps to reproduce:
> > > > > > 1. guix pull
> > > > > > 2. build the installer image
> > > > > > guix system disk-image --file-system-type=iso9660 \
> > > > > > gnu/system/install.scm
> > > > > > 3. boot it
> > > > > > 4. switch to tty3
> > > > > > 5. create a file gexp.scm with this content:
> > > > > > (use-modules
> > > > > > (gnu packages package-management)
> > > > > > (guix gexp))
> > > > > >
> > > > > > (program-file
> > > > > > "a"
> > > > > > (with-extensions
> > > > > > (list guix)
> > > > > > #~(#t)))
> > > > > > 6. guix build -f gexp.scm
> > > > > >
> > > > > > This will fail with as strange error message.
> > > > > > This same problem causes the final installation failure in the installer.
> > > > > >
> > > > > > This works fine on the latest installation image.
> > > > > > This works if you run it again after it fails.
> > > > > >
> > > > > > Any help on debugging this further would be appreciated.
> > > > > >
> > > > > > Best regards,
> > > > > > g_bor
> > > > > > --
> > > > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > > > >
> > > > > >
> > > > > >
> > > > > I started a bisect,
> > > > > b1d13e40... is good.
> > > > a3569a3 good
> > > 92afa57 good
> > aa8f64b bad
> 6298f32 bad
94c621b bad
Toggle quote (30 lines)
> >
> >
> > >
> > >
> > > > >
> > > > > --
> > > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > >
> > > >
> > > >
> > > > --
> > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > >
> > >
> > >
> > > --
> > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> >
> >
> >
> > --
> > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
>
>
>
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21



--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
G
G
Gábor Boskovits wrote on 12 Jan 2020 19:17
(address . 39090@debbugs.gnu.org)
CAE4v=pgQGcvaWW6YFTH3v5-46TrO3KG0LiPowS6pndkB2iHtGg@mail.gmail.com
Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
12., V, 17:54):
Toggle quote (71 lines)
>
> Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> 12., V, 16:18):
> >
> > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > 12., V, 14:00):
> > >
> > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > 12., V, 12:39):
> > > >
> > > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > > 12., V, 3:06):
> > > > >
> > > > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > > > 12., V, 2:15):
> > > > > >
> > > > > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > > > > 11., Szo, 15:49):
> > > > > > >
> > > > > > > Hello,
> > > > > > >
> > > > > > > I noticed that the install disk created on current master can't
> > > > > > > install the system.
> > > > > > >
> > > > > > > This is on:
> > > > > > > e4c9ba4da2a6faf80209488d5c086ea0d5c39214
> > > > > > > .
> > > > > > >
> > > > > > > I have found a reproducer that might highlight where the problem is.
> > > > > > >
> > > > > > > Steps to reproduce:
> > > > > > > 1. guix pull
> > > > > > > 2. build the installer image
> > > > > > > guix system disk-image --file-system-type=iso9660 \
> > > > > > > gnu/system/install.scm
> > > > > > > 3. boot it
> > > > > > > 4. switch to tty3
> > > > > > > 5. create a file gexp.scm with this content:
> > > > > > > (use-modules
> > > > > > > (gnu packages package-management)
> > > > > > > (guix gexp))
> > > > > > >
> > > > > > > (program-file
> > > > > > > "a"
> > > > > > > (with-extensions
> > > > > > > (list guix)
> > > > > > > #~(#t)))
> > > > > > > 6. guix build -f gexp.scm
> > > > > > >
> > > > > > > This will fail with as strange error message.
> > > > > > > This same problem causes the final installation failure in the installer.
> > > > > > >
> > > > > > > This works fine on the latest installation image.
> > > > > > > This works if you run it again after it fails.
> > > > > > >
> > > > > > > Any help on debugging this further would be appreciated.
> > > > > > >
> > > > > > > Best regards,
> > > > > > > g_bor
> > > > > > > --
> > > > > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > I started a bisect,
> > > > > > b1d13e40... is good.
> > > > > a3569a3 good
> > > > 92afa57 good
> > > aa8f64b bad
> > 6298f32 bad
> 94c621b bad
b307b58 bad
Toggle quote (35 lines)
> > >
> > >
> > > >
> > > >
> > > > > >
> > > > > > --
> > > > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > >
> > > >
> > > >
> > > > --
> > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > >
> > >
> > >
> > > --
> > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> >
> >
> >
> > --
> > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
>
>
>
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21



--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
G
G
Gábor Boskovits wrote on 12 Jan 2020 21:09
(address . 39090@debbugs.gnu.org)
CAE4v=pg0iXsZH_d30v6AidDcLoHV7aqN401gNQcr8fBDRAuSEw@mail.gmail.com
Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
12., V, 19:17):
Toggle quote (75 lines)
>
> Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> 12., V, 17:54):
> >
> > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > 12., V, 16:18):
> > >
> > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > 12., V, 14:00):
> > > >
> > > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > > 12., V, 12:39):
> > > > >
> > > > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > > > 12., V, 3:06):
> > > > > >
> > > > > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > > > > 12., V, 2:15):
> > > > > > >
> > > > > > > Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
> > > > > > > 11., Szo, 15:49):
> > > > > > > >
> > > > > > > > Hello,
> > > > > > > >
> > > > > > > > I noticed that the install disk created on current master can't
> > > > > > > > install the system.
> > > > > > > >
> > > > > > > > This is on:
> > > > > > > > e4c9ba4da2a6faf80209488d5c086ea0d5c39214
> > > > > > > > .
> > > > > > > >
> > > > > > > > I have found a reproducer that might highlight where the problem is.
> > > > > > > >
> > > > > > > > Steps to reproduce:
> > > > > > > > 1. guix pull
> > > > > > > > 2. build the installer image
> > > > > > > > guix system disk-image --file-system-type=iso9660 \
> > > > > > > > gnu/system/install.scm
> > > > > > > > 3. boot it
> > > > > > > > 4. switch to tty3
> > > > > > > > 5. create a file gexp.scm with this content:
> > > > > > > > (use-modules
> > > > > > > > (gnu packages package-management)
> > > > > > > > (guix gexp))
> > > > > > > >
> > > > > > > > (program-file
> > > > > > > > "a"
> > > > > > > > (with-extensions
> > > > > > > > (list guix)
> > > > > > > > #~(#t)))
> > > > > > > > 6. guix build -f gexp.scm
> > > > > > > >
> > > > > > > > This will fail with as strange error message.
> > > > > > > > This same problem causes the final installation failure in the installer.
> > > > > > > >
> > > > > > > > This works fine on the latest installation image.
> > > > > > > > This works if you run it again after it fails.
> > > > > > > >
> > > > > > > > Any help on debugging this further would be appreciated.
> > > > > > > >
> > > > > > > > Best regards,
> > > > > > > > g_bor
> > > > > > > > --
> > > > > > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > I started a bisect,
> > > > > > > b1d13e40... is good.
> > > > > > a3569a3 good
> > > > > 92afa57 good
> > > > aa8f64b bad
> > > 6298f32 bad
> > 94c621b bad
> b307b58 bad
1133596 good

Toggle quote (40 lines)
> > > >
> > > >
> > > > >
> > > > >
> > > > > > >
> > > > > > > --
> > > > > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > > >
> > > >
> > > >
> > > > --
> > > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> > >
> > >
> > >
> > > --
> > > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
> >
> >
> >
> > --
> > OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
>
>
>
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21



--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
L
L
Ludovic Courtès wrote on 12 Jan 2020 22:52
(name . Gábor Boskovits)(address . boskovits@gmail.com)(address . 39090@debbugs.gnu.org)
87y2ucqr4m.fsf@gnu.org
Hi Gábor,

Gábor Boskovits <boskovits@gmail.com> skribis:

Toggle quote (3 lines)
>> b307b58 bad
> 1133596 good

In that range there’s this commit:

commit fd885160fcfde710e415252463c1034f22f88e59
Date: Sun Jan 5 03:09:35 2020 +0100

gnu: guix: Update to f38eabe.

* gnu/packages/package-management.scm (guix): Update to f38eabe.

However, it itself embeds all the changes to the daemon (and ‘guix
substitute’, and related code) in this range:

41b4b713f4892918a9a1950acdd89f33b977d143..f38eabe952608478230895e380ef441d65ea625e

The changes in this range under nix/ are rather uninteresting, but those
for ‘guix substitute’ have more potential:

Toggle snippet (10 lines)
$ git log --oneline 41b4b713f4892918a9a1950acdd89f33b977d143..f38eabe952608478230895e380ef441d65ea625e -- guix/scripts/substitute.scm
f4cde9ac4a download: Do not leak file descriptors on TLS ports.
22f06a2128 progress: Add 'progress-report-port'.
4736d06f78 challenge: Report the best narinfo URI.
a6492178bd substitute: Remove unused procedure.
9e3f9ac3c0 substitute: 'http-multiple-get' no longer drops requests above 1,000.
434138e2f2 substitute: Make '%allow-unauthenticated-substitutes?' public.
4f5234be03 substitute: Don't fetch /nix-cache-info.

(I haven’t yet tried to reproduce the problem, though.)

Ludo’.
G
G
Gábor Boskovits wrote on 13 Jan 2020 22:44
Update on the installer bug
(address . 39090@debbugs.gnu.org)
CAE4v=pgb2YWMXzfjrvcf9r=f=bGy026znZQ9jzwdmmddoYmkUg@mail.gmail.com
The problem is introduced by the guix update on
fd885160fcfde710e415252463c1034f22f88e59.

Reverting this commit makes the problem go away, so a bisect on the
guix package version is feasible.

The problem can be triggered in the installer image by doing
'guix build guix' in a root terminal.

The first attempt fails, while subsequent attempts succeed.

rm -rf /var/guix/substitute triggers the error again.

--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
L
L
Ludovic Courtès wrote on 14 Jan 2020 17:54
control message for bug #39090
(address . control@debbugs.gnu.org)
87y2uaq8qb.fsf@gnu.org
severity 39090 important
quit
G
G
Gábor Boskovits wrote on 14 Jan 2020 18:01
Guix package version bisect update
(address . 39090@debbugs.gnu.org)
CAE4v=pio_MFyT8LXbAcTPcsy3z0R47L4XuKacLMTkeBNjjCtsQ@mail.gmail.com
As it turned out that the problem is in the guix package following an update I
started a bisect.

Updating guix to:
edc58fdada good

--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
G
G
Gábor Boskovits wrote on 14 Jan 2020 21:21
(address . 39090@debbugs.gnu.org)
CAE4v=pi-3_WwN3+r6EhycN9ptV0P=s1_XUKJZJhwgbsfLQfyCA@mail.gmail.com
Gábor Boskovits <boskovits@gmail.com> ezt írta (id?pont: 2020. jan.
14., K, 18:01):
Toggle quote (6 lines)
>
> As it turned out that the problem is in the guix package following an update I
> started a bisect.
>
> Updating guix to:
> edc58fdada good
970cb5cece good
Toggle quote (6 lines)
>
> --
> OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21



--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21
G
G
Gábor Boskovits wrote on 14 Jan 2020 23:05
(address . 39090@debbugs.gnu.org)
CAE4v=pghfcywG79eMA1LanSXqPXvm-QUF+k=7GysGYeiUp9VNg@mail.gmail.com
Toggle quote (6 lines)
> > As it turned out that the problem is in the guix package following an update I
> > started a bisect.
> >
> > Updating guix to:
> > edc58fdada good
> 970cb5cece good
4f0b3368ad bad
G
G
Gábor Boskovits wrote on 15 Jan 2020 00:52
(address . 39090@debbugs.gnu.org)
CAE4v=piZQCzuGpOsJ=kCKov7U4Vg_zs3r3veKFbNxw+hPkjm9Q@mail.gmail.com
Toggle quote (7 lines)
> > > As it turned out that the problem is in the guix package following an update I
> > > started a bisect.
> > >
> > > Updating guix to:
> > > edc58fdada good
> > 970cb5cece good
> 4f0b3368ad bad
ea3e8fad74 good
L
L
Ludovic Courtès wrote on 15 Jan 2020 18:45
control message for bug #39090
(address . control@debbugs.gnu.org)
878sm8r4uo.fsf@gnu.org
retitle 39090 Daemon fails with "got unexpected path ... from substituter"
quit
L
L
Ludovic Courtès wrote on 15 Jan 2020 18:44
Re: bug#39090: Installer fails on install disk built from master
(name . Gábor Boskovits)(address . boskovits@gmail.com)
87a76or4vg.fsf@gnu.org
Hello,

Gábor Boskovits <boskovits@gmail.com> skribis:

Toggle quote (27 lines)
> Ricardo Wurmus <rekado@elephly.net> ezt írta (id?pont: 2020. jan. 11.,
> Szo, 17:44):
>>
>>
>> Gábor Boskovits <boskovits@gmail.com> writes:
>>
>> > 5. create a file gexp.scm with this content:
>> > (use-modules
>> > (gnu packages package-management)
>> > (guix gexp))
>> >
>> > (program-file
>> > "a"
>> > (with-extensions
>> > (list guix)
>> > #~(#t)))
>> > 6. guix build -f gexp.scm
>> >
>> > This will fail with as strange error message.
>>
>> What’s the error message?
>
> guix build: error: got unexpected path <store-path-name> from substituter
>
> <store-path-name> varies, currently it was
> /gnu/store/0q95b...-libarchive-3.4.0.tar.gz

Fixed by e2922f527ee8d891a41b5086637fa560a1c2ddd8! I’ll update the
‘guix’ package shortly.

This was tricky to reproduce because it depends on what’s in your store
and what’s in /var/guix/substitute/cache.

I managed to reproduce it first in a VM following your instructions, and
then on a local instance of guix-daemon where I had wiped
/var/guix/substitute/cache and also changed the condition in
‘http-multiple-get’ to exercise the “Connection: close” case (which is
otherwise infrequent.)

Thanks a lot for your investigation, which helped a lot!

Ludo’.
Closed
?