Snippets for python:obspy 1.5.1 from Fedora aarch64
Sourced from https://kojipkgs.fedoraproject.org/packages/python-obspy/1.5.1/1.fc46/data/logs/aarch64/build.log.
-
obspy/io/gse2/src/GSE_UTI/gse_functions.c:28:9: warning: old-style function definition [-Wold-style-definition] 28 | int32_t check_sum (signal_int, number_of_samples, checksum) -
obspy/io/gse2/src/GSE_UTI/gse_functions.c:330:11: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 120 [-Wstringop-truncation] 330 | strncpy(hed->station,&iline[29],5); -
obspy/io/gse2/src/GSE_UTI/gse_functions.c:331:11: warning: ‘strncpy’ output may be truncated copying 3 bytes from a string of length 120 [-Wstringop-truncation] 331 | strncpy(hed->channel,&iline[35],3); -
obspy/io/gse2/src/GSE_UTI/gse_functions.c:332:11: warning: ‘strncpy’ output may be truncated copying 4 bytes from a string of length 120 [-Wstringop-truncation] 332 | strncpy(hed->auxid,&iline[39],4); -
obspy/io/gse2/src/GSE_UTI/gse_functions.c:333:11: warning: ‘strncpy’ output may be truncated copying 3 bytes from a string of length 120 [-Wstringop-truncation] 333 | strncpy(hed->datatype,&iline[44],3); -
obspy/io/gse2/src/GSE_UTI/gse_functions.c:334:11: warning: ‘strncpy’ output may be truncated copying 6 bytes from a string of length 120 [-Wstringop-truncation] 334 | strncpy(hed->instype,&iline[88],6); -
obspy/signal/src/evalresp/evalresp.c:159:9: warning: ‘strncpy’ specified bound 50 equals destination size [-Wstringop-truncation] 159 | strncpy(rtype,argv[i],MAXFLDLEN); -
obspy/signal/src/evalresp/evalresp.c:153:9: warning: ‘strncpy’ specified bound 50 equals destination size [-Wstringop-truncation] 153 | strncpy(units,argv[i],MAXFLDLEN); -
obspy/signal/src/evalresp/parse_fctns.c:484:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 484 | strncpy(line, FirstLine, MAXLINELEN); -
obspy/signal/src/evalresp/parse_fctns.c:605:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 605 | strncpy(line, FirstLine, MAXLINELEN); -
obspy/signal/src/evalresp/parse_fctns.c:1267:3: warning: ‘strncpy’ output may be truncated copying 23 bytes from a string of length 255 [-Wstringop-truncation] 1267 | strncpy(chan->beg_t,line,DATIMLEN);
-
obspy/signal/src/evalresp/parse_fctns.c:1272:3: warning: ‘strncpy’ output may be truncated copying 23 bytes from a string of length 255 [-Wstringop-truncation] 1272 | strncpy(chan->end_t,line,DATIMLEN);
-
obspy/signal/src/evalresp/parse_fctns.c:1322:3: warning: ‘strncpy’ specified bound 23 equals destination size [-Wstringop-truncation] 1322 | strncpy(temp_str, datime, DATIMLEN);
-
obspy/signal/src/evalresp/parse_fctns.c:1346:3: warning: ‘strncpy’ specified bound 23 equals destination size [-Wstringop-truncation] 1346 | strncpy(temp_str, beg_t, DATIMLEN);
-
obspy/signal/src/evalresp/parse_fctns.c:1378:5: warning: ‘strncpy’ specified bound 23 equals destination size [-Wstringop-truncation] 1378 | strncpy(temp_str, end_t, DATIMLEN);
-
obspy/signal/src/evalresp/regsub.c:39:1: warning: old-style function definition [-Wold-style-definition] 39 | evr_regsub(prog, source, dest) -
obspy/signal/src/evalresp/resp_fctns.c:649:33: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 649 | used_req_freq_arr = (double *)calloc(req_num_freqs,sizeof(double)); -
obspy/signal/src/evalresp/string_fctns.c:65:7: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 65 | strncpy(lcl_strings->strings[i],field,fld_len-1); -
obspy/signal/src/evalresp/string_fctns.c:455:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 455 | strncpy(return_field, lcl_ptr, strlen(lcl_ptr)); -
obspy/signal/src/evalresp/string_fctns.c:104:7: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 104 | strncpy(lcl_strings->strings[i],field,fld_len-1); -
obspy/signal/src/evalresp/string_fctns.c:646:3: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 646 | strncpy(lcl_string, string, strlen(string)); -
obspy/signal/src/evalresp/string_fctns.c:561:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 561 | strncpy(GblChanPtr->last_units,line,MAXLINELEN); -
obspy/signal/src/evalresp/string_fctns.c:557:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 557 | strncpy(GblChanPtr->first_units,line,MAXLINELEN);