[Debian-med-packaging] Bug#815374: spades: FTBFS on kFreeBSD: 'JEMALLOC_MADV_PURGE' undeclared
Aaron M. Ucko
amu at alum.mit.edu
Sun Feb 21 01:53:42 UTC 2016
Source: spades
Version: 3.6.2+dfsg-1
Severity: serious
Justification: fails to build from source
The kfreebsd-amd64 build of spades failed:
/«BUILDDIR»/spades-3.6.2+dfsg/ext/src/jemalloc/chunk_mmap.c: In function 'pages_purge':
/«BUILDDIR»/spades-3.6.2+dfsg/ext/src/jemalloc/chunk_mmap.c:132:6: error: #error "No method defined for purging unused dirty pages."
# error "No method defined for purging unused dirty pages."
^
/«BUILDDIR»/spades-3.6.2+dfsg/ext/src/jemalloc/chunk_mmap.c:134:34: error: 'JEMALLOC_MADV_PURGE' undeclared (first use in this function)
int err = madvise(addr, length, JEMALLOC_MADV_PURGE);
^
/«BUILDDIR»/spades-3.6.2+dfsg/ext/src/jemalloc/chunk_mmap.c:134:34: note: each undeclared identifier is reported only once for each function it appears in
/«BUILDDIR»/spades-3.6.2+dfsg/ext/src/jemalloc/chunk_mmap.c:135:14: error: 'JEMALLOC_MADV_ZEROS' undeclared (first use in this function)
unzeroed = (JEMALLOC_MADV_ZEROS == false || err != 0);
^
Per Policy 4.13, spades really ought to build against the unbundled
libjemalloc-dev package, which already supports kFreeBSD. However, if
that's somehow not an option, please patch the bundled copy to support
kFreeBSD.
Thanks!
More information about the Debian-med-packaging
mailing list