Bug#822477: qgis: FTBFS: error: request for member 'insert' in 'qm', which is of pointer type 'QMap

2016-04-24 Thread Martin Michlmayr
Package: qgis
Version: 2.14.1+dfsg-2
Severity: serious

This package fails to build in unstable:

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> cd /<>/qgis-2.14.1+dfsg/debian/build/src/gui && /usr/bin/c++   
> -DPYTHON2 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII 
> -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB 
> -DQT_XML_LIB -DWITH_QTWEBKIT -Dqgis_gui_EXPORTS -isystem /usr/include/qt4 
> -isystem /usr/include/qt4/QtOpenGL -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/<>/qgis-2.14.1+dfsg/debian/build -isystem 
> /usr/include/qt4/QtUiTools -I/<>/qgis-2.14.1+dfsg/src/gui 
> -I/<>/qgis-2.14.1+dfsg/src/gui/symbology-ng 
> -I/<>/qgis-2.14.1+dfsg/src/gui/attributetable 
> -I/<>/qgis-2.14.1+dfsg/src/gui/auth 
> -I/<>/qgis-2.14.1+dfsg/src/gui/editorwidgets 
> -I/<>/qgis-2.14.1+dfsg/src/gui/editorwidgets/core 
> -I/<>/qgis-2.14.1+dfsg/s
> rc/gui/layertree -I/<>/qgis-2.14.1+dfsg/src/gui/effects 
> -I/<>/qgis-2.14.1+dfsg/src/gui/../core 
> -I/<>/qgis-2.14.1+dfsg/src/gui/../core/auth 
> -I/<>/qgis-2.14.1+dfsg/src/gui/../core/composer 
> -I/<>/qgis-2.14.1+dfsg/src/gui/../core/geometry 
> -I/<>/qgis-2.14.1+dfsg/src/gui/../core/layertree 
> -I/<>/qgis-2.14.1+dfsg/src/gui/../core/raster 
> -I/<>/qgis-2.14.1+dfsg/src/gui/../core/symbology-ng 
> -I/<>/qgis-2.14.1+dfsg/src/gui/../core/effects 
> -I/<>/qgis-2.14.1+dfsg/debian/build/src/gui 
> -I/<>/qgis-2.14.1+dfsg/debian/build/src/gui/../ui -isystem 
> /usr/include/QtCrypto -isystem /usr/include/qwt -isystem /usr/include/gdal  
> -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security 
> -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wdate-time -D_FORTIFY_SOURCE=2  
> -DSPATIALITE_VERSION_GE_4_0_0 -DSPATIALITE_VERSION_G_4_1_1 
> -DSPATIALITE_HAS_INIT_EX -std=c++11 -Wall -Wextra -Wno-long-long 
> -Wformat-secur
 ity -Wno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -fPIC 
  -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= 
-DAPP_EXPORT= -DCUSTOMWIDGETS_EXPORT= -DSERVER_EXPORT= -UGUI_EXPORT 
"-DGUI_EXPORT=__attribute__ ((visibility (\"default\")))" -o 
CMakeFiles/qgis_gui.dir/qgssvgannotationitem.cpp.o -c 
/<>/qgis-2.14.1+dfsg/src/gui/qgssvgannotationitem.cpp
> /<>/qgis-2.14.1+dfsg/python/core/conversions.sip: In function 'int 
> convertTo_QMap_3800_0600QMap_1800_0100QVariant(PyObject*, void**, int*, 
> PyObject*)':
> /<>/qgis-2.14.1+dfsg/python/core/conversions.sip:735:8: error: 
> request for member 'insert' in 'qm', which is of pointer type 'QMap int, QMap<int, QVariant> >*' (maybe you meant to use '->' ?)
>  qm.insert(k, *t);
> ^

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

___
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#818807: gmt: FTBFS with libc 2.23: non-floating-point argument in call to function

2016-03-20 Thread Martin Michlmayr
Package: gmt
Version: 5.2.1+dfsg-4
Severity: important
User: debian-gl...@lists.debian.org
Usertags: 2.23

This package fails to build with libc6 2.23 (2.23-0experimental0 from
experimental).

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> [ 45%] Building C object src/CMakeFiles/gmtlib.dir/xyz2grd.c.o
> cd /<>/gmt-5.2.1+dfsg/debian/build/src && /usr/bin/cc  
> -DLIBRARY_EXPORTS -I/<>/gmt-5.2.1+dfsg/debian/build/src 
> -I/<>/gmt-5.2.1+dfsg/src -I/usr/include/gdal 
> -I/<>/gmt-5.2.1+dfsg/debian/build/src/gshhg 
> -I/<>/gmt-5.2.1+dfsg/debian/build/src/img 
> -I/<>/gmt-5.2.1+dfsg/debian/build/src/meca 
> -I/<>/gmt-5.2.1+dfsg/debian/build/src/mgd77 
> -I/<>/gmt-5.2.1+dfsg/debian/build/src/misc 
> -I/<>/gmt-5.2.1+dfsg/debian/build/src/potential 
> -I/<>/gmt-5.2.1+dfsg/debian/build/src/segy 
> -I/<>/gmt-5.2.1+dfsg/debian/build/src/spotter 
> -I/<>/gmt-5.2.1+dfsg/debian/build/src/x2sys  -std=gnu99 
> -fstrict-aliasing -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp -O2 -g 
> -DNDEBUG -fPIC   -o CMakeFiles/gmtlib.dir/xyz2grd.c.o   -c 
> /<>/gmt-5.2.1+dfsg/src/xyz2grd.c
> /<>/gmt-5.2.1+dfsg/src/xyz2grd.c: In function 'GMT_xyz2grd':
> /<>/gmt-5.2.1+dfsg/src/xyz2grd.c:752:4: error: non-floating-point 
> argument in call to function '__builtin_isnan'
> (GMT_is_dnan (GMT->common.d.active[GMT_IN])) ? sprintf (e_value, "NaN") : 
> sprintf (e_value, GMT->current.setting.format_float_out, 
> GMT->common.d.nan_proxy[GMT_IN]);
>     ^
> src/CMakeFiles/gmtlib.dir/build.make:2422: recipe for target 
> 'src/CMakeFiles/gmtlib.dir/xyz2grd.c.o' failed
> make[4]: *** [src/CMakeFiles/gmtlib.dir/xyz2grd.c.o] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

___
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#811636: FTBFS with GCC 6: cannot convert x to y

2016-03-04 Thread Martin Michlmayr
* Sebastiaan Couwenberg <sebas...@xs4all.nl> [2016-03-04 20:15]:
> According to the upstream issue this has been fixed in SAGA 2.2.4.

I can confirm that saga_2.2.4+dfsg-1 builds with GCC 6.

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

___
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#811851: ossim: FTBFS with GCC 6: no match for

2016-01-19 Thread Martin Michlmayr
Package: ossim
Version: 1.8.20.3+ds-2
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-no-match

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> cd /<>/ossim-1.8.20.3+ds/debian/build/src/ossim && /usr/bin/c++   
> -DOSSIMMAKINGDLL -Dossim_EXPORTS 
> -I/<>/ossim-1.8.20.3+ds/ossim/include 
> -I/<>/ossim-1.8.20.3+ds/debian/build/include -I/usr/include/geos 
> -I/usr/include/geotiff -I/usr/include/x86_64-linux-gnu 
> -I/usr/include/freetype2  -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -O3 -DNDEBUG -fPIC   
>  -o CMakeFiles/ossim.dir/font/ossimFont.cpp.o -c 
> /<>/ossim-1.8.20.3+ds/ossim/src/ossim/font/ossimFont.cpp
> /<>/ossim-1.8.20.3+ds/ossim/src/ossim/elevation/ossimElevManager.cpp:
>  In member function 'virtual std::ostream& 
> ossimElevManager::print(std::ostream&) const':
> /<>/ossim-1.8.20.3+ds/ossim/src/ossim/elevation/ossimElevManager.cpp:650:52:
>  error: no match for 'operator<<' (operand types are 
> 'std::basic_ostream' and 'std::ostream {aka std::basic_ostream}')
>   out<<"m_dbRoundRobin["< "<print(out)<   
> ~~^~

___
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#811886: grass: FTBFS with GCC 6: declaration of ... has a different exception specifier

