Bug#683075: marked as done (spatialite in wheezy FTBFS)

2013-03-12 Thread Debian Bug Tracking System
Your message dated Tue, 12 Mar 2013 17:02:38 +
with message-id 
and subject line Bug#683075: fixed in spatialite 3.0.0~beta20110817-3+deb7u1
has caused the Debian Bug report #683075,
regarding spatialite in wheezy FTBFS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
683075: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683075
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Package: spatialite
Version: 3.0.0~beta20110817-3

While working on a derivative distribution I discovered that spatialite 
from testing FTBFS with the following error


checking for geos_c.h... yes
configure: error: 'libgeos_c' is required but it doesn't seems to be 
installed on this system.

checking for library containing GEOSTopologyPreserveSimplify... no
dh_auto_configure: ./configure --build=arm-linux-gnueabihf --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--libexecdir=${prefix}/lib/spatialite --disable-maintainer-mode 
--disable-dependency-tracking --enable-geos --enable-proj 
--disable-geosadvanced returned exit code 1

make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

This was initially discovered on raspbian but I was able to reproduce it 
locally on debian wheezy amd64.


I discovered that this failure was due to libgeos.so moving from 
libgeos-dev to libgeos++-dev so I added
libgeos++-dev to build-depends, unfortunately after doing so the build 
failed with


libtool: compile: gcc -DPACKAGE_NAME=\"libspatialite\" 
-DPACKAGE_TARNAME=\"libspatialite\" -DPACKAGE_VERSION=\"3.0.0-beta\" 
"-DPACKAGE_STRING=\"libspatialite 3.0.0-beta\"" 
-DPACKAGE_BUGREPORT=\"a.furi...@lqt.it\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"libspatialite\" -DVERSION=\"3.0.0-beta\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_MATH_H=1 -DHAVE_FLOAT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_TIME_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_SQLITE3_H=1 -DHAVE_SQLITE3EXT_H=1 
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DTIME_WITH_SYS_TIME=1 
-DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 
-DHAVE_STRFTIME=1 -DHAVE_MEMSET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRERROR=1 
-DHAVE_STRNCASECMP=1 -DHAVE_STRSTR=1 -DHAVE_FDATASYNC=1 
-DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1 -DHAVE_GETTIMEOFDAY=1 
-DHAVE_LOCALTIME_R=1 -DHAVE_MEMMOVE=1 -DHAVE_STRERROR=1 
-DHAVE_LIBSQLITE3=1 -DHAVE_LIBSQLITE3=1 -DHAVE_PROJ_API_H=1 
-DHAVE_GEOS_C_H=1 -DHAVE_ICONV_H=1 -DHAVE_FREEXL_H=1 -I. -g -O2 
-I../../src/headers -D_LARGE_FILE=1 -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE=1 -DNDEBUG=1 -g -O2 -c virtualXL.c -fPIC -DPIC -o 
.libs/virtualXL.o

virtualXL.c: In function ‘vXL_create’:
virtualXL.c:273:9: warning: passing argument 4 of 
‘freexl_get_cell_value’ from incompatible pointer type [enabled by default]

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: expected ‘struct FreeXL_CellValue *’ 
but argument is of type ‘unsigned char *’
virtualXL.c:273:9: error: too many arguments to function 
‘freexl_get_cell_value’

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: declared here
virtualXL.c: In function ‘vXL_eval_constraints’:
virtualXL.c:548:10: warning: passing argument 4 of 
‘freexl_get_cell_value’ from incompatible pointer type [enabled by default]

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: expected ‘struct FreeXL_CellValue *’ 
but argument is of type ‘unsigned char *’
virtualXL.c:548:10: error: too many arguments to function 
‘freexl_get_cell_value’

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: declared here
virtualXL.c: In function ‘vXL_column’:
virtualXL.c:818:11: warning: passing argument 4 of 
‘freexl_get_cell_value’ from incompatible pointer type [enabled by default]

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: expected ‘struct FreeXL_CellValue *’ 
but argument is of type ‘unsigned char *’
virtualXL.c:818:11: error: too many arguments to function 
‘freexl_get_cell_value’

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: declared here
make[4]: *** [virtualXL.lo] Error 1

This bug does

Bug#683075: marked as done (spatialite in wheezy FTBFS)

2012-07-28 Thread Debian Bug Tracking System
Your message dated Sat, 28 Jul 2012 14:19:56 +0100
with message-id <5013e6fc.1080...@p10link.net>
and subject line re: Bug#683075: Acknowledgement (spatialite in wheezy FTBFS)
has caused the Debian Bug report #683075,
regarding spatialite in wheezy FTBFS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
683075: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683075
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---

Package: spatialite
Version: 3.0.0~beta20110817-3

While working on a derivative distribution I discovered that spatialite 
from testing FTBFS with the following error


checking for geos_c.h... yes
configure: error: 'libgeos_c' is required but it doesn't seems to be 
installed on this system.

checking for library containing GEOSTopologyPreserveSimplify... no
dh_auto_configure: ./configure --build=arm-linux-gnueabihf --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--libexecdir=${prefix}/lib/spatialite --disable-maintainer-mode 
--disable-dependency-tracking --enable-geos --enable-proj 
--disable-geosadvanced returned exit code 1

make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

This was initially discovered on raspbian but I was able to reproduce it 
locally on debian wheezy amd64.


I discovered that this failure was due to libgeos.so moving from 
libgeos-dev to libgeos++-dev so I added
libgeos++-dev to build-depends, unfortunately after doing so the build 
failed with


libtool: compile: gcc -DPACKAGE_NAME=\"libspatialite\" 
-DPACKAGE_TARNAME=\"libspatialite\" -DPACKAGE_VERSION=\"3.0.0-beta\" 
"-DPACKAGE_STRING=\"libspatialite 3.0.0-beta\"" 
-DPACKAGE_BUGREPORT=\"a.furi...@lqt.it\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"libspatialite\" -DVERSION=\"3.0.0-beta\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_MATH_H=1 -DHAVE_FLOAT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDDEF_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_TIME_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_SQLITE3_H=1 -DHAVE_SQLITE3EXT_H=1 
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DTIME_WITH_SYS_TIME=1 
-DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 
-DHAVE_STRFTIME=1 -DHAVE_MEMSET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRERROR=1 
-DHAVE_STRNCASECMP=1 -DHAVE_STRSTR=1 -DHAVE_FDATASYNC=1 
-DHAVE_FTRUNCATE=1 -DHAVE_GETCWD=1 -DHAVE_GETTIMEOFDAY=1 
-DHAVE_LOCALTIME_R=1 -DHAVE_MEMMOVE=1 -DHAVE_STRERROR=1 
-DHAVE_LIBSQLITE3=1 -DHAVE_LIBSQLITE3=1 -DHAVE_PROJ_API_H=1 
-DHAVE_GEOS_C_H=1 -DHAVE_ICONV_H=1 -DHAVE_FREEXL_H=1 -I. -g -O2 
-I../../src/headers -D_LARGE_FILE=1 -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE=1 -DNDEBUG=1 -g -O2 -c virtualXL.c -fPIC -DPIC -o 
.libs/virtualXL.o

virtualXL.c: In function ‘vXL_create’:
virtualXL.c:273:9: warning: passing argument 4 of 
‘freexl_get_cell_value’ from incompatible pointer type [enabled by default]

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: expected ‘struct FreeXL_CellValue *’ 
but argument is of type ‘unsigned char *’
virtualXL.c:273:9: error: too many arguments to function 
‘freexl_get_cell_value’

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: declared here
virtualXL.c: In function ‘vXL_eval_constraints’:
virtualXL.c:548:10: warning: passing argument 4 of 
‘freexl_get_cell_value’ from incompatible pointer type [enabled by default]

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: expected ‘struct FreeXL_CellValue *’ 
but argument is of type ‘unsigned char *’
virtualXL.c:548:10: error: too many arguments to function 
‘freexl_get_cell_value’

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: declared here
virtualXL.c: In function ‘vXL_column’:
virtualXL.c:818:11: warning: passing argument 4 of 
‘freexl_get_cell_value’ from incompatible pointer type [enabled by default]

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: expected ‘struct FreeXL_CellValue *’ 
but argument is of type ‘unsigned char *’
virtualXL.c:818:11: error: too many arguments to function 
‘freexl_get_cell_value’

In file included from virtualXL.c:62:0:
/usr/include/freexl.h:573:24: note: declared here
make[4]: *** [virtu