FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 05-19-2012, 06:45 PM
Steven Chamberlain
 
Default 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
 

Thread Tools




All times are GMT. The time now is 04:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org