[MacPorts] #37834: Set TMPDIR

MacPorts noreply at macports.org
Tue Jan 29 13:19:55 PST 2013


#37834: Set TMPDIR
---------------------------+--------------------------------
  Reporter:  ryandesign@…  |      Owner:  macports-tickets@…
      Type:  enhancement   |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  base          |    Version:  2.1.2
Resolution:                |   Keywords:
      Port:                |
---------------------------+--------------------------------

Comment (by ryandesign@…):

 Replying to [ticket:37834 ryandesign@…]:
 > {{{
 > ccache /usr/bin/clang -pipe -O2 -arch x86_64 -arch i386 -Wall -W
 -DHAVE_CONFIG_H -I/opt/local/include -I. -I. -c -o manifest.o manifest.c
 > clang: error: unable to make temporary file: /tmp/manifest: can't make
 unique filename: Permission denied
 > }}}

 This llvm bug report describes this error and why it occurs, but does not
 propose the proper solution which is for clang to use actual random tmp
 file names using `mktemp(3)`: http://llvm.org/bugs/show_bug.cgi?id=13511

 > To avoid these issues, I would like to see MacPorts create a temporary
 directory inside workpath and set TMPDIR to its location.

 This would be similar to how we're already handling HOME.

-- 
Ticket URL: <https://trac.macports.org/ticket/37834#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list