Project

General

Custom queries

Profile

Actions

Bug #5385

closed

Compilation error on Alpine Linux 3.8

Added by Torbjørn Brekke over 6 years ago. Updated over 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
[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

Actions #1

Updated by Jaroslav Kysela over 6 years ago

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

Applied in changeset commit:tvheadend|f098a50cc2872abbe42f567a3f77babce83602a0.

Actions #2

Updated by Torbjørn Brekke over 6 years ago

Working again now. Thanks for the quick fix.

Actions

Also available in: Atom PDF