[Debian-med-packaging] Bug#776814: vsearch: FTBFS on kFreeBSD: struct sysinfo unknown
Aaron M. Ucko
ucko at debian.org
Mon Feb 2 03:58:05 UTC 2015
Source: vsearch
Version: 1.0.7+dfsg-1
Severity: important
Justification: fails to build from source
The kFreeBSD builds of vsearch failed:
g++ -O3 -DHAVE_BZLIB -msse2 -mtune=core2 -Icityhash -Wall -g -c -o arch.o arch.cc
arch.cc: In function 'long unsigned int arch_get_memtotal()':
arch.cc:48:18: error: aggregate 'arch_get_memtotal()::sysinfo si' has incomplete type and cannot be defined
struct sysinfo si;
^
arch.cc:49:18: error: invalid use of incomplete type 'struct arch_get_memtotal()::sysinfo'
if (sysinfo(&si))
^
arch.cc:48:10: error: forward declaration of 'struct arch_get_memtotal()::sysinfo'
struct sysinfo si;
^
arch.cc:53:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [arch.o] Error 1
struct sysinfo is evidently unknown there, at least with the headers
arch.cc includes. Could you please take a look?
Thanks!
More information about the Debian-med-packaging
mailing list