guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unable to bootstrap Guix without substitutes


From: Greg Hogan
Subject: Unable to bootstrap Guix without substitutes
Date: Thu, 10 Feb 2022 16:33:37 -0500

When installing the Guix binary distribution (both the 1.3.0 release and most recent guix-binary on ci.guix.gnu.org) on a new system without enabling substitutes the guix pull or install commands fail when building bash-mesboot0.
  https://guix.gnu.org/manual/en/html_node/Binary-Installation.html

I see the same failure when building bash-mesboot0 on my working Guix installation (with substitutes enabled, but disabled for this build):

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix build --no-substitutes -e '(@@ (gnu packages commencement) bash-mesboot0)'
--8<---------------cut here---------------end--------------->8---

The error from the log:

--8<---------------cut here---------------start------------->8---
checking whether #! works in shell scripts... Backtrace:
In ice-9/boot-9.scm:
 157: 14 [catch #t #<catch-closure c93c40> ...]
In unknown file:
   ?: 13 [apply-smob/1 #<catch-closure c93c40>]
In ice-9/boot-9.scm:
  63: 12 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 11 [eval # #]
In ice-9/boot-9.scm:
 793: 10 [call-with-input-file "./configure" ...]
In gash/gash.scm:
 121: 9 [#<procedure 12b0a80 at gash/gash.scm:120:19 (port)> #<input: ./configure 16>]
In gash/repl.scm:
  38: 8 [run-repl #<input: ./configure 16> #f]
In srfi/srfi-1.scm:
 619: 7 [for-each #<procedure eval-sh (exp)> (# # # # ...)]
In gash/shell.scm:
 277: 6 [sh:subshell #<procedure 146bf20 at gash/eval.scm:70:14 ()>]
 266: 5 [%subshell #<procedure 146bf20 at gash/eval.scm:70:14 ()>]
In ice-9/boot-9.scm:
 157: 4 [catch quit #<procedure 146bf20 at gash/eval.scm:70:14 ()> ...]
In srfi/srfi-1.scm:
 619: 3 [for-each #<procedure eval-sh (exp)> (# # #)]
In gash/shell.scm:
 241: 2 [#<procedure 162c5d0 at gash/shell.scm:235:17 ()>]
 165: 1 [sh:exec-let () "./conftest"]
In unknown file:
   ?: 0 [execle "./conftest" # "./conftest"]

ERROR: In procedure execle:
ERROR: In procedure execle: No such file or directory
yes
--8<---------------cut here---------------end--------------->8---

From the source's bash-2.05b/configure script, the failing section for AC_SYS_INTERPRETER:

--8<---------------cut here---------------start------------->8---
echo "$as_me:11935: checking whether #! works in shell scripts" >&5
echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6
if test "${ac_cv_sys_interpreter+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  echo '#! /bin/cat
exit 69
' >conftest
chmod u+x conftest
(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
if test $? -ne 69; then
   ac_cv_sys_interpreter=yes
else
   ac_cv_sys_interpreter=no
fi
rm -f conftest
fi
echo "$as_me:11952: result: $ac_cv_sys_interpreter" >&5
echo "${ECHO_T}$ac_cv_sys_interpreter" >&6
interpval=$ac_cv_sys_interpreter

if test $ac_cv_sys_interpreter = yes; then
cat >>confdefs.h <<\EOF
#define HAVE_HASH_BANG_EXEC 1
EOF

fi
--8<---------------cut here---------------end--------------->8---

The ci builds are marked successful, but the raw log file is either empty or appears to substitute an earlier build.
  https://ci.guix.gnu.org/search?query=bash-mesboot0

Greg


reply via email to

[Prev in Thread] Current Thread [Next in Thread]