Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359905 - dev-lang/php-5.3.6 installs bogus php-fpm.conf.default file.
Summary: dev-lang/php-5.3.6 installs bogus php-fpm.conf.default file.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 10:28 UTC by Piotr Karbowski (RETIRED)
Modified: 2011-07-11 11:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Karbowski (RETIRED) gentoo-dev 2011-03-22 10:28:42 UTC
dev-lang/php-5.3.6 installs bogus /etc/php-fpm.conf.default file.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-22 15:45:36 UTC
1) Why is it a bogus file? What is wrong with it?
2) Please post your `emerge --info' output too.
3) Please post your `emerge -vpq dev-lang/php' output too.
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2011-03-22 16:17:39 UTC
(In reply to comment #1)
> 1) Why is it a bogus file? What is wrong with it?
> 2) Please post your `emerge --info' output too.
> 3) Please post your `emerge -vpq dev-lang/php' output too.

1. Because vaild one is under /etc/php/fpm-php5.3/php-fpm.conf, also, this is just example config file shiped with php, but gentoo's php have own. Surly someone forgot to remove it from ${D}... If it would be 'php-fpm.conf' instead of 'php-fpm.conf.default' we could discuss about it, but not in thsi cause.

2. For what reason? What you can see there, cflags, gcc version? It have nothing to do with this issue.

3. Here you go, but I also think this is totaly not needed, as you can presume, I have fpm use flag enabled.
[ebuild   R   ] dev-lang/php-5.3.6  USE="berkdb bzip2 crypt ctype curl fileinfo filter fpm gd gdbm hash iconv ipv6 json mysql mysqli nls phar posix readline session simplexml sockets ssl threads tokenizer truetype unicode xml zlib (-adabas) -apache2 -bcmath (-birdstep) -calendar -cdb -cgi -cjk -cli -curlwrappers -db2 (-dbmaker) -debug -doc -embed (-empress) (-empress-bcs) -enchant (-esoob) -exif (-firebird) -flatfile (-frontbase) -ftp -gd-external -gmp -imap -inifile -interbase -intl -iodbc -kerberos -kolab -ldap -ldap-sasl -libedit -mhash -mssql -mysqlnd -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -snmp -soap (-solid) -spell -sqlite -sqlite3 (-sybase-ct) -sysvipc -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip"
Comment 3 Piotr Karbowski (RETIRED) gentoo-dev 2011-03-24 08:53:03 UTC
Adding php-bugs@gentoo.org because nobody asigned it to the gentoo's php team...
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2011-03-24 12:58:10 UTC
@Thanks Piotr. Sorry for the fuss.

Surely this file should just be removed from $D, like you said.
Comment 5 Ole Markus With (RETIRED) gentoo-dev 2011-04-19 18:00:14 UTC
Um. I took a look at this issue now, and I really do not see any /etc/php-fpm.conf.default on any of my installations. Are you sure this file originated from the ebuild?
Comment 6 Piotr Karbowski (RETIRED) gentoo-dev 2011-04-19 19:44:51 UTC
(In reply to comment #5)
> Um. I took a look at this issue now, and I really do not see any
> /etc/php-fpm.conf.default on any of my installations. Are you sure this file
> originated from the ebuild?

I am pretty sure it is from ebuild.

frontier ~ # qfile /etc/php-fpm.conf.default 
dev-lang/php (/etc/php-fpm.conf.default)

frontier ~ # emerge php -pv
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-lang/php-5.3.6  USE="berkdb bzip2 crypt ctype curl fileinfo filter fpm gd gdbm hash iconv ipv6 json mysql mysqli nls phar posix readline session simplexml sockets ssl threads tokenizer truetype unicode xml zlib (-adabas) -apache2 -bcmath (-birdstep) -calendar -cdb -cgi -cjk -cli -curlwrappers -db2 (-dbmaker) -debug -doc -embed (-empress) (-empress-bcs) -enchant (-esoob) -exif (-firebird) -flatfile (-frontbase) -ftp -gd-external -gmp -imap -inifile -interbase -intl -iodbc -kerberos -kolab -ldap -ldap-sasl -libedit -mhash -mssql -mysqlnd -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -snmp -soap (-solid) -spell -sqlite -sqlite3 (-sybase-ct) -sysvipc -tidy -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xsl -zip" 0 kB
Comment 7 Ole Markus With (RETIRED) gentoo-dev 2011-04-19 19:51:23 UTC
Ah. It probably only gets installed if you only enable the fpm SAPI. I'll make sure the file does not get installed in the next bump
Comment 8 Piotr Karbowski (RETIRED) gentoo-dev 2011-06-05 11:26:54 UTC
(In reply to comment #7)
> Ah. It probably only gets installed if you only enable the fpm SAPI. I'll make
> sure the file does not get installed in the next bump

And... you did not it. dev-lang/php-5.3.6-r1 still contain it...
Comment 9 Ole Markus With (RETIRED) gentoo-dev 2011-06-05 11:35:26 UTC
5.3.6-r1 was an EAPI bump, converting the ebuild to use REQUIRED_USE. Intentionally, no features or fixes was added to that revbump.
Comment 10 Ole Markus With (RETIRED) gentoo-dev 2011-07-11 11:19:28 UTC
This one should be fixed now. An upgrade/reinstall is required as the fix was done in an eblit.