[DebianGIS-dev] Bug#474790: geos: FTBFS: DoubleBits.cpp:51: error: 'memcpy' was not declared in this scope

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon Apr 7 19:40:56 UTC 2008

Package: geos
Version: 3.0.0-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20080407 qa-ftbfs
Justification: FTBFS on i386


During a rebuild of all packages in sid, your package failed to build on i386.

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3 is now
the default on most architectures (even if it's not the case on i386 yet).
Feel free to downgrade this bug to 'important' if your package is only built
on i386, and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

Relevant part:
>  i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../source/headers -I../../../source/headers/geos -I../../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT DoubleBits.lo -MD -MP -MF .deps/DoubleBits.Tpo -c DoubleBits.cpp  -fPIC -DPIC -o .libs/DoubleBits.o
> DoubleBits.cpp: In static member function 'static double geos::index::quadtree::DoubleBits::powerOf2(int)':
> DoubleBits.cpp:51: error: 'memcpy' was not declared in this scope
> DoubleBits.cpp: In constructor 'geos::index::quadtree::DoubleBits::DoubleBits(double)':
> DoubleBits.cpp:94: error: 'memcpy' was not declared in this scope
> make[4]: *** [DoubleBits.lo] Error 1

The full build log is available from:

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot containing a sid i386
environment.  Internet was not accessible from the build systems.

| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |

More information about the Pkg-grass-devel mailing list