GNU bug report logs - #41481
Can't build glibc-mesboot0

Previous Next

Package: guix;

Reported by: Roel Janssen <roel <at> gnu.org>

Date: Sat, 23 May 2020 13:11:02 UTC

Severity: normal

Done: Roel Janssen <roel <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41481 in the body.
You can then email your comments to 41481 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#41481; Package guix. (Sat, 23 May 2020 13:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roel Janssen <roel <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 23 May 2020 13:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Roel Janssen <roel <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: Can't build glibc-mesboot0
Date: Sat, 23 May 2020 15:10:14 +0200
Dear Guix,

I installed Guix System on my computer but I am facing two problems:

1. "guix pull" returns:
Updating channel 'guix' from Git repository at '
https://git.savannah.gnu.org/git/guix.git'...
Building from these channels:
  guix      https://git.savannah.gnu.org/git/guix.git	28e9a11
guix pull: error: glibc-bootstrap-system-2.2.5.patch: patch not found

I worked around that by doing:
$ find /gnu/store -name "glibc-bootstrap-system-2.2.5.patch"
$ mkdir ~/dummy; cd ~/dummy; ln -s <the-location-of-this-file>
$ export GUIX_PACKAGE_PATH=~/dummy

Is there a proper way to fix this?


2. Installing emacs fails because the build of glibc-mesboot0 fails
with:

patch: **** Can't open patch file
/gnu/store/wcz8d4vkcjs7c6m56mz3lsbkxgvnb17v-glibc-bootstrap-system-
2.2.5.patcherror 02:  
command "patch" "--force" "-p1" "-i"
"/gnu/store/wcz8d4vkcjs7c6m56mz3lsbkxgvnb17v-glibc-bootstrap-system-
2.2.5.patch" failed with status 2

The file:
/gnu/store/wcz8d4vkcjs7c6m56mz3lsbkxgvnb17v-glibc-bootstrap-system-
2.2.5.patch

.. seems to be a symlink to:
 /gnu/store/crjgq2qq4s2cvbcb4impjpsn4wyxfgqq-guix-
28e9a11/gnu/packages/patches/glibc-bootstrap-system-2.2.5.patch

I'm using:
# guix --version
guix (GNU Guix) 1.1.0-3.52b01cb

Thanks in advance.

Kind regards,
Roel Janssen






Information forwarded to bug-guix <at> gnu.org:
bug#41481; Package guix. (Sat, 23 May 2020 13:32:02 GMT) Full text and rfc822 format available.

Message #8 received at 41481 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Roel Janssen <roel <at> gnu.org>
Cc: 41481 <at> debbugs.gnu.org
Subject: Re: bug#41481: Can't build glibc-mesboot0
Date: Sat, 23 May 2020 15:31:24 +0200
Hello Roel,

> I installed Guix System on my computer but I am facing two problems:
>
> 1. "guix pull" returns:
> Updating channel 'guix' from Git repository at '
> https://git.savannah.gnu.org/git/guix.git'...
> Building from these channels:
>   guix      https://git.savannah.gnu.org/git/guix.git	28e9a11
> guix pull: error: glibc-bootstrap-system-2.2.5.patch: patch not found
>
> I worked around that by doing:
> $ find /gnu/store -name "glibc-bootstrap-system-2.2.5.patch"
> $ mkdir ~/dummy; cd ~/dummy; ln -s <the-location-of-this-file>
> $ export GUIX_PACKAGE_PATH=~/dummy
>
> Is there a proper way to fix this?

This has been fixed by 179e6c524ae4957e6ace83f72a5651767f786ca4. I guess
that if you pull again it should be fixed.

> 2. Installing emacs fails because the build of glibc-mesboot0 fails
> with:
>
> patch: **** Can't open patch file
> /gnu/store/wcz8d4vkcjs7c6m56mz3lsbkxgvnb17v-glibc-bootstrap-system-
> 2.2.5.patcherror 02:  
> command "patch" "--force" "-p1" "-i"
> "/gnu/store/wcz8d4vkcjs7c6m56mz3lsbkxgvnb17v-glibc-bootstrap-system-
> 2.2.5.patch" failed with status 2

I don't know what forces a build of glibc-mesboot0, but this looks like:
https://lists.gnu.org/archive/html/bug-guix/2020-05/msg00335.html.

Is your store on an NVME disk, without encryption, by any chance?

Thanks,

Mathieu




Information forwarded to bug-guix <at> gnu.org:
bug#41481; Package guix. (Sat, 23 May 2020 14:20:01 GMT) Full text and rfc822 format available.

Message #11 received at 41481 <at> debbugs.gnu.org (full text, mbox):

From: Roel Janssen <roel <at> gnu.org>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 41481 <at> debbugs.gnu.org
Subject: Re: bug#41481: Can't build glibc-mesboot0
Date: Sat, 23 May 2020 16:19:09 +0200
Hi Mathieu,

Thanks for the fast response!

