Subject: bug#22153: Make check fails

From: [email-masked] (Ludovic Courtès)
Date: Sun, 13 Dec 2015 12:09:50 +0100

Hi,

Dennis Mungai <[email-masked]> skribis:

> + GUIX_DAEMON_SOCKET=/home/administrator/source.build/GCC.buildenv/guix-0.9.0/t-register-39139/var/guix/guix/daemon-socket/socket
> + export NIX_IGNORE_SYMLINK_STORE NIX_STORE_DIR NIX_STATE_DIR NIX_LOG_DIR NIX_DB_DIR GUIX_DAEMON_SOCKET
> ++ echo /home/administrator/source.build/GCC.buildenv/guix-0.9.0/t-register-39139/var/guix/guix/daemon-socket/socket
> ++ wc -c
> + '[' 109 -ge 108 ']'
> + exit 77

The build directory name is very long, which means that we are a likely
to hit the kernel’s limitation on the length of socket file names, as in
the snippet above.

What does this command:

  grep ac_cv_guix_test_socket_file_name_length config.log

return?

At configure time, one normally gets a warning:

  socket file name limit may be exceeded when running tests

(This is not an error because there’s no problem if you don’t run ‘make
check’.)

In your case I think you would have to build from a shorter directory.

HTH,
Ludo’.