Actions
Bug #5949
closedTVHeadend is FTBFS on Ubuntu Groovy on s390x
Start date:
2020-09-14
Due date:
% Done:
0%
Estimated time:
Found in version:
all
Affected Versions:
Description
TVHeadend fails to build on Ubuntu Groovy on the s390x architecture with the following error:
src/utils.c: In function ‘rmtree’: src/utils.c:704:36: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=] 704 | snprintf(buf, sizeof(buf), "%s/%s", path, de.d_name); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/openssl/bio.h:16, from /usr/include/openssl/evp.h:16, from src/utils.c:23: /usr/include/s390x-linux-gnu/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4352 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils.c:704:36: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=] 704 | snprintf(buf, sizeof(buf), "%s/%s", path, de.d_name); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/openssl/bio.h:16, from /usr/include/openssl/evp.h:16, from src/utils.c:23: /usr/include/s390x-linux-gnu/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4352 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils.c:704:36: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=] 704 | snprintf(buf, sizeof(buf), "%s/%s", path, de.d_name); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/openssl/bio.h:16, from /usr/include/openssl/evp.h:16, from src/utils.c:23: /usr/include/s390x-linux-gnu/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4352 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils.c:704:36: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=] 704 | snprintf(buf, sizeof(buf), "%s/%s", path, de.d_name); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/openssl/bio.h:16, from /usr/include/openssl/evp.h:16, from src/utils.c:23: /usr/include/s390x-linux-gnu/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4352 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils.c:704:36: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=] 704 | snprintf(buf, sizeof(buf), "%s/%s", path, de.d_name); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/openssl/bio.h:16, from /usr/include/openssl/evp.h:16, from src/utils.c:23: /usr/include/s390x-linux-gnu/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4352 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/utils.c:704:36: error: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=] 704 | snprintf(buf, sizeof(buf), "%s/%s", path, de.d_name); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:866, from /usr/include/openssl/bio.h:16, from /usr/include/openssl/evp.h:16, from src/utils.c:23: /usr/include/s390x-linux-gnu/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 2 and 4352 bytes into a destination of size 4096 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I do not suspect this issue was due to any recent change in TVHeadend itself, but is likely due to glibc getting upgraded to 2.32 in Ubuntu Groovy.
Actions