On Tue, Oct 16, 2007 at 09:21:38PM +0200, Eric Faurot wrote:
> On Sat, 13 Oct 2007 15:09:46 +0100
> Stuart Henderson <[EMAIL PROTECTED]> wrote:
>
> > Just testing this on amd64 (I did sparc64 a while ago) and noticed
> > that building the html docs tries to download a dtd, which systrace
> > blocks.
> >
> > cd /usr/ports/mystuff/geo/postgis/w-postgis-1.3.1/postgis-1.3.1/doc &&
> > gmake html
> > cat postgis.xml | sed "s/@@LAST_RELEASE_VERSION@@/1.3.1/g" > postgis-out.xml
> > /usr/local/bin/xsltproc --param section.autolabel 1 --param
> > section.label.includes.component.label 1 --param chunk.section.depth 0
> > --stringparam html.stylesheet style.css \
> > --output html/postgis.html \
> > /usr/local/share/xsl/docbook/html/docbook.xsl \
> > postgis-out.xml
> > systrace: deny user: sthen, prog: /usr/local/bin/xsltproc, pid:
> > 4268(0)[20483], policy: /usr/bin/make, filters: 193, syscall:
> > native-connect(98), sockaddr: inet-[127.0.0.1]:53
> > systrace: deny user: sthen, prog: /usr/local/bin/xsltproc, pid:
> > 4268(0)[20483], policy: /usr/bin/make, filters: 193, syscall:
> > native-connect(98), sockaddr: inet-[127.0.0.1]:53
> > systrace: deny user: sthen, prog: /usr/local/bin/xsltproc, pid:
> > 4268(0)[20483], policy: /usr/bin/make, filters: 193, syscall:
> > native-connect(98), sockaddr: inet-[66.151.234.59]:80
> > error : Operation not permitted
> > postgis-out.xml:5: warning: failed to load external entity
> > "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
> > ]>
>
> I don't know if it is really an issue. But anyway, the html output file
> is already included in the tarball, actually. So let's use this instead
> of regenerating it. This saves us all the docbook/xsl build depends.
>
> New tarball attached.
>
One last thing, please:
BUILD_DEPENDS= ${RUN_DEPENDS}
Regression tests all pass on amd64 and macppc, though one test on i386
still fails...
kml. failed (diff expected obtained: /tmp/pgis_reg_18022/test_37_diff)
Run tests: 37
Failed: 1
/tmp/pgis_reg_18022/test_37_diff:
20c20
< <Point><coordinates>-73.1978481045547,6.76797715816346,0</coordinates></Point>
---
> <Point><coordinates>-73.1978481045547,6.76797715816347,0</coordinates></Point>
40c40
< <Point><coordinates>-73.1978481045547,6.76797715816346,0</coordinates></Point>
---
> <Point><coordinates>-73.1978481045547,6.76797715816347,0</coordinates></Point>
IIRC that's an expected precision problem, right?
Regards,
Simon