Bug #5385
Compilation error on Alpine Linux 3.8
100%
Description
After commit 76dd042e0d3bb93e1102eae65c2d23aa31233274 thread: add mutex watchdog tvheadend fails to compile on Alpine Linux 3.8 with this error:
CC src/tvh_thread.o
[91msrc/tvh_thread.c: In function 'tvh_thread_mutex_deadlock':
src/tvh_thread.c:387:25: error: 'pthread_mutex_t {aka struct <anonymous>}' has no member named '__data'
int sid = mutex->mutex.__data.__owner; /* unportable */
^
[0m[91msrc/tvh_thread.c: At top level:
cc1: error: unrecognized command line option '-Wno-stringop-overflow' [-Werror]
cc1: error: unrecognized command line option '-Wno-stringop-truncation' [-Werror]
cc1: all warnings being treated as errors
[0m[91mmake: *** [Makefile:714: /tmp/tvheadend/build.linux/src/tvh_thread.o] Error 1
Full log here https://ci.linuxserver.io/job/Docker-Builders/job/x86-64/job/x86-64-tvheadend/193/console
History
Updated by Jaroslav Kysela about 6 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|f098a50cc2872abbe42f567a3f77babce83602a0.