Package: qgis
Version: 1.7.4+1.7.5~20120320-1.1
Severity: important

Dear Maintainer,

qgis currently fails to build on powerpc. The problem seems to be
the src/core/spatialite/spatialite.c file which somehow makes
gcc emit code that the assembler rejects. I have two powerpc
systems that I've reproduced the problem on. They have identical
output to buildd log:

I tried to build with both gcc-4.6 and gcc-4.7 but get the 
same errors.

qgis has libspatialite-dev as a build-dep and libspatialite3 as
a depedency of the binary package, through libgdal1, so why not
use the external libspatialite ?

I removed the comment from the line
in the debian/rules file and the package builds fine.

The maintainers of qgis say that the amalgamated version of 
spatialite.c included with qgis is mainly for windows support:

This is the section I changed:

--- rules      2012-09-20 11:37:58.000000000 -0500
+++ rules       2012-09-20 10:33:59.000000000 -0500
@@ -43,7 +43,7 @@
 #ifeq (,$(findstring $(DISTRIBUTION),"squeeze lucid maverick natty sid"))
 ifneq (,$(findstring $(DISTRIBUTION),"hardy intrepid"))

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc64)

Kernel: Linux 3.2.0-3-powerpc64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Pkg-grass-devel mailing list

Reply via email to