On Sat, 2020-05-23 at 15:31 +0200, Mathieu Othacehe wrote:
> Hello Roel,
> 
> > I installed Guix System on my computer but I am facing two
> > problems:
> > 
> > 1. "guix pull" returns:
> > Updating channel 'guix' from Git repository at '
> > https://git.savannah.gnu.org/git/guix.git'...
> > Building from these channels:
> >   guix      https://git.savannah.gnu.org/git/guix.git	28e9a11
> > guix pull: error: glibc-bootstrap-system-2.2.5.patch: patch not
> > found
> > 
> > I worked around that by doing:
> > $ find /gnu/store -name "glibc-bootstrap-system-2.2.5.patch"
> > $ mkdir ~/dummy; cd ~/dummy; ln -s <the-location-of-this-file>
> > $ export GUIX_PACKAGE_PATH=~/dummy
> > 
> > Is there a proper way to fix this?
> 
> This has been fixed by 179e6c524ae4957e6ace83f72a5651767f786ca4. I
> guess
> that if you pull again it should be fixed.

Right, so this will fix itself once I can do a 'guix pull'.

> > 2. Installing emacs fails because the build of glibc-mesboot0 fails
> > with:
> > 
> > patch: **** Can't open patch file
> > /gnu/store/wcz8d4vkcjs7c6m56mz3lsbkxgvnb17v-glibc-bootstrap-system-
> > 2.2.5.patcherror 02:  
> > command "patch" "--force" "-p1" "-i"
> > "/gnu/store/wcz8d4vkcjs7c6m56mz3lsbkxgvnb17v-glibc-bootstrap-
> > system-
> > 2.2.5.patch" failed with status 2
> 
> I don't know what forces a build of glibc-mesboot0, but this looks
> like:
> https://lists.gnu.org/archive/html/bug-guix/2020-05/msg00335.html.
> 
> Is your store on an NVME disk, without encryption, by any chance?

No, but it is on an SSD (Samsung EVO 850), and there are two NVME
drives in the system, but these are not mounted.  So I think I should
dodge that bug.

Is there a substitute available for glibc-mesboot0?

Kind regards,
Roel Janssen






Reply sent to Roel Janssen <roel <at> gnu.org>:
You have taken responsibility. (Sat, 23 May 2020 14:40:02 GMT) Full text and rfc822 format available.

Notification sent to Roel Janssen <roel <at> gnu.org>:
bug acknowledged by developer. (Sat, 23 May 2020 14:40:02 GMT) Full text and rfc822 format available.

Message #16 received at 41481-close <at> debbugs.gnu.org (full text, mbox):

From: Roel Janssen <roel <at> gnu.org>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 41481-close <at> debbugs.gnu.org
Subject: Re: bug#41481: Can't build glibc-mesboot0
Date: Sat, 23 May 2020 16:39:26 +0200
On Sat, 2020-05-23 at 16:19 +0200, Roel Janssen wrote:
> Hi Mathieu,
> 
> Thanks for the fast response!
> 
> On Sat, 2020-05-23 at 15:31 +0200, Mathieu Othacehe wrote:
> > Hello Roel,
> > 
> > > I installed Guix System on my computer but I am facing two
> > > problems:
> > > 
> > > 1. "guix pull" returns:
> > > Updating channel 'guix' from Git repository at '
> > > https://git.savannah.gnu.org/git/guix.git'...
> > > Building from these channels:
> > >   guix      https://git.savannah.gnu.org/git/guix.git	28e9a11
> > > guix pull: error: glibc-bootstrap-system-2.2.5.patch: patch not
> > > found
> > > 
> > > I worked around that by doing:
> > > $ find /gnu/store -name "glibc-bootstrap-system-2.2.5.patch"
> > > $ mkdir ~/dummy; cd ~/dummy; ln -s <the-location-of-this-file>
> > > $ export GUIX_PACKAGE_PATH=~/dummy
> > > 
> > > Is there a proper way to fix this?
> > 
> > This has been fixed by 179e6c524ae4957e6ace83f72a5651767f786ca4. I
> > guess
> > that if you pull again it should be fixed.
> 
> Right, so this will fix itself once I can do a 'guix pull'.
> 
> > > 2. Installing emacs fails because the build of glibc-mesboot0
> > > fails
> > > with:
> > > 
> > > patch: **** Can't open patch file
> > > /gnu/store/wcz8d4vkcjs7c6m56mz3lsbkxgvnb17v-glibc-bootstrap-
> > > system-
> > > 2.2.5.patcherror 02:  
> > > command "patch" "--force" "-p1" "-i"
> > > "/gnu/store/wcz8d4vkcjs7c6m56mz3lsbkxgvnb17v-glibc-bootstrap-
> > > system-
> > > 2.2.5.patch" failed with status 2
> > 
> > I don't know what forces a build of glibc-mesboot0, but this looks
> > like:
> > https://lists.gnu.org/archive/html/bug-guix/2020-05/msg00335.html.
> > 
> > Is your store on an NVME disk, without encryption, by any chance?
> 
> No, but it is on an SSD (Samsung EVO 850), and there are two NVME
> drives in the system, but these are not mounted.  So I think I should
> dodge that bug.
> 
> Is there a substitute available for glibc-mesboot0?

To answer this myself: Yes, it is substitutable!  At first I didn't
have substitutes enabled when running "guix pull" for the first time.  

I then enabled substitutes, thinking it would automatically pick that
up.  That didn't work though..

After doing "guix gc" (presumably removing the glibc-mesboot0
derivation) I was able to complete "guix pull".

I'm closing this bug report, because the actual problem looks very
similar to what is described in the earlier referenced bug report. 
Even though I don't use an NVME drive for the filesystem that contains
/gnu/store.

Kind regards,
Roel Janssen






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 21 Jun 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 56 days ago.

Previous Next


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