On Guix 1.4 (x86_64), there is one test failure:

FAIL: tests/stat/stat-mount

$ mount | grep proc
none on /proc type proc (rw,relatime)

$ unshare -rm /bin/sh -c 'mount -t tmpfs tmpfs /proc && true' -- true
$ echo $?
0

$ unshare -rm /bin/sh -c 'mount -t tmpfs tmpfs /proc && mount' -- mount
Segmentation fault (core dumped)
(The 'mount' program dumped core.)

$ unshare -rm /bin/sh -c 'mount -t tmpfs tmpfs /proc && src/stat -c 0%#a /' -- 
src/stat -c 0%#a /
Segmentation fault (core dumped)
(The 'stat' program dumped core.)

==========================================================
   GNU coreutils 9.10.289-a8598: ./tests/test-suite.log
==========================================================

# TOTAL: 732
# PASS:  519
# SKIP:  211
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 1

System information (uname -a): Linux 6.0.10-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64
Distribution information (/etc/os-release):
NAME="Guix System"
ID=guix
PRETTY_NAME="Guix System"
LOGO=guix-icon
HOME_URL="https://guix.gnu.org";
DOCUMENTATION_URL="https://guix.gnu.org/en/manual";
SUPPORT_URL="https://guix.gnu.org/en/help";
BUG_REPORT_URL="https://lists.gnu.org/mailman/listinfo/bug-guix";

.. contents:: :depth: 2

FAIL: tests/stat/stat-mount
===========================

++ initial_cwd_=/home/bruno/coreutils-9.10.289-a8598/build-64
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/bruno/coreutils-9.10.289-a8598/build-64 gt-stat-mount.sh.XXXX
+++ case $# in
+++ destdir_=/home/bruno/coreutils-9.10.289-a8598/build-64
+++ template_=gt-stat-mount.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/bruno/coreutils-9.10.289-a8598/build-64/
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/bruno/coreutils-9.10.289-a8598/build-64/gt-stat-mount.sh.kw7i
+++ case $d in
+++ :
+++ test -d /home/bruno/coreutils-9.10.289-a8598/build-64/gt-stat-mount.sh.kw7i
++++ ls -dgo /home/bruno/coreutils-9.10.289-a8598/build-64/gt-stat-mount.sh.kw7i
+++ perms='drwx------ 2 4096 Apr 16 16:39 /home/bruno/coreutils-9.10.289-a8598/build-64/gt-stat-mount.sh.kw7i'
+++ case $perms in
+++ :
+++ echo /home/bruno/coreutils-9.10.289-a8598/build-64/gt-stat-mount.sh.kw7i
+++ return
++ test_dir_=/home/bruno/coreutils-9.10.289-a8598/build-64/gt-stat-mount.sh.kw7i
++ cd /home/bruno/coreutils-9.10.289-a8598/build-64/gt-stat-mount.sh.kw7i
++ case $srcdir in
++ srcdir=../..
++ builddir=..
++ export srcdir builddir
++ gl_init_sh_nl_='
'
++ IFS=' 	
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ saved_IFS=' 	
'
++ IFS=:
++ new_PATH=
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /home/bruno/coreutils-9.10.289-a8598/build-64/src/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build-64/src
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /run/setuid-programs/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build-64/src:/run/setuid-programs
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /home/bruno/.guix-profile/bin/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /home/bruno/.guix-profile/sbin/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin:/home/bruno/.guix-profile/sbin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /run/current-system/profile/bin/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin:/home/bruno/.guix-profile/sbin:/run/current-system/profile/bin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /run/current-system/profile/sbin/.
++ new_PATH=/home/bruno/coreutils-9.10.289-a8598/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin:/home/bruno/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /sbin/.
++ continue
++ for dir in $PATH
++ IFS=' 	
'
++ case "$dir" in
++ test -d /usr/sbin/.
++ continue
++ IFS=' 	
'
++ PATH=/home/bruno/coreutils-9.10.289-a8598/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin:/home/bruno/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin
++ export PATH
++ trap remove_tmp_ EXIT
+ path_prepend_ ./src
+ test 1 '!=' 0
+ path_dir_=./src
+ case $path_dir_ in
+ abs_path_dir_=/home/bruno/coreutils-9.10.289-a8598/build-64/./src
+ case $abs_path_dir_ in
+ PATH=/home/bruno/coreutils-9.10.289-a8598/build-64/./src:/home/bruno/coreutils-9.10.289-a8598/build-64/src:/run/setuid-programs:/home/bruno/.guix-profile/bin:/home/bruno/.guix-profile/sbin:/run/current-system/profile/bin:/run/current-system/profile/sbin
+ create_exe_shims_ /home/bruno/coreutils-9.10.289-a8598/build-64/./src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ print_ver_ stat
+ require_built_ stat
+ skip_=no
+ for i in "$@"
+ case " $built_programs " in
+ test no = yes
+ test yes = yes
+ local i
+ for i in $*
+ env stat --version
stat (GNU coreutils) 9.10.289-a8598
Copyright (C) 2026 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Michael Meskes.
++ stat -c%m .
+ stat_mnt=/
+ case "$stat_mnt" in
+ hide_proc true
+ unshare -rm /bin/sh -c 'mount -t tmpfs tmpfs /proc && "$@"' -- true
+ hide_proc stat -c 0%#a /
+ unshare -rm /bin/sh -c 'mount -t tmpfs tmpfs /proc && "$@"' -- stat -c 0%#a /
../tests/stat/stat-mount.sh: line 29: 31944 Segmentation fault      unshare -rm $SHELL -c 'mount -t tmpfs tmpfs /proc && "$@"' -- "$@"
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /home/bruno/coreutils-9.10.289-a8598/build-64
+ chmod -R u+rwx /home/bruno/coreutils-9.10.289-a8598/build-64/gt-stat-mount.sh.kw7i
+ rm -rf /home/bruno/coreutils-9.10.289-a8598/build-64/gt-stat-mount.sh.kw7i
+ exit 1
FAIL tests/stat/stat-mount.sh (exit status: 1)

Reply via email to