| Summary: | php5-dom fails to build after fresh cvsup of ports | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Joseph <joji> |
| Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer The problem was that PHP5 was at version 5.1.6 and textproc/php5-dom was
at version 5.2.0. Last night after submitting the bug report, I upgraded
PHP5 to version 5.2.0 and textproc/php5-dom built fine this morning.
Between installing PHP5 and textproc/php5-dom, I had refreshed the ports
tree and that was what was causing the build failure.
If it is possible to have something like the following in the Makefile
for php5-dom, it would prevent other people from having similar
problems.
.if ${PHP5_LEVEL} < 5.1.9
IGNORE= requires PHP5 5.2.x or later
.endif
On Wed, Dec 06, 2006 at 03:50:05AM +0000, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/106402'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=106402
>
> >Category: ports
> >Responsible: freebsd-ports-bugs
> >Synopsis: php5-dom fails to build after fresh cvsup of ports
> >Arrival-Date: Wed Dec 06 03:50:05 GMT 2006
The problem was that PHP5 was at version 5.1.6 and textproc/php5-dom was
at version 5.2.0. Last night after submitting the bug report, I upgraded
PHP5 to version 5.2.0 and textproc/php5-dom built fine this morning.
Between installing PHP5 and textproc/php5-dom, I had refreshed the ports
tree and that was what was causing the build failure.
If it is possible to have something like the following in the Makefile
for php5-dom, it would prevent other people from having similar
problems.
.if ${PHP5_LEVEL} < 5.1.9
IGNORE= requires PHP5 5.2.x or later
.endif
On Wed, Dec 06, 2006 at 03:50:05AM +0000, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/106402'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=106402
>
> >Category: ports
> >Responsible: freebsd-ports-bugs
> >Synopsis: php5-dom fails to build after fresh cvsup of ports
> >Arrival-Date: Wed Dec 06 03:50:05 GMT 2006
State Changed From-To: open->closed Ports should always be up to date. You cannot mix php extensions. |
autumn# make install clean ===> Building for php5-dom-5.2.0 /bin/sh /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/libtool --mode=compile cc -I. -I/usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom -DPHP_ATOM_INC -I/usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/include -I/usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/main -I/usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c -o php_dom.lo cc -I. -I/usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom -DPHP_ATOM_INC -I/usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/include -I/usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/main -I/usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c -fPIC -DPIC -o .libs/php_dom.o In file included from /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.h:58, from /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:30: /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/xml_common.h:27: error: syntax error before '*' token /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/xml_common.h:27: warning: data definition has no type or storage class In file included from /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:30: /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.h:87: error: syntax error before "dom_get_doc_props" /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.h:87: warning: data definition has no type or storage class /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:150: error: syntax error before "dom_get_doc_props" /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c: In function `dom_get_doc_props': /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:152: error: syntax error before "doc_props" /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:155: warning: return makes integer from pointer without a cast /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:157: error: `doc_props' undeclared (first use in this function) /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:157: error: (Each undeclared identifier is reported only once /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:157: error: for each function it appears in.) /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:157: error: `libxml_doc_props' undeclared (first use in this function) /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c: In function `dom_set_doc_classmap': /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:175: error: syntax error before "doc_props" /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:178: error: `doc_props' undeclared (first use in this function) /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c: In function `dom_get_doc_classmap': /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:197: error: syntax error before "doc_props" /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:201: error: `doc_props' undeclared (first use in this function) /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c: In function `dom_get_strict_error': /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:216: error: syntax error before "doc_props" /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:218: error: `doc_props' undeclared (first use in this function) /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c: In function `zm_startup_dom': /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:651: warning: assignment from incompatible pointer type /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom/php_dom.c:660: warning: assignment from incompatible pointer type *** Error code 1 Stop in /usr/ports/textproc/php5-dom/work/php-5.2.0/ext/dom. *** Error code 1 Stop in /usr/ports/textproc/php5-dom. autumn# Fix: none as of yet. How-To-Repeat: cd /usr/ports/textproc/php5-dom make install clean