2016-01-19 Thread Martin Michlmayr
Package: grass
Version: 7.0.2-2
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-exception-specifier

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> c++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -fPIC  
> -I/<>/dist.x86_64-pc-linux-gnu/include 
> -I/<>/dist.x86_64-pc-linux-gnu/include
> -DPACKAGE=\""grasslibs"\"   
> -I/<>/dist.x86_64-pc-linux-gnu/include 
> -I/<>/dist.x86_64-pc-linux-gnu/include -DRELDIR=\"lib/iostream\" 
> -o OBJ.x86_64-pc-linux-gnu/rtimer.o -c rtimer.cpp
> mm.cpp: In function 'void* operator new [](size_t)':
> mm.cpp:279:7: error: declaration of 'void* operator new [](size_t) throw 
> (std::bad_alloc)' has a different exception specifier
>  void* operator new[] (size_t sz) throw(std::bad_alloc) {
>^~~~
> 
> In file included from mm.cpp:49:0:
> /<>/dist.x86_64-pc-linux-gnu/include/grass/iostream/mm.h:132:17: 
> note: from previous declaration 'void* operator new [](std::size_t)'
>friend void * operator new[](size_t) throw(std::bad_alloc);
>  ^~~~
> 
> mm.cpp: In function 'void* operator new(size_t)':
> mm.cpp:330:7: error: declaration of 'void* operator new(size_t) throw 
> (std::bad_alloc)' has a different exception specifier
>  void* operator new (size_t sz) throw(std::bad_alloc) {
>^~~~
> 
> In file included from mm.cpp:49:0:
> /<>/dist.x86_64-pc-linux-gnu/include/grass/iostream/mm.h:131:17: 
> note: from previous declaration 'void* operator new(std::size_t)'
>friend void * operator new(size_t) throw(std::bad_alloc);
>  ^~~~
> 
> ../../include/Make/Compile.make:35: recipe for target 
> 'OBJ.x86_64-pc-linux-gnu/mm.o' failed

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

___
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#811636: FTBFS with GCC 6: cannot convert x to y

2016-01-19 Thread Martin Michlmayr
Package: saga
Version: 2.2.3+dfsg-1
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -fPIC -I../../../../src/saga_core -D_SAGA_LINUX 
> -D_TYPEDEF_BYTE -D_TYPEDEF_WORD -D_SAGA_UNICODE -fopenmp -lgomp -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -c Watersheds.cpp  
> -fPIC -DPIC -o .libs/Watersheds.o
> Watersheds_ext.cpp: In member function 'CSG_Shape* 
> CWatersheds_ext::Get_Basin(CSG_Grid*, CSG_Shapes*)':
> Watersheds_ext.cpp:620:23: error: cannot convert 'bool' to 'CSG_Shape*' in 
> return
>  return( false );
>^
> 
> Makefile:515: recipe for target 'Watersheds_ext.lo' failed
> make[7]: *** [Watersheds_ext.lo] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

___
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#811999: osmium: FTBFS with GCC 6: call overloaded is ambiguous

2016-01-19 Thread Martin Michlmayr
Package: osmium
Version: 0.0~20150428-7f23002-2
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-overloaded-ambiguous

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> ==
> c++ -I../include -I. -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wextra -Wredundant-decls 
> -Wdisabled-optimization -pedantic -Wctor-dtor-privacy -Wnon-virtual-dtor 
> -Woverloaded-virtual -Wsign-promo -Wno-long-long -o tests test_main.o 
> test_utils.o t/osmfile/test_read_and_write.cpp -I/usr/include 
> -I/usr/include/gdal -L/usr/lib/x86_64-linux-gnu -lgeos-3.5.0 -L/usr/lib 
> -lgdal -lboost_regex -lboost_iostreams -lboost_filesystem -lboost_system 
> -DBOOST_TEST_DYN_LINK -Wl,-z,relro -lboost_unit_test_framework
> --
> t/osmfile/test_read_and_write.cpp: In member function 'void 
> OSMFile_Output::write_to_xml_output_file::test_method()':
> t/osmfile/test_read_and_write.cpp:65:48: error: call of overloaded 
> 'basic_ifstream(TempFileFixture&, const openmode&)' is ambiguous
>  std::ifstream in(test_osm, std::ios::binary);
> ^
> 
> In file included from t/osmfile/test_read_and_write.cpp:7:0:
> /usr/include/c++/6/fstream:511:7: note: candidate: 
> std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, 
> std::ios_base::openmode) [with _CharT = char; _Traits = 
> std::char_traits; std::__cxx11::string = 
> std::__cxx11::basic_string; std::ios_base::openmode = 
> std::_Ios_Openmode]
>basic_ifstream(const std::string& __s,
>^~
> 
> /usr/include/c++/6/fstream:495:7: note: candidate: 
> std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, 
> std::ios_base::openmode) [with _CharT = char; _Traits = 
> std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]
>basic_ifstream(const char* __s, ios_base::openmode __mode = 
> ios_base::in)
>^~
> 
> t/osmfile/test_read_and_write.cpp: In member function 'void 
> OSMFile_Output::write_to_xml_gz_output_file::test_method()':
> t/osmfile/test_read_and_write.cpp:82:58: error: call of overloaded 
> 'basic_ifstream(TempFileFixture&, const openmode&)' is ambiguous
>  std::ifstream inputfile(test_osm_gz, std::ios::binary);
>   ^
> 
> In file included from t/osmfile/test_read_and_write.cpp:7:0:
> /usr/include/c++/6/fstream:511:7: note: candidate: 
> std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, 
> std::ios_base::openmode) [with _CharT = char; _Traits = 
> std::char_traits; std::__cxx11::string = 
> std::__cxx11::basic_string; std::ios_base::openmode = 
> std::_Ios_Openmode]
>basic_ifstream(const std::string& __s,
>^~
> 
> /usr/include/c++/6/fstream:495:7: note: candidate: 
> std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, 
> std::ios_base::openmode) [with _CharT = char; _Traits = 
> std::char_traits; std::ios_base::openmode = std::_Ios_Openmode]
>basic_ifstream(const char* __s, ios_base::openmode __mode = 
> ios_base::in)
>^~
> 
> t/osmfile/test_read_and_write.cpp: In member function 'void 
> OSMFile_Output::write_to_xml_bz2_output_file::test_method()':
> t/osmfile/test_read_and_write.cpp:102:59: error: call of overloaded 
> 'basic_ifstream(TempFileFixture&, const openmode&)' is ambiguous
>  std::ifstream inputfile(test_osm_bz2, std::ios::binary);

___
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#789228: gpsdrive-scripts depends on transition package perlmagick

2015-06-18 Thread Martin Michlmayr
Package: gpsdrive
Version: 2.10~pre4-6.dfsg-5.2+b1
Severity: minor

gpsdrive-scripts has a dependency on perlmagick which is a
transitional package that will be removed after jessie+2.

Please update your dependency to libimage-magick-perl.

