Bug #5112
error: 'strncpy' output truncated before terminating...
0%
Description
src/wrappers.c: In function 'tvhthread_create':
src/wrappers.c:200:3: error: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Werror=stringop-truncation]
strncpy(ts->name, "tvh:", 4);
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:704: /home/docmax/.cache/pacaur/tvheadend-git/src/tvheadend-git/build.linux/src/wrappers.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build tvheadend-git package(s)
Files
History
Updated by Илья Ваганов over 6 years ago
Dirk Diggler wrote:
src/wrappers.c: In function 'tvhthread_create':
src/wrappers.c:200:3: error: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Werror=stringop-truncation]
strncpy(ts->name, "tvh:", 4);
^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:704: /home/docmax/.cache/pacaur/tvheadend-git/src/tvheadend-git/build.linux/src/wrappers.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build tvheadend-git package(s)
Same error on my system.
Updated by saen acro over 6 years ago
And now, we will guessing,
with OS with CPU platform etc.
uname -a lsb_release -a
Updated by Victor TW over 6 years ago
saen acro wrote:
And now, we will guessing,
with OS with CPU platform etc.
[...]
Same here
Linux 4.16.7-1-ARCH #1 SMP PREEMPT Wed May 2 21:12:36 UTC 2018 x86_64 GNU/Linux
Updated by Dirk Diggler over 6 years ago
uname -a
Linux htpc 4.16.8-1-ARCH #1 SMP PREEMPT Wed May 9 11:25:02 UTC 2018 x86_64 GNU/Linux
lsb_release -a
LSB Version: 1.4
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
Updated by Илья Ваганов over 6 years ago
uname -a
Linux KODI 4.9.65-2-lts #1 SMP Thu May 3 00:11:50 +04 2018 x86_64 GNU/Linux
Updated by Un Known over 6 years ago
- File mod_make_gcc_happy.patch mod_make_gcc_happy.patch added
May some professional can evaluate?