GNU bug report logs - #25961
Compiling new guix on old guix: 'waitpid' -1 failed unexpectedly: No child processes

Previous Next

Package: guix;

Reported by: Christopher Allan Webber <cwebber <at> dustycloud.org>

Date: Sat, 4 Mar 2017 00:39:01 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

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 25961 in the body.
You can then email your comments to 25961 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#25961; Package guix. (Sat, 04 Mar 2017 00:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Allan Webber <cwebber <at> dustycloud.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 04 Mar 2017 00:39:02 GMT) Full text and rfc822 format available.

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

From: Christopher Allan Webber <cwebber <at> dustycloud.org>
To: bug-guix <at> gnu.org
Subject: Compiling new guix on old guix: 'waitpid' -1 failed unexpectedly: No
 child processes
Date: Fri, 03 Mar 2017 18:38:07 -0600
Hello!  I'm getting this error while trying to compile latest guix
master on one of my machines (fortunately, not my main one).  I don't
know why I'm hitting this error, since I'm not hitting it on my main
machine.  I'm upgrading from a few months back.

I spoke on irc and found that Ricardo had the same issue:

  <rekado> paroneayea: I also got this error trying to run “make”
  <rekado> paroneayea: it happens on my recording machine (x86_64) that hadn’t
           been updated in a while, but not on my laptop (also x86_64), which is
           updated regularly.

