[postgis-tickets] [PostGIS] #2396: liblwgeom CUnit tests fail on big-endian architectures.
PostGIS
trac at osgeo.org
Wed Jul 31 02:21:19 PDT 2013
#2396: liblwgeom CUnit tests fail on big-endian architectures.
---------------------+------------------------------------------------------
Reporter: mnencia | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.0
Component: postgis | Version: 2.0.x
Keywords: |
---------------------+------------------------------------------------------
Building postgis 2.0.3 for debian unstable (buildd logs here
https://buildd.debian.org/status/package.php?p=postgis) we got a cunit
error on all big-endian architectures that build correctly (spark, s390,
powerpc, mips)
Cofigure on spark says:
{{{
PostGIS is now configured for sparc-unknown-linux-gnu
-------------- Compiler Info -------------
C compiler: sparc-linux-gnu-gcc -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security
C++ compiler: sparc-linux-gnu-g++ -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security
SQL preprocessor: /usr/bin/cpp -traditional-cpp -P
-------------- Dependencies --------------
GEOS config: /usr/bin/geos-config
GEOS version: 3.3.3
GDAL config: /usr/bin/gdal-config
GDAL version: 1.9.0
PostgreSQL config: /usr/lib/postgresql/9.1/bin/pg_config
PostgreSQL version: PostgreSQL 9.1.9
PROJ4 version: 47
Libxml2 config: /usr/bin/xml2-config
Libxml2 version: 2.9.1
JSON-C support: yes
PostGIS debug level: 0
Perl: /usr/bin/perl
--------------- Extensions ---------------
PostGIS Raster: enabled
PostGIS Topology: enabled
-------- Documentation Generation --------
xsltproc: /usr/bin/xsltproc
xsl style sheets: /usr/share/xml/docbook/stylesheet/nwalsh
dblatex: /usr/bin/dblatex
convert: /usr/bin/convert
mathml2.dtd: http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
}}}
The failure is:
{{{
Exp:
0103000000010000000500000000917E9BA468294100917E9B8AEA2841C976BE1FA4682941C976BE9F8AEA2841B39ABE1FA46829415ACCC29F8AEA284137894120A4682941C976BE9F8AEA284100917E9BA468294100917E9B8AEA2841
Obt:
00000000030000000100000005412968A49B7E91004128EA8A9B7E9100412968A41FBE76C94128EA8A9FBE76C9412968A41FBE9AB34128EA8A9FC2CC5A412968A4204189374128EA8A9FBE76C9412968A49B7E91004128EA8A9B7E9100
Test: test_lwgeom_force_clockwise ... FAILED
1. cu_libgeom.c:750 - CU_ASSERT_STRING_EQUAL(in_ewkt,out_ewkt)
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2396>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list