Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/calcium-calculator.spec'], chrootPath='/var/lib/mock/f45-build-4478-332/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mj56ys89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mj56ys89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b3793835160c45519df76583aa9f8625', '-D', '/var/lib/mock/f45-build-4478-332/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mj56ys89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/calcium-calculator.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784073600 Wrote: /builddir/build/SRPMS/calcium-calculator-7.10.6-12.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/calcium-calculator.spec'], chrootPath='/var/lib/mock/f45-build-4478-332/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mj56ys89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mj56ys89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd4ce5a41be564c189ec2d55ccb891b5c', '-D', '/var/lib/mock/f45-build-4478-332/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mj56ys89:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/calcium-calculator.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1784073600 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.35viVs Creating(rpmbuild.env): /builddir/build/BUILD/calcium-calculator-7.10.6-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/calcium-calculator-7.10.6-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/calcium-calculator-7.10.6-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="calcium-calculator" RPM_PACKAGE_VERSION="7.10.6" RPM_PACKAGE_RELEASE="12.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZrvLqn + umask 022 + cd /builddir/build/BUILD/calcium-calculator-7.10.6-build + cd /builddir/build/BUILD/calcium-calculator-7.10.6-build + rm -rf CalC-complex-buffer-7.10.6 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/CalC-complex-buffer-7.10.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd CalC-complex-buffer-7.10.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + GIT_COMMITTER_DATE=@1784073600 + GIT_AUTHOR_DATE=@1784073600 + /usr/bin/git commit -q --no-gpg-sign --allow-empty -a --author 'rpm-build ' -m 'calcium-calculator-7.10.6 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/bin/rpmuncompress /builddir/build/SOURCES/Makefile_v7.10.7.patch + /usr/bin/git apply --index --reject -p1 - :10: trailing whitespace. VPATH = . : $D :47: trailing whitespace. :48: trailing whitespace. CalC: moveobjects setNormal ${objects} ${includes} ${sources} :52: trailing whitespace. :53: trailing whitespace. noGraphs: moveobjects setNoGraphs ${objects} ${includes} ${sources} Checking patch Makefile... Applied patch Makefile cleanly. warning: squelched 1 whitespace error warning: 6 lines add whitespace errors. + GIT_COMMITTER_DATE=@1784073600 + GIT_AUTHOR_DATE=@1784073600 + /usr/bin/git commit -q --no-gpg-sign -m Makefile_v7.10.7.patch --author 'rpm-build ' + /usr/bin/rpmuncompress /builddir/build/SOURCES/include_local_CXXFLAGS.patch + /usr/bin/git apply --index --reject -p1 - Checking patch Makefile... Applied patch Makefile cleanly. + GIT_COMMITTER_DATE=@1784073600 + GIT_AUTHOR_DATE=@1784073600 + /usr/bin/git commit -q --no-gpg-sign -m include_local_CXXFLAGS.patch --author 'rpm-build ' + find . -name '*' -type f -exec chmod 0644 '{}' ';' + find . -name '*' -type f -exec sed -i 's/\r$//' '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.q68Bsg + umask 022 + cd /builddir/build/BUILD/calcium-calculator-7.10.6-build + CFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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=-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-hardened-ld-errors -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 CalC-complex-buffer-7.10.6 + CFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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=-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-hardened-ld-errors -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 + /usr/bin/make -O -j8 V=1 VERBOSE=1 mv source/*o ./ mv: cannot stat 'source/*o': No such file or directory make: [Makefile:80: moveobjects] Error 1 (ignored) g++ source/peak.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c g++ source/table.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c source/table.cpp: In constructor ‘TableObj::TableObj(const char*, char*)’: source/table.cpp:55:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 55 | fgets(s, 255, file); | ~~~~~^~~~~~~~~~~~~~ source/table.cpp:69:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 69 | fgets(s, 255, file); | ~~~~~^~~~~~~~~~~~~~ g++ source/interpol.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c source/interpol.cpp: In constructor ‘InterpolObj::InterpolObj(TokenString&, long int, FieldObj*)’: source/interpol.cpp:167:60: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 167 | while (x > xcoord[ix] && ix < xsize - 1) ix++; x0 = xcoord[ix-1]; x1 = xcoord[ix]; | ^~~~~ source/interpol.cpp:167:108: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 167 | while (x > xcoord[ix] && ix < xsize - 1) ix++; x0 = xcoord[ix-1]; x1 = xcoord[ix]; | ^~ source/interpol.cpp: In constructor ‘InterpolArray::InterpolArray(TokenString&, FieldObj*, BufferArray*)’: source/interpol.cpp:259:11: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 259 | for (j = 0; j < Bufs->buf_num; j++) | ^~~ source/interpol.cpp:267:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 267 | if (VERBOSE) fprintf(stderr," ### Compressing interpolation array: "); | ^~ g++ source/vector.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c source/vector.cpp: In member function ‘void VectorObj::import(const char*)’: source/vector.cpp:330:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 330 | fread( (void *)(&n), sizeof(long), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/vector.cpp:334:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 334 | fread( (void *)elem, sizeof(double), size, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ source/grid.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c g++ source/box.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c g++ source/loop.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c source/loop.cpp: In constructor ‘LoopObj::LoopObj(TokenString&, VectorObj*)’: source/loop.cpp:159:12: warning: ‘v0’ may be used uninitialized [-Wmaybe-uninitialized] 159 | xMax = v0 + (limit[0] - 1) * fabs(dvar[0]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/loop.cpp:94:10: note: ‘v0’ was declared here 94 | double v0, v1, dv = 1.0; | ^~ g++ source/markov.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c g++ source/simulation.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c source/simulation.cpp: In member function ‘void SimulationObj::Export(const char*)’: source/simulation.cpp:328:22: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 328 | if ( wrote != Buffers->array[i]->size ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ source/simulation.cpp: In member function ‘void SimulationObj::Import(const char*)’: source/simulation.cpp:366:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 366 | if ( imported != Size ) | ~~~~~~~~~^~~~~~~ source/simulation.cpp:375:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 375 | if ( imported != Size ) | ~~~~~~~~~^~~~~~~ source/simulation.cpp: In member function ‘long int SimulationObj::Adaptive(double)’: source/simulation.cpp:446:77: warning: variable ‘total_backsteps’ set but not used [-Wunused-but-set-variable=] 446 | long between_checks = 0, total_steps = 0, since_last_divide = 0, total_backsteps = 0; | ^~~~~~~~~~~~~~~ source/simulation.cpp: In member function ‘void SimulationObj::Import(const char*)’: source/simulation.cpp:362:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 362 | fread( (void *)&n, sizeof(long), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/simulation.cpp:382:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 382 | fread( &m, sizeof(int), 1, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ source/simulation.cpp:385:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 385 | fread( (void *)(Gates->var->elem), sizeof(double), Gates->var_num, f); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/simulation.cpp:390:8: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 390 | fread( (void *)endtag, sizeof(char), strlen("endtag")+1, f ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ source/gate.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c g++ source/syntax.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c source/syntax.cpp: In member function ‘int TokenString::trail_pars(long int, va_list)’: source/syntax.cpp:604:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 604 | if (dpar) *dpar = get_double(ind); break; | ^~ source/syntax.cpp:604:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 604 | if (dpar) *dpar = get_double(ind); break; | ^~~~~ source/syntax.cpp:606:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 606 | if (ipar) *ipar = get_int(ind); break; | ^~ source/syntax.cpp:606:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 606 | if (ipar) *ipar = get_int(ind); break; | ^~~~~ source/syntax.cpp:608:25: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 608 | if (lpar) *lpar = get_long(ind); break; | ^~ source/syntax.cpp:608:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 608 | if (lpar) *lpar = get_long(ind); break; | ^~~~~ source/syntax.cpp: In member function ‘void ExpressionObj::pushOp(int, int*, int*, int*, int&, int&)’: source/syntax.cpp:1095:9: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 1095 | while ( stackHead ) | ^~~~~ source/syntax.cpp:1177:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 1177 | opStack[ stackHead++ ] = op; | ^~~~~~~ source/syntax.cpp: In constructor ‘ExpressionObj::ExpressionObj(TokenString&, long int, const char*, VarList*, long int*, double*, const char*, double*, const char*, double*, const char*)’: source/syntax.cpp:1294:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 1294 | for (tp = 0; tp < TYPE_NUM; tp++) | ^~~ source/syntax.cpp:1335:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 1335 | if ( tp >= TYPE_NUM) { // did not match any token | ^~ source/syntax.cpp: In member function ‘void ExpressionObj::buildFormulaString(VarList*, double*, const char*, double*, const char*, double*, const char*, const char*)’: source/syntax.cpp:1421:20: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 1421 | if ( term_array[term].val == 0 && (term + 2) < term_num ) // process a "0 - number" combination, | ^~ source/syntax.cpp:1426:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1426 | char value[64]; | ^~~~ source/syntax.cpp: In member function ‘void TokenString::parse(const char*, const char*, const char*, int, char**)’: source/syntax.cpp:225:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 225 | else { fgets(lineString,MAX_LINE_LENGTH,f); currentLine ++; if ( feof(f) ) break; } | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/syntax.cpp: In member function ‘void TokenString::addToken(const char*, int, int)’: source/syntax.cpp:429:16: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 429 | strncpy( token_ptr[token_num], token, tlength ); | ^ source/syntax.cpp:419:32: note: length computed here 419 | size_t tlength = strlen(token); | ~~~~~~^~~~~~~ g++ source/fplot.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c source/fplot.cpp: In member function ‘void RunStatusString::update(char)’: source/fplot.cpp:1935:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1935 | for (i = 1; i < widgetLength ; i++ ) widgetStr[i-1] = widgetStr[i]; | ~~^~~~~~~~~~~~~~ source/fplot.cpp: In constructor ‘PlotArray::PlotArray(SimulationObj&)’: source/fplot.cpp:2053:17: warning: operation on ‘((PlotArray*)this)->PlotArray::count’ may be undefined [-Wsequence-point] 2053 | count = plot_num = count = 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ source/fplot.cpp: In member function ‘virtual void FieldDumpT::draw()’: source/fplot.cpp:752:26: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 752 | fread ( (void *)&tempTime, sizeof(double), 1, file); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/fplot.cpp:753:26: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 753 | fread ( (void *)buffer, sizeof(double), field->size, file); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/fplot.cpp:766:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 766 | fread ( (void *)&tempTime, sizeof(double), 1, file); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/fplot.cpp:767:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 767 | fread ( (void *)buffer, sizeof(double), field->size, file); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from source/fplot.cpp:52: source/fplot.h: In member function ‘void FieldDumpT::chuckHeader(FILE*, void*)’: source/fplot.h:410:70: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 410 | fread( (void *)buffer, sizeof(int), DIMENSIONALITY + 1, ff); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/fplot.h:411:70: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 411 | fread( (void *)buffer, sizeof(double), field->xsize, ff); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/fplot.h:412:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 412 | if (DIMENSIONALITY > 1) fread( (void *)buffer, sizeof(double), field->ysize, ff); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source/fplot.h:413:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 413 | if (DIMENSIONALITY > 2) fread( (void *)buffer, sizeof(double), field->zsize, ff); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ source/field.cpp -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c source/field.cpp: In member function ‘void FieldObj::tridiag(int)’: source/field.cpp:138:17: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 138 | register double sb, sp, dg, rt; | ^~ source/field.cpp:138:21: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 138 | register double sb, sp, dg, rt; | ^~ source/field.cpp:138:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 138 | register double sb, sp, dg, rt; | ^~ source/field.cpp:138:29: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister] 138 | register double sb, sp, dg, rt; | ^~ source/field.cpp: In member function ‘void FieldObj::set_source(int, double, double, double, double, double, double)’: source/field.cpp:638:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 638 | if (DIMENSIONALITY > 2) fprintf(stderr, ",%g",z); | ^~ source/field.cpp:639:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 639 | fprintf(stderr, "), with half-width of (%g", sigmax); | ^~~~~~~ source/field.cpp:641:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 641 | if (DIMENSIONALITY > 2) fprintf(stderr, ",%g",sigmaz); | ^~ source/field.cpp:642:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 642 | fprintf(stderr, ")"); | ^~~~~~~ source/field.cpp:656:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 656 | if (DIMENSIONALITY > 2) fprintf(stderr, ",%d",iz); | ^~ source/field.cpp:657:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 657 | fprintf(stderr, ") <--> (%.4g", xcoord[ix]); | ^~~~~~~ source/field.cpp:659:6: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 659 | if (DIMENSIONALITY > 2) fprintf(stderr, ",%.4g",zcoord[iz]); | ^~ source/field.cpp:660:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 660 | fprintf(stderr, "), point_type="); | ^~~~~~~ source/field.cpp: In constructor ‘BufferArray::BufferArray(TokenString&)’: source/field.cpp:2128:18: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 2128 | delete idUB; delete idSB; delete idDB; | ^~~~ In file included from source/field.cpp:46: In function ‘char* StrCpy(const char*)’, inlined from ‘char* TokenString::StrCpy(long int)’ at source/syntax.h:374:40, inlined from ‘BufferArray::BufferArray(TokenString&)’ at source/field.cpp:2082:30: source/syntax.h:238:37: note: returned from ‘void* operator new [](std::size_t)’ 238 | { char *d = new char[strlen(s) + 1]; return strcpy(d, s); } | ^ source/field.cpp: In constructor ‘BufferArray::BufferArray(TokenString&)’: source/field.cpp:2128:31: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 2128 | delete idUB; delete idSB; delete idDB; | ^~~~ In function ‘char* StrCpy(const char*, const char*)’, inlined from ‘BufferArray::BufferArray(TokenString&)’ at source/field.cpp:2083:23: source/syntax.h:242:51: note: returned from ‘void* operator new [](std::size_t)’ 242 | { char *d = new char[strlen(s1) + strlen(s2) + 2]; strcpy(d,s1); strcat(d,"."); return strcat(d, s2); } | ^ source/field.cpp: In constructor ‘BufferArray::BufferArray(TokenString&)’: source/field.cpp:2128:44: warning: ‘void operator delete(void*, std::size_t)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 2128 | delete idUB; delete idSB; delete idDB; | ^~~~ In function ‘char* StrCpy(const char*, const char*)’, inlined from ‘BufferArray::BufferArray(TokenString&)’ at source/field.cpp:2084:23: source/syntax.h:242:51: note: returned from ‘void* operator new [](std::size_t)’ 242 | { char *d = new char[strlen(s1) + strlen(s2) + 2]; strcpy(d,s1); strcat(d,"."); return strcat(d, s2); } | ^ g++ source/CalC.cpp syntax.o vector.o table.o peak.o box.o grid.o field.o interpol.o fplot.o gate.o loop.o simulation.o markov.o -lm -lGL -lGLU -lglut -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o CalC mv *o source/ echo '*** Compilation completed successfully ***' *** Compilation completed successfully *** source/CalC.cpp: In function ‘int main(int, char**)’: source/CalC.cpp:143:31: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 143 | scanf("%s", fname); | ~~~~~^~~~~~~~~~~~~ source/CalC.cpp:231:27: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 231 | scanf("%s", s); } | ~~~~~^~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nmKcZq + umask 022 + cd /builddir/build/BUILD/calcium-calculator-7.10.6-build + '[' /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT ++ dirname /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT + mkdir -p /builddir/build/BUILD/calcium-calculator-7.10.6-build + mkdir /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT + CFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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=-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-hardened-ld-errors -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 CalC-complex-buffer-7.10.6 + mv -v CalC calcium-calculator renamed 'CalC' -> 'calcium-calculator' + install -p -m 755 -D -t /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT//usr/bin calcium-calculator + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 7.10.6-12.fc45 --unique-debug-suffix -7.10.6-12.fc45.riscv64 --unique-debug-src-base calcium-calculator-7.10.6-12.fc45.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/calcium-calculator-7.10.6-build/CalC-complex-buffer-7.10.6 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/calcium-calculator-7.10.6-12.fc45.riscv64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT Scanned 11 directories and 29 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT/usr Scanned 10 directories and 29 files, considered 29 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/calcium-calculator-7.10.6-build/SPECPARTS/rpm-debuginfo.specpart Processing files: calcium-calculator-7.10.6-12.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.G6T3wU + umask 022 + cd /builddir/build/BUILD/calcium-calculator-7.10.6-build + cd CalC-complex-buffer-7.10.6 + DOCDIR=/builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT/usr/share/doc/calcium-calculator + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT/usr/share/doc/calcium-calculator + cp -pr /builddir/build/BUILD/calcium-calculator-7.10.6-build/CalC-complex-buffer-7.10.6/README.md /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT/usr/share/doc/calcium-calculator + cp -pr /builddir/build/BUILD/calcium-calculator-7.10.6-build/CalC-complex-buffer-7.10.6/examples /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT/usr/share/doc/calcium-calculator + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Fc7pIl + umask 022 + cd /builddir/build/BUILD/calcium-calculator-7.10.6-build + cd CalC-complex-buffer-7.10.6 + LICENSEDIR=/builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT/usr/share/licenses/calcium-calculator + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT/usr/share/licenses/calcium-calculator + cp -pr /builddir/build/BUILD/calcium-calculator-7.10.6-build/CalC-complex-buffer-7.10.6/LIcense_gpl-3.0.txt /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT/usr/share/licenses/calcium-calculator + RPM_EC=0 ++ jobs -p + exit 0 Provides: calcium-calculator = 7.10.6-12.fc45 calcium-calculator(riscv-64) = 7.10.6-12.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGL.so.1()(64bit) libGLU.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) libgcc_s.so.1(GCC_3.0)(64bit) libglut.so.3()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) rtld(GNU_HASH) Processing files: calcium-calculator-debugsource-7.10.6-12.fc45.riscv64 Provides: calcium-calculator-debugsource = 7.10.6-12.fc45 calcium-calculator-debugsource(riscv-64) = 7.10.6-12.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: calcium-calculator-debuginfo-7.10.6-12.fc45.riscv64 Provides: calcium-calculator-debuginfo = 7.10.6-12.fc45 calcium-calculator-debuginfo(riscv-64) = 7.10.6-12.fc45 debuginfo(build-id) = ce1a48810dc09b9b6f31e922169779630e709bd2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: calcium-calculator-debugsource(riscv-64) = 7.10.6-12.fc45 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/calcium-calculator-7.10.6-build/BUILDROOT Wrote: /builddir/build/RPMS/calcium-calculator-7.10.6-12.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/calcium-calculator-debugsource-7.10.6-12.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/calcium-calculator-debuginfo-7.10.6-12.fc45.riscv64.rpm Child return code was: 0