Edit report at https://bugs.php.net/bug.php?id=63112&edit=1
ID: 63112 Updated by: re...@php.net Reported by: bbialek at smartertravelmedia dot com Summary: PharException when compiling -Status: Open +Status: Feedback Type: Bug Package: PHAR related Operating System: CentOS 6.3 PHP Version: 5.4.7 Block user comment: N Private report: N New Comment: Does your temp dir have enough space? Previous Comments: ------------------------------------------------------------------------ [2012-09-18 16:22:21] bbialek at smartertravelmedia dot com Description: ------------ When running make after configure, the php build fails in ext/phar/phar.phar with: Fatal error: Uncaught exception 'PharException' with message 'unable to create temporary file' in /usr/src/php-5.4.7/ext/phar/phar.php:1011 Test script: --------------- ./configure --enable-bcmath --enable-calendar --enable-cli --enable-ftp --enable-mbstring --enable-pcntl --enable-soap --with-apxs2 --with-curl --with-gettext --with-libdir=lib64 --with-mcrypt --with-mysqli --with-mysql=/usr/ --with-openssl --without-pdo-sqlite --with-pdo-mysql=/usr --with-pdo-sqlite --with-tidy --with-zlib-dir=/usr/lib64 --enable-zip && make Expected result: ---------------- I expect make to exit successfully and not with Error 255. Actual result: -------------- Fatal error: Uncaught exception 'PharException' with message 'unable to create temporary file' in /usr/src/php-5.4.7/ext/phar/phar.php:1011 Stack trace: #0 /usr/src/php-5.4.7/ext/phar/phar.php(1011): Phar- >setStub('#!/usr/local/bi...') #1 /usr/src/php-5.4.7/ext/phar/phar.php(1071): PharCommand- >phar_set_stub_begin(Object(Phar), '/root/rpmbuild/...', '/usr/src/php-5....', '/usr/local/bin/...') #2 [internal function]: PharCommand->cli_cmd_run_pack(Array) #3 /usr/src/php-5.4.7/ext/phar/phar.php(225): call_user_func(Array, Array) #4 /usr/src/php-5.4.7/ext/phar/phar.php(2089): CLICommand->__construct(19, Array) #5 {main} thrown in /usr/src/php-5.4.7/ext/phar/phar.php on line 1011 make: *** [ext/phar/phar.phar] Error 255 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63112&edit=1