Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331735 - dev-lang/php-5.3.3-r1 fails with USE=fpm
Summary: dev-lang/php-5.3.3-r1 fails with USE=fpm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-09 09:12 UTC by Johan Bergström
Modified: 2010-08-11 15:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,681.25 KB, text/plain)
2010-08-09 09:12 UTC, Johan Bergström
Details
environment.txt (environment.txt,179.54 KB, text/plain)
2010-08-09 09:13 UTC, Johan Bergström
Details
php-fpm-gentooified.patch.out (php-fpm-gentooified.patch.out,2.90 KB, text/plain)
2010-08-09 09:14 UTC, Johan Bergström
Details
fix php-fpm.conf install (php.diff,463 bytes, patch)
2010-08-09 11:19 UTC, Guillaume Castagnino
Details | Diff
src_install fpm sapi fix (php.diff,472 bytes, patch)
2010-08-09 11:32 UTC, Guillaume Castagnino
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Bergström 2010-08-09 09:12:36 UTC
Looks like the latest revbump of dev-lang/php fails with USE=fpm:


Build complete.
Don't forget to run 'make test'.

Installing build environment:     /var/tmp/portage/dev-lang/php-5.3.3-r1/image//usr/lib/php5/lib/build/
Installing helper programs:       /var/tmp/portage/dev-lang/php-5.3.3-r1/image//usr/lib/php5/bin/
  program: phpize
  program: php-config
Installing man pages:             /var/tmp/portage/dev-lang/php-5.3.3-r1/image//usr/lib/php5/man/man1/
  page: phpize.1
  page: php-config.1
Installing header files:          /var/tmp/portage/dev-lang/php-5.3.3-r1/image//usr/lib/php5/include/php/
 * Installing SAPI: cli
 * Installing SAPI: cgi
 * Installing SAPI: fpm
 * Installing FPM CGI config file php-fpm.conf
 * Applying php-fpm-gentooified.patch ...

 * Failed Patch: php-fpm-gentooified.patch !
 *  ( /usr/portage/dev-lang/php/files/php-fpm-gentooified.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-lang/php-5.3.3-r1/temp/php-fpm-gentooified.patch.out

 * ERROR: dev-lang/php-5.3.3-r1 failed:
 *   Failed Patch: php-fpm-gentooified.patch!
 * 
 * Call stack:
 *              ebuild.sh, line   54:  Called src_install
 *            environment, line 4880:  Called eblit-run 'src_install' 'v1'
 *            environment, line 1994:  Called eblit-php-src_install
 *   src_install-v1.eblit, line   62:  Called php_install_ini 'fpm'
 *   src_install-v1.eblit, line  147:  Called epatch '/usr/portage/dev-lang/php/files/php-fpm-gentooified.patch'
 *            environment, line 2791:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of 'emerge --info =dev-lang/php-5.3.3-r1',
 * the complete build log and the output of 'emerge -pqv =dev-lang/php-5.3.3-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-lang/php-5.3.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.3.3-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-lang/php-5.3.3-r1/work/php-5.3.3'
Comment 1 Johan Bergström 2010-08-09 09:12:59 UTC
Created attachment 241927 [details]
build.log
Comment 2 Johan Bergström 2010-08-09 09:13:18 UTC
Created attachment 241929 [details]
environment.txt
Comment 3 Johan Bergström 2010-08-09 09:14:37 UTC
Created attachment 241931 [details]
php-fpm-gentooified.patch.out
Comment 4 Johan Bergström 2010-08-09 09:18:53 UTC
Looks like the fpm-sapi isn't built at all..
Comment 5 Vjaceslavs Klimovs 2010-08-09 09:54:58 UTC
During compilation I can see that FPM SAPI is getting built, however later it fails in exactly the same way.
Comment 6 Matti Bickel (RETIRED) gentoo-dev 2010-08-09 10:28:19 UTC
Oh, sorry about this slip up. Fixed in CVS.
Comment 7 Guillaume Castagnino 2010-08-09 11:11:42 UTC
It now compiles, but there is a QA warning with the fpm config file :
 * Applying php-fpm-gentooified.patch ...                                                                                                                                                                                     [ ok ]
install: impossible d'évaluer « /var/tmp/portage/dev-lang/php-5.3.3-r1/work/php-5.3.3/sapi/fpm/php-fpm.conf »: Aucun fichier ou dossier de ce type
!!! doins: /var/tmp/portage/dev-lang/php-5.3.3-r1/work/php-5.3.3/sapi/fpm/php-fpm.conf does not exist
>>> Completed installing php-5.3.3-r1 into /var/tmp/portage/dev-lang/php-5.3.3-r1/image/

 * QA Notice: file does not exist:
 * 
 *      doins: /var/tmp/portage/dev-lang/php-5.3.3-r1/work/php-5.3.3/sapi/fpm/php-fpm.conf does not exist






And php-fpm.conf is now no more included in the package : "qlist php | grep php-fpm.conf" is now empty
Comment 8 Matti Bickel (RETIRED) gentoo-dev 2010-08-09 11:13:41 UTC
Let's see. I had a config on my system... I'm rebuilding anyway.
Comment 9 Guillaume Castagnino 2010-08-09 11:19:48 UTC
Created attachment 241959 [details, diff]
fix php-fpm.conf install

I'm rebuilding to check, but this patch shoud fix the issue
Comment 10 Guillaume Castagnino 2010-08-09 11:32:55 UTC
Created attachment 241961 [details, diff]
src_install fpm sapi fix

Sorry, wrong patch, this one is correct
Comment 11 Matti Bickel (RETIRED) gentoo-dev 2010-08-09 13:02:38 UTC
Thanks, I fixed building with sharedext, too. Nothing concerning ${S} should come up now.
Comment 12 Johan Bergström 2010-08-11 14:54:21 UTC
Is this in the tree? I still have this error.
Comment 13 Johan Bergström 2010-08-11 15:04:17 UTC
Ok, thats embarrassing. It was just my local overlay that failed to be built (over and over again).