Bug #5145
Master fails to compile on alpine linux
0%
Description
Building master on alpine linux in a docker container fails at src/uuid.o. I guess since it fails on strlcat, it's the bff4222 commit that is the issue.
The full build log is here: https://ci.linuxserver.io/job/Docker-Builders/job/x86-64/job/x86-64-tvheadend/166/console
WEBUI std finished
make[2]: Leaving directory '/tmp/tvheadend'
make -f Makefile.webui WEBUI=debug compile-debug
make[2]: Entering directory '/tmp/tvheadend'
WEBUI debug finished
make[2]: Leaving directory '/tmp/tvheadend'
make[1]: Leaving directory '/tmp/tvheadend'
CC src/version.o
CC src/uuid.o
[91mIn file included from src/tvheadend.h:39:0,
from src/uuid.c:20:
src/tvh_string.h:50:22: error: static declaration of 'strlcpy' follows non-static declaration
static inline size_t strlcpy(char *dst, const char *src, size_t size)
^~~~~~~
In file included from src/tvheadend.h:31:0,
from src/uuid.c:20:
/usr/include/string.h:84:8: note: previous declaration of 'strlcpy' was here
size_t strlcpy (char *, const char *, size_t);
^~~~~~~
[0m[91mIn file included from src/tvheadend.h:39:0,
from src/uuid.c:20:
src/tvh_string.h:61:22: error: static declaration of 'strlcat' follows non-static declaration
static inline size_t strlcat(char *dst, const char *src, size_t count)
^~~~~~~
In file included from src/tvheadend.h:31:0,
from src/uuid.c:20:
/usr/include/string.h:83:8: note: previous declaration of 'strlcat' was here
size_t strlcat (char *, const char *, size_t);
^~~~~~~
[0m[91mmake: *** [Makefile:704: /tmp/tvheadend/build.linux/src/uuid.o] Error 1
History
Updated by b kuhls over 6 years ago
Hi,
please test https://github.com/tvheadend/tvheadend/pull/1133
Updated by Torbjørn Brekke over 6 years ago
b kuhls wrote:
Hi,
please test https://github.com/tvheadend/tvheadend/pull/1133
It works with your PR. Hopefully it gets merged soon.
Updated by Mark Clarkstone almost 6 years ago
- Status changed from New to Invalid
Torbjørn Brekke wrote:
This issue can be closed.