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

2017-11-06 Thread Aaron M. Ucko
Sebastian Ramacher  writes:

> Dear kfreebsd-porters, could you have a look at that issue?

I'm not an official porter for any architecture, but last I heard, the
(k)FreeBSD system call corresponding to gettid was thr_self, as
discussed on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725383.

As for hurd-i386, if and when it becomes relevant, you should be able to
use mach_thread_self, which however requires some additional
reference-count bookkeeping logic.  Please see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875456 (and disregard
my initial suggestion there to fall back on pthread_self, since
pthread_t is officially opaque).

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/?a...@monk.mit.edu

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


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

2017-11-05 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + help
Bug #880851 [src:libva] libva: FTBFS on non-Linux: __NR_gettid undeclared
Added tag(s) help.

-- 
880851: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880851
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


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

2017-11-05 Thread Sebastian Ramacher
Control: tags -1 + help

On 2017-11-05 00:17:54, Aaron M. Ucko wrote:
> 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-...@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?

Dear kfreebsd-porters, could you have a look at that issue?

Cheers

> 
> 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/?a...@monk.mit.edu
> 
> ___
> pkg-multimedia-maintainers mailing list
> pkg-multimedia-maintainers@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

-- 
Sebastian Ramacher

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


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

2017-11-04 Thread Aaron M. Ucko
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-...@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?

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/?a...@monk.mit.edu

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers