Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343723 - dev-lang/php-5.3.3-r3: typo in pkg_postinst-v2.eblit 1.5
Summary: dev-lang/php-5.3.3-r3: typo in pkg_postinst-v2.eblit 1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL: http://sources.gentoo.org/cgi-bin/vie...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-01 15:39 UTC by Martin von Gagern
Modified: 2010-11-01 18:30 UTC (History)
0 users

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 Martin von Gagern 2010-11-01 15:39:28 UTC
My apache2 won't restart:

apache2: Syntax error on line 171 of /etc/apache2/httpd.conf:
Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf:
Cannot load /usr/lib64/apache2/modules/libphp5.so into server:
/usr/lib64/apache2/modules/libphp5.so: cannot open shared object file:
No such file or directory

And it's right: /usr/lib64/apache2/modules/libphp5.so doesn't exist. Seems to me to be due to an error in the CVS revision 1.5 of pkg_postinst-v2.eblit which loops over ${SAPI} while the ebuild names it ${SAPIS}, a plural with a trailing S.

As a result, the loop won't be executed, the eselect won't be called, and the symlink won't be created.

Would have been nice if that change had been tested before committing.
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2010-11-01 18:30:14 UTC
Yeah, was just catching up on that and fixed it now. Sorry it slipped by.