onsdag den 18 januari 2012 klockan 17:24 skrev Ludovic Courtès detta: > Hello, > > tests/syslogd.sh requires a writable /tmp. In NixOS chroots (yeah, > again), there???s no /tmp; instead, build systems are expected to use > $TMPDIR. > > The problem is that $TMPDIR is a loooong file name, which is an issue > for socket paths. > > The workaround I???ve used in Guile is to cd $TMPDIR, create ./my-socket, > and use that. > > Would it be acceptable for you?
Hardly! The use of "/tmp/" is there exactly to take care of well defined paths of reasonable length. The failure to provide a writeable "/tmp/" is as close to a perverted system I can think of. It is intentional that the test script is built to test that the expected socket name length is functional. The only solution would be to insert an optional variable that would disable the corresponding subtest, but run it for every POSIX system, which NixOS clearly does not bother even to approximate. On behalf of GNU Inetutils, Mats Erik Andersson
