Opened 12 years ago

Closed 10 years ago

#38654 closed defect (fixed)

exim @4.71_2 does not build with clang. Builds with gcc

Reported by: snowflake (Dave Evans) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.99
Keywords: Cc: neverpanic (Clemens Lang)
Port: exim

Description

Error message:

>>> Creating links to source files...
>>> New Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile
 
make[1]: Entering directory `/opt/local/var/macports/build/_Users_davidevans_macports_svn-repo_macports-trunk_dports_mail_exim/exim/work/exim-4.71/build-Darwin-i386'
/bin/sh ../scripts/Configure-os.h
/bin/sh ../scripts/Configure-os.c
/usr/bin/clang buildconfig.c
clang: error: unable to make temporary file: "/tmp"/buildconfig: can't make unique filename: No such file or directory
make[1]: *** [buildconfig] Error 1

It compiles OK with: sudo port install exim configure.compiler=llvm-gcc-4.2

OS X 10.8.3, Xcode 4.6.1

Change History (5)

comment:1 Changed 12 years ago by snowflake (Dave Evans)

Sorry, I forgot to put exim in the ports field.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

This is actually #37834; you have an existing /tmp/buildconfig that is getting in the way.

comment:3 in reply to:  2 Changed 12 years ago by snowflake (Dave Evans)

Replying to jmr@…:

This is actually #37834; you have an existing /tmp/buildconfig that is getting in the way.

My port infrastructure is well past r103518 #37834 but I am still getting this bug. I have rebuilt the port infrastructure and installed it.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Port: exim added
Resolution: duplicate
Status: closedreopened

It is the same issue as discussed in #37834, but caused in this case by exim's build system explicitly setting TMPDIR="/tmp".

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: cal@… added
Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.