Bug#880851: libva: FTBFS on non-Linux: __NR_gettid undeclared

Aaron M. Ucko ucko at debian.org
Sun Nov 5 04:17:54 UTC 2017

Source: libva
Version: 1.8.3-2
Severity: important
Tags: upstream
Justification: fails to build from source (but built successfully in the past)
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

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

  va_trace.c: In function 'add_trace_config_info':
  va_trace.c:294:28: error: '__NR_gettid' undeclared (first use in this function); did you mean '__getpgid'?
       pid_t thd_id = syscall(__NR_gettid);

(plus a few more uses further down in va_trace.c).  Builds for
hurd-i386 (not a release architecture) are blocked on the
unavailability of libdrm-dev there, but will presumably encounter the
same error if and when it ever becomes available.

Could you please take a look?


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 pkg-multimedia-maintainers mailing list