-- 
Martin Michlmayr
Linux for HP Helion, Hewlett-Packard

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#526200: FTBFS when wx2.6-headers is installed

2009-04-29 Thread Martin Michlmayr
Package: grass
Version: 6.4.0~rc4-1

You need a Build-Conflicts on wx2.6-headers:

checking for wx-config... /usr/bin/wx-config
checking wxWidgets version... 2.6.3
configure: error: *** wxWidgets 2.8.1 or later is required.

ii  wx2.6-headers2.6.3.2.2-3
wxWidgets Cross-platform C++ GUI toolkit (he
ii  wx2.8-headers2.8.7.1-1.1
wxWidgets Cross-platform C++ GUI toolkit (he

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#526204: FTBFS with GCC 4.4: missing #include

2009-04-29 Thread Martin Michlmayr
Package: grass
Version: 6.4.0~rc4-1
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with GCC 4.4, which has cleaned up some more
C++ headers.  You always have to #include headers directly and cannot
rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable or
gcc-4.4 from experimental.

 Automatic build of grass_6.4.0~rc4-1 on em64t by sbuild/amd64 0.53
...
 c++ -I/build/tbm/grass-6.4.0~rc4/dist.x86_64-pc-linux-gnu/include  -g -O2 
  -DPACKAGE=\grassmods\  
 -I/build/tbm/grass-6.4.0~rc4/dist.x86_64-pc-linux-gnu/include -o 
 OBJ.x86_64-pc-linux-gnu/Output.o -c Output.cpp
 In file included from Output.cpp:1:
 Output.h: In static member function 'static void Output::Begin()':
 Output.h:17: error: 'stderr' was not declared in this scope
 Output.h:17: error: 'fprintf' was not declared in this scope
 Output.h: In static member function 'static void Output::Print(std::string)':
 Output.h:24: error: 'stderr' was not declared in this scope
 Output.h:24: error: 'fprintf' was not declared in this scope
 Output.h: In static member function 'static void Output::Repeat(int, char)':
 Output.h:31: error: 'stderr' was not declared in this scope
 Output.h:31: error: 'fprintf' was not declared in this scope
 Output.h: In static member function 'static void Output::End()':
 Output.h:40: error: 'stderr' was not declared in this scope
 Output.h:40: error: 'fprintf' was not declared in this scope
 Output.h: In static member function 'static void Output::Position(unsigned 
 int)':
 Output.h:48: error: 'stderr' was not declared in this scope
 Output.h:48: error: 'fprintf' was not declared in this scope
 make[3]: *** [OBJ.x86_64-pc-linux-gnu/Output.o] Error 1
 make[3]: Leaving directory `/build/tbm/grass-6.4.0~rc4/imagery/i.atcorr'

--- imagery/i.atcorr/Output.h~  2009-04-29 20:49:42.0 +
+++ imagery/i.atcorr/Output.h   2009-04-29 20:49:50.0 +
@@ -1,6 +1,7 @@
 #ifndef MY_OUTPUT_H
 #define MY_OUTPUT_H
 
+#include cstdio
 #include iostream
 #include sstream
 #include string

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#505629: FTBFS with GCC 4.4: missing #include

2008-11-13 Thread Martin Michlmayr
Package: gdal
Version: 1.5.2-3
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

 Automatic build of gdal_1.5.2-3 on em64t by sbuild/amd64 0.53
...
 /bin/sh /build/tbm/gdal-1.5.2/libtool --mode=compile --tag=CXX g++ -g -O2  
 -Wall  -I/usr/include -I/usr/include/xercesc -DOGR_ENABLED 
 -I/build/tbm/gdal-1.5.2/port  -I.. -c -o ../../o/iom_utilities.o 
 iom_utilities.cpp
  g++ -g -O2 -Wall -I/usr/include -I/usr/include/xercesc -DOGR_ENABLED 
 -I/build/tbm/gdal-1.5.2/port -I.. -c iom_utilities.cpp  -fPIC -DPIC -o 
 ../../o/.libs/iom_utilities.o
 iom_utilities.cpp: In function 'char* iom_gettmpnam()':
 iom_utilities.cpp:230: error: 'tempnam' was not declared in this scope
 make[5]: *** [../../o/iom_utilities.o] Error 1
 make[5]: Leaving directory `/build/tbm/gdal-1.5.2/ogr/ogrsf_frmts/ili/iom'

--- ogr/ogrsf_frmts/ili/iom/iom_utilities.cpp~  2008-11-13 22:02:15.0 
+
+++ ogr/ogrsf_frmts/ili/iom/iom_utilities.cpp   2008-11-13 22:02:21.0 
+
@@ -33,6 +33,7 @@
  * @{
  */
 
+#include cstdio
 #include iostream
 #include string
 #include string.h

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#462709: Log for failed build of gdal_1.5.0-3 (dist=unstable2)

2008-02-02 Thread Martin Michlmayr
found 462709 1.5.0-3
thanks

Apparently you didn't fix everything.

 Automatic build of gdal_1.5.0-3 on em64t by sbuild/amd64 0.53
...
  g++ -g -O2 -Wall -I/build/tbm/gdal-1.5.0/port -I/build/tbm/gdal-1.5.0/gcore 
 -I/build/tbm/gdal-1.5.0/alg -I/build/tbm/gdal-1.5.0/ogr 
 -I/build/tbm/gdal-1.5.0/ogr/ogrsf_frmts -DOGR_ENABLED 
 -I/build/tbm/gdal-1.5.0/port -c IdrisiDataset.cpp  -fPIC -DPIC -o 
 ../o/.libs/IdrisiDataset.o
 IdrisiDataset.cpp: In static member function 'static GDALDataset* 
 IdrisiDataset::CreateCopy(const char*, GDALDataset*, int, char**, int 
 (*)(double, const char*, void*), void*)':
 IdrisiDataset.cpp:938: error: 'SHRT_MIN' was not declared in this scope
 IdrisiDataset.cpp:939: error: 'SHRT_MAX' was not declared in this scope
 make[3]: *** [../o/IdrisiDataset.o] Error 1
 make[3]: Leaving directory `/build/tbm/gdal-1.5.0/frmts/idrisi'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#462709: FTBFS with GCC 4.3: no matching function for call to 'transform...

2008-01-26 Thread Martin Michlmayr
Package: gdal
Version: 1.5.0-2
Severity: important
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of gdal_1.5.0-2 on em64t by sbuild/amd64 0.53
...
 make[3]: Entering directory `/build/tbm/gdal-1.5.0/frmts/ilwis'
 /bin/sh /build/tbm/gdal-1.5.0/libtool --mode=compile --tag=CXX g++ -g -O2  
 -Wall  -I/build/tbm/gdal-1.5.0/port -I/build/tbm/gdal-1.5.0/gcore 
 -I/build/tbm/gdal-1.5.0/alg -I/build/tbm/gdal-1.5.0/ogr 
 -I/build/tbm/gdal-1.5.0/ogr/ogrsf_frmts -c -o ../o/ilwisdataset.o 
 ilwisdataset.cpp
  g++ -g -O2 -Wall -I/build/tbm/gdal-1.5.0/port -I/build/tbm/gdal-1.5.0/gcore 
 -I/build/tbm/gdal-1.5.0/alg -I/build/tbm/gdal-1.5.0/ogr 
 -I/build/tbm/gdal-1.5.0/ogr/ogrsf_frmts -c ilwisdataset.cpp  -fPIC -DPIC -o 
 ../o/.libs/ilwisdataset.o
 ilwisdataset.cpp: In function 'CPLErr GetStoreType(std::string, 
 ilwisStoreType)':
 ilwisdataset.cpp:409: error: no matching function for call to 
 'transform(__gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 __gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 __gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , unresolved overloaded 
 function type)'
 ilwisdataset.cpp: In member function 'void 
 ILWISDataset::CollectTransformCoef(std::string)':
 ilwisdataset.cpp:485: error: no matching function for call to 
 'transform(__gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 __gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 __gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , unresolved overloaded 
 function type)'
 ilwisdataset.cpp: In static member function 'static GDALDataset* 
 ILWISDataset::Open(GDALOpenInfo*)':
 ilwisdataset.cpp:791: error: no matching function for call to 
 'transform(__gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 __gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 __gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , unresolved overloaded 
 function type)'
 ilwisdataset.cpp: In member function 'CPLErr 
 ILWISRasterBand::GetILWISInfo(std::string)':
 ilwisdataset.cpp:1321: error: no matching function for call to 
 'transform(__gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 __gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 __gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , unresolved overloaded 
 function type)'
 ilwisdataset.cpp:1373: error: no matching function for call to 
 'transform(__gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 __gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , 
 __gnu_cxx::__normal_iteratorchar*, std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar  , unresolved overloaded 
 function type)'
 make[3]: *** [../o/ilwisdataset.o] Error 1
 make[3]: Leaving directory `/build/tbm/gdal-1.5.0/frmts/ilwis'
 make[2]: *** [ilwis-install-obj] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#461673: FTBFS with GCC 4.3: missing #includes

2008-01-20 Thread Martin Michlmayr
Package: grass
Version: 6.2.3-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of grass_6.2.3-1 on em64t by sbuild/amd64 0.53
...
 main.cc:547:   instantiated from here
 ./IOStream/include/ami_stream.h:220: warning: deprecated conversion from 
 string constant to 'char*'
 c++ -c -I/build/tbm/grass-6.2.3/dist.x86_64-pc-linux-gnu/include  -g -O2   
 -I./IOStream/include -DUSER=\root\ -DNODATA_FIX -D_FILE_OFFSET_BITS=64
 -DPACKAGE=\grassmods\ -DELEV_FLOAT common.cc -o 
 OBJ.x86_64-pc-linux-gnu/FLOAT/common.o
 In file included from ./IOStream/include/ami.h:49,
  from common.h:49,
  from common.cc:55:
 ./IOStream/include/ami_stream.h: In constructor 
 'AMI_STREAMT::AMI_STREAM(const char*, AMI_stream_type)':
 ./IOStream/include/ami_stream.h:255: error: there are no arguments to 
 'strcpy' that depend on a template parameter, so a declaration of 'strcpy' 
 must be available
 ./IOStream/include/ami_stream.h:255: error: (if you use '-fpermissive', G++ 
 will accept your code, but allowing the use of an undeclared name is 
 deprecated)
 ./IOStream/include/ami_stream.h: In member function 'AMI_err 
 AMI_STREAMT::name(char**)':
 ./IOStream/include/ami_stream.h:363: error: there are no arguments to 
 'strlen' that depend on a template parameter, so a declaration of 'strlen' 
 must be available
 ./IOStream/include/ami_stream.h:364: error: there are no arguments to 
 'strcpy' that depend on a template parameter, so a declaration of 'strcpy' 
 must be available
 In file included from ./IOStream/include/ami_sort_impl.h:46,
  from ./IOStream/include/ami_sort.h:45,
  from ./IOStream/include/ami.h:55,
  from common.h:49,
  from common.cc:55:
 ./IOStream/include/mem_stream.h: In member function 'AMI_err 
 MEM_STREAMT::name(char**)':
 ./IOStream/include/mem_stream.h:111: error: there are no arguments to 
 'strlen' that depend on a template parameter, so a declaration of 'strlen' 
 must be available
 ./IOStream/include/mem_stream.h:112: error: there are no arguments to 
 'strcpy' that depend on a template parameter, so a declaration of 'strcpy' 
 must be available
 make[3]: *** [OBJ.x86_64-pc-linux-gnu/FLOAT/common.o] Error 1
 make[3]: Leaving directory `/build/tbm/grass-6.2.3/raster/r.terraflow'
 r.out.tiff

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#456089: pedwarnings no longer errors in GCC 4.3, but...

