Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian GCC (http://www.linux-archive.org/debian-gcc/)
-   -   Bug#673567: qgis: FTBFS with GCC-4.7: 'close' was not declared in this scope (http://www.linux-archive.org/debian-gcc/668626-bug-673567-qgis-ftbfs-gcc-4-7-close-not-declared-scope.html)

Steven Chamberlain 05-19-2012 06:45 PM

Bug#673567: qgis: FTBFS with GCC-4.7: 'close' was not declared in this scope
 
Package: src:qgis
Version: 1.7.4+1.7.5~20120320-1
Severity: serious
Tags: sid wheezy
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.7
X-Debbugs-Cc: debian-gcc@lists.debian.org
Justification: fails to build from source (but built successfully in the
past)

Hi,

qgis fails to build on arches that now have gcc-4.7 as default (the
successful build on amd64 recently was still using gcc-4.6 at the time):

> [ 14%] Building CXX object src/core/CMakeFiles/qgis_core.dir/spatialindex/tools/TemporaryFile.cc.o
> /build/buildd-qgis_1.7.4+1.7.5~20120320-1+b1-i386-O84wRU/qgis-1.7.4+1.7.5~20120320/src/core/spatialindex/tools/TemporaryFile.cc: In constructor 'Tools::TemporaryFile::TemporaryFile()':
> /build/buildd-qgis_1.7.4+1.7.5~20120320-1+b1-i386-O84wRU/qgis-1.7.4+1.7.5~20120320/src/core/spatialindex/tools/TemporaryFile.cc:52:13: error: 'close' was not declared in this scope
> /build/buildd-qgis_1.7.4+1.7.5~20120320-1+b1-i386-O84wRU/qgis-1.7.4+1.7.5~20120320/src/core/spatialindex/tools/TemporaryFile.cc: In member function 'void Tools::TemporaryFile::storeNextObject(long unsigned int, const byte*)':
> /build/buildd-qgis_1.7.4+1.7.5~20120320-1+b1-i386-O84wRU/qgis-1.7.4+1.7.5~20120320/src/core/spatialindex/tools/TemporaryFile.cc:92:15: error: 'close' was not declared in this scope
> make[3]: *** [src/core/CMakeFiles/qgis_core.dir/spatialindex/tools/TemporaryFile.cc.o] Error 1
> make[3]: Leaving directory `/build/buildd-qgis_1.7.4+1.7.5~20120320-1+b1-i386-O84wRU/qgis-1.7.4+1.7.5~20120320/debian/build'
> make[2]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2

Regards,
--
Steven Chamberlain
steven@pyro.eu.org



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4FB7EA2F.2070506@pyro.eu.org">http://lists.debian.org/4FB7EA2F.2070506@pyro.eu.org


All times are GMT. The time now is 09:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.