Public bug reported:

Hello, looks like we are missing one "+1" from somewhere, but I don't
have enough knowledge on this code... can you please have a look? in the
meanwhile I0n giubg to disable that error

cd /<<PKGBUILDDIR>>/build-s390x/src/miral && /usr/bin/cc -DBOOST_ALL_NO_LIB 
-DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK 
-DBOOST_IOSTREAMS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK 
-DBOOST_SYSTEM_DYN_LINK -DEGL_NO_X11 -DLOG_NDEBUG=1 
-DLTTNG_UST_HAVE_SDT_INTEGRATION -DMESA_EGL_NO_X11_HEADERS 
-DMIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -DMIR_LOG_COMPONENT_FALLBACK=\"miral\" 
-DMIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API 
-DMIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT 
-DMIR_SERVER_GLEXT_H="<GLES2/gl2ext.h>" -DMIR_SERVER_GL_H="<GLES2/gl2.h>" 
-DMIR_VERSION_MAJOR=1 -DMIR_VERSION_MICRO=1 -DMIR_VERSION_MINOR=7 
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_GNU_SOURCE 
-I/<<PKGBUILDDIR>>/include/core -I/<<PKGBUILDDIR>>/include/common 
-I/<<PKGBUILDDIR>>/include/cookie -I/<<PKGBUILDDIR>>/src/include/common 
-I/<<PKGBUILDDIR>>/build-s390x/src/capnproto 
-I/<<PKGBUILDDIR>>/build-s390x/src/protobuf -I/<<PKGBUILDDIR>>/include/platform 
-I/<<PKGBUILDDIR>>/include/client -I/<<PKGBUILDDIR>>/include/server 
-I/<<PKGBUILDDIR>>/src/include/platform -I/<<PKGBUILDDIR>>/include/miral 
-I/usr/include/uuid -I/<<PKGBUILDDIR>>/include/wayland 
-I/<<PKGBUILDDIR>>/src/wayland/generated  -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -Wall 
-pedantic -Wextra -fPIC -Werror -flto -ffat-lto-objects     -fvisibility=hidden 
-pthread -o CMakeFiles/miral-internal.dir/xcursor.c.o   -c 
/<<PKGBUILDDIR>>/src/miral/xcursor.c
In file included from /usr/include/string.h:495,
                 from /<<PKGBUILDDIR>>/src/miral/xcursor.c:26:
In function ‘strncpy’,
    inlined from ‘_XcursorAddPathElt’ at 
/<<PKGBUILDDIR>>/src/miral/xcursor.c:647:5,
    inlined from ‘_XcursorBuildFullname’ at 
/<<PKGBUILDDIR>>/src/miral/xcursor.c:726:5,
    inlined from ‘xcursor_load_theme’ at 
/<<PKGBUILDDIR>>/src/miral/xcursor.c:875:10:
/usr/include/s390x-linux-gnu/bits/string_fortified.h:106:10: error: ‘strncpy’ 
output truncated before terminating nul copying 7 bytes from a string of the 
same length [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘_XcursorAddPathElt’ at 
/<<PKGBUILDDIR>>/src/miral/xcursor.c:647:5,
    inlined from ‘_XcursorBuildFullname’ at 
/<<PKGBUILDDIR>>/src/miral/xcursor.c:727:5,
    inlined from ‘xcursor_load_theme’ at 
/<<PKGBUILDDIR>>/src/miral/xcursor.c:884:11:
/usr/include/s390x-linux-gnu/bits/string_fortified.h:106:10: error: ‘strncpy’ 
output truncated before terminating nul copying 11 bytes from a string of the 
same length [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [src/miral/CMakeFiles/miral-internal.dir/build.make:183: 
src/miral/CMakeFiles/miral-internal.dir/xcursor.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....

** Affects: mir (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1889167

Title:
  mir: build failure on s390x

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1889167/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to