2008-01-20 Thread Martin Michlmayr
retitle 456089 FTBFS with GCC 4.3: missing #includes
thanks

I mentioned that GCC 4.3 converted a number of C++ warnings into
errors.  This change has now been reverted after a lot of
discussion.  I just compiled your package with the latest snapshot
of GCC 4.3 to see if it compiles with 4.3, but there is another issue:

 x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers 
-I../../source/headers/geos -I../../source/headers -DGEOS_VERSION=2.2.3 -g -O2 
-MT DoubleBits.lo -MD -MP -MF .deps/DoubleBits.Tpo -c 
../index/quadtree/DoubleBits.cpp  -fPIC -DPIC -o .libs/DoubleBits.o
../index/quadtree/DoubleBits.cpp: In static member function 'static double 
geos::DoubleBits::powerOf2(int)':
../index/quadtree/DoubleBits.cpp:30: error: 'memcpy' was not declared in this 
scope
../index/quadtree/DoubleBits.cpp: In constructor 
'geos::DoubleBits::DoubleBits(double)':
../index/quadtree/DoubleBits.cpp:72: error: 'memcpy' was not declared in this 
scope
make[3]: *** [DoubleBits.lo] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#456064: FTBFS with GCC 4.3: missing #includes

2007-12-12 Thread Martin Michlmayr
Package: qgis
Version: 0.8.1-2
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

 Automatic build of qgis_0.8.1-2 on em64t by sbuild/amd64 0.53
