[Debian-astro-maintainers] Bug#879126: ser-player: FTBFS on kFreeBSD: _fseeki64 undeclared

Aaron M. Ucko ucko at debian.org
Thu Oct 19 18:39:47 UTC 2017


Source: ser-player
Version: 1.7.0-1
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-bsd at lists.debian.org

Builds of ser-player for kfreebsd-* (admittedly not release
architectures) have been failing:

  src/pipp_utf8.h:69:17: error: '_fseeki64' was not declared in this scope
   #define fseek64 _fseeki64  // Windows

You should be able to address the immediate problem by changing

  #ifdef __linux__

on line 59 of pipp_utf8.h to

  #if defined(__linux__)  ||  defined(__GLIBC__)

but may well have to make similar changes elsewhere.

It may also work to add (conditionally!) the preprocessor flags
-DBSD -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64.

Could you please take a look?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the Debian-astro-maintainers mailing list