Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2014 19:07:26 GMT
From:      Walter Hop <walter@lifeforms.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189379: benchmarks/phoronix-test-suite requires php5-dom
Message-ID:  <201405051907.s45J7QX5066521@cgiserv.freebsd.org>
Resent-Message-ID: <201405051930.s45JU1HH060595@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         189379
>Category:       ports
>Synopsis:       benchmarks/phoronix-test-suite requires php5-dom
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 05 19:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Walter Hop
>Release:        9.2-RELEASE-p5
>Organization:
>Environment:
>Description:
The Phoronix Test Suite (benchmarks/phoronix-test-suite) needs the php DOM extension (textproc/php5-dom) to function.

This dependency should be made explicit by the port.
>How-To-Repeat:
1. Install benchmarks/phoronix-test-suite package or port without a php5-dom package installed.
2. Run 'phoronix-test-suite', which should give the following error message:

The following PHP extensions are REQUIRED by the Phoronix Test Suite:

DOM      The PHP Document Object Model (DOM) is required for XML operations.

The following PHP extensions are OPTIONAL but recommended:

PHP FPDF PHP FPDF is recommended if wishing to generate PDF reports.
>Fix:
Require php5 DOM extension.

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 353037)
+++ Makefile	(working copy)
@@ -12,7 +12,7 @@
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USE_PHP=	zip json openssl gd zlib pcntl posix curl ctype
+USE_PHP=	zip json openssl gd zlib pcntl posix curl ctype dom
 USE_PHP_BUILD=	yes
 WANT_PHP_CLI=	yes
 NO_BUILD=	yes


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405051907.s45J7QX5066521>