Hi folks, at the end the bug submitter gives some valuable hints to deal with this problem. Is there any volunteer to follow the advises?
Kind regards Andreas. ----- Forwarded message from "Aaron M. Ucko" <a...@alum.mit.edu> ----- Date: Thu, 14 Apr 2016 12:01:43 -0400 From: "Aaron M. Ucko" <a...@alum.mit.edu> To: Debian Bug Tracking System <sub...@bugs.debian.org> Subject: Bug#821015: harvest-tools: FTBFS with memcpy-related errors X-Debian-PR-Message: report 821015 X-Debian-PR-Package: src:harvest-tools X-Debian-PR-Keywords: X-Debian-PR-Source: harvest-tools Source: harvest-tools Version: 1.2-1 Severity: important Justification: fails to build from source Hi, Andreas. Builds of harvest-tools fail on nearly all architectures with errors related to memcpy. On most platforms, there are several errors of the form libharvest.a(AnnotationList.o): In function `std::char_traits<char>::copy(char*, char const*, unsigned long)': /usr/include/c++/5/bits/char_traits.h:290: undefined reference to `memcpy@GLIBC_2.2.5' On mips(el), the errors are instead /usr/bin/ld: src/harvest/memcpyWrap.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a shared object; recompile with -fPIC src/harvest/memcpyWrap.o: error adding symbols: Bad value These all look like fallout from attempting to deploy a memcpy wrapper, which moreover appears to make no actual difference. I would recommend the following build-system changes: - Stop compiling with -include src/harvest/memcpyLink.h. - Stop building memcpyWrap.c at all. - Build harvesttools directly from the remaining object files, as I see no need for an intermediate libharvest.a. (Alternatively, pull harvest.cpp, which defines main, out of the library.) - Stop linking with -Wl,--wrap=memcpy. While you're at it, please also drop -static-libstdc++, which is inappropriate for Debian. Could you please take a look? Thanks! _______________________________________________ Debian-med-packaging mailing list debian-med-packag...@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging ----- End forwarded message ----- -- http://fam-tille.de