coreutils-mesboot-9.1 failed

  • Open
  • quality assurance status badge
Details
2 participants
  • Josselin Poiret
  • Jing Luo
Owner
unassigned
Submitted by
Jing Luo
Severity
normal
J
J
Jing Luo wrote on 9 Jan 06:52 +0100
(address . bug-guix@gnu.org)
63c25353a2b9aea0ed8448c9b207b76d@jing.rocks
Hello Guix,

Guix told me to report a bug here.

I fresh installed Guix in a qemu vm using the official guix 1.4 iso
image. After booting to desktop, I ran `guix pull
--substitute-url=https://guix.jing.rocks` (guix.jing.rocks is a server
running `guix publish` in my local LAN), then ran into a loop. I'm
attaching console message, config.scm, build log here. Maybe it's
already fixed, but let me know if any other information is needed.

--
Jing Luo
PGP Fingerprint: 4E09 8D19 00AA 3F72 1899 2614 09B3 316E 13A1 1EFC
;; This is an operating system configuration generated ;; by the graphical installer. ;; ;; Once installation is complete, you can learn and modify ;; this file to tweak the system configuration, and pass it ;; to the 'guix system reconfigure' command to effect your ;; changes. ;; Indicate which modules to import to access the variables ;; used in this configuration. (use-modules (gnu)) (use-service-modules cups desktop networking ssh xorg) (operating-system (locale "en_US.utf8") (timezone "Asia/Tokyo") (keyboard-layout (keyboard-layout "us")) (host-name "guix1") ;; The list of user accounts ('root' is implicit). (users (cons* (user-account (name "jing") (comment "Jing") (group "users") (home-directory "/home/jing") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) ;; Packages installed system-wide. Users can also install packages ;; under their own account: use 'guix search KEYWORD' to search ;; for packages and 'guix install PACKAGE' to install a package. (packages (append (list (specification->package "nss-certs")) %base-packages)) ;; Below is the list of system services. To search for available ;; services, run 'guix system search KEYWORD' in a terminal. (services (append (list (service xfce-desktop-service-type) (service mate-desktop-service-type) ;; To configure OpenSSH, pass an 'openssh-configuration' ;; record as a second argument to 'service' below. (service openssh-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))) ;; This is the default list of services we ;; are appending to. %desktop-services)) (bootloader (bootloader-configuration (bootloader grub-bootloader) (targets (list "/dev/sda")) (keyboard-layout keyboard-layout))) (initrd-modules (append '("virtio_scsi") %base-initrd-modules)) (swap-devices (list (swap-space (target (uuid "3a4bebe3-58ab-48a2-9258-c87cd8d0922f"))))) ;; The list of file systems that get "mounted". The unique ;; file system identifiers there ("UUIDs") can be obtained ;; by running 'blkid' in a terminal. (file-systems (cons* (file-system (mount-point "/") (device (uuid "59038b8e-94b2-4699-8928-5f0e36284c4f" 'ext4)) (type "ext4")) %base-file-systems)))
Attachment: guix-loop-bug-console-log.txt (.01 MiB)
Attachment: signature.asc (.00 MiB)
J
J
Josselin Poiret wrote on 13 Jan 12:53 +0100
87o7dph2jx.fsf@jpoiret.xyz
Hi Jing,

