Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -Wno-stringop-overflow
- ===============================
- [ 14%] Building C object CMakeFiles/mapserver.dir/mapowscommon.c.o
- In file included from /usr/include/string.h:495,
- from /home/runner/work/MapServer/MapServer/mapserver.h:44,
- from /home/runner/work/MapServer/MapServer/mapowscommon.c:34:
- In function ‘strncpy’,
- inlined from ‘msOWSSchemaValidation’ at /home/runner/work/MapServer/MapServer/mapowscommon.c:652:5:
- /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
- 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/runner/work/MapServer/MapServer/mapowscommon.c: In function ‘msOWSSchemaValidation’:
- /home/runner/work/MapServer/MapServer/mapowscommon.c:645:7: note: length computed here
- 645 | if( strlen(xml_schema) > strlen(MS_OWSCOMMON_WFS_20_SCHEMA_LOCATION) &&
- | ^~~~~~~~~~~~~~~~~~
- cc1: all warnings being treated as errors
- make[3]: *** [CMakeFiles/mapserver.dir/build.make:335: CMakeFiles/mapserver.dir/mapowscommon.c.o] Error 1
- make[3]: *** Waiting for unfinished jobs....
- make[3]: Leaving directory '/home/runner/work/MapServer/MapServer/build'
- make[2]: *** [CMakeFiles/Makefile2:205: CMakeFiles/mapserver.dir/all] Error 2
- make[1]: *** [Makefile:136: all] Error 2
- make[2]: Leaving directory '/home/runner/work/MapServer/MapServer/build'
- make[1]: Leaving directory '/home/runner/work/MapServer/MapServer/build'
- make: *** [Makefile:22: cmakebuild] Error 2
- Error: Process completed with exit code 2.
- -Wno-format-overflow
- ================================
- [ 27%] Building C object CMakeFiles/mapserver.dir/mapjoin.c.o
- /home/runner/work/MapServer/MapServer/mapjoin.c: In function ‘msCSVJoinConnect’:
- /home/runner/work/MapServer/MapServer/mapjoin.c:406:30: error: ‘%d’ directive writing between 1 and 10 bytes into a region of size 8 [-Werror=format-overflow=]
- 406 | sprintf(join->items[i], "%d", i+1);
- | ^~
- /home/runner/work/MapServer/MapServer/mapjoin.c:406:29: note: directive argument in the range [1, 2147483647]
- 406 | sprintf(join->items[i], "%d", i+1);
- | ^~~~
- In file included from /usr/include/stdio.h:867,
- from /home/runner/work/MapServer/MapServer/mapserver.h:42,
- from /home/runner/work/MapServer/MapServer/mapjoin.c:30:
- /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 2 and 11 bytes into a destination of size 8
- 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 37 | __bos (__s), __fmt, __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- cc1: all warnings being treated as errors
- make[3]: *** [CMakeFiles/mapserver.dir/build.make:629: CMakeFiles/mapserver.dir/mapjoin.c.o] Error 1
- make[3]: *** Waiting for unfinished jobs....
- make[3]: Leaving directory '/home/runner/work/MapServer/MapServer/build'
- make[2]: *** [CMakeFiles/Makefile2:205: CMakeFiles/mapserver.dir/all] Error 2
- make[2]: Leaving directory '/home/runner/work/MapServer/MapServer/build'
- make[1]: *** [Makefile:136: all] Error 2
- make[1]: Leaving directory '/home/runner/work/MapServer/MapServer/build'
- make: *** [Makefile:22: cmakebuild] Error 2
- Error: Process completed with exit code 2.
Advertisement
Add Comment
Please, Sign In to add comment