Subject: bug#53415: binutils-mesboot1-2.14 configure phase fails, In procedure stat: No such file or directory: "config.status"

From: Christopher Baines <[email-masked]>
Date: Fri, 21 Jan 2022 17:00:32 +0000

I've seen this failure consistently on one of the machines behind
bordeaux.guix.gnu.org, you can see the full logs via following the "View
build" links here [1].

1: http://data.guix.gnu.org/gnu/store/xd8rnmr0k3fhfhilzi66hnggsnx67d5i-binutils-mesboot1-2.14.drv

I've tried building multiple times on the machine where the failures
occurred, and it's not once succeeded.

>From looking at the kept build directory, the config.status file doesn't
exist. There is config.status.VX1nZz, but it's empty.

starting phase `configure'
running ./configure --disable-nls --disable-shared --disable-werror --build=i686-unknown-linux-gnu --host=i686-unknown-linux-gnu --with-sysroot=/ --prefix=/gnu/store/gvmha2v54svwzxigcbap8862rg3fya0w-binutils-mesboot1-2.14
error: in phase 'configure': uncaught exception:
system-error "stat" "~A: ~S" ("No such file or directory" "config.status") (2) 
phase `configure' failed after 0.0 seconds
Backtrace:
In ice-9/boot-9.scm:
 157: 16 [catch #t #<catch-closure c93c40> ...]
In unknown file:
   ?: 15 [apply-smob/1 #<catch-closure c93c40>]
In ice-9/boot-9.scm:
  63: 14 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 13 [eval # #]
In ice-9/boot-9.scm:
2320: 12 [save-module-excursion #<procedure cc1b00 at ice-9/boot-9.scm:3961:3 ()>]
3966: 11 [#<procedure cc1b00 at ice-9/boot-9.scm:3961:3 ()>]
1645: 10 [%start-stack load-stack #<procedure cc2ba0 at ice-9/boot-9.scm:3957:10 ()>]
1650: 9 [#<procedure cc8db0 ()>]
In unknown file:
   ?: 8 [primitive-load "/gnu/store/6i3748r9if4cnjz1bmzh2ghbp0zlv232-binutils-mesboot1-2.14-builder"]
In ice-9/boot-9.scm:
 157: 7 [catch srfi-34 ...]
In srfi/srfi-1.scm:
 616: 6 [for-each #<procedure 11a5f60 at guix/build/gnu-build-system.scm:911:14 (expr)> ...]
In ice-9/boot-9.scm:
 171: 5 [with-throw-handler #t ...]
In guix/build/gnu-build-system.scm:
 927: 4 [#<procedure 177ce00 at guix/build/gnu-build-system.scm:926:21 ()>]
In ice-9/eval.scm:
 432: 3 [eval # #]
In guix/build/utils.scm:
 844: 2 [with-atomic-file-replacement "config.status" ...]
In unknown file:
   ?: 1 [stat "config.status" #<undefined>]
In ice-9/boot-9.scm:
 106: 0 [#<procedure 177cdc0 at ice-9/boot-9.scm:97:6 (thrown-k . args)> system-error ...]

ice-9/boot-9.scm:106:20: In procedure #<procedure 177cdc0 at ice-9/boot-9.scm:97:6 (thrown-k . args)>:
ice-9/boot-9.scm:106:20: In procedure stat: No such file or directory: "config.status"
builder for `/gnu/store/xd8rnmr0k3fhfhilzi66hnggsnx67d5i-binutils-mesboot1-2.14.drv' failed with exit code 1