Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/seaview.spec'], chrootPath='/var/lib/mock/f43-build-59106720-6571136/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z3s5gzuj:/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.z3s5gzuj:/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', 'e08316fc81034b08949f387439128dc7', '-D', '/var/lib/mock/f43-build-59106720-6571136/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z3s5gzuj:/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/seaview.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=1737244800 Wrote: /builddir/build/SRPMS/seaview-5.0-12.fc43.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/seaview.spec'], chrootPath='/var/lib/mock/f43-build-59106720-6571136/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z3s5gzuj:/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.z3s5gzuj:/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', '2d3af00d4f674b75a0fb565365edac1c', '-D', '/var/lib/mock/f43-build-59106720-6571136/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.z3s5gzuj:/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/seaview.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=1737244800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.PobK0I Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3gsYAo + umask 022 + cd /builddir/build/BUILD/seaview-5.0-build + cd /builddir/build/BUILD/seaview-5.0-build + rm -rf seaview + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/seaview_5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd seaview + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (seaview-chris.patch): + echo 'Patch #0 (seaview-chris.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .chris --fuzz=0 patching file csrc/dnapars.c patching file csrc/phylip.c patching file csrc/phylip.h patching file csrc/protpars.c patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wWGPyh + umask 022 + cd /builddir/build/BUILD/seaview-5.0-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-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 seaview + make -j6 g++ -c -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 -Dunix -O2 -flto=auto -ffat-lto-objects -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 -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. -Icsrc -DDEFAULT_HELPFILE=\"/usr/share/doc/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -DNO_PDF seaview.cxx g++ -c -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 -Dunix -O2 -flto=auto -ffat-lto-objects -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 -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. -Icsrc -DDEFAULT_HELPFILE=\"/usr/share/doc/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -DNO_PDF custom.cxx g++ -c -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 -Dunix -O2 -flto=auto -ffat-lto-objects -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 -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. -Icsrc -DDEFAULT_HELPFILE=\"/usr/share/doc/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -DNO_PDF use_mase_files.cxx g++ -c -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 -Dunix -O2 -flto=auto -ffat-lto-objects -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 -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. -Icsrc -DDEFAULT_HELPFILE=\"/usr/share/doc/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -DNO_PDF regions.cxx g++ -c -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 -Dunix -O2 -flto=auto -ffat-lto-objects -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 -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. -Icsrc -DDEFAULT_HELPFILE=\"/usr/share/doc/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -DNO_PDF load_seq.cxx g++ -c -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 -Dunix -O2 -flto=auto -ffat-lto-objects -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 -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. -Icsrc -DDEFAULT_HELPFILE=\"/usr/share/doc/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -DNO_PDF align.cxx In file included from use_mase_files.cxx:2: pdf_or_ps.h:6:10: fatal error: FL/Fl_Graphics_Driver.H: No such file or directory 6 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:58: use_mase_files.o] Error 1 make: *** Waiting for unfinished jobs.... regions.cxx: In function ‘void save_active_region(SEA_VIEW*)’: regions.cxx:502:10: warning: variable ‘taille’ set but not used [-Wunused-but-set-variable] 502 | int tmp, taille; | ^~~~~~ regions.cxx: In function ‘int create_gblocks_mask(SEA_VIEW*, region*, int, int, int, int, int)’: regions.cxx:313:9: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 313 | system(cmd); | ~~~~~~^~~~~ seaview.cxx: In function ‘int delete_selected_seqs(SEA_VIEW*)’: seaview.cxx:1770:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 1770 | for(i = 0, j = 0; i< view->tot_seqs; i++) | ^~~ seaview.cxx:1773:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 1773 | memcpy(view->col_rank , temp_data, new_tot_seqs * sizeof(char *) ); | ^~~~~~ align.cxx: In function ‘void replace_stars(char*)’: align.cxx:1302:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1302 | fread(all, 1, l, in); | ~~~~~^~~~~~~~~~~~~~~ seaview.cxx: In function ‘void colors_callback(Fl_Widget*, void*)’: seaview.cxx:1924:15: warning: variable ‘item’ set but not used [-Wunused-but-set-variable] 1924 | Fl_Menu_Item *item; | ^~~~ seaview.cxx: In function ‘void delete_tmp_filename(const char*)’: seaview.cxx:653:9: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 653 | system(fname); | ~~~~~~^~~~~~~ seaview.cxx: In function ‘char* run_and_close_native_file_chooser(Fl_Native_File_Chooser*, int)’: seaview.cxx:2916:45: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2916 | if( *last_visited_directory )chdir(last_visited_directory); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ align.cxx: In function ‘edit_align_callback(Fl_Widget*, void*)’: align.cxx:944:30: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 944 | sprintf(resname, "msa_name_%d", view->alignment_algorithm + 1); | ^ In file included from /usr/include/stdio.h:970, from seaview.h:3, from align.cxx:1: In function ‘sprintf’, inlined from ‘edit_align_callback(Fl_Widget*, void*)’ at align.cxx:944:8: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 11 and 21 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘edit_align_callback(Fl_Widget*, void*)’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ In function ‘get_opt_resname(int)’, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32, inlined from ‘edit_align_callback(Fl_Widget*, void*)’ at align.cxx:946:21: align.cxx:991:18: note: directive argument in the range [-2147483647, 2147483647] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32, inlined from ‘edit_align_callback(Fl_Widget*, void*)’ at align.cxx:946:21: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘align_opt_callback(Fl_Widget*, long)’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ In function ‘get_opt_resname(int)’, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32, inlined from ‘align_opt_callback(Fl_Widget*, long)’ at align.cxx:968:22: align.cxx:991:18: note: directive argument in the range [1, 2147483647] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32, inlined from ‘align_opt_callback(Fl_Widget*, long)’ at align.cxx:968:22: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 24 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘align_opt_callback(Fl_Widget*, long)’: align.cxx:973:17: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] 973 | sprintf(tmp, "%d", reponse); | ^~ align.cxx:973:16: note: directive argument in the range [0, 2147483646] 973 | sprintf(tmp, "%d", reponse); | ^~~~ In function ‘sprintf’, inlined from ‘align_opt_callback(Fl_Widget*, long)’ at align.cxx:973:10: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 2 and 11 bytes into a destination of size 5 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘delete_align_callback(Fl_Widget*, void*)’: align.cxx:825:31: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 825 | sprintf(msa_name, "msa_name_%d", view->alignment_algorithm + 1); | ^ In function ‘sprintf’, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:825:8: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 11 and 21 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘delete_align_callback(Fl_Widget*, void*)’: align.cxx:835:39: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 835 | sprintf(msa_name, "msa_name_%d", num + 1); | ^ In function ‘sprintf’, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:835:9: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 11 and 21 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘delete_align_callback(Fl_Widget*, void*)’: align.cxx:837:39: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 837 | sprintf(msa_name, "msa_name_%d", num); | ^ In function ‘sprintf’, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:837:9: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 11 and 21 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘delete_align_callback(Fl_Widget*, void*)’: align.cxx:840:39: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 840 | sprintf(msa_name, "msa_args_%d", num + 1); | ^ In function ‘sprintf’, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:840:9: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 11 and 21 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘delete_align_callback(Fl_Widget*, void*)’: align.cxx:842:39: warning: ‘__sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 842 | sprintf(msa_name, "msa_args_%d", num); | ^ In function ‘sprintf’, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:842:9: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 11 and 21 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘delete_align_callback(Fl_Widget*, void*)’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ In function ‘get_opt_resname(int)’, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:845:24: align.cxx:991:18: note: directive argument in the range [-2147483646, 2147483647] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:845:24: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘delete_align_callback(Fl_Widget*, void*)’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ In function ‘get_opt_resname(int)’, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:853:39: align.cxx:991:18: note: directive argument in the range [-2147483647, 2147483646] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:853:39: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘delete_align_callback(Fl_Widget*, void*)’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ In function ‘get_opt_resname(int)’, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:849:26: align.cxx:991:18: note: directive argument in the range [-2147483647, 2147483646] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:849:26: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘delete_align_callback(Fl_Widget*, void*)’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ In function ‘get_opt_resname(int)’, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:861:23: align.cxx:991:18: note: directive argument in the range [-2147483647, 2147483647] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:861:23: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘delete_align_callback(Fl_Widget*, void*)’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ In function ‘get_opt_resname(int)’, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:873:21: align.cxx:991:18: note: directive argument in the range [-2147483647, 2147483647] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32, inlined from ‘delete_align_callback(Fl_Widget*, void*)’ at align.cxx:873:21: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ regions.cxx:291:26: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 496 [-Wformat-overflow=] 291 | sprintf(cmd, "\"%s\" \"%s\" -p=s -t=%c", q, fname, view->protein?'p':'d'); | ^~ ~~~~~ In file included from /usr/include/stdio.h:970, from seaview.h:3, from regions.cxx:1: In function ‘sprintf’, inlined from ‘create_gblocks_mask(_SEA_VIEW*, region*, int, int, int, int, int)’ at regions.cxx:291:10: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output 16 or more bytes (assuming 4111) into a destination of size 500 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ regions.cxx: In function ‘create_gblocks_mask(_SEA_VIEW*, region*, int, int, int, int, int)’: regions.cxx:343:42: warning: ‘last’ may be used uninitialized [-Wmaybe-uninitialized] 343 | memmove(cmd, last, l + 1 - (last - cmd)); | ~~~~~^~~~~ regions.cxx:246:56: note: ‘last’ was declared here 246 | char base_fname[PATH_MAX], fname[PATH_MAX], *p, *q, *last; | ^~~~ align.cxx: In function ‘calc_msa_command(_SEA_VIEW*, char*, void (*)(char const*, ...))’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ In function ‘get_opt_resname(int)’, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32, inlined from ‘calc_msa_command(_SEA_VIEW*, char*, void (*)(char const*, ...))’ at align.cxx:614:24: align.cxx:991:18: note: directive argument in the range [-2147483647, 2147483647] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32, inlined from ‘calc_msa_command(_SEA_VIEW*, char*, void (*)(char const*, ...))’ at align.cxx:614:24: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘cre_align_menu(_SEA_VIEW*)’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ In function ‘get_opt_resname(int)’, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32, inlined from ‘cre_align_menu(_SEA_VIEW*)’ at align.cxx:749:23: align.cxx:991:18: note: directive argument in the range [-2147483647, 2147483647] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32, inlined from ‘cre_align_menu(_SEA_VIEW*)’ at align.cxx:749:23: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ regions.cxx: In function ‘site_mask_creation_dialog(_SEA_VIEW*, position_mask*)’: regions.cxx:745:10: warning: ‘retval’ may be used uninitialized [-Wmaybe-uninitialized] 745 | return retval; | ^~~~~~ regions.cxx:687:15: note: ‘retval’ was declared here 687 | const char *retval; | ^~~~~~ align.cxx: In function ‘get_algo_opts(int, char**)’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ In function ‘get_opt_resname(int)’, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32: align.cxx:991:18: note: directive argument in the range [-2147483647, 2147483647] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8, inlined from ‘get_algo_opts(int, char**)’ at align.cxx:982:32: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘get_opt_resname(int)’: align.cxx:991:32: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~ align.cxx:991:18: note: directive argument in the range [-2147483647, 2147483647] 991 | sprintf(resname, "msa_opt_args_%d", algonum + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘get_opt_resname(int)’ at align.cxx:991:8: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘save_fasta_file_no_gaponly(char*, char**, int, int*, int*)’: align.cxx:1345:42: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=] 1345 | sprintf(seqname[num], "S_%d", num); | ^~ align.cxx:1345:39: note: directive argument in the range [0, 2147483646] 1345 | sprintf(seqname[num], "S_%d", num); | ^~~~~~ In function ‘sprintf’, inlined from ‘save_fasta_file_no_gaponly(char*, char**, int, int*, int*)’ at align.cxx:1345:10: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 4 and 13 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘unalign(_SEA_VIEW*)’: align.cxx:1415:91: warning: ‘calc_color_function’ may be used uninitialized [-Wmaybe-uninitialized] 1415 | view->col_rank[num][i] = (char)calc_color_function( res ); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ align.cxx:1387:15: note: ‘calc_color_function’ was declared here 1387 | int (*calc_color_function)(int); | ^~~~~~~~~~~~~~~~~~~ seaview.cxx: In function ‘help_callback(Fl_Widget*, void*)’: seaview.cxx:3633:53: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 3633 | "Help file %s\nnot found in PATH directories nor in current directory", help_file | ^~ align.cxx: In function ‘replace_align_part(_SEA_VIEW*, int, int, char*, int, int, int*, align_choice, char const**)’: align.cxx:455:83: warning: ‘calc_color_function’ may be used uninitialized [-Wmaybe-uninitialized] 455 | view->col_rank[num][i] = (char)calc_color_function( res ); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ align.cxx:300:7: note: ‘calc_color_function’ was declared here 300 | int (*calc_color_function)(int); | ^~~~~~~~~~~~~~~~~~~ seaview.cxx: In function ‘draw_header(Fl_Widget*, _SEA_VIEW*) [clone .part.0]’: seaview.cxx:1141:23: warning: ‘%7d’ directive writing between 7 and 11 bytes into a region of size 10 [-Wformat-overflow=] 1141 | sprintf(site_line, "%7d", view->first_site + view->tot_sites - 1); | ^~~ seaview.cxx:1141:22: note: directive argument in the range [-2147483648, 2147483646] 1141 | sprintf(site_line, "%7d", view->first_site + view->tot_sites - 1); | ^~~~~ In file included from /usr/include/stdio.h:970, from seaview.h:3, from seaview.cxx:67: In function ‘sprintf’, inlined from ‘draw_header(Fl_Widget*, _SEA_VIEW*) [clone .part.0]’ at seaview.cxx:1141:10: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 8 and 12 bytes into a destination of size 10 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ align.cxx: In function ‘profile_align(_SEA_VIEW*)’: align.cxx:1281:90: warning: ‘calc_color_function’ may be used uninitialized [-Wmaybe-uninitialized] 1281 | view->col_rank[table[num]][i] = (char)calc_color_function( res ); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ align.cxx:1108:15: note: ‘calc_color_function’ was declared here 1108 | int (*calc_color_function)(int); | ^~~~~~~~~~~~~~~~~~~ align.cxx: In function ‘command_line_align(int, char**)’: align.cxx:1507:37: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=] 1507 | sprintf(opt_name, "msa_opt_args_%d", view->alignment_algorithm + 1); | ^~ align.cxx:1507:23: note: directive argument in the range [-2147483647, 2147483647] 1507 | sprintf(opt_name, "msa_opt_args_%d", view->alignment_algorithm + 1); | ^~~~~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘command_line_align(int, char**)’ at align.cxx:1507:12: /usr/include/bits/stdio2.h:30:34: note: ‘__sprintf_chk’ output between 15 and 25 bytes into a destination of size 20 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ seaview.cxx: In function ‘goto_callback(Fl_Widget*, void*)’: seaview.cxx:2745:16: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 2745 | strncpy(target, p, l); target[l] = 0; majuscules(target); | ^ seaview.cxx:2743:19: note: length computed here 2743 | l = strlen(p); | ~~~~~~^~~ In file included from /usr/include/string.h:548, from seaview.h:5: In function ‘memset’, inlined from ‘insert_gaps_at(_SEA_VIEW*, int, int, int)’ at seaview.cxx:3691:8: /usr/include/bits/string_fortified.h:59:33: warning: ‘gapcolor’ may be used uninitialized [-Wmaybe-uninitialized] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ seaview.cxx: In function ‘insert_gaps_at(_SEA_VIEW*, int, int, int)’: seaview.cxx:3671:8: note: ‘gapcolor’ was declared here 3671 | int l, gapcolor, *plength; | ^~~~~~~~ seaview.cxx: In function ‘del_gap_only_sites(_SEA_VIEW*)’: seaview.cxx:1707:23: warning: ‘debut’ may be used uninitialized [-Wmaybe-uninitialized] 1707 | count = position - debut; | ~~~~~~^~~~~~~~~~~~~~~~~~ seaview.cxx:1686:39: note: ‘debut’ was declared here 1686 | int position, numseq, allgaps, inrun, debut, count; | ^~~~~ seaview.cxx: In function ‘delete_selected_seqs(_SEA_VIEW*)’: seaview.cxx:1741:48: warning: ‘temp_data’ may be used uninitialized [-Wmaybe-uninitialized] 1741 | if( ! view->sel_seqs[i] ) temp_data[j++] = (void *) view->sequence[i]; | ^ seaview.cxx:1729:8: note: ‘temp_data’ was declared here 1729 | void **temp_data; | ^~~~~~~~~ seaview.cxx:1766:47: warning: ‘temp_int’ may be used uninitialized [-Wmaybe-uninitialized] 1766 | if( ! view->sel_seqs[i] ) temp_int[j++]= view->each_length[i]; | ^ seaview.cxx:1731:26: note: ‘temp_int’ was declared here 1731 | int new_tot_seqs, i, j, *temp_int, numset; | ^~~~~~~~ seaview.cxx: In function ‘edit_menu_callback(Fl_Widget*, void*)’: seaview.cxx:2580:17: warning: ‘new_pos’ may be used uninitialized [-Wmaybe-uninitialized] 2580 | new_pos += 2; | ~~~~~~~~^~~~ seaview.cxx:2564:30: note: ‘new_pos’ was declared here 2564 | int old_total, *tmp, new_pos, i, old_first_seq; | ^~~~~~~ seaview.cxx: In function ‘handle_keyboard(_SEA_VIEW*, unsigned int, int)’: seaview.cxx:4630:9: warning: ‘count_each’ may be used uninitialized [-Wmaybe-uninitialized] 4630 | if(count_each == multipl && | ^~ seaview.cxx:4594:20: note: ‘count_each’ was declared here 4594 | int count, count_each, debut, fin, test; | ^~~~~~~~~~ seaview.cxx:4757:17: warning: ‘count_each’ may be used uninitialized [-Wmaybe-uninitialized] 4757 | if(count_each == multipl && | ^~ seaview.cxx:4692:39: note: ‘count_each’ was declared here 4692 | int newlength = 0, count = 0, count_each, debut, fin, test; | ^~~~~~~~~~ seaview.cxx:4681:9: warning: ‘count_each’ may be used uninitialized [-Wmaybe-uninitialized] 4681 | if(count_each == multipl && view->regions != NULL) | ^~ seaview.cxx:4658:13: note: ‘count_each’ was declared here 4658 | int count_each; | ^~~~~~~~~~ seaview.cxx:4640:17: warning: ‘count’ may be used uninitialized [-Wmaybe-uninitialized] 4640 | new_pos = view->cursor_site - count; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ seaview.cxx:4594:13: note: ‘count’ was declared here 4594 | int count, count_each, debut, fin, test; | ^~~~~ error: Bad exit status from /var/tmp/rpm-tmp.wWGPyh (%build) Bad exit status from /var/tmp/rpm-tmp.wWGPyh (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 2d3af00d4f674b75a0fb565365edac1c -D /var/lib/mock/f43-build-59106720-6571136/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.z3s5gzuj:/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/seaview.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 2d3af00d4f674b75a0fb565365edac1c -D /var/lib/mock/f43-build-59106720-6571136/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.z3s5gzuj:/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/seaview.spec'