Skip Menu |

From: "Ryan Schmidt" <>
Subject: make check fails: OSError: AF_UNIX path too long
Date: Sat, 31 Jul 2021 21:00:16 -0500
Attempting to run `make check` fails on macOS:

*** Last command (#50): /opt/local/bin/python3.8 /opt/local/var/macports/build/ /opt/local/var/macports/build/
*** Output of last command:
Traceback (most recent call last):
File "/opt/local/var/macports/build/", line 231, in <module>
OSError: AF_UNIX path too long

It seems you are trying to create a socket within the source directory, which fails if the source directory is in a deep path because there is an OS limit on the maximum length of a socket path. Perhaps you should create the socket in /tmp or $TMPDIR instead.
Subject: git commit

Avoid long socket paths in KCM tests

The build directory path may be too long for a Unix domain socket, so
use a path in a temporary directory instead. Reported by Ryan
Author: Greg Hudson <>
Commit: 35fac31b7645e14d75200d31c631a8530c9b855c
Branch: master
src/tests/ | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)