• Bug#1102776: seaview: FTBFS: /usr/bin/ld: ././treerecs_draw.cxx:793:(.t

    From Santiago Vila@21:1/5 to All on Sat Apr 12 18:30:04 2025
    Package: src:seaview
    Version: 1:5.0.5-2
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean
    dh_auto_clean
    dh_clean
    debian/rules binary
    dh binary
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure
    dh_auto_build
    make -j2 "INSTALL=install --strip-program=true"
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF seaview.cxx
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF custom.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    seaview.cxx: In function ‘void delete_tmp_filename(const char*)’: seaview.cxx:636:9: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    636 | system(fname);
    | ~~~~~~^~~~~~~
    seaview.cxx: In function ‘char* run_and_close_native_file_chooser(Fl_Native_File_Chooser*, int)’:
    seaview.cxx:2899:45: warning: ignoring return value of ‘int chdir(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    2899 | if( *last_visited_directory )chdir(last_visited_directory);
    | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ seaview.cxx: In function ‘void help_callback(Fl_Widget*, void*)’: seaview.cxx:3618:53: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
    3618 | "Help file %s\nnot found in PATH directories nor in current directory", help_file
    | ^~
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF use_mase_files.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    seaview.cxx: In function ‘void draw_header(Fl_Widget*, SEA_VIEW*)’: seaview.cxx:1124:23: warning: ‘%7d’ directive writing between 7 and 11 bytes into a region of size 10 [-Wformat-overflow=]
    1124 | sprintf(site_line, "%7d", view->first_site + view->tot_sites - 1);
    | ^~~
    In function ‘void draw_header(Fl_Widget*, SEA_VIEW*)’,
    inlined from ‘void draw_header(Fl_Widget*, SEA_VIEW*)’ at seaview.cxx:1108:6:
    seaview.cxx:1124:22: note: directive argument in the range [-2147483648, 2147483646]
    1124 | 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 ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘void draw_header(Fl_Widget*, SEA_VIEW*)’ at seaview.cxx:1124:10,
    inlined from ‘void draw_header(Fl_Widget*, SEA_VIEW*)’ at seaview.cxx:1108:6:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ());
    | ~~~~~~~~~~~~~~~~~
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF regions.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF load_seq.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    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);
    | ~~~~~~^~~~~
    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 ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘int create_gblocks_mask(SEA_VIEW*, region*, int, int, int, int, int)’ at regions.cxx:291:10:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ());
    | ~~~~~~~~~~~~~~~~~
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF align.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    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);
    | ~~~~~^~~~~~~~~~~~~~~
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF xfmatpt.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    align.cxx: In function ‘char* 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 file included from /usr/include/stdio.h:970,
    from seaview.h:3,
    from align.cxx:1:
    In function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘char* get_opt_resname(int)’ at align.cxx:991:8: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ‘void delete_align_callback(Fl_Widget*, void*)’: align.cxx:825:31: warning: ‘__builtin___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 ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘void delete_align_callback(Fl_Widget*, void*)’ at align.cxx:825:8:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ‘void delete_align_callback(Fl_Widget*, void*)’: align.cxx:835:39: warning: ‘__builtin___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 ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘void delete_align_callback(Fl_Widget*, void*)’ at align.cxx:835:9:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ‘void delete_align_callback(Fl_Widget*, void*)’: align.cxx:837:39: warning: ‘__builtin___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 ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘void delete_align_callback(Fl_Widget*, void*)’ at align.cxx:837:9:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ‘void delete_align_callback(Fl_Widget*, void*)’: align.cxx:840:39: warning: ‘__builtin___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 ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘void delete_align_callback(Fl_Widget*, void*)’ at align.cxx:840:9:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ‘void delete_align_callback(Fl_Widget*, void*)’: align.cxx:842:39: warning: ‘__builtin___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 ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘void delete_align_callback(Fl_Widget*, void*)’ at align.cxx:842:9:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ‘void edit_align_callback(Fl_Widget*, void*)’: align.cxx:944:30: warning: ‘__builtin___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 function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘void edit_align_callback(Fl_Widget*, void*)’ at align.cxx:944:8:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ‘void align_opt_callback(Fl_Widget*, long int)’: 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 ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘void align_opt_callback(Fl_Widget*, long int)’ at align.cxx:973:10:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ‘int 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 ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘int save_fasta_file_no_gaponly(char*, char**, int, int*, int*)’ at align.cxx:1345:10:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ());
    | ~~~~~~~~~~~~~~~~~
    xfmatpt.cxx: In function ‘void change_comput_params(Fl_Widget*, void*)’: xfmatpt.cxx:750:24: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
    750 | sprintf(tmp,"%d", fdui->identites);
    | ^
    In file included from /usr/include/stdio.h:970,
    from seaview.h:3,
    from matpt.h:3,
    from xfmatpt.cxx:1:
    In function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘void change_comput_params(Fl_Widget*, void*)’ at xfmatpt.cxx:750:9:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 2 and 11 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 ());
    | ~~~~~~~~~~~~~~~~~
    xfmatpt.cxx: In function ‘int really_close(FD_matpt*)’:
    xfmatpt.cxx:889:5: warning: ‘void free(void*)’ called on pointer ‘*matpt.FD_matpt::seq1’ with nonzero offset 1 [-Wfree-nonheap-object]
    889 | free(matpt->seq1 + 1);
    | ~~~~^~~~~~~~~~~~~~~~~
    xfmatpt.cxx:890:5: warning: ‘void free(void*)’ called on pointer ‘*matpt.FD_matpt::seq2’ with nonzero offset 1 [-Wfree-nonheap-object]
    890 | free(matpt->seq2 + 1);
    | ~~~~^~~~~~~~~~~~~~~~~
    align.cxx: In function ‘int 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 ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘int command_line_align(int, char**)’ at align.cxx:1507:12:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___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 ());
    | ~~~~~~~~~~~~~~~~~
    xfmatpt.cxx: In function ‘void show_dot_plot(char*, char*, char*, char*, int, int, int, void*)’:
    xfmatpt.cxx:124:21: warning: ‘void free(void*)’ called on pointer ‘*matpt.FD_matpt::seq1’ with nonzero offset 1 [-Wfree-nonheap-object]
    124 | free(matpt->seq1+1);
    | ~~~~^~~~~~~~~~~~~~~
    xfmatpt.cxx:125:21: warning: ‘void free(void*)’ called on pointer ‘*matpt.FD_matpt::seq2’ with nonzero offset 1 [-Wfree-nonheap-object]
    125 | free(matpt->seq2+1);
    | ~~~~^~~~~~~~~~~~~~~
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF comlines.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF resource.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF nexus.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF viewasprots.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF racnuc_fetch.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF concatenate.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF statistics.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF trees.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    trees.cxx: In function ‘void run_phyml_callback(Fl_Widget*, void*)’: trees.cxx:1301:16: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    1301 | fread(bootstrap_trees, l, 1, in);
    | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
    trees.cxx: In function ‘void command_line_phylogeny(int, char**)’: trees.cxx:2794:12: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    2794 | fread(utree, s, 1, in);
    | ~~~~~^~~~~~~~~~~~~~~~~
    g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_XFT -I/usr/include/
    freetype2 -DFLTK1 -Dunix -Icsrc -I. -DNO_PDF -DDEFAULT_HELPFILE=\"/usr/share/seaview/seaview.html\" -DPHYMLNAME=\"phyml\" -fPIC -Dunix -O3 -I. -Icsrc -DNO_PDF treedraw.cxx
    cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
    trees.cxx: In function ‘char* run_parsimony_method(SEA_VIEW*, int, const char*, int, int, int, int, Fl_Box*, dnapars_S_option, const char**, float, int, char**, void (*)(const char*, ...))’:
    trees.cxx:2379:54: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=]
    2379 | sprintf(tmp, "Bootstrap replicate: %d", j + 1);
    | ^~
    In function ‘char* parsimony_with_bootstrap(allseq*, char**, char**, int, int, int, int*, int, int, Fl_Box*, int*, dnapars_S_option, int, float, int*, char**)’,
    inlined from ‘char* run_parsimony_method(SEA_VIEW*, int, const char*, int, int, int, int, Fl_Box*, dnapars_S_option, const char**, float, int, char**, void (*)(const char*, ...))’ at trees.cxx:2067:36:
    trees.cxx:2379:32: note: directive argument in the range [1, 2147483647]
    2379 | sprintf(tmp, "Bootstrap replicate: %d", j + 1);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /usr/include/stdio.h:970,
    from seaview.h:3,
    from trees.cxx:6:
    In function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘char* parsimony_with_bootstrap(allseq*, char**, char**, int, int, int, int*, int, int, Fl_Box*, int*, dnapars_S_option, int, float, int*, char**)’ at trees.cxx:2379:12,
    inlined from ‘char* run_parsimony_method(SEA_VIEW*, int, const char*, int, int, int, int, Fl_Box*, dnapars_S_option, const char**, float, int, char**, void (*)(const char*, ...))’ at trees.cxx:2067:36:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 23 and 32 bytes into a destination of size 30
    30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    31 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    32 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~
    trees.cxx: In function ‘char* run_parsimony_method(SEA_VIEW*, int, const char*, int, int, int, int, Fl_Box*, dnapars_S_option, const char**, float, int, char**, void (*)(const char*, ...))’:
    trees.cxx:2073:57: warning: ‘ best trees, ’ directive writing 13 bytes into a region of size between 12 and 21 [-Wformat-overflow=]
    2073 | if (count_best > 1) sprintf(best, "consensus of %d best trees, ", count_best);
    | ^~~~~~~~~~~~~ In function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘char* run_parsimony_method(SEA_VIEW*, int, const char*, int, int, int, int, Fl_Box*, dnapars_S_option, const char**, float, int, char**, void (*)(const char*, ...))’ at trees.cxx:2073:34:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 28 and 37 bytes into a destination of size 35
    30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    31 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    32 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~
    trees.cxx: In function ‘void run_phyml_callback(Fl_Widget*, void*)’: trees.cxx:1181:56: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 995 [-Wformat-overflow=]
    1181 | sprintf(args + strlen(args), " -u \"%s\"", tmp);
    | ^~ ~~~
    In function ‘int sprintf(char*, const char*, ...)’,
    inlined from ‘void run_phyml_callback(Fl_Widget*, void*)’ at trees.cxx:1181:13:
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 7 and 4102 bytes into a destination of size 1000
    30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
    | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    31 | __glibc_objsize (__s), __fmt,
    | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    32 | __va_arg_pack ());
    | ~~~~~~~~~~~~~~~~~

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)