| Summary: | [PATCH] Incorrect dependency between devel/php5-spl and textproc/php5-simplexml | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Eugene M. Kim <freebsd.org> | ||||
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer (via the GNATS Auto Assign Tool) State Changed From-To: open->closed The dependency is correct and simplexml builds fine without spl. Perhaps you have a screwed up php installation, try remove it completely. |
The simplexml module depends on the spl module in the PHP 5.2.5 distribution (according to ext/{spl,simplexml}/config.m4); however, the dependency is set the other way around in ports/lang/php5/Makefile.ext, such that spl depends on simplexml instead. This breaks the build of simplexml in absence of spl (e.g. when portupgrade decides to install simplexml before spl because it thinks spl depends on simplexml), because the required spl header files are not present on the system yet. Fix: The following patch modifies ports/lang/php5/Makefile.ext so that simplexml correctly depends on spl, and not spl on simplexml. How-To-Repeat: On a clean system without any php5 ports installed, run "portinstall -R php5-simplexml php5-spl".