This is error when ebuild phpdbg-2.11.23: Build complete. (It is safe to ignore warnings about tempnam and tmpnam). >>> Install phpdbg-2.11.23 into /var/tmp/portage/phpdbg-2.11.23/image/ category dev-php * Extension added to /etc/php/apache2-php4/php.ini * Extension added to /etc/php/cli-php4/php.ini man: prepallstrip: strip: >>> Completed installing into /var/tmp/portage/phpdbg-2.11.23/image/ >>> Merging dev-php/phpdbg-2.11.23 to / --- /etc/ --- /etc/php/ --- /etc/php/apache2-php4/ cycle >>> /etc/php/apache2-php4/._cfg0000_php.ini --- /etc/php/cli-php4/ cycle >>> /etc/php/cli-php4/._cfg0000_php.ini --- /usr/ --- /usr/lib/ --- /usr/lib/php/ --- /usr/lib/php/extensions/ --- /usr/lib/php/extensions/no-debug-non-zts-20020429/ >>> /usr/lib/php/extensions/no-debug-non-zts-20020429/dbg.so --- /usr/share/ --- /usr/share/doc/ >>> /usr/share/doc/phpdbg-2.11.23/ >>> /usr/share/doc/phpdbg-2.11.23/INSTALL.gz >>> /usr/share/doc/phpdbg-2.11.23/COPYING.gz >>> /usr/share/doc/phpdbg-2.11.23/AUTHORS.gz * Added 'extension=/etc/php4/lib/dbg.so' to /etc/php/apache2-php4/php.ini * Added 'extension=/etc/php4/lib/dbg.so' to /etc/php/cli-php4/php.ini /usr/sbin/ebuild.sh: line 120: $3: ambiguous redirect <------- ???? * Added '[Debugger]=etc/php/apache2-php4/php.ini' to / dirname: troppo pochi argomenti Usare `dirname --help' per ulteriori informazioni. /usr/lib/portage/bin/doins: at least one argument needed /usr/sbin/ebuild.sh: line 120: $3: ambiguous redirect <---------- ???? * Added '[Debugger]=etc/php/cli-php4/php.ini' to / dirname: troppo pochi argomenti Usare `dirname --help' per ulteriori informazioni. /usr/lib/portage/bin/doins: at least one argument needed <-------- ???? * Added 'debugger.enabled=on' to /etc/php/apache2-php4/php.ini * Added 'debugger.enabled=on' to /etc/php/cli-php4/php.ini * Added 'debugger.profiler_enabled=on' to /etc/php/apache2-php4/php.ini * Added 'debugger.profiler_enabled=on' to /etc/php/cli-php4/php.ini * Please reload Apache to activate the changes * Caching service dependencies... Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 34822 [details] ebuild partially correct I have partially resolv this bug with this ebuild. I have not corrected line Added '[Debugger]=no' to /etc/php/apache2-php4/php.ini on Added '[Debugger]' to /etc/php/apache2-php4/php.ini
Ran into the same problem trying to set up phpeclipse with the phpdbg. Culprit is calling addtoinifiles from the eclass with just one parameter. It also adds the wrong extension dir. Added two patches for approval: Patch to php-ext-base.eclass to allow section headers to be added: php-ext-base_addsectiontoinifile & php-ext-base_addsectiontoinifiles And a patch for the ebuild.
Created attachment 39962 [details, diff] Patches extension dir and section header in php.ini
Created attachment 39963 [details, diff] Adds the posibility to add sectionheaders to php.ini
Created attachment 39964 [details] bumped the ebuild to latest version 2.11.30 Didn't want to open a new bug due to using previous patch #39963 If that's not acceptable leave a note I'll rewrite without section eclass functions.
Created attachment 39968 [details, diff] Correctly set extension and add directives to php.ini
Created attachment 39969 [details] phpdbg-2.11.30.ebuild version bump
*** Bug 64697 has been marked as a duplicate of this bug. ***
dev-php/phpdbg-2.11.32 is in portage now