Project

General

Profile

Bug #5385

Compilation error on Alpine Linux 3.8

Added by Torbjørn Brekke almost 6 years ago. Updated almost 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2018-12-02
Due date:
% Done:

100%

Estimated time:
Found in version:
Since 76dd042e0d3bb93e1102eae65c2d23aa31233274
Affected Versions:

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
src/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 */
^
src/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
make: *** [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

#1

Updated by Jaroslav Kysela almost 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|f098a50cc2872abbe42f567a3f77babce83602a0.

#2

Updated by Torbjørn Brekke almost 6 years ago

Working again now. Thanks for the quick fix.

Also available in: Atom PDF