[Pkg-javascript-devel] Bug#722284: libuv: FTBFS on non-Linux: unknown type name 'pthread_rwlock_t'

Aaron M. Ucko ucko at debian.org
Mon Sep 9 19:53:05 UTC 2013


Source: libuv
Version: 0.10.8-0~exp2
Severity: important
Justification: fails to build from source

Builds of libuv on kFreeBSD and the Hurd have been failing:

  In file included from /.../libuv-0.10.8/include/uv.h:67:0,
                   from src/unix/async.c:25:
  /.../libuv-0.10.8/include/uv-private/uv-unix.h:131:1:
  error: unknown type name 'pthread_rwlock_t'
   typedef pthread_rwlock_t uv_rwlock_t;
   ^

It looks like the immediate problem is that config-unix.mk supplies
-D_GNU_SOURCE only on Linux, but I suspect further changes may be
necessary.  If porting proves infeasible, you can officially declare
Architecture: linux-any so that other architectures' autobuilders know
to leave the package alone.

Could you please take a look?

Thanks!



More information about the Pkg-javascript-devel mailing list