[Debian-med-packaging] Bug#672015: libhmsbeagle: FTBFS: Precision.h:23:2: error: 'memcpy' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue May 8 11:39:29 UTC 2012


Source: libhmsbeagle
Version: 1.0-5
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../libhmsbeagle  -I/«PKGBUILDDIR» -I/«PKGBUILDDIR» -I/usr/lib/jvm/java-6-openjdk-amd64/include -I/usr/lib/jvm/java-6-openjdk-amd64/include/linux -msse2 -O3 -c -o libhmsbeagle_cpu_la-BeagleCPUPlugin.lo `test -f 'BeagleCPUPlugin.cpp' || echo './'`BeagleCPUPlugin.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../libhmsbeagle -I/«PKGBUILDDIR» -I/«PKGBUILDDIR» -I/usr/lib/jvm/java-6-openjdk-amd64/include -I/usr/lib/jvm/java-6-openjdk-amd64/include/linux -msse2 -O3 -c BeagleCPUPlugin.cpp  -fPIC -DPIC -o .libs/libhmsbeagle_cpu_la-BeagleCPUPlugin.o
> In file included from /«PKGBUILDDIR»/libhmsbeagle/CPU/BeagleCPUImpl.h:36:0,
>                  from /«PKGBUILDDIR»/libhmsbeagle/CPU/BeagleCPU4StateImpl.h:35,
>                  from BeagleCPUPlugin.cpp:9:
> /«PKGBUILDDIR»/libhmsbeagle/CPU/Precision.h: In instantiation of 'void beagleMemCpy(F*, const F*, unsigned int) [with F = double]':
> /«PKGBUILDDIR»/libhmsbeagle/CPU/BeagleCPUImpl.hpp:444:10:   required from 'int beagle::cpu::BeagleCPUImpl<REALTYPE, T_PAD, P_PAD>::setTipPartials(int, const double*) [with REALTYPE = double; int T_PAD = 1; int P_PAD = 0]'
> BeagleCPUPlugin.cpp:50:1:   required from here
> /«PKGBUILDDIR»/libhmsbeagle/CPU/Precision.h:23:2: error: 'memcpy' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> In file included from /usr/include/c++/4.7/cstring:44:0,
>                  from /«PKGBUILDDIR»/libhmsbeagle/CPU/EigenDecomposition.h:14,
>                  from /«PKGBUILDDIR»/libhmsbeagle/CPU/BeagleCPUImpl.h:37,
>                  from /«PKGBUILDDIR»/libhmsbeagle/CPU/BeagleCPU4StateImpl.h:35,
>                  from BeagleCPUPlugin.cpp:9:
> /usr/include/string.h:44:14: note: 'void* memcpy(void*, const void*, size_t)' declared here, later in the translation unit
> make[5]: *** [libhmsbeagle_cpu_la-BeagleCPUPlugin.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/08/libhmsbeagle_1.0-5_unstable.log

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.  Internet was not
accessible from the build systems.





More information about the Debian-med-packaging mailing list