Menu

#8 ipmiutil-2.8.5: fails to build with clang-3.3

ipmiutil-2.8.x
closed
None
5
2014-08-18
2014-04-22
austin987
No

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

Discussion

  • Andy Cress

    Andy Cress - 2014-04-23

    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?

     
  • Andy Cress

    Andy Cress - 2014-08-13
    • status: open --> pending
     
  • Andy Cress

    Andy Cress - 2014-08-13

    Pending input from submitter about build environment.

     
  • austin987

    austin987 - 2014-08-14

    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.)

     
  • Andy Cress

    Andy Cress - 2014-08-18
    • status: pending --> closed
    • assigned_to: Andy Cress
     

Log in to post a comment.