Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56138 - error when ebuild phpdbg-2.11.23
Summary: error when ebuild phpdbg-2.11.23
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 64697 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-05 07:54 UTC by Antonio
Modified: 2005-02-19 07:04 UTC (History)
1 user (show)

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


Attachments
ebuild partially correct (phpdbg-2.11.23.ebuild,1.17 KB, text/plain)
2004-07-05 10:30 UTC, Antonio
Details
Patches extension dir and section header in php.ini (phpdbg-2.11.23.ebuild.patch,847 bytes, patch)
2004-09-19 15:20 UTC, Ramon
Details | Diff
Adds the posibility to add sectionheaders to php.ini (php-ext-base.eclass.patch,5.57 KB, patch)
2004-09-19 15:21 UTC, Ramon
Details | Diff
bumped the ebuild to latest version 2.11.30 (phpdbg-2.11.30.ebuild,1.24 KB, text/plain)
2004-09-19 15:54 UTC, Ramon
Details
Correctly set extension and add directives to php.ini (phpdbg-2.11.23.ebuild.patch,568 bytes, patch)
2004-09-19 16:23 UTC, Ramon
Details | Diff
phpdbg-2.11.30.ebuild version bump (phpdbg-2.11.30.ebuild,1.21 KB, text/plain)
2004-09-19 16:25 UTC, Ramon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio 2004-07-05 07:54:16 UTC
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.
Comment 1 Antonio 2004-07-05 10:30:50 UTC
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
Comment 2 Ramon 2004-09-19 15:19:50 UTC
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.
Comment 3 Ramon 2004-09-19 15:20:56 UTC
Created attachment 39962 [details, diff]
Patches extension dir and section header in php.ini
Comment 4 Ramon 2004-09-19 15:21:45 UTC
Created attachment 39963 [details, diff]
Adds the posibility to add sectionheaders to php.ini
Comment 5 Ramon 2004-09-19 15:54:11 UTC
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.
Comment 6 Ramon 2004-09-19 16:23:41 UTC
Created attachment 39968 [details, diff]
Correctly set extension and add directives to php.ini
Comment 7 Ramon 2004-09-19 16:25:52 UTC
Created attachment 39969 [details]
phpdbg-2.11.30.ebuild version bump
Comment 8 Sebastian Bergmann (RETIRED) gentoo-dev 2005-02-19 07:03:26 UTC
*** Bug 64697 has been marked as a duplicate of this bug. ***
Comment 9 Sebastian Bergmann (RETIRED) gentoo-dev 2005-02-19 07:04:36 UTC
dev-php/phpdbg-2.11.32 is in portage now