On Mon Aug 20 04:03:24 2012, perlbug@ryandesign.com wrote: > > This is a bug report for perl from perlbug@ryandesign.com, > generated with the help of perlbug 1.39 running under perl 5.16.0. > > > ----------------------------------------------------------------- > If I create the directory /tmp/B (as one user, i.e. "rschmidt"), > building perl 5.16.0 (as a different user, i.e. "macports") fails: > > Writing Makefile for B > make[1]: Entering directory `ext/B' > make[1]: Leaving directory `ext/B' > Making all in ext/B > /usr/bin/make all PERL_CORE=1 LIBPERL_A=libperl.dylib > LINKTYPE=dynamic > make[1]: Entering directory `ext/B' > cp B/Showlex.pm ../../lib/B/Showlex.pm > cp B.pm ../../lib/B.pm > cp B/Concise.pm ../../lib/B/Concise.pm > cp B/Terse.pm ../../lib/B/Terse.pm > cp B/Xref.pm ../../lib/B/Xref.pm > cp O.pm ../../lib/O.pm > ../../miniperl "-I../../lib" "-I../../lib" ../../lib/ExtUtils/xsubpp > -typemap ../../lib/ExtUtils/typemap -typemap typemap B.xs > B.xsc > && mv B.xsc B.c > /usr/bin/clang -c -pipe -O2 -arch x86_64 -arch i386 -fno-common > -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp > -fno-strict-aliasing -fstack-protector -I/opt/local/include -O1 > -DVERSION=\"1.34\" -DXS_VERSION=\"1.34\" "-I../.." B.c > clang: error: unable to make temporary file: /tmp/B: can't make unique > filename: Permission denied > clang: error: unable to make temporary file: /tmp/B: can't make unique > filename: Permission denied > make[1]: *** [B.o] Error 1 > make[1]: Leaving directory `ext/B' > Unsuccessful make(ext/B): code=512 at make_ext.pl line 466. > make: *** [lib/auto/B/B.bundle] Error 25 > > The perl build should not be trying to create temporary files of such > predictable and collidable names. Solving this problem is what > utilities like mktemp(1) are for. I don’t have that problem with gcc. That sounds like a clang bug. -- Father Chrysostomos --- via perlbug: queue: perl5 status: new https://rt.perl.org:443/rt3/Ticket/Display.html?id=114512