Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509362 - sci-geosciences/qgis-1.7.0 - .../work/qgis-1.7.0/src/core/spatialindex/tools/TemporaryFile.cc:52:13: error: ‘close’ was not declared in this scope
Summary: sci-geosciences/qgis-1.7.0 - .../work/qgis-1.7.0/src/core/spatialindex/tools/...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on: 529530
Blocks:
  Show dependency tree
 
Reported: 2014-05-02 08:53 UTC by Jean-Claude Repetto
Modified: 2015-12-28 17:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,10.68 KB, application/gzip)
2014-05-02 08:59 UTC, Jean-Claude Repetto
Details
patch from Steven Chamberlain (bug_673567.patch,733 bytes, patch)
2014-06-27 11:29 UTC, Puggan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude Repetto 2014-05-02 08:53:43 UTC
Buils stops at 25 % with these error messages :

[ 25%] Building CXX object src/core/CMakeFiles/qgis_core.dir/spatialindex/tools/TemporaryFile.cc.o
cd /var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0_build/src/core && /usr/bin/x86_64-pc-linux-gnu-g++  -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -D_HAVE_PTHREAD_ -D_TTY_POSIX_ -Dqgis_core_EXPORTS  -DNDEBUG -O2 -pipe  -fPIC -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtWebKit -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtSql -isystem /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore -I/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0_build -I/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core -I/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/composer -I/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/pal -I/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/raster -I/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/renderer -I/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/symbology -I/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/spatialindex/include -I/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/symbology-ng -I/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/gps/qextserialport    -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= -o CMakeFiles/qgis_core.dir/spatialindex/tools/TemporaryFile.cc.o -c /var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/spatialindex/tools/TemporaryFile.cc
/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/spatialindex/tools/TemporaryFile.cc: In constructor ‘Tools::TemporaryFile::TemporaryFile()’:
/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/spatialindex/tools/TemporaryFile.cc:52:13: error: ‘close’ was not declared in this scope
/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/spatialindex/tools/TemporaryFile.cc: In member function ‘void Tools::TemporaryFile::storeNextObject(long unsigned int, const byte*)’:
/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0/src/core/spatialindex/tools/TemporaryFile.cc:92:15: error: ‘close’ was not declared in this scope
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/spatialindex/tools/TemporaryFile.cc.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0_build'
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sci-geosciences/qgis-1.7.0/work/qgis-1.7.0_build'
make: *** [all] Error 2
Comment 1 Jean-Claude Repetto 2014-05-02 08:58:09 UTC
emerge --info

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-1620_0_@_3.60GHz-with-gentoo-2.2
KiB Mem:     2051892 total,    203432 free
KiB Swap:   15623208 total,  15612032 free
Timestamp of tree: Mon, 28 Apr 2014 15:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr ecwj2k emboss encode exif fam ffmpeg firefox flac fortran gbm gdbm gif gpm iconv jpeg lcms ldap libnotify libsamplerate mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds python qt3support qt4 readline sdl session spatialite spell sqlite sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis xml xv zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 2 Jean-Claude Repetto 2014-05-02 08:59:47 UTC
Created attachment 376192 [details]
build.log.gz
Comment 3 Puggan 2014-06-27 11:27:21 UTC
The debian version of the bug, including patch

https://lists.debian.org/debian-gcc/2012/05/msg00158.html
Comment 4 Puggan 2014-06-27 11:29:33 UTC
Created attachment 379772 [details, diff]
patch from Steven Chamberlain

patch from Steven Chamberlain

https://lists.debian.org/debian-gcc/2012/05/msg00158.html
Comment 5 Amy Liffey gentoo-dev 2015-12-28 17:27:43 UTC
Not in tree anymore.

Amy