Bug #52037 [NEW]: Concurrent builds fail in install-programs
| From: | seanius at debian dot org | Date: | Wed, 09 Jun 2010 18:58:29 +0000 |
| Subject: | Bug #52037 [NEW]: Concurrent builds fail in install-programs | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-151273@lists.php.net to get a copy of this message | ||
From:
Operating system: Debian GNU/Linux
PHP version: 5.3.2
Package: Compile Failure
Bug Type: Bug
Bug description:Concurrent builds fail in install-programs
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 bug report at http://bugs.php.net/bug.php?id=52037&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52037&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52037&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52037&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52037&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52037&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52037&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52037&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52037&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52037&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52037&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52037&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52037&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52037&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52037&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52037&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52037&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52037&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52037&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52037&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52037&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52037&r=mysqlcfg