Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/calcium-calculator.spec'], chrootPath='/var/lib/mock/f42-build-54659547-6528221/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.146yb7nr:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.146yb7nr:/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', 'abbdbc197b614f36926309ffd182d92d', '-D', '/var/lib/mock/f42-build-54659547-6528221/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.146yb7nr:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/calcium-calculator-7.10.6-7.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/calcium-calculator.spec'], chrootPath='/var/lib/mock/f42-build-54659547-6528221/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.146yb7nr:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.146yb7nr:/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', '991b9fcd7e47444b8e664926262785b2', '-D', '/var/lib/mock/f42-build-54659547-6528221/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.146yb7nr:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.MJTIVr + umask 022 + cd /builddir/build/BUILD/calcium-calculator-7.10.6-build + test -d /builddir/build/BUILD/calcium-calculator-7.10.6-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/calcium-calculator-7.10.6-build + /usr/bin/rm -rf /builddir/build/BUILD/calcium-calculator-7.10.6-build + /usr/bin/mkdir -p /builddir/build/BUILD/calcium-calculator-7.10.6-build + /usr/bin/mkdir -p /builddir/build/BUILD/calcium-calculator-7.10.6-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.04EaFJ + 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/lib/rpm/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=@1721174400 + GIT_AUTHOR_DATE=@1721174400 + /usr/bin/git commit -q --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/lib/rpm/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=@1721174400 + GIT_AUTHOR_DATE=@1721174400 + /usr/bin/git commit -q -m Makefile_v7.10.7.patch --author 'rpm-build ' + /usr/lib/rpm/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=@1721174400 + GIT_AUTHOR_DATE=@1721174400 + /usr/bin/git commit -q -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.3AUyD1 + umask 022 + cd /builddir/build/BUILD/calcium-calculator-7.10.6-build + CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,pack-relative-relocs -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 CalC-complex-buffer-7.10.6 + CFLAGS='-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,pack-relative-relocs -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 + /usr/bin/make -O -j6 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 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c g++ source/table.cpp -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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/box.cpp -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c g++ source/vector.cpp -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c g++ source/interpol.cpp -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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/loop.cpp -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c source/loop.cpp: In member function ‘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/gate.cpp -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c g++ source/markov.cpp -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c g++ source/syntax.cpp -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c source/syntax.cpp: In member function ‘int TokenString::trail_pars(long int, __va_list_tag*)’: 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 ‘TokenString::addToken(char const*, int, int)’: source/syntax.cpp:429:16: warning: ‘strncpy’ 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/simulation.cpp -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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: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/fplot.cpp -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 member function ‘BufferArray::BufferArray(TokenString&)’: source/field.cpp:2128:18: warning: ‘operator delete(void*, unsigned long)’ 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 ‘StrCpy(char const*)’, inlined from ‘TokenString::StrCpy(long)’ 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 ‘operator new[](unsigned long)’ 238 | { char *d = new char[strlen(s) + 1]; return strcpy(d, s); } | ^ source/field.cpp: In member function ‘BufferArray::BufferArray(TokenString&)’: source/field.cpp:2128:31: warning: ‘operator delete(void*, unsigned long)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 2128 | delete idUB; delete idSB; delete idDB; | ^~~~ In function ‘StrCpy(char const*, char const*)’, inlined from ‘BufferArray::BufferArray(TokenString&)’ at source/field.cpp:2083:23: source/syntax.h:242:51: note: returned from ‘operator new[](unsigned long)’ 242 | { char *d = new char[strlen(s1) + strlen(s2) + 2]; strcpy(d,s1); strcat(d,"."); return strcat(d, s2); } | ^ source/field.cpp: In member function ‘BufferArray::BufferArray(TokenString&)’: source/field.cpp:2128:44: warning: ‘operator delete(void*, unsigned long)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 2128 | delete idUB; delete idSB; delete idDB; | ^~~~ In function ‘StrCpy(char const*, char const*)’, inlined from ‘BufferArray::BufferArray(TokenString&)’ at source/field.cpp:2084:23: source/syntax.h:242:51: note: returned from ‘operator new[](unsigned long)’ 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,pack-relative-relocs -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 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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); } | ~~~~~^~~~~~~~~ source/box.cpp: In member function ‘__ct_base ’: source/box.cpp:251:60: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 251 | enclosures = new VolumeObjClass[encl_num]; | ^ /usr/include/c++/14/new:133:26: note: in a call to allocation function ‘operator new []’ declared here 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ source/box.cpp:252:60: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 252 | obstacles = obst_num ? new VolumeObjClass[obst_num] : 0; | ^ /usr/include/c++/14/new:133:26: note: in a call to allocation function ‘operator new []’ declared here 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ source/field.cpp: In member function ‘__ct_base ’: source/field.cpp:426:53: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 426 | fieldObstArray = new VolumeObjClass[fieldObstNum]; | ^ /usr/include/c++/14/new:133:26: note: in a call to allocation function ‘operator new []’ declared here 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ source/field.cpp: In member function ‘__ct_base ’: source/field.cpp:295:66: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 295 | fieldObstArray = fieldObstNum ? new VolumeObjClass[fieldObstNum] : 0; | ^ /usr/include/c++/14/new:133:26: note: in a call to allocation function ‘operator new []’ declared here 133 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iaKE1S + 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 -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,pack-relative-relocs -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 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 -j6 --strict-build-id -m -i --build-id-seed 7.10.6-7.fc42 --unique-debug-suffix -7.10.6-7.fc42.x86_64 --unique-debug-src-base calcium-calculator-7.10.6-7.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -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-7.fc42.x86_64 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 + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /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 Reading /builddir/build/BUILD/calcium-calculator-7.10.6-build/SPECPARTS/rpm-debuginfo.specpart Processing files: calcium-calculator-7.10.6-7.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Q03Hrn + 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.Dlutqc + 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-7.fc42 calcium-calculator(x86-64) = 7.10.6-7.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGL.so.1()(64bit) libGLU.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libglut.so.3()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(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-7.fc42.x86_64 Provides: calcium-calculator-debugsource = 7.10.6-7.fc42 calcium-calculator-debugsource(x86-64) = 7.10.6-7.fc42 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-7.fc42.x86_64 Provides: calcium-calculator-debuginfo = 7.10.6-7.fc42 calcium-calculator-debuginfo(x86-64) = 7.10.6-7.fc42 debuginfo(build-id) = 503ee987cfad53e5c48a0e422dbd2d5b0a0e3d27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: calcium-calculator-debugsource(x86-64) = 7.10.6-7.fc42 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-7.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/calcium-calculator-debugsource-7.10.6-7.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/calcium-calculator-debuginfo-7.10.6-7.fc42.x86_64.rpm Child return code was: 0