Bug#688246: qgis fails to build on powerpc due to internal spatialite
Control: fixed -1 gqis/2.0.1-1 Control: tags -1 pending This issue has been addressed in the updated QGIS package, which also includes the latest upstream release. The package has been uploaded to mentors and is waiting for sponsorship (#724927). Kind Regards, Bas -- GnuPG: 0xE88D4AF1 (new) / 0x77A975AD (old) ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
Bug#688246: qgis fails to build on powerpc due to internal spatialite
On Thu, Sep 20, 2012 at 11:59:51AM -0500, David Matthew Mattli wrote: > Package: qgis > Version: 1.7.4+1.7.5~20120320-1.1 > Severity: important > Tags: > > 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: > https://buildd.debian.org/status/fetch.php?pkg=qgis&arch=powerpc&ver=1.7.4%2B1.7.5~20120320-1.1&stamp=1337680851 > > I tried to build with both gcc-4.6 and gcc-4.7 but get the > same errors. > It is a well known issue triggered by the size of the file for both compilers on that arch. > 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 >CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=FALSE > 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: > http://hub.qgis.org/issues/4030 > Unfortunately the wheezy version of spatialite has the same issue. -- Francesco P. Lovergine ___ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel
Bug#688246: qgis fails to build on powerpc due to internal spatialite
Package: qgis Version: 1.7.4+1.7.5~20120320-1.1 Severity: important Tags: 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: https://buildd.debian.org/status/fetch.php?pkg=qgis&arch=powerpc&ver=1.7.4%2B1.7.5~20120320-1.1&stamp=1337680851 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 CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=FALSE 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: http://hub.qgis.org/issues/4030 This is the section I changed: --- rules 2012-09-20 11:37:58.0 -0500 +++ rules 2012-09-20 10:33:59.0 -0500 @@ -43,7 +43,7 @@ #ifeq (,$(findstring $(DISTRIBUTION),"squeeze lucid maverick natty sid")) CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=TRUE #else -# CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=FALSE + CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=FALSE #endif 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 Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel