Bug #52037 [Opn->Asn]: Concurrent builds fail in install-programs
| From: | kalle@php.net | Date: | Mon, 21 Jun 2010 05:52:32 +0000 |
| Subject: | Bug #52037 [Opn->Asn]: Concurrent builds fail in install-programs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151707@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52037&edit=1
ID: 52037
Updated by: kalle@php.net
Reported by: seanius at debian dot org
Summary: Concurrent builds fail in install-programs
-Status: Open
+Status: Assigned
Type: Bug
Package: Compile Failure
Operating System: Debian GNU/Linux
PHP Version: 5.3.2
-Assigned To:
+Assigned To: kalle
New Comment:
Does this apply to 5.2 aswell?
Previous Comments:
------------------------------------------------------------------------
[2010-06-09 20:58:28] seanius at debian dot org
Description:
------------
originally reported as
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584348
which was assumed to be a problem in the build environment of the bug
reporter, but after his persistence i investigated further and found
that there is indeed a problem with parallel builds.
namely, the install-programs target assumes that INSTALL_ROOT/bindir
exists and doesn't check/create it iself. if executed serially after the
install-build target, the directory does exist since it is created by
that target, but if called in parallel (or before calling
install-build), the error mentioned in the above debian bug will be
seen:
> make[1]: Entering directory
`/build/user-php5_5.3.2-1-amd64-JiIO8n/php5-5.3.2/apache2-build'
> Installing build environment:
/build/user-php5_5.3.2-1-amd64-JiIO8n/php5-5.3.2/debian/libapache2-mod-php5/usr/lib/php5/build/
> Installing helper programs:
/build/user-php5_5.3.2-1-amd64-JiIO8n/php5-5.3.2/debian/libapache2-mod-php5/usr/bin/
> program: phpize
> cp: cannot create regular file
`/build/user-php5_5.3.2-1-amd64-JiIO8n/php5-5.3.2/debian/libapache2-mod-php5/usr/bin/#INST@31393#':
No such file or directory
> program: php-config
(the strange filename is a shtool temp file, but the error is that the
directory does not exist)
the patch for this is very simple, attached.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52037&edit=1