(address . bug-guix@gnu.org)
Hi,
I noticed that sed fails to build on my Fedora machine, but it builds
successfully on Guix System. The error is:
Toggle snippet (7 lines)
ERROR: testsuite/inplace-selinux
================================
inplace-selinux.sh: set-up failure: CONFIG_HEADER not defined
ERROR testsuite/inplace-selinux.sh (exit status: 99)
It appears related to this issue:
"This error comes from 'init.cfg' in the 'require_selinux_' function.
It happens when the system supports SELinux (based on
/proc/filesystems), but during the './configure' step, somehow the
generated Makefile did not contain a 'CONFIG_HEADER = config.h'
statement (very strange)."
Indeed, /proc/filesystems within the Guix sandbox on my Fedora system
looks like this:
Toggle snippet (32 lines)
nodev sysfs
nodev tmpfs
nodev bdev
nodev proc
nodev cgroup
nodev cgroup2
nodev cpuset
nodev devtmpfs
nodev configfs
nodev debugfs
nodev tracefs
nodev securityfs
nodev sockfs
nodev bpf
nodev pipefs
nodev ramfs
nodev hugetlbfs
nodev devpts
ext3
ext2
ext4
nodev autofs
nodev mqueue
nodev selinuxfs
nodev pstore
fuseblk
nodev fuse
nodev fusectl
nodev rpc_pipefs
iso9660
However, on a vanilla Guix System (gnu/system/examples/vm-image.tmpl) it
looks like this:
Toggle snippet (27 lines)
nodev sysfs
nodev tmpfs
nodev bdev
nodev proc
nodev cgroup
nodev cgroup2
nodev cpuset
nodev devtmpfs
nodev debugfs
nodev tracefs
nodev securityfs
nodev sockfs
nodev bpf
nodev pipefs
nodev ramfs
nodev hugetlbfs
nodev devpts
ext3
ext2
ext4
vfat
nodev ecryptfs
nodev mqueue
nodev pstore
nodev 9p
Note that "selinuxfs" is present in the Fedora case, but missing in the
Guix System case. It seems very likely that this is causing the
failure. We probably need to modify something in the sed build logic to
make it succeed even when "selinuxfs" is present.
--
Chris
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl7KLPgACgkQ3UCaFdgi
Rp1YmBAAx9iVxAhJzz4Ud6ovVmAxneJggY6DS+8iux+VDat5MShMQur8IW5PMehP
GENR6htlzceNC11IcnQQEWcddd2wKJ8RrQ+b618KB+xHfNEgeXKfQvgHSS5R+s52
L44mExv0/dPetcaHdSTevXz+1eWtT83n8vd9bWY0tX9psfK1jwgwOvvwwHtRzzDQ
r0UZVYvKkfpS/CplA501MJtOZuK5Vh1mr0pyF9H6BXoKCumkvVbIMTJn0UvPdmK9
YIr3TAs1AM5EsfJWL83JjucomBcqEQsYtDfmJlHS/LDRhk63R1BCYO10//u1Tqfx
GMXlMLSasHqX8Q8EXtax2tAnnBxzP5jhmZLeoMbuBc/Dmr0FIqzH18ExvjzxecvT
r19H+rQ37+6PivdHhj6imym8Ps2JZ18NuCvcfJ+Pdj1oW6F3gs36saJG1uaylo3s
gWpdvqIwHsxpkk/gdZgM+1sQpuuje9oKvP7t6B1EGgpheRj7LXJoBftww7b8sGJp
LUyR1v6cXO31DSFRESWZO45dz5I/yBFkQbpEdj75BPiVfvcfjuWNKkwBxZ7I8lCZ
Mr8p3T2LM3y/iOkaKviAS8sKSmyiY3wWGt09ZyBaOrq+WzR6Hzim2+W9rIY/Y2bc
9XDk25siekX18CVbt/qaMbhg8qQfHfrtG6HMKGV8A37BfZzZcec=
=wyAB
-----END PGP SIGNATURE-----