Here's what I do.  I start at the commit I was at
(c2662820f359be19262cdd5d564e6a0dddc43281) and run "guix environment
guix".  Then I do a "git pull && make clean && make" and I get:

  ;;; Failed to autoload cairo-image-surface-create in (cairo):
  ;;; ERROR: missing interface for module (cairo)
  ;;; Failed to autoload cairo-image-surface-create in (cairo):
  ;;; ERROR: missing interface for module (cairo)
  ;;; Failed to autoload rsvg-handle-new-from-file in (rsvg):
  ;;; ERROR: missing interface for module (rsvg)
  ;;; Failed to autoload cairo-image-surface-create in (cairo):
  ;;; ERROR: missing interface for module (cairo)
  ;;; Failed to autoload rsvg-handle-new-from-file in (rsvg):
  ;;; ERROR: missing interface for module (rsvg)
  ;;; Failed to autoload cairo-image-surface-create in (cairo):
  ;;; ERROR: missing interface for module (cairo)
    LOAD     (gnu build vm)
    LOAD     (gnu tests)
    LOAD     (gnu tests base)
    LOAD     (gnu tests nfs)
    LOAD     (gnu tests install)
  warning: 'waitpid' -1 failed unexpectedly: No child processes
  Backtrace:
  In ice-9/boot-9.scm:
  3088: 19 [#<procedure 4226c30 at ice-9/boot-9.scm:3069:17 ()>]
  In unknown file:
     ?: 18 [primitive-load-path "gnu/tests/install" ...]
  In ice-9/eval.scm:
   453: 17 [eval # ()]
   411: 16 [eval # #]
   387: 15 [eval # #]
   373: 14 [run-install # #]
   387: 13 [eval # #]
   387: 12 [eval # #]
   387: 11 [eval # #]
   411: 10 [eval # #]
  In srfi/srfi-1.scm:
   573: 9 [map #<procedure 360a6c0 at ice-9/eval.scm:416:20 (a)> (# # # # ...)]
  In ice-9/eval.scm:
   387: 8 [eval # #]
   411: 7 [eval # #]
   411: 6 [eval # #]
   387: 5 [eval # #]
  In unknown file:
     ?: 4 [force #<promise #<procedure 5bbf150 at ice-9/eval.scm:416:20 ()>>]
  In ice-9/eval.scm:
   411: 3 [eval # #]
   411: 2 [eval # #]
  In ice-9/popen.scm:
    98: 1 [close-process #<closed: file 0> 28701]
  In unknown file:
     ?: 0 [waitpid 28701 #<undefined>]

  ERROR: In procedure waitpid:
  ERROR: In procedure waitpid: No child processes
  make[2]: *** [Makefile:4929: make-go] Error 1
  make[2]: Leaving directory '/home/cwebber/src/guix'
  make[1]: *** [Makefile:4072: all-recursive] Error 1
  make[1]: Leaving directory '/home/cwebber/src/guix'
  make: *** [Makefile:2728: all] Error 2

This is on commit 21abf092a49f0ce80cbfff5cccabb7dbf53abf96

If instead I switch back to c2662820f359be19262cdd5d564e6a0dddc43281 I
can compile Guix again.

I did a git-bisect to find what commit was breaking things.  According
to git-bisect, the perpetrator is:

  63302a4e55241a41eab4c21d7af9fbd0d5817459 is the first bad commit
  commit 63302a4e55241a41eab4c21d7af9fbd0d5817459
  Author: Ludovic Courtès <ludo <at> gnu.org>
  Date:   Mon Feb 6 23:47:09 2017 +0100

      Add (gnu build shepherd).

      * gnu/build/shepherd.scm: New file.
      * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

  :040000 040000 7a07b30ebec719aca2fba4c2776f7152e669a1ee 63eb6bc3fa184fc42c3d469d594fc056f16b7892 M	gnu
  bisect run success

I've confirmed this by double-checking that I can build the commit
before but not this commit.

I don't really know why this fails, but it looks like it's somehow
triggering a remote process in some way related to tests and
shepherd... which is confusing, because I don't think this happening
during tests.

 - Chris




Information forwarded to bug-guix <at> gnu.org:
bug#25961; Package guix. (Sat, 04 Mar 2017 19:00:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Christopher Allan Webber <cwebber <at> dustycloud.org>, 25961 <at> debbugs.gnu.org
Subject: Re: bug#25961: Compiling new guix on old guix: 'waitpid' -1
 failed	unexpectedly: No child processes
Date: Sat, 04 Mar 2017 19:59:14 +0100
[Message part 1 (text/plain, inline)]
Hi!

Christopher Allan Webber <cwebber <at> dustycloud.org> writes:

> Hello!  I'm getting this error while trying to compile latest guix
> master on one of my machines (fortunately, not my main one).  I don't
> know why I'm hitting this error, since I'm not hitting it on my main
> machine.  I'm upgrading from a few months back.
>
> I spoke on irc and found that Ricardo had the same issue:
>
>   <rekado> paroneayea: I also got this error trying to run “make”
>   <rekado> paroneayea: it happens on my recording machine (x86_64) that hadn’t
>            been updated in a while, but not on my laptop (also x86_64), which is
>            updated regularly.
>
> Here's what I do.  I start at the commit I was at
> (c2662820f359be19262cdd5d564e6a0dddc43281) and run "guix environment
> guix".  Then I do a "git pull && make clean && make" and I get:
>
>   ;;; Failed to autoload cairo-image-surface-create in (cairo):
>   ;;; ERROR: missing interface for module (cairo)
>   ;;; Failed to autoload cairo-image-surface-create in (cairo):
>   ;;; ERROR: missing interface for module (cairo)
>   ;;; Failed to autoload rsvg-handle-new-from-file in (rsvg):
>   ;;; ERROR: missing interface for module (rsvg)
>   ;;; Failed to autoload cairo-image-surface-create in (cairo):
>   ;;; ERROR: missing interface for module (cairo)
>   ;;; Failed to autoload rsvg-handle-new-from-file in (rsvg):
>   ;;; ERROR: missing interface for module (rsvg)
>   ;;; Failed to autoload cairo-image-surface-create in (cairo):
>   ;;; ERROR: missing interface for module (cairo)
>     LOAD     (gnu build vm)
>     LOAD     (gnu tests)
>     LOAD     (gnu tests base)
>     LOAD     (gnu tests nfs)
>     LOAD     (gnu tests install)
>   warning: 'waitpid' -1 failed unexpectedly: No child processes
>   Backtrace:
>   In ice-9/boot-9.scm:
>   3088: 19 [#<procedure 4226c30 at ice-9/boot-9.scm:3069:17 ()>]
>   In unknown file:
>      ?: 18 [primitive-load-path "gnu/tests/install" ...]
>   In ice-9/eval.scm:
>    453: 17 [eval # ()]
>    411: 16 [eval # #]
>    387: 15 [eval # #]
>    373: 14 [run-install # #]
>    387: 13 [eval # #]
>    387: 12 [eval # #]
>    387: 11 [eval # #]
>    411: 10 [eval # #]
>   In srfi/srfi-1.scm:
>    573: 9 [map #<procedure 360a6c0 at ice-9/eval.scm:416:20 (a)> (# # # # ...)]
>   In ice-9/eval.scm:
>    387: 8 [eval # #]
>    411: 7 [eval # #]
>    411: 6 [eval # #]
>    387: 5 [eval # #]
>   In unknown file:
>      ?: 4 [force #<promise #<procedure 5bbf150 at ice-9/eval.scm:416:20 ()>>]
>   In ice-9/eval.scm:
>    411: 3 [eval # #]
>    411: 2 [eval # #]
>   In ice-9/popen.scm:
>     98: 1 [close-process #<closed: file 0> 28701]
>   In unknown file:
>      ?: 0 [waitpid 28701 #<undefined>]
>
>   ERROR: In procedure waitpid:
>   ERROR: In procedure waitpid: No child processes
>   make[2]: *** [Makefile:4929: make-go] Error 1
>   make[2]: Leaving directory '/home/cwebber/src/guix'
>   make[1]: *** [Makefile:4072: all-recursive] Error 1
>   make[1]: Leaving directory '/home/cwebber/src/guix'
>   make: *** [Makefile:2728: all] Error 2
>
> This is on commit 21abf092a49f0ce80cbfff5cccabb7dbf53abf96
>
> If instead I switch back to c2662820f359be19262cdd5d564e6a0dddc43281 I
> can compile Guix again.
>
> I did a git-bisect to find what commit was breaking things.  According
> to git-bisect, the perpetrator is:
>
>   63302a4e55241a41eab4c21d7af9fbd0d5817459 is the first bad commit
>   commit 63302a4e55241a41eab4c21d7af9fbd0d5817459
>   Author: Ludovic Courtès <ludo <at> gnu.org>
>   Date:   Mon Feb 6 23:47:09 2017 +0100
>
>       Add (gnu build shepherd).
>
>       * gnu/build/shepherd.scm: New file.
>       * gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
>
>   :040000 040000 7a07b30ebec719aca2fba4c2776f7152e669a1ee 63eb6bc3fa184fc42c3d469d594fc056f16b7892 M	gnu
>   bisect run success
>
> I've confirmed this by double-checking that I can build the commit
> before but not this commit.

Which kernel version is this?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#25961; Package guix. (Sun, 05 Mar 2017 16:14:02 GMT) Full text and rfc822 format available.

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

From: Christopher Allan Webber <cwebber <at> dustycloud.org>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 25961 <at> debbugs.gnu.org
Subject: Re: bug#25961: Compiling new guix on old guix: 'waitpid' -1
 failed	unexpectedly: No child processes
Date: Sun, 05 Mar 2017 10:13:40 -0600
Marius Bakke <mbakke <at> fastmail.com> writes:

> Which kernel version is this?

Linux-Libre 4.8.1

And!  As it turns out, I went to the last revision before I was hitting
compilation isues (c90db25f4cf1f98f3f4f3af38d175a14ffb8c32a), did a make
on the repo, and from there I did a "guix system reconfigure".  I
restarted, and after that I was able to build the repo on git master. 
If it's because of the kernel that things work now, it did upgrade the
kernel... the kernel is now at 4.9.8.

I wonder why this happened?




Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Tue, 07 Apr 2020 19:33:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Allan Webber <cwebber <at> dustycloud.org>:
bug acknowledged by developer. (Tue, 07 Apr 2020 19:33:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: Christopher Allan Webber <cwebber <at> dustycloud.org>,
 25961-done <at> debbugs.gnu.org
Subject: Re: bug#25961: Compiling new guix on old guix: 'waitpid' -1 failed
 unexpectedly: No child processes
Date: Tue, 07 Apr 2020 21:32:37 +0200
This was likely due to ABI breakage, which is caught and reported
automatically in recent versions of Guix.




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

This bug report was last modified 3 years and 355 days ago.

Previous Next


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