Bug #52037 [Asn]: Concurrent builds fail in install-programs
| From: | seanius at debian dot org | Date: | Thu, 01 Jul 2010 16:07:20 +0000 |
| Subject: | Bug #52037 [Asn]: Concurrent builds fail in install-programs | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-152014@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
User updated by: seanius at debian dot org
Reported by: seanius at debian dot org
Summary: Concurrent builds fail in install-programs
Status: Assigned
Type: Bug
Package: Compile Failure
Operating System: Debian GNU/Linux
PHP Version: 5.3.2
Assigned To: kalle
New Comment:
hi,
yes, i believe so. at least from a quick visual review it looks like it
has the same problem.
Previous Comments:
------------------------------------------------------------------------
[2010-06-21 07:52:31] kalle@php.net
Does this apply to 5.2 aswell?
------------------------------------------------------------------------
[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