[Debian-med-packaging] Bug#776814: vsearch: FTBFS on kFreeBSD: struct sysinfo unknown

Andreas Tille andreas at an3as.eu
Mon Feb 2 06:38:16 UTC 2015


Hi BSD porters,

it would be great to have vsearch also on freebsd.  Any hint / patch for this problem?

Kind regards

        Andreas.

On Sun, Feb 01, 2015 at 10:58:05PM -0500, Aaron M. Ucko wrote:
> 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!
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list