Jing Luo via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (5 lines)
> building /gnu/store/9dspz8w4i6c9wkdskirv4rj6lmsgp54c-coreutils-mesboot-9.1.drv...
> | 'build' phasebuilder for `/gnu/store/9dspz8w4i6c9wkdskirv4rj6lmsgp54c-coreutils-mesboot-9.1.drv' failed with exit code 1
> build of /gnu/store/9dspz8w4i6c9wkdskirv4rj6lmsgp54c-coreutils-mesboot-9.1.drv failed
> View build log at '/var/log/guix/drvs/9d/spz8w4i6c9wkdskirv4rj6lmsgp54c-coreutils-mesboot-9.1.drv.gz'.

Can you also include the relevant failing part of
/var/log/guix/drvs/9d/spz8w4i6c9wkdskirv4rj6lmsgp54c-coreutils-mesboot-9.1.drv.gz?

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmWiedIQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5Fhcair6xC/9DZbLTQrG073nxXJl6u7kgRPyqLarV8sMk
6i0i6UC5lFt8CSFmdCGKt/RBGDeAUmXYySNbQfewH/eC5H9cP5LVW+CcJK+dgShw
Lw0qvSziC0Qf3BkbzJLYRJQfKZCwqznwWGbbqrBeCRvSdo31jK9WT3Xk5rarnCa2
ANuvDQrSApcN7rAPch8nH/wNWVYCQ6Fc5e5zswtbmN4jg7hHJqk3c0CbM2T6LotX
1iPblMuA0HU/EWO0DWJF31qEyevzIiu6u2xU4q32vztrGLEuVjVFvuRUT85Vy80/
Qaxf2gee3vxeiL89MiXqKg6w+WEjwH2ECEjxzwV5D8qqFwX81LLqoJ8ZaA5yGsym
DSJu7U4235HaSflh3mgdtysN5X4n3xqg2imwDsf30JqJiFhaj1F2V/MfAgcvFFLt
W4Wx2ffp9gtVlPaQko+yaGOwvwWp2DZbYll9sJO3ei6y8Dd9JooESvnyVtJrt8xn
OQ6Q1uZ6H+bhnsrkfvA/HM+bn/Hd2AE=
=U4tj
-----END PGP SIGNATURE-----

J
J
Jing Luo wrote on 13 Jan 13:26 +0100
(name . Josselin Poiret)(address . dev@jpoiret.xyz)(address . 68340@debbugs.gnu.org)
f4ea0db91a4d913a0d1ae3f68094f50a@jing.rocks
Hello,

On 2024-01-13 20:53, Josselin Poiret wrote:
Toggle quote (20 lines)
> Hi Jing,
>
> Jing Luo via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
>
>> building
>> /gnu/store/9dspz8w4i6c9wkdskirv4rj6lmsgp54c-coreutils-mesboot-9.1.drv...
>> | 'build' phasebuilder for
>> `/gnu/store/9dspz8w4i6c9wkdskirv4rj6lmsgp54c-coreutils-mesboot-9.1.drv'
>> failed with exit code 1
>> build of
>> /gnu/store/9dspz8w4i6c9wkdskirv4rj6lmsgp54c-coreutils-mesboot-9.1.drv
>> failed
>> View build log at
>> '/var/log/guix/drvs/9d/spz8w4i6c9wkdskirv4rj6lmsgp54c-coreutils-mesboot-9.1.drv.gz'.
>
> Can you also include the relevant failing part of
> /var/log/guix/drvs/9d/spz8w4i6c9wkdskirv4rj6lmsgp54c-coreutils-mesboot-9.1.drv.gz?
>
> Best,

Not sure if I got it right, but here it is:

```
[...]

phase `patch-source-shebangs' succeeded after 0.3 seconds
starting phase `configure'
source directory:
"/tmp/guix-build-coreutils-mesboot-9.1.drv-0/coreutils-9.1" (relative
from build: ".")
build directory:
"/tmp/guix-build-coreutils-mesboot-9.1.drv-0/coreutils-9.1"
configure flags:
("CONFIG_SHELL=/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash"
"SHELL=/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash"
"--prefix=/gnu/store/6waxmqaggl0h1v811y1wdmd9pdaix7yl-coreutils-mesboot-9.1"
"--enable-fast-install" "--build=x86_64-unknown-linux-gnu")
configure: WARNING: unrecognized options: --enable-fast-install

[...]

checking whether snprintf returns a byte count as in C99... yes
Backtrace:
In gash/eval.scm:
221: 19 [eval-sh (<sh-set!> ("as_decl_name" (<sh-cmd-sub> #)))]
In srfi/srfi-1.scm:
642: 18 [for-each #<procedure 13d1da0 at gash/eval.scm:221:17 (name
word)> # #]
In gash/eval.scm:
222: 17 [#<procedure 13d1da0 at gash/eval.scm:221:17 (name word)>
"as_decl_name" #]
131: 16 [eval-word (<sh-cmd-sub> (<sh-pipeline> # #)) #:output string
...]
121: 15 [expand-word (<sh-cmd-sub> (<sh-pipeline> # #)) #:output string
...]
In gash/shell.scm:
289: 14 [sh:substitute-command #<procedure 13d1d20 at
gash/eval.scm:129:35 ()>]
270: 13 [%subshell #<procedure v ()>]
In ice-9/boot-9.scm:
157: 12 [catch quit #<procedure v ()> ...]
In ice-9/r4rs.scm:
176: 11 [with-output-to-port #<variable 1f783c0 value: #<output: file
24>> ...]
In srfi/srfi-1.scm:
619: 10 [for-each #<procedure eval-sh (exp)> ((<sh-pipeline> # #))]
In gash/shell.scm:
344: 9 [sh:pipeline #<procedure 13d19a0 at gash/eval.scm:149:6 ()> ...]
310: 8 [plumb #<input: #{read pipe}# 13> #f ...]
270: 7 [%subshell #<procedure thunk* ()>]
In ice-9/boot-9.scm:
157: 6 [catch quit #<procedure thunk* ()> ...]
In gash/shell.scm:
316: 5 [thunk*]
129: 4 [sh:exec-let () "sed" "s/ *(.*//"]
92: 3 [exec-utility () ...]
In srfi/srfi-1.scm:
616: 2 [for-each #<procedure 11ca1a0 at gash/shell.scm:70:12 (i)> (0 1
2 ...)]
In ice-9/boot-9.scm:
1473: 1 [dup->port #<input: file 23> "r" 7]
In unknown file:
?: 0 [fdopen 7 "r"]

ERROR: In procedure fdopen:
ERROR: In procedure scm_fdes_to_port: Bad file descriptor
Backtrace:
In ice-9/boot-9.scm:
157: 19 [catch #t #<catch-closure c93c40> ...]
In unknown file:
?: 18 [apply-smob/1 #<catch-closure c93c40>]
In ice-9/boot-9.scm:
63: 17 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
432: 16 [eval # #]
In ice-9/boot-9.scm:
793: 15 [call-with-input-file "./configure" ...]
In gash/gash.scm:
121: 14 [#<procedure 13047e0 at gash/gash.scm:120:19 (port)> #<input:
./configure 23>]
In gash/repl.scm:
38: 13 [run-repl #<input: ./configure 23> #f]
In gash/shell.scm:
129: 12 [sh:exec-let () "ac_fn_check_decl" ...]
In gash/environment.scm:
215: 11 [save-variables-excursion () ...]
292: 10 [with-arguments # #<procedure 1c8ced0 at gash/shell.scm:145:25
()>]
389: 9 [call-with-return #<procedure 1c8ce10 at gash/shell.scm:147:28
()>]
In srfi/srfi-1.scm:
619: 8 [for-each #<procedure eval-sh (exp)> ((<sh-begin> # # # ...))]
619: 7 [for-each #<procedure eval-sh (exp)> (# # # # ...)]
616: 6 [for-each #<procedure eval-sh (exp)> (# #)]
In gash/shell.scm:
245: 5 [#<procedure 1fb0cc0 at gash/shell.scm:239:17 ()>]
129: 4 [sh:exec-let () "printf" "%s" "checking whether is declared...
"]
92: 3 [exec-utility () ...]
In srfi/srfi-1.scm:
616: 2 [for-each #<procedure 11ca1a0 at gash/shell.scm:70:12 (i)> (0 1
2 ...)]
In ice-9/boot-9.scm:
1473: 1 [dup->port #<input: file 22> "r" 7]
In unknown file:
?: 0 [fdopen 7 "r"]

ERROR: In procedure fdopen:
ERROR: In procedure scm_fdes_to_port: Bad file descriptor
no
checking for stdbool.h that conforms to C99... yes
[...]
checking for uname... yes
Backtrace:
In ice-9/boot-9.scm:
157: 15 [catch #t #<catch-closure c93c40> ...]
In unknown file:
?: 14 [apply-smob/1 #<catch-closure c93c40>]
In ice-9/boot-9.scm:
63: 13 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
432: 12 [eval # #]
In ice-9/boot-9.scm:
793: 11 [call-with-input-file "./configure" ...]
In gash/gash.scm:
121: 10 [#<procedure 13047e0 at gash/gash.scm:120:19 (port)> #<input:
./configure 20>]
In gash/repl.scm:
38: 9 [run-repl #<input: ./configure 20> #f]
In gash/shell.scm:
441: 8 [sh:cond # #]
55: 7 [without-errexit #<procedure 134c580 at gash/eval.scm:149:6 ()>]
380: 6 [sh:or #<procedure 134c4e0 at gash/eval.scm:149:6 ()> ...]
55: 5 [without-errexit #<procedure 134c4e0 at gash/eval.scm:149:6 ()>]
129: 4 [sh:exec-let () "test" "" "!=" "yes"]
92: 3 [exec-utility () ...]
In srfi/srfi-1.scm:
616: 2 [for-each #<procedure 11ca1a0 at gash/shell.scm:70:12 (i)> (0 1
2 ...)]
In ice-9/boot-9.scm:
1473: 1 [dup->port #<input: file 14> "r" 7]
In unknown file:
?: 0 [fdopen 7 "r"]

ERROR: In procedure fdopen:
ERROR: In procedure scm_fdes_to_port: Bad file descriptor
/gnu/store/pmjb23p8j2f5543k8ng5x8gw08yjb411-gash-utils-boot-0.2.0/bin/test:
Unknown unary operator: "-lt"
/gnu/store/pmjb23p8j2f5543k8ng5x8gw08yjb411-gash-utils-boot-0.2.0/bin/test:
Unknown unary operator: "-eq"
checking whether unlink honors trailing slashes... (cached) yes

[...]

/gnu/store/pmjb23p8j2f5543k8ng5x8gw08yjb411-gash-utils-boot-0.2.0/bin/test:
Unknown unary operator: "-c"

[...]

phase `patch-generated-file-shebangs' succeeded after 0.3 seconds
starting phase `patch-shell-references'
phase `patch-shell-references' succeeded after 0.4 seconds
starting phase `build'
GEN lib/alloca.h

[...]

CC lib/libcoreutils_a-u64.o
CC lib/libcoreutils_a-unicodeio.o
In file included from lib/unicodeio.c:40:0:
lib/unistr.h:21:22: fatal error: unitypes.h: No such file or directory
#include "unitypes.h"
^
compilation terminated.
make[2]: *** [lib/libcoreutils_a-unicodeio.o] Error 1
make[2]: Leaving directory
`/tmp/guix-build-coreutils-mesboot-9.1.drv-0/coreutils-9.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp/guix-build-coreutils-mesboot-9.1.drv-0/coreutils-9.1'
make: *** [all] Error 2
error: in phase 'build': uncaught exception:
srfi-34 #<condition &invoke-error [program: "make" arguments: ()
exit-status: 2 term-signal: #f stop-signal: #f] 17613c0>
phase `build' failed after 172.3 seconds
command "make" failed with status 2
```

Although later that day guix successfullly built coreutils, so it's
probably fixed?


--
Jing Luo
PGP Fingerprint: 4E09 8D19 00AA 3F72 1899 2614 09B3 316E 13A1 1EFC
Attachment: signature.asc (.00 MiB)
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 68340@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 68340
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch