clang -fno-color-diagnostics -DLINUX -DSKIP_MD2 -Wno-pointer-sign -Wno-sign-conversion -O2 -march=corei7 -g -pipe -Wl,-O1 -Wl,--as-needed -DALONE -o ievents ievents.c
clang: error: unable to make temporary file: /var/tmp/ipmiutil-2.8.5/ievents: can't make unique filename: No such file or directory
forwarded upstream from https://bugs.gentoo.org/show_bug.cgi?id=502466
I'm not very familiar with clang, but the problem seems to be that it seems to be prepending the '/var/tmp/ipmiutil-2.8.5' directory to the output filename (rather than use the current directory) and that directory has not been created.
From the upstream bug, I see that PORTAGE_TMPDIR="/var/tmp", and I would guess that this environment variable is what clang leverages to come up with the '/var/tmp/ipmiutil-2.8.5' directory path. In other clang builds, what causes the output directory to be created?
Pending input from submitter about build environment.
This turned out to be an issue in Gentoo's build system, not ipmiutil or clang.
The issue can be closed as invalid, sorry for the noise.
(I tried to close myself, but I don't see an option to do so.)