(address . bug-guix@gnu.org)
Hi,
The Linux kernel's /proc/filesystems is an impurity in the Guix build
environment. Its contents can cause the same derivation to behave
differently on different systems.
For example, the default kernel on Fedora systems uses SELinux, so
/proc/filesystems contains "selinuxfs". However, the default kernel on
Guix System does not use SELinux, so /proc/filesystems does not contain
"selinuxfs". This causes the sed derivation to fail when run on Fedora,
but not on Guix System:
Can we avoid this problem somehow? For example, is there a way to
normalize /proc/filesystems in the build environment?
We have the --impersonate-linux-2.6 option as a way to eliminate a
similar kind of impurity, but that option doesn't actually change the
contents of /proc/filesystems at all. I tried it.
--
Chris
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl7KMSoACgkQ3UCaFdgi
Rp01gQ//bh7jj3rXhuZfDl/S5R3tv5OervsuO1oNxwczsGEHRqPs7Ij9YhP4fJQR
a6cu1oWVAVH4L3Bn48EH00Nt/8V1QlCORUqmLolUxA+g4ASvD2yFSh1eUa+4TdQe
htna+gMXdabphWhIVGHVfPfWPCALBSwaHzdc3LLMaut2ZaaHlHP0b0FIDmuqFX2o
gHm5XbRRn/pK7uVNt7LMQHGd+rM5aHLOjTRJ2eRLfCImBioBlIStFCPSPq7bFmX0
whoquRJqKN7Kr7Vk2huPdiUfCdx06cmWuHJvWEdo+EpBU4i0vyQSj7k5SYDlCpaw
drZYV+ItJb852MxdkMz8HT+htJp6cBvEXmMVGQr4AqfoBdfAfkcAflUEhhT0z7/c
TDZ3W7U2DiaeNoxFAX+IXfsdl7MAaNH//+1B3bkecBfFm10A1yK3irmYxaLzs//o
1YZVZnPGQIPyR/gfHWh7Tzc9eJSC4mv4nnlfhz/8il4SEgNLGkTLTZtlg3kCjKy6
bGC1e87pwJC+shx+daKW+E3KSbmrC6Og9myxlzqTcaAXN1IfgqeogBjtEnMWca1B
fXCLX4QvFyPQa/w3fcdCJK4G43Tv8zcY3/YZznN1dZ+fbGKKPI3Y6aquJgEPcHog
2RcNlvMRygY+7pC3uvNDN8rFg2kIPVIg1owHKSCGV13/hJqtpQ0=
=5Er2
-----END PGP SIGNATURE-----