Hi, at time the Benchmark files will install to /usr/share/php/Benchmark/Benchmark but it must be /usr/share/php/Benchmark/ . regards j0inty.sL Reproducible: Always Steps to Reproduce: 1.emerge PEAR-Benchmark 2.php -r "require(\"Benchmark/Timer.php\");" 3. Actual Results: Fatal error: require(): Failed opening required 'Benmark/Timer.php' (include_path='.:/usr/share/php5:/usr/share/php') in Command line code on line 1 Expected Results: No Fatal Error ;)
Because the package.xml thing is broken, report this upstream please. http://pear.php.net/bugs/report.php?package=Benchmark
--- PEAR-Benchmark-1.2.7.ebuild 2007-09-26 20:05:49.000000000 +0200 +++ PEAR-Benchmark-1.2.7.ebuild 2007-09-27 22:33:45.000000000 +0200 @@ -10,6 +10,13 @@ KEYWORDS="~alpha ~amd64 hppa ~ia64 ppc ppc64 ~sparc x86" IUSE="" +src_unpack() { + unpack ${A} + cd "${WORKDIR}" + rm -f package.xml + cp package2.xml package.xml +} + pkg_postinst() { has_php if ! built_with_use --missing true =${PHP_PKG} bcmath ; then
Patch applied in PEAR-Benchmark-1.2.7-r1, thanks. Arches, please mark =dev-php/PEAR-Benchmark-1.2.7-r1 stable (you currently have =dev-php/PEAR-Benchmark-1.2.7 which is broken).
ppc64 wins!
Stable for HPPA.
x86 stable, adding amd64 as they stabilised the broken version
actually add amd64, see comment #5 - sorry for the bugspam
-r1 stable on amd64
CC alpha/sparc here as they've stabilized the broken one for #192247
alpha/sparc stable
Marked ppc stable, closing since we're the last arch.