...
 In file included from /usr/include/qt4/QtCore/QString:1,
  from /build/tbm/qgis-0.8.1/src/core/qgslogger.h:23,
  from /build/tbm/qgis-0.8.1/src/core/qgslogger.cpp:19:
 /usr/include/qt4/QtCore/qstring.h:787: warning: type qualifiers ignored on 
 function return type
 /usr/include/qt4/QtCore/qstring.h:788: warning: type qualifiers ignored on 
 function return type
 /usr/include/qt4/QtCore/qstring.h:789: warning: type qualifiers ignored on 
 function return type
 /usr/include/qt4/QtCore/qstring.h:795: warning: type qualifiers ignored on 
 function return type
 /usr/include/qt4/QtCore/qstring.h:796: warning: type qualifiers ignored on 
 function return type
 /build/tbm/qgis-0.8.1/src/core/qgslogger.cpp: In static member function 
 'static int QgsLogger::debugLevel()':
 /build/tbm/qgis-0.8.1/src/core/qgslogger.cpp:137: error: 'getenv' was not 
 declared in this scope
 /build/tbm/qgis-0.8.1/src/core/qgslogger.cpp:146: error: 'atoi' was not 
 declared in this scope
 /build/tbm/qgis-0.8.1/src/core/qgslogger.cpp: In static member function 
 'static const char* QgsLogger::debugFile()':
 /build/tbm/qgis-0.8.1/src/core/qgslogger.cpp:158: error: 'getenv' was not 
 declared in this scope
 make[3]: *** [src/core/CMakeFiles/qgis_core.dir/qgslogger.o] Error 1
 make[3]: Leaving directory `/build/tbm/qgis-0.8.1'
 make[2]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#456089: FTBFS with GCC 4.3: #define redefined

2007-12-12 Thread Martin Michlmayr
Package: geos
Version: 2.2.3-4
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  GCC 4.3 has converted a number
of warnings into errors.  With GCC 4.3, you're no longer to
just redefine a previous #define.  You need to either avoid
redefinitions directly or to use #ifndef to make sure that something
has not been defined already.  See
http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

 Automatic build of geos_2.2.3-4 on em64t by sbuild/amd64 0.53
...
  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers 
 -I../../source/headers/geos -I../../source/headers -DGEOS_VERSION=2.2.3 -g 
 -O2 -MT Geometry.lo -MD -MP -MF .deps/Geometry.Tpo -c Geometry.cpp  -fPIC 
 -DPIC -o .libs/Geometry.o
 In file included from Geometry.cpp:29:
 ../../source/headers/geos/version.h:9:1: error: GEOS_VERSION redefined
 command-line: error: this is the location of the previous definition
 make[3]: *** [Geometry.lo] Error 1
 make[3]: Leaving directory `/build/tbm/geos-2.2.3/source/geom'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/build/tbm/geos-2.2.3/source'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#454849: FTBFS with GCC 4.3: missing #includes

2007-12-07 Thread Martin Michlmayr
Package: osm2pgsql
Version: 0.08.20071007-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.


 Automatic build of osm2pgsql_0.08.20071007-1 on em64t by sbuild/amd64 0.53
...
 g++ -O2 -Wall -DGEOS_INLINE -O2 -Wall -Wextra -I/usr/include/libxml2 
 -I/usr/include -I/usr/include/postgresql -DVERSION=\0.08-20071207\   -c -o 
 build_geometry.o build_geometry.cpp
 build_geometry.cpp: In function 'char* get_wkt(osmNode*, int, int, double*)':
 build_geometry.cpp:89: error: 'strdup' was not declared in this scope
 make[1]: *** [build_geometry.o] Error 1
 make[1]: Leaving directory `/build/tbm/osm2pgsql-0.08.20071007'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#417363: FTBFS with GCC 4.3: missing #includes

2007-04-02 Thread Martin Michlmayr
Package: libterralib
Version: 3.0.3b2-3.1
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable.

 Automatic build of libterralib_3.0.3b2-3.1 on coconut0 by sbuild/ia64 0.49
...
 g++ -c -pipe -Wall -W -g -D_REENTRANT -fPIC  -DQT_THREAD_SUPPORT -DQT_SHARED 
 -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. 
 -I../../src/terralib/kernel -I../../src/terralib/functions -I../../src/tiff 
 -I../../src/zlib -I/usr/include/qt3 -o .obj/TeAsciiFile.o 
 ../../src/terralib/kernel/TeAsciiFile.cpp
 ../../src/terralib/kernel/TeAsciiFile.cpp: In member function 'int 
 TeAsciiFile::readIntCSV(char)':
 ../../src/terralib/kernel/TeAsciiFile.cpp:284: error: 'atoi' was not declared 
 in this scope
 ../../src/terralib/kernel/TeAsciiFile.cpp: In member function 'double 
 TeAsciiFile::readFloatCSV(char)':
 ../../src/terralib/kernel/TeAsciiFile.cpp:293: error: 'atof' was not declared 
 in this scope
 make[2]: *** [.obj/TeAsciiFile.o] Error 1

--- src/terralib/kernel/TeAsciiFile.h~  2007-04-02 12:43:58.0 +
+++ src/terralib/kernel/TeAsciiFile.h   2007-04-02 12:44:08.0 +
@@ -32,6 +32,7 @@
 
 #include stdio.h
 
+#include cstdlib
 #include vector 
 #include string
 using namespace std;
--- src/terralib/kernel/TeCoord2D.h~2007-04-02 12:44:18.0 +
+++ src/terralib/kernel/TeCoord2D.h 2007-04-02 12:44:27.0 +
@@ -31,6 +31,7 @@
 #include TeDefines.h
 #include TePrecision.h
 
+#include string
 #include vector
 
 using namespace std;
--- src/terralib/kernel/TeDatum.h~  2007-04-02 12:45:10.0 +
+++ src/terralib/kernel/TeDatum.h   2007-04-02 12:45:18.0 +
@@ -24,6 +24,7 @@
 #ifndef  __TERRALIB_INTERNAL_DATUM_H
 #define  __TERRALIB_INTERNAL_DATUM_H
 
+#include cstdlib
 #include string
 #include cmath
 using namespace std;
--- src/terralib/kernel/TeGraph.cpp~2007-04-02 12:46:33.0 +
+++ src/terralib/kernel/TeGraph.cpp 2007-04-02 12:47:26.0 +
@@ -31,6 +31,7 @@
 #include float.h
 #include malloc.h
 #include stdio.h
+#include stdlib.h
 #include errno.h
 
 int set_font(int font_number);
--- src/terralib/kernel/TeTime.cpp~ 2007-04-02 12:49:53.0 +
+++ src/terralib/kernel/TeTime.cpp  2007-04-02 12:50:00.0 +
@@ -24,6 +24,7 @@
 #include TeTime.h
 #include memory.h
 #include TeUtils.h
+#include cstdlib
 #include iostream
 
 //return the number of the month
--- src/terralib/kernel/TeUtils.cpp~2007-04-02 12:50:19.0 +
+++ src/terralib/kernel/TeUtils.cpp 2007-04-02 12:50:28.0 +
@@ -25,6 +25,7 @@
 #include TeUtils.h
 #include TeDefines.h
 #include stdio.h
+#include stdlib.h
 #include ctype.h
 
 string

-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#358243: FTBFS with G++ 4.1: extra qualification

2006-03-21 Thread Martin Michlmayr
Package: libterralib
Version: 3.0.3b2-3
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is attached.


 Automatic build of libterralib_3.0.3b2-3 on bigsur by sbuild/mips 1.106
...
 g++ -c -pipe -Wall -W -g -D_REENTRANT -fPIC  -DQT_THREAD_SUPPORT -DQT_SHARED 
 -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. 
 -I../../src/terralib/kernel -I../../src/terralib/functions -I../../src/tiff 
 -I../../src/zlib -I/usr/include/qt3 -o .obj/TeComputeAttributeStrategies.o 
 ../../src/terralib/kernel/TeComputeAttributeStrategies.cpp
 ../../src/terralib/kernel/TeRaster.h:230: warning: 'class TeRaster::iterator' 
 has virtual functions but non-virtual destructor
 ../../src/terralib/kernel/TeSlice.h:51: error: extra qualification 
 'TeSlice::' on member 'TeSlice'
 ../../src/terralib/kernel/TeSlice.h:54: error: extra qualification 
 'TeSlice::' on member 'TeSlice'
 ../../src/terralib/kernel/TeLegendEntry.h:57: error: extra qualification 
 'TeLegendEntry::' on member 'TeLegendEntry'
 ../../src/terralib/kernel/TeLegendEntry.h:65: error: extra qualification 
 'TeLegendEntry::' on member 'TeLegendEntry'
 make[2]: *** [.obj/TeComputeAttributeStrategies.o] Error 1
 make[2]: Leaving directory `/build/tbm/libterralib-3.0.3b2/terralibx/terralib'


--- ./src/terralib/kernel/TeSlice.h~2006-03-21 22:00:07.0 +
+++ ./src/terralib/kernel/TeSlice.h 2006-03-21 22:00:16.0 +
@@ -48,10 +48,10 @@
string  to_;//! interval upper value

//! Constructor
-   TeSlice::TeSlice () : count_(0),from_(),to_() {}
+   TeSlice () : count_(0),from_(),to_() {}
 
//! Constructor
-   TeSlice::TeSlice(const string from, const string to, int count=0) :
+   TeSlice(const string from, const string to, int count=0) :
  count_(count),
from_(from),
to_(to) {}
--- ./src/terralib/kernel/TeLegendEntry.h~  2006-03-21 22:00:28.0 
+
+++ ./src/terralib/kernel/TeLegendEntry.h   2006-03-21 22:00:38.0 
+
@@ -54,7 +54,7 @@
 public:
 
//! Constructor
-   TeLegendEntry::TeLegendEntry () : 
+   TeLegendEntry () : 
label_(),
id_(-1),
theme_(0),
@@ -62,7 +62,7 @@
{}
 
//! Constructor
-   TeLegendEntry::TeLegendEntry (const TeSlice slice) :
+   TeLegendEntry (const TeSlice slice) :
slice_(slice),
id_(-1),
theme_(0),

-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#357189: FTBFS with G++ 4.1: extra qualification

2006-03-15 Thread Martin Michlmayr
Package: gdal
Version: 1.3.1-4
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


 Automatic build of gdal_1.3.1-4 on bigsur by sbuild/mips 1.94
...
 /bin/sh ../../libtool --mode=compile g++ -Wall  -O2   -I../../port 
 -I../../gcore -I../../alg -I../../ogr -I../../ogr/ogrsf_frmts  -I../../port  
 -c -o ../o/fitdataset.o fitdataset.cpp
  g++ -Wall -O2 -I../../port -I../../gcore -I../../alg -I../../ogr 
 -I../../ogr/ogrsf_frmts -I../../port -c fitdataset.cpp  -fPIC -DPIC -o 
 ../o/.libs/fitdataset.o
 fitdataset.cpp:177: error: extra qualification 'FITRasterBand::' on member 
 'FITRasterBand'
 fitdataset.cpp: In static member function 'static GDALDataset* 
 FITDataset::Open(GDALOpenInfo*)':
 fitdataset.cpp:1019: warning: dereferencing type-punned pointer will break 
 strict-aliasing rules
 make[3]: *** [../o/fitdataset.o] Error 1
 make[3]: Leaving directory `/build/tbm/gdal-1.3.1/frmts/fit'
 make[2]: *** [fit-install-obj] Error 2


--- ./frmts/fit/fitdataset.cpp~ 2006-03-16 03:14:38.0 +
+++ ./frmts/fit/fitdataset.cpp  2006-03-16 03:14:48.0 +
@@ -174,7 +174,7 @@
 
 public:
 
-FITRasterBand::FITRasterBand( FITDataset *, int );
+FITRasterBand( FITDataset *, int );
~FITRasterBand();
 
 // should override RasterIO eventually.

-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel


[DebianGIS-dev] Bug#351372: mipsel

2006-02-07 Thread Martin Michlmayr
It builds with this patch.
-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel