Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294221 - dev-php/PEAR-Date-1.5.0_alpha1 missing dependency (PEAR-Console_GetOpt) on ~amd64
Summary: dev-php/PEAR-Date-1.5.0_alpha1 missing dependency (PEAR-Console_GetOpt) on ~a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-23 16:25 UTC by Ikujam
Modified: 2009-11-24 14:29 UTC (History)
0 users

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


Attachments
PEAR-Date-1.5.0_alpha1 dependency fix (PEAR-Date-1.5.0_alpha1-r1.ebuild,451 bytes, text/plain)
2009-11-23 17:09 UTC, Ikujam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ikujam 2009-11-23 16:25:22 UTC
on my ~amd64 installation, trying to emerge dev-php/PEAR-Date-1.5.0_alpha1 fails due to a missing dependency, GetOpt.

Reproducible: Always

Steps to Reproduce:
1. emerge -C dev-php/PEAR-Console_Getopt dev-php/PEAR-Date
2. emerge -avD dev-php/PEAR-Date
Actual Results:  
gentoo-quad ~ # emerge -avD PEAR-Date             

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-php/PEAR-Date-1.5.0_alpha1  0 kB
[ebuild  N    ] dev-php/PEAR-Console_Getopt-1.2.3  0 kB

Total: 2 packages (2 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) dev-php/PEAR-Date-1.5.0_alpha1
 * Date-1.5.0a1.tgz RMD160 SHA1 SHA256 size ;-) ...                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking Date-1.5.0a1.tgz to /var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/work
>>> Source unpacked in /var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/work
>>> Compiling source in /var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/work/Date-1.5.0a1 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-php/PEAR-Date-1.5.0_alpha1

>>> Install PEAR-Date-1.5.0_alpha1 into /var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/image/ category dev-php

Warning: require_once(Console/Getopt.php): failed to open stream: Aucun fichier ou dossier de ce type in System.php on line 21

Warning: require_once(Console/Getopt.php): failed to open stream: Aucun fichier ou dossier de ce type in /usr/share/php/System.php on line 21

Fatal error: require_once(): Failed opening required 'Console/Getopt.php' (include_path='/usr/share/php') in /usr/share/php/System.php on line 21
 * ERROR: dev-php/PEAR-Date-1.5.0_alpha1 failed:
 *   Unable to install PEAR package
 * 
 * Call stack:
 *     ebuild.sh, line  55:  Called src_install
 *   environment, line 993:  Called php-pear-r1_src_install
 *   environment, line 930:  Called die
 * The specific snippet of code:
 *               pear -d php_bin="${PHP_BIN}" -d www_dir="${WWW_DIR}" install --force --loose --nodeps --offline --packagingroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package";
 * 
 * If you need support, post the output of 'emerge --info =dev-php/PEAR-Date-1.5.0_alpha1',
 * the complete build log and the output of 'emerge -pqv =dev-php/PEAR-Date-1.5.0_alpha1'.
 * The complete build log is located at '/var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/temp/environment'.
 * S: '/var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/work/Date-1.5.0a1'

>>> Failed to emerge dev-php/PEAR-Date-1.5.0_alpha1, Log file:

>>>  '/var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/temp/build.log'

 * Messages for package dev-php/PEAR-Date-1.5.0_alpha1:

 * ERROR: dev-php/PEAR-Date-1.5.0_alpha1 failed:
 *   Unable to install PEAR package
 * 
 * Call stack:
 *     ebuild.sh, line  55:  Called src_install
 *   environment, line 993:  Called php-pear-r1_src_install
 *   environment, line 930:  Called die
 * The specific snippet of code:
 *               pear -d php_bin="${PHP_BIN}" -d www_dir="${WWW_DIR}" install --force --loose --nodeps --offline --packagingroot="${D}" "${S}/package.xml" || die "Unable to install PEAR package";
 * 
 * If you need support, post the output of 'emerge --info =dev-php/PEAR-Date-1.5.0_alpha1',
 * the complete build log and the output of 'emerge -pqv =dev-php/PEAR-Date-1.5.0_alpha1'.
 * The complete build log is located at '/var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/temp/environment'.
 * S: '/var/tmp/portage/dev-php/PEAR-Date-1.5.0_alpha1/work/Date-1.5.0a1'


Expected Results:  
something like the output from : 

gentoo-quad PEAR-Date # emerge -avD dev-php/PEAR-Date

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-php/PEAR-Console_Getopt-1.2.3  0 kB [0]
[ebuild  N    ] dev-php/PEAR-Date-1.5.0_alpha1-r1  0 kB [1]

Total: 2 packages (2 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage

Would you like to merge these packages? [Yes/No] 

[...]

PEAR-Date was pulled in from emerging "net-analyzer/centreon"

a workaround is to emerge PEAR--Console_GetOpt manually
Comment 1 Ikujam 2009-11-23 17:09:09 UTC
Created attachment 210993 [details]
PEAR-Date-1.5.0_alpha1 dependency fix

at least it emerges fine here
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2009-11-24 14:29:47 UTC
Fixed in CVS