Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gijzelaerr/9ded83f16a295dec887c7f73881402eb to your computer and use it in GitHub Desktop.
Save gijzelaerr/9ded83f16a295dec887c7f73881402eb to your computer and use it in GitHub Desktop.
Casacore version 3.2.1
building google grpc...
]=> ['make', 'RPATH_DIR=@rpath/', 'prefix=/home/gijs/Work/casa/casa6/casatools/build/lib.linux-x86_64-3.8/casatools/__casac__', 'HAS_SYSTEM_PROTOBUF=false', 'PROTOBUF_CONFIG_OPTS=--prefix=/home/gijs/Work/casa/casa6/casatools/build/grpc-install.linux-x86_64-3.8', 'VER
BOSE=1', 'install'] (cwd: /home/gijs/Work/casa/casa6/casatools/build/grpc.linux-x86_64-3.8)
failure...
In file included from /usr/include/string.h:495,
from third_party/cares/cares/setup_once.h:35,
from third_party/cares/cares/ares_setup.h:214,
from third_party/cares/cares/ares_parse_ptr_reply.c:17:
In function ‘strncpy’,
inlined from ‘ares_parse_ptr_reply’ at third_party/cares/cares/ares_parse_ptr_reply.c:134:11:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
third_party/cares/cares/ares_parse_ptr_reply.c: In function ‘ares_parse_ptr_reply’:
third_party/cares/cares/ares_parse_ptr_reply.c:134:47: note: length computed here
134 | strncpy(aliases[aliascnt], rr_data, strlen(rr_data)+1);
| ^~~~~~~~~~~~~~~
third_party/cares/cares/ares_parse_ptr_reply.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-invalid-source-encoding’ [-Werror]
cc1: all warnings being treated as errors
make: *** [Makefile:2575: /home/gijs/Work/casa/casa6/casatools/build/grpc.linux-x86_64-3.8/objs/opt/third_party/cares/cares/ares_parse_ptr_reply.o] Error 1
In file included from /usr/include/string.h:495,
from third_party/cares/cares/setup_once.h:35,
from third_party/cares/cares/ares_setup.h:214,
from third_party/cares/cares/ares_parse_ptr_reply.c:17:
In function ‘strncpy’,
inlined from ‘ares_parse_ptr_reply’ at third_party/cares/cares/ares_parse_ptr_reply.c:134:11:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
third_party/cares/cares/ares_parse_ptr_reply.c: In function ‘ares_parse_ptr_reply’:
third_party/cares/cares/ares_parse_ptr_reply.c:134:47: note: length computed here
134 | strncpy(aliases[aliascnt], rr_data, strlen(rr_data)+1);
| ^~~~~~~~~~~~~~~
third_party/cares/cares/ares_parse_ptr_reply.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-invalid-source-encoding’ [-Werror]
cc1: all warnings being treated as errors
make: *** [Makefile:2575: /home/gijs/Work/casa/casa6/casatools/build/grpc.linux-x86_64-3.8/objs/opt/third_party/cares/cares/ares_parse_ptr_reply.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment