Source: ucommon
Version: 5.0.3-1
Severity: serious
Justification: fails to build from source

Builds of ucommon on kFreeBSD are failing in the compilation stage:

  fsys.cpp: In member function 'void ucommon::fsys::create(const char*, 
ucommon::fsys::access_t, unsigned int)':
  fsys.cpp:635:51: error: 'POSIX_FADV_RANDOM' was not declared in this scope
  fsys.cpp: In member function 'void ucommon::fsys::open(const char*, 
ucommon::fsys::access_t)':
  fsys.cpp:694:51: error: 'POSIX_FADV_SEQUENTIAL' was not declared in this scope
  fsys.cpp:696:51: error: 'POSIX_FADV_RANDOM' was not declared in this scope
  fsys.cpp: In member function 'int 
ucommon::fsys::drop(ucommon::fsys::offset_t)':
  fsys.cpp:802:42: error: 'POSIX_FADV_DONTNEED' was not declared in this scope

Could you please take a look?  Per posix_fadvise(2), you may need to
arrange to predefine _XOPEN_SOURCE to at least 600 or _POSIX_C_SOURCE
to at least 200112.

Thanks!



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to