Bug#816424: r-cran-httpuv: FTBFS on non-Linux: 'src/unix/async.o' failed
Aaron M. Ucko
amu at alum.mit.edu
Tue Mar 1 18:57:25 UTC 2016
Source: r-cran-httpuv
Version: 1.3.3-3
Severity: important
Justification: fails to build from source
Thanks for taking care of #814720/#814878! Linux builds of
r-cran-httpuv are doing well, but builds for kFreeBSD and the Hurd are
now hitting another issue:
In file included from /«PKGBUILDDIR»/src/libuv/include/uv.h:67:0,
from src/unix/async.c:25:
/«PKGBUILDDIR»/src/libuv/include/uv-private/uv-unix.h:131:9: error: unknown type name 'pthread_rwlock_t'
typedef pthread_rwlock_t uv_rwlock_t;
^
/«PKGBUILDDIR»/src/libuv/include/uv-private/uv-unix.h:148:9: error: unknown type name 'pthread_barrier_t'
typedef pthread_barrier_t uv_barrier_t;
^
In file included from src/unix/async.c:25:0:
/«PKGBUILDDIR»/src/libuv/include/uv.h:386:42: warning: 'struct addrinfo' declared inside parameter list
struct addrinfo* res);
^
/«PKGBUILDDIR»/src/libuv/config-unix.mk:189: recipe for target 'src/unix/async.o' failed
make[2]: *** [src/unix/async.o] Error 1
make[2]: Leaving directory '/«PKGBUILDDIR»/src/libuv'
make[1]: *** [libuv.a] Error 2
Per Policy 4.13, the best course of action would be to build against
separately packaged libuv1-dev, particularly considering that it
already supports these platforms. However, if you specifically need
to use the convenience copy, please patch it appropriately; I suspect
you just need to enable a conditional #include directive or two.
Thanks!
More information about the debian-science-maintainers
mailing list