On Sat, 19 Nov 2011 19:45:14 +0100, Julien Cristau wrote:

> Source: spatialite
> Version: 3.0.0~beta20110817-2
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
> spatialite FTBFS on powerpc, see
> https://buildd.debian.org/status/fetch.php?pkg=spatialite&arch=powerpc&ver=3.0.0%7Ebeta20110817-2&stamp=1319714491

Ok, I think I somehow "understood" this bug.

Versions before 3.0 didn't have that srs_init.c, with all those EPSG
definitions inside (it's a 110k+-lines file, 4.8M).

After some tries, I found that adding -DOMIT_EPSG=1 to the compilation
commandline made it work on powerpc (I tested it on pescetti).

After some more tries, I saw that it could handle well the calls from
initialize_epsg_00 to initialize_epsg_17: if I de-comment _18 onwards, it FTBFS
as described in the log above. (lines 110432-...)

The same code works fine on i386 (my local machine), I suspect it's some kind
of out-of-memory thing (in fact, passing -DOMIT_EPSG does *NOT* totally skip
those calls, it just doesn't execute them all).

This bug can be solved by passing --disable-epsg at configure-time, but we
would lose some functionality. Probably a better solution exists, but I'm
currently too tired to continue debugging this, will look into it again ASAP.

Frankie, what do you think? Should we disable the "full EPSG initialization"?


 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature

Pkg-grass-devel mailing list

Reply via email to