Public bug reported: Currently lxc FTBFS due to a GCC-7 bug.
There's a upstream report for gcc-7 [1], but meanwhile lxc upstream has applied a workaround that fixes the build [1]. cgroups/cgfsng.c: In function ‘cgfsng_create’: cgroups/cgfsng.c:1381:23: error: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Werror=format-truncation=] snprintf(offset, 5, "-%d", idx); ^~~~~ In file included from /usr/include/stdio.h:938:0, from cgroups/cgfsng.c:44: /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 3 and 6 bytes into a destination of size 5 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78969 [2] https://github.com/lxc/lxc/commit/66b66624fce21606d11f24f5b615776074d212ae ** Affects: lxc (Ubuntu) Importance: Undecided Status: New ** Affects: lxc (Debian) Importance: Unknown Status: Unknown ** Bug watch added: Debian Bug tracker #853531 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853531 ** Also affects: lxc (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853531 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1711449 Title: [FTBFS] lxc build fails due to gcc-7 Status in lxc package in Ubuntu: New Status in lxc package in Debian: Unknown Bug description: Currently lxc FTBFS due to a GCC-7 bug. There's a upstream report for gcc-7 [1], but meanwhile lxc upstream has applied a workaround that fixes the build [1]. cgroups/cgfsng.c: In function ‘cgfsng_create’: cgroups/cgfsng.c:1381:23: error: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Werror=format-truncation=] snprintf(offset, 5, "-%d", idx); ^~~~~ In file included from /usr/include/stdio.h:938:0, from cgroups/cgfsng.c:44: /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 3 and 6 bytes into a destination of size 5 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78969 [2] https://github.com/lxc/lxc/commit/66b66624fce21606d11f24f5b615776074d212ae To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1711449/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp