Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/splat.spec'], chrootPath='/var/lib/mock/f40-build-747808-113351/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/splat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/splat-1.4.2-19.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/splat.spec'], chrootPath='/var/lib/mock/f40-build-747808-113351/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/splat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZIDd39 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf splat-1.4.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/splat-1.4.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd splat-1.4.2 + rm -rf /builddir/build/BUILD/splat-1.4.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/splat-1.4.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (splat-1.4.2-build_flags.patch):' Patch #0 (splat-1.4.2-build_flags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file build + install -p /builddir/build/SOURCES/std-parms.h . + sed -i 's/\r//' utils/fips.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F9mhrs + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd splat-1.4.2 + ./build all Compiling SPLAT!... itwom3.0.cpp: In function ‘qlrpfl2(double*, int, int, prop_type&, propa_type&, propv_type&)’: itwom3.0.cpp:2258:43: warning: ‘q’ may be used uninitialized [-Wmaybe-uninitialized] 2258 | prop.he[j]*=q; | ~~~~~~~~~~^~~ itwom3.0.cpp:2212:28: note: ‘q’ declared here 2212 | double xl[2], dlb, q, za, zb, temp, rad, rae1, rae2; | ^ splat.cpp: In function ‘double ElevationAngle(site, site)’: splat.cpp:570:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 570 | register double a, b, dx; | ^ splat.cpp:570:28: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 570 | register double a, b, dx; | ^ splat.cpp:570:31: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 570 | register double a, b, dx; | ^~ splat.cpp: In function ‘void PlotPath(site, site, char)’: splat.cpp:2730:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 2730 | register double cos_xmtr_angle, cos_test_angle, test_alt; | ^~~~~~~~~~~~~~ splat.cpp:2730:41: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 2730 | register double cos_xmtr_angle, cos_test_angle, test_alt; | ^~~~~~~~~~~~~~ splat.cpp:2730:57: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 2730 | register double cos_xmtr_angle, cos_test_angle, test_alt; | ^~~~~~~~ splat.cpp: In function ‘site LoadQTH(char*)’: splat.cpp:1215:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1215 | fgets(string,49,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:1224:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1224 | fgets(string,49,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:1228:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1228 | fgets(string,49,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:1235:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1235 | fgets(string,49,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp: In function ‘void LoadPAT(char*)’: splat.cpp:1328:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1328 | fgets(string,254,fd); | ~~~~~^~~~~~~~~~~~~~~ splat.cpp:1341:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1341 | fgets(string,254,fd); | ~~~~~^~~~~~~~~~~~~~~ splat.cpp:1359:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1359 | fgets(string,254,fd); | ~~~~~^~~~~~~~~~~~~~~ splat.cpp:1462:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1462 | fgets(string,254,fd); | ~~~~~^~~~~~~~~~~~~~~ splat.cpp:1474:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1474 | fgets(string,254,fd); | ~~~~~^~~~~~~~~~~~~~~ splat.cpp:1496:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1496 | fgets(string,254,fd); | ~~~~~^~~~~~~~~~~~~~~ splat.cpp: In function ‘int LoadSDF_SDF(char*)’: splat.cpp:1710:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1710 | fgets(line,19,fd); | ~~~~~^~~~~~~~~~~~ splat.cpp:1713:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1713 | fgets(line,19,fd); | ~~~~~^~~~~~~~~~~~ splat.cpp:1716:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1716 | fgets(line,19,fd); | ~~~~~^~~~~~~~~~~~ splat.cpp:1719:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1719 | fgets(line,19,fd); | ~~~~~^~~~~~~~~~~~ splat.cpp:1725:46: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1725 | fgets(line,19,fd); | ~~~~~^~~~~~~~~~~~ splat.cpp: In function ‘void LoadCities(char*)’: splat.cpp:2192:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2192 | fgets(input,78,fd); | ~~~~~^~~~~~~~~~~~~ splat.cpp:2227:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2227 | fgets(input,78,fd); | ~~~~~^~~~~~~~~~~~~ splat.cpp: In function ‘void LoadUDT(char*)’: splat.cpp:2263:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2263 | fgets(input,78,fd1); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2329:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2329 | fgets(input,78,fd1); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2349:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2349 | fscanf(fd1,"%d, %d, %lf", &xpix, &ypix, &height); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ splat.cpp:2356:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2356 | fscanf(fd2,"%d, %d, %lf", &tempxpix, &tempypix, &tempheight); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ splat.cpp:2370:47: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2370 | fscanf(fd2,"%d, %d, %lf", &tempxpix, &tempypix, &tempheight); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ splat.cpp:2379:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2379 | fscanf(fd1,"%d, %d, %lf", &xpix, &ypix, &height); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ splat.cpp: In function ‘void LoadBoundaries(char*)’: splat.cpp:2415:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2415 | fgets(string,78,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2422:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2422 | fgets(string,78,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2424:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2424 | fgets(string,78,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2443:38: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2443 | fgets(string,78,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2447:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2447 | fgets(string,78,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp: In function ‘char ReadLRParm(site, char)’: splat.cpp:2511:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2511 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2524:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2524 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2538:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2538 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2552:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2552 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2566:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2566 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2580:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2580 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2594:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2594 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:2608:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2608 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp: In function ‘void LoadSignalColors(site)’: splat.cpp:3500:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3500 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:3529:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3529 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp: In function ‘void LoadLossColors(site)’: splat.cpp:3664:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3664 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:3693:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3693 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp: In function ‘void LoadDBMColors(site)’: splat.cpp:3828:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3828 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:3864:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3864 | fgets(string,80,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp: In function ‘int LoadANO(char*)’: splat.cpp:7462:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7462 | fgets(string,78,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:7470:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7470 | fgets(string,78,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:7478:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7478 | fgets(string,78,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:7489:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7489 | fgets(string,78,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp:7545:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7545 | fgets(string,78,fd); | ~~~~~^~~~~~~~~~~~~~ splat.cpp: In function ‘int main(int, char**)’: splat.cpp:8336:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8336 | fgets(string,253,fd); | ~~~~~^~~~~~~~~~~~~~~ splat.cpp: In function ‘LoadSDF_SDF(char*)’: splat.cpp:1700:32: warning: ‘__strncat_chk’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 1700 | strncat(path_plus_name,sdf_file,254); | ^ splat.cpp: In function ‘LoadSDF_BZ(char*)’: splat.cpp:1934:32: warning: ‘__strncat_chk’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 1934 | strncat(path_plus_name,sdf_file,254); | ^ splat.cpp: In function ‘LoadCities(char*)’: splat.cpp:2217:32: warning: ‘strncpy’ output may be truncated copying 49 bytes from a string of length 79 [-Wstringop-truncation] 2217 | strncpy(city_site.name,str[0],49); | ^ splat.cpp: In function ‘WritePPM(char*, unsigned char, unsigned char, unsigned char, site*, unsigned char)’: splat.cpp:3897:24: warning: ‘strncpy’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 3897 | strncpy(filename, xmtr[0].filename,254); | ^ splat.cpp: In function ‘WritePPMLR(char*, unsigned char, unsigned char, unsigned char, site*, unsigned char)’: splat.cpp:4184:24: warning: ‘strncpy’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 4184 | strncpy(filename, xmtr[0].filename,254); | ^ splat.cpp: In function ‘WritePPMSS(char*, unsigned char, unsigned char, unsigned char, site*, unsigned char)’: splat.cpp:4663:24: warning: ‘strncpy’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 4663 | strncpy(filename, xmtr[0].filename,254); | ^ splat.cpp: In function ‘WritePPMDBM(char*, unsigned char, unsigned char, unsigned char, site*, unsigned char)’: splat.cpp:5177:24: warning: ‘strncpy’ output may be truncated copying 254 bytes from a string of length 254 [-Wstringop-truncation] 5177 | strncpy(filename, xmtr[0].filename,254); | ^ splat.cpp: In function ‘ObstructionAnalysis(site, site, double, _IO_FILE*)’: splat.cpp:6616:144: warning: ‘. ’ directive output may be truncated writing 2 bytes into a region of size between 0 and 59 [-Wformat-truncation=] 6616 | snprintf(string,150,"\nAntenna at %s must be raised to at least %.2f feet AGL\nto clear all obstructions detected by %s.\n",rcvr.name, h_r-GetElevation(rcvr)-earthradius,splat_name); | ^~~ In file included from /usr/include/stdio.h:980, from splat.cpp:23: In function ‘snprintf’, inlined from ‘ObstructionAnalysis(site, site, double, _IO_FILE*)’ at splat.cpp:6616:12: /usr/include/bits/stdio2.h:54:35: note: ‘__snprintf_chk’ output between 94 and 462 bytes into a destination of size 150 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ splat.cpp: In function ‘ObstructionAnalysis(site, site, double, _IO_FILE*)’: splat.cpp:6614:144: warning: ‘%s’ directive output may be truncated writing up to 9 bytes into a region of size between 0 and 57 [-Wformat-truncation=] 6614 | snprintf(string,150,"\nAntenna at %s must be raised to at least %.2f meters AGL\nto clear all obstructions detected by %s.\n",rcvr.name, METERS_PER_FOOT*(h_r-GetElevation(rcvr)-earthradius),splat_name); | ^~ ~~~~~~~~~~ In function ‘snprintf’, inlined from ‘ObstructionAnalysis(site, site, double, _IO_FILE*)’ at splat.cpp:6614:12: /usr/include/bits/stdio2.h:54:35: note: ‘__snprintf_chk’ output between 96 and 464 bytes into a destination of size 150 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ splat.cpp: In function ‘PathReport(site, site, char*, char)’: splat.cpp:6682:36: warning: ‘%s’ directive writing up to 49 bytes into a region of size between 27 and 76 [-Wformat-overflow=] 6682 | sprintf(report_name,"%s-to-%s.txt",source.name,destination.name); | ^~ ~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘PathReport(site, site, char*, char)’ at splat.cpp:6682:9: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 9 and 107 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ splat.cpp: In function ‘LoadTopoData(int, int, int, int)’: splat.cpp:7441:67: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 12 [-Wformat-truncation=] 7441 | snprintf(string,16,"%d:%d:%d:%d",x, x+1, ymin, ymax); | ^~ splat.cpp:7441:60: note: directive argument in the range [0, 359] 7441 | snprintf(string,16,"%d:%d:%d:%d",x, x+1, ymin, ymax); | ^~~~~~~~~~~~~ splat.cpp:7441:60: note: directive argument in the range [0, 359] In function ‘snprintf’, inlined from ‘LoadTopoData(int, int, int, int)’ at splat.cpp:7441:14: /usr/include/bits/stdio2.h:54:35: note: ‘__snprintf_chk’ output between 8 and 32 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ splat.cpp: In function ‘LoadTopoData(int, int, int, int)’: splat.cpp:7439:70: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 7439 | snprintf(string,19,"%d:%d:%d:%d-hd",x, x+1, ymin, ymax); | ^~ splat.cpp:7439:60: note: directive argument in the range [0, 359] 7439 | snprintf(string,19,"%d:%d:%d:%d-hd",x, x+1, ymin, ymax); | ^~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘LoadTopoData(int, int, int, int)’ at splat.cpp:7439:14: /usr/include/bits/stdio2.h:54:35: note: ‘__snprintf_chk’ output between 11 and 35 bytes into a destination of size 19 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ splat.cpp: In function ‘LoadTopoData(int, int, int, int)’: splat.cpp:7412:67: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 12 [-Wformat-truncation=] 7412 | snprintf(string,16,"%d:%d:%d:%d",x, x+1, ymin, ymax); | ^~ splat.cpp:7412:60: note: directive argument in the range [0, 359] 7412 | snprintf(string,16,"%d:%d:%d:%d",x, x+1, ymin, ymax); | ^~~~~~~~~~~~~ splat.cpp:7412:60: note: directive argument in the range [0, 359] In function ‘snprintf’, inlined from ‘LoadTopoData(int, int, int, int)’ at splat.cpp:7412:14: /usr/include/bits/stdio2.h:54:35: note: ‘__snprintf_chk’ output between 8 and 32 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ splat.cpp: In function ‘LoadTopoData(int, int, int, int)’: splat.cpp:7410:70: warning: ‘%d’ directive output may be truncated writing between 1 and 3 bytes into a region of size between 0 and 13 [-Wformat-truncation=] 7410 | snprintf(string,19,"%d:%d:%d:%d-hd",x, x+1, ymin, ymax); | ^~ splat.cpp:7410:60: note: directive argument in the range [0, 359] 7410 | snprintf(string,19,"%d:%d:%d:%d-hd",x, x+1, ymin, ymax); | ^~~~~~~~~~~~~~~~ In function ‘snprintf’, inlined from ‘LoadTopoData(int, int, int, int)’ at splat.cpp:7410:14: /usr/include/bits/stdio2.h:54:35: note: ‘__snprintf_chk’ output between 11 and 35 bytes into a destination of size 19 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ splat.cpp: In function ‘WriteKML(site, site)’: splat.cpp:7571:36: warning: ‘%s’ directive writing up to 49 bytes into a region of size between 27 and 76 [-Wformat-overflow=] 7571 | sprintf(report_name,"%s-to-%s.kml",source.name,destination.name); | ^~ ~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘WriteKML(site, site)’ at splat.cpp:7571:9: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 9 and 107 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ splat.cpp: In function ‘main’: splat.cpp:8343:32: warning: ‘strncpy’ output may be truncated copying 253 bytes from a string of length 254 [-Wstringop-truncation] 8343 | strncpy(sdf_path,string,253); | ^ Done! Compiling citydecoder... Done! Compiling usgs2sdf... Done! Compiling srtm2sdf... Done! Compiling fontdata... Done! Compiling bearing... Done! + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MpzKmr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd splat-1.4.2 + mkdir -p /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/man/man1/ + groff -e -T ascii -man /builddir/build/SOURCES/citydecoder.man + groff -e -T ascii -man /builddir/build/SOURCES/srtm2sdf.man + groff -e -T ascii -man /builddir/build/SOURCES/usgs2sdf.man + groff -e -T ascii -man /builddir/build/SOURCES/bearing.man + install -pm 0644 /builddir/build/SOURCES/postdownload.1 /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/man/man1/postdownload.1 + install -pm 0644 /builddir/build/SOURCES/splat.1 /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/man/man1/splat.1 + install -D -pm 0644 docs/spanish/man/splat.1 /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/man/es/man1/splat.1 + install -D -m 0755 splat /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/bin/splat + install -D -m 0755 utils/citydecoder /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/bin/citydecoder + install -D -m 0755 utils/bearing /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/bin/bearing + install -D -m 0755 utils/postdownload /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/bin/postdownload + install -D -m 0755 utils/usgs2sdf /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/bin/usgs2sdf + install -D -m 0755 utils/srtm2sdf /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/bin/srtm2sdf + mv utils/README utils/README-utils + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.4.2-19.fc40 --unique-debug-suffix -1.4.2-19.fc40.riscv64 --unique-debug-src-base splat-1.4.2-19.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/splat-1.4.2 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/splat-1.4.2-19.fc40.riscv64 591 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/postdownload from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: splat-1.4.2-19.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.whiTat + umask 022 + cd /builddir/build/BUILD + cd splat-1.4.2 + DOCDIR=/builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/doc/splat + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/doc/splat + cp -pr /builddir/build/BUILD/splat-1.4.2/CHANGES /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/doc/splat + cp -pr /builddir/build/BUILD/splat-1.4.2/README /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/doc/splat + cp -pr /builddir/build/BUILD/splat-1.4.2/utils/README-utils /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/doc/splat + cp -pr /builddir/build/BUILD/splat-1.4.2/utils/fips.txt /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/doc/splat + cp -pr /builddir/build/BUILD/splat-1.4.2/sample_data /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/doc/splat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tThH0z + umask 022 + cd /builddir/build/BUILD + cd splat-1.4.2 + LICENSEDIR=/builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/licenses/splat + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/licenses/splat + cp -pr /builddir/build/BUILD/splat-1.4.2/COPYING /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64/usr/share/licenses/splat + RPM_EC=0 ++ jobs -p + exit 0 Provides: splat = 1.4.2-19.fc40 splat(riscv-64) = 1.4.2-19.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: splat-debugsource-1.4.2-19.fc40.riscv64 Provides: splat-debugsource = 1.4.2-19.fc40 splat-debugsource(riscv-64) = 1.4.2-19.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: splat-debuginfo-1.4.2-19.fc40.riscv64 Provides: debuginfo(build-id) = d50a2aa9148730ef2bb08e5bdc8072c39e15ae5f splat-debuginfo = 1.4.2-19.fc40 splat-debuginfo(riscv-64) = 1.4.2-19.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: splat-debugsource(riscv-64) = 1.4.2-19.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64 Wrote: /builddir/build/RPMS/splat-1.4.2-19.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/splat-debugsource-1.4.2-19.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/splat-debuginfo-1.4.2-19.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.B1QyfH + umask 022 + cd /builddir/build/BUILD + cd splat-1.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/splat-1.4.2-19.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.cFIGOm + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/splat-1.4.2-SPECPARTS + rm -rf splat-1.4.2 splat-1.4.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0