Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lagan.spec'], chrootPath='/var/lib/mock/f29-build-9544-4276/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lagan.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/lagan-2.0-23.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lagan.spec'], chrootPath='/var/lib/mock/f29-build-9544-4276/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lagan.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hO1OKf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lagan20 + /usr/bin/gzip -dc /builddir/build/SOURCES/lagan20.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lagan20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (lagan20-chris.patch):' Patch #0 (lagan20-chris.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .chris --fuzz=0 patching file Readmes/README.FIRST patching file Readmes/README.shuffle patching file Readmes/README.chaos patching file Readmes/README.lagan patching file src/utils/scorealign.c patching file src/utils/Glue.cpp patching file src/utils/mrun.pl patching file src/utils/mrunfile.pl patching file src/utils/mrunpairs.pl patching file src/utils/mviz.pl patching file src/mlagan.c patching file src/prolagan.c patching file src/slagan-mfa.pl patching file src/supermap.pl patching file src/xmfa2mfa.pl patching file utils/mrunpairs.pl patching file utils/draft.pl patching file utils/mrunfile.pl patching file utils/mviz.pl patching file utils/mrun.pl patching file slagan.pl patching file lagan.pl patching file rechaos.pl patching file slagan-mfa.pl patching file supermap.pl patching file xmfa2mfa.pl patching file src/glocal/rightinfluence.cpp patching file src/glocal/score.cpp + sed -i 's/^CC .*$/CC = gcc $(RPM_OPT_FLAGS)/; BUILDSTDERR: s/^CPP .*$/CPP = g++ $(RPM_OPT_FLAGS)/' Makefile + sed -i 's|getenv ("LAGAN_DIR")|"/usr/lib64/lagan"|g' src/anchors.c src/diagmatrix.c src/fchaos.c src/filebuffer.c src/global.c src/mempage.c src/mlagan.c src/multial.c src/order.c src/prolagan.c src/skiplist.c src/sortlist.c src/thrtrie.c src/translate.c src/utils/bin2bl.c src/utils/bin2mf.c src/utils/cextract.c src/utils/contigorder.c src/utils/cstat.c src/utils/fa2xfa.c src/utils/getbounds.c src/utils/getcontigpos.c src/utils/getlength.c src/utils/getoverlap.c src/utils/overlay.c src/utils/rc.c src/utils/scorealign.c src/utils/scorecontigs.c src/utils/seqmerge.c + sed -i 's|getenv ("LAGAN_DIR")|"/usr/lib64/lagan"|g' src/utils/Glue.cpp src/utils/dotplot.cpp + sed -i 's|$ENV{LAGAN_DIR}|"/usr/lib64/lagan"|g' anal_gloc.pl lagan.pl rechaos.pl slagan-mfa.pl slagan.pl supermap.pl xmfa2mfa.pl src/anal_gloc.pl src/lagan.pl src/rechaos.pl src/slagan-mfa.pl src/slagan.pl src/supermap.pl src/xmfa2mfa.pl utils/cmerge2.pl utils/draft.pl utils/flipchaos.pl utils/mextract.pl utils/mf2bin.pl utils/mpretty.pl utils/mproject.pl utils/mrun.pl utils/mrunfile.pl utils/mrunpairs.pl utils/msplit.pl utils/mviz.pl src/utils/cmerge2.pl src/utils/draft.pl src/utils/mextract.pl src/utils/mf2bin.pl src/utils/mpretty.pl src/utils/mproject.pl src/utils/mrun.pl src/utils/mrunfile.pl src/utils/mrunpairs.pl src/utils/mviz.pl + sed -i 's|$LAGAN_DIR|/usr/lib64/lagan|g' Readmes/README.shuffle src/anchors.c src/diagmatrix.c src/fchaos.c src/filebuffer.c src/global.c src/mempage.c src/mlagan.c src/multial.c src/order.c src/prolagan.c src/skiplist.c src/sortlist.c src/thrtrie.c src/translate.c + sed -i s/getline/GetLine/g src/anchors.c + rm prolagan + chmod -x src/glocal/Makefile src/glocal/default.score src/glocal/glocal src/glocal/glocal.cpp src/glocal/glocal.h src/glocal/io.cpp src/glocal/io.h src/glocal/leftinfluence.cpp src/glocal/leftinfluence.h src/glocal/rightinfluence.cpp src/glocal/rightinfluence.cpp.chris src/glocal/rightinfluence.h src/glocal/score.cpp src/glocal/score.cpp.chris src/glocal/score.h src/glocal/structs.h src/glocal/test.score + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6Zobmv + umask 022 + cd /builddir/build/BUILD + cd lagan20 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' (cd src; make) make[1]: Entering directory '/builddir/build/BUILD/lagan20/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../anchors anchors.c skiplist.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../chaos fchaos.c thrtrie.c skiplist.c global.c translate.c filebuffer.c -lm -DCHAOS__FLAG gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../order order.c diagmatrix.c filebuffer.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../mlagan mlagan.c multial.c diagmatrix.c skiplist.c filebuffer.c -lm -DMULTIAL__FLAG BUILDSTDERR: order.c: In function 'readAncFile': BUILDSTDERR: order.c:237:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if ((tt->seq1start >= s1start && tt->seq1end <= s1end || s1start == 0 && s1end == 0) && BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: order.c:238:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: (tt->seq2start >= s2start && tt->seq2end <= s2end || s2start == 0 && s2end == 0)){ BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: anchors.c: In function 'hptrcomp': BUILDSTDERR: anchors.c:49:7: warning: unused variable 'jt' [-Wunused-variable] BUILDSTDERR: int jt = ((hptr*)p2)->isstart; BUILDSTDERR: ^~ BUILDSTDERR: order.c: In function 'mkBarrel': BUILDSTDERR: order.c:274:7: warning: unused variable 'incr' [-Wunused-variable] BUILDSTDERR: int incr; BUILDSTDERR: ^~~~ BUILDSTDERR: anchors.c: In function 'doOutput': BUILDSTDERR: anchors.c:171:17: warning: unused variable 'bestscore' [-Wunused-variable] BUILDSTDERR: int chl=0, i, bestscore=-1; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: anchors.c:171:14: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int chl=0, i, bestscore=-1; BUILDSTDERR: ^ BUILDSTDERR: anchors.c:168:7: warning: variable 'len' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int len; BUILDSTDERR: ^~~ BUILDSTDERR: order.c: In function 'doAlign': BUILDSTDERR: order.c:409:5: warning: implicit declaration of function 'printMFAAlign'; did you mean 'printBinAlign'? [-Wimplicit-function-declaration] BUILDSTDERR: printMFAAlign(seq1->lets, seq2->lets, a, seq1->name, seq2->name); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: printBinAlign BUILDSTDERR: order.c:411:5: warning: implicit declaration of function 'printXMFAAlign'; did you mean 'printTextAlign'? [-Wimplicit-function-declaration] BUILDSTDERR: printXMFAAlign(seq1->lets, seq2->lets, a, seq1->name, seq2->name); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: printTextAlign BUILDSTDERR: order.c: In function 'getChain': BUILDSTDERR: order.c:486:7: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: int temp; BUILDSTDERR: ^~~~ BUILDSTDERR: order.c: In function 'saveNeck': BUILDSTDERR: order.c:561:6: warning: unused variable 'second' [-Wunused-variable] BUILDSTDERR: *second = DMgetDiagStart(mydm, neckdiag, &size2, &x2, &y2); BUILDSTDERR: ^~~~~~ BUILDSTDERR: order.c:560:9: warning: unused variable 'first' [-Wunused-variable] BUILDSTDERR: alel *first = DMgetDiagStart(mydm, neckdiag-1, &size1, &x1, &y1), BUILDSTDERR: ^~~~~ BUILDSTDERR: order.c: In function 'joinAligns': BUILDSTDERR: order.c:586:10: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: align *n = a->nextalign, *t; BUILDSTDERR: ^ BUILDSTDERR: order.c: In function 'printBinAlign': BUILDSTDERR: order.c:718:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: left = lets[seq1[s1++]]; BUILDSTDERR: ^ BUILDSTDERR: order.c:720:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: right = lets[seq2[s2++]]; BUILDSTDERR: ^ BUILDSTDERR: order.c: In function 'printMFAAlign': BUILDSTDERR: order.c:773:27: warning: unused variable 'nlets' [-Wunused-variable] BUILDSTDERR: int nm=0, nga=0, ngb=0, nlets=0; BUILDSTDERR: ^~~~~ BUILDSTDERR: order.c:773:7: warning: unused variable 'nm' [-Wunused-variable] BUILDSTDERR: int nm=0, nga=0, ngb=0, nlets=0; BUILDSTDERR: ^~ BUILDSTDERR: order.c: In function 'printXMFAAlign': BUILDSTDERR: order.c:805:27: warning: unused variable 'nlets' [-Wunused-variable] BUILDSTDERR: int nm=0, nga=0, ngb=0, nlets=0; BUILDSTDERR: ^~~~~ BUILDSTDERR: order.c:805:7: warning: unused variable 'nm' [-Wunused-variable] BUILDSTDERR: int nm=0, nga=0, ngb=0, nlets=0; BUILDSTDERR: ^~ BUILDSTDERR: order.c: In function 'readfile': BUILDSTDERR: order.c:61:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp, 255, input); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: order.c: In function 'readSubstMatrix': BUILDSTDERR: order.c:145:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &(substmatrix[(unsigned char) symbs[i]][(unsigned char) symbs[j]])); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: order.c:149:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &gapstart); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: order.c:150:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &gapcont); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: anchors.c: In function 'GetLine': BUILDSTDERR: anchors.c:232:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp, 1024, infile); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mlagan.c: In function 'hptrcomp': BUILDSTDERR: mlagan.c:38:7: warning: unused variable 'jt' [-Wunused-variable] BUILDSTDERR: int jt = ((hptr*)p2)->isstart; BUILDSTDERR: ^~ BUILDSTDERR: mlagan.c: In function 'readfile': BUILDSTDERR: mlagan.c:93:25: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: fprintf(stderr, "Warning: %c converted to 'N'\n", currchar, alpha); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mlagan.c: In function 'getAnchsFromFile': BUILDSTDERR: mlagan.c:161:29: warning: unused variable 'first' [-Wunused-variable] BUILDSTDERR: hll *myres = 0, *tt = 0, *first = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: fchaos.c: In function 'removeDups': BUILDSTDERR: fchaos.c:302:24: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: hll *i, *j, *jprev, *temp; BUILDSTDERR: ^~~~ BUILDSTDERR: mlagan.c: In function 'generateAnchors': BUILDSTDERR: mlagan.c:213:8: warning: unused variable 'flip' [-Wunused-variable] BUILDSTDERR: char flip = 0; BUILDSTDERR: ^~~~ BUILDSTDERR: mlagan.c:211:10: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: align* temp; BUILDSTDERR: ^~~~ BUILDSTDERR: fchaos.c: In function 'readfile': BUILDSTDERR: mlagan.c: In function 'remakeHLL': BUILDSTDERR: fchaos.c:357:18: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: fprintf(stderr, "WARNING %c converted to N\n", currchar, alpha); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mlagan.c:310:10: warning: unused variable 'bestscore' [-Wunused-variable] BUILDSTDERR: int i, bestscore=-1; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: mlagan.c:310:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, bestscore=-1; BUILDSTDERR: ^ BUILDSTDERR: mlagan.c:309:20: warning: unused variable 't3' [-Wunused-variable] BUILDSTDERR: hll *temp, *t2, *t3; BUILDSTDERR: ^~ BUILDSTDERR: mlagan.c:309:15: warning: unused variable 't2' [-Wunused-variable] BUILDSTDERR: hll *temp, *t2, *t3; BUILDSTDERR: ^~ BUILDSTDERR: mlagan.c:307:7: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: int len; BUILDSTDERR: ^~~ BUILDSTDERR: fchaos.c: In function 'chain': BUILDSTDERR: fchaos.c:401:16: warning: unused variable 'd2' [-Wunused-variable] BUILDSTDERR: int i, d1=0, d2=0; BUILDSTDERR: ^~ BUILDSTDERR: fchaos.c:401:10: warning: unused variable 'd1' [-Wunused-variable] BUILDSTDERR: int i, d1=0, d2=0; BUILDSTDERR: ^~ BUILDSTDERR: fchaos.c:401:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, d1=0, d2=0; BUILDSTDERR: ^ BUILDSTDERR: order.c: In function 'printBinAlign': BUILDSTDERR: order.c:725:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: mlagan.c: In function 'iterativeImprovement': BUILDSTDERR: mlagan.c:485:10: warning: unused variable 'readd' [-Wunused-variable] BUILDSTDERR: align *readd, *old, *new; BUILDSTDERR: ^~~~~ BUILDSTDERR: mlagan.c:483:12: warning: unused variable 'oldscore' [-Wunused-variable] BUILDSTDERR: int i=0, oldscore, cutoff; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: order.c: In function 'printTextAlign': BUILDSTDERR: order.c:769:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: mlagan.c: In function 'treeToRPN': BUILDSTDERR: mlagan.c:528:16: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i=0; int j, k; BUILDSTDERR: ^ BUILDSTDERR: order.c: In function 'printMFAAlign': BUILDSTDERR: order.c:801:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: fchaos.c: In function 'findPrev': BUILDSTDERR: fchaos.c:440:7: warning: unused variable 'doneset' [-Wunused-variable] BUILDSTDERR: int doneset = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: order.c: In function 'printXMFAAlign': BUILDSTDERR: order.c:833:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: fchaos.c: In function 'doAlgo': BUILDSTDERR: fchaos.c:543:24: warning: unused variable 'bestdbaseloc' [-Wunused-variable] BUILDSTDERR: int bestqueryloc=-1, bestdbaseloc=-1, numhits; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: fchaos.c:543:7: warning: unused variable 'bestqueryloc' [-Wunused-variable] BUILDSTDERR: int bestqueryloc=-1, bestdbaseloc=-1, numhits; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: fchaos.c:542:9: warning: unused variable 'bestscore' [-Wunused-variable] BUILDSTDERR: float bestscore=-1, baseval; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: mlagan.c: In function 'main': BUILDSTDERR: mlagan.c:1067:5: warning: implicit declaration of function 'printXMFAAlign'; did you mean 'printFASTAAlign'? [-Wimplicit-function-declaration] BUILDSTDERR: printXMFAAlign(outfile, final); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: printFASTAAlign BUILDSTDERR: mlagan.c:942:8: warning: unused variable 'command' [-Wunused-variable] BUILDSTDERR: char command[256]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mlagan.c:941:24: warning: unused variable 'y' [-Wunused-variable] BUILDSTDERR: int i = 1, j = 1, x, y; BUILDSTDERR: ^ BUILDSTDERR: mlagan.c:941:21: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: int i = 1, j = 1, x, y; BUILDSTDERR: ^ BUILDSTDERR: mlagan.c:939:14: warning: unused variable 'seqfile' [-Wunused-variable] BUILDSTDERR: FileBuffer seqfile; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: mlagan.c: In function 'readfile': BUILDSTDERR: mlagan.c:79:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp, 255, input); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fchaos.c: In function 'main': BUILDSTDERR: fchaos.c:885:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: fchaos.c: In function 'saveScore': BUILDSTDERR: fchaos.c:970:7: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: int temp; BUILDSTDERR: ^~~~ BUILDSTDERR: mlagan.c: In function 'treeToRPN': BUILDSTDERR: mlagan.c:565:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: fchaos.c: In function 'savenfreeLList': BUILDSTDERR: fchaos.c:1137:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i,j; BUILDSTDERR: ^ BUILDSTDERR: fchaos.c: In function 'readfile': BUILDSTDERR: fchaos.c:344:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp, 255, input); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fchaos.c: In function 'readSubstMatrix': BUILDSTDERR: fchaos.c:622:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &(substmatrix[(unsigned char) symbs[i]][(unsigned char) symbs[j]])); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fchaos.c:627:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &gappenstart); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fchaos.c:628:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &gappenext); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: anchors.c: In function 'findBestChain': BUILDSTDERR: anchors.c:164:10: warning: 'bestptr' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return (hll*)bestptr->myelem; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: skiplist.c: In function 'printSLE': BUILDSTDERR: skiplist.c:12:19: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: printf(" %d %x\n", tbp->index, tbp->myelem); BUILDSTDERR: ~^ ~~~~~~~~~~~ BUILDSTDERR: %p BUILDSTDERR: skiplist.c: In function 'makeSkLst': BUILDSTDERR: skiplist.c:33:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: skiplist.c: In function 'SLinsert': BUILDSTDERR: skiplist.c:100:37: warning: unused variable 'tbe' [-Wunused-variable] BUILDSTDERR: sle* prev = SLfind(trgt, index), *tbe; BUILDSTDERR: ^~~ BUILDSTDERR: mlagan.c: In function 'buildTree': BUILDSTDERR: mlagan.c:623:53: warning: 'mlj' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: temp = (char*) malloc ((namelens[mli] + namelens[mlj] +4)* sizeof(char)); BUILDSTDERR: ~~~~~~~~^~~~~ BUILDSTDERR: mlagan.c:623:37: warning: 'mli' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: temp = (char*) malloc ((namelens[mli] + namelens[mlj] +4)* sizeof(char)); BUILDSTDERR: ~~~~~~~~^~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../prolagan prolagan.c multial.c diagmatrix.c skiplist.c filebuffer.c -lm -DMULTIAL__FLAG BUILDSTDERR: prolagan.c: In function 'hptrcomp': BUILDSTDERR: prolagan.c:41:7: warning: unused variable 'jt' [-Wunused-variable] BUILDSTDERR: int jt = ((hptr*)p2)->isstart; BUILDSTDERR: ^~ BUILDSTDERR: prolagan.c: In function 'readfile': BUILDSTDERR: prolagan.c:93:25: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: fprintf(stderr, "Warning: %c converted to 'N'\n", currchar, alpha); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: prolagan.c: In function 'appendAlignProfile': BUILDSTDERR: prolagan.c:163:9: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i,j,k; BUILDSTDERR: ^ BUILDSTDERR: prolagan.c: In function 'readProfile': BUILDSTDERR: prolagan.c:198:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while ( myseq = FileRead( with_gaps,0,0,VER_MLAGAN )) { BUILDSTDERR: ^~~~~ BUILDSTDERR: prolagan.c: In function 'getAnchsFromFile': BUILDSTDERR: prolagan.c:246:29: warning: unused variable 'first' [-Wunused-variable] BUILDSTDERR: hll *myres = 0, *tt = 0, *first = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: prolagan.c: In function 'generateAnchors': BUILDSTDERR: prolagan.c:298:8: warning: unused variable 'flip' [-Wunused-variable] BUILDSTDERR: char flip = 0; BUILDSTDERR: ^~~~ BUILDSTDERR: prolagan.c:296:10: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: align* temp; BUILDSTDERR: ^~~~ BUILDSTDERR: prolagan.c: In function 'remakeHLL': BUILDSTDERR: prolagan.c:395:10: warning: unused variable 'bestscore' [-Wunused-variable] BUILDSTDERR: int i, bestscore=-1; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: prolagan.c:395:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, bestscore=-1; BUILDSTDERR: ^ BUILDSTDERR: prolagan.c:394:20: warning: unused variable 't3' [-Wunused-variable] BUILDSTDERR: hll *temp, *t2, *t3; BUILDSTDERR: ^~ BUILDSTDERR: prolagan.c:394:15: warning: unused variable 't2' [-Wunused-variable] BUILDSTDERR: hll *temp, *t2, *t3; BUILDSTDERR: ^~ BUILDSTDERR: prolagan.c:392:7: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: int len; BUILDSTDERR: ^~~ BUILDSTDERR: prolagan.c: In function 'processAnchors': BUILDSTDERR: prolagan.c:539:36: warning: unused variable 'uni' [-Wunused-variable] BUILDSTDERR: align *first, *second, *result, *uni; BUILDSTDERR: ^~~ BUILDSTDERR: prolagan.c: In function 'iterativeImprovement': BUILDSTDERR: prolagan.c:587:10: warning: unused variable 'readd' [-Wunused-variable] BUILDSTDERR: align *readd, *old, *new; BUILDSTDERR: ^~~~~ BUILDSTDERR: prolagan.c:585:12: warning: unused variable 'oldscore' [-Wunused-variable] BUILDSTDERR: int i=0, oldscore, cutoff; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: prolagan.c: In function 'treeToRPN': BUILDSTDERR: prolagan.c:630:16: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i=0; int j, k; BUILDSTDERR: ^ BUILDSTDERR: prolagan.c: In function 'main': BUILDSTDERR: prolagan.c:1087:5: warning: implicit declaration of function 'printXMFAAlign'; did you mean 'printFASTAAlign'? [-Wimplicit-function-declaration] BUILDSTDERR: printXMFAAlign(outfile, final); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: printFASTAAlign BUILDSTDERR: prolagan.c:966:8: warning: unused variable 'table' [-Wunused-variable] BUILDSTDERR: hll* table[MAX_SEQ][MAX_SEQ]; BUILDSTDERR: ^~~~~ BUILDSTDERR: prolagan.c:960:8: warning: unused variable 'command' [-Wunused-variable] BUILDSTDERR: char command[256]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: prolagan.c:954:14: warning: unused variable 'seqfile' [-Wunused-variable] BUILDSTDERR: FileBuffer seqfile; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: prolagan.c: In function 'readfile': BUILDSTDERR: prolagan.c:79:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp, 255, input); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: prolagan.c: In function 'treeToRPN': BUILDSTDERR: prolagan.c:667:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: diagmatrix.c: In function 'DMsetPtr': BUILDSTDERR: diagmatrix.c:155:8: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: char res; BUILDSTDERR: ^~~ BUILDSTDERR: diagmatrix.c:154:19: warning: unused variable 'loc' [-Wunused-variable] BUILDSTDERR: int dn = x+y-1, loc; BUILDSTDERR: ^~~ BUILDSTDERR: multial.c: In function 'getAnchsFromAlign': BUILDSTDERR: multial.c:104:9: warning: unused variable 'peakfrac' [-Wunused-variable] BUILDSTDERR: float peakfrac; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:103:19: warning: unused variable 'isfrst' [-Wunused-variable] BUILDSTDERR: char ingap = 0, isfrst = 1; BUILDSTDERR: ^~~~~~ BUILDSTDERR: multial.c:99:30: warning: unused variable 'peakscore' [-Wunused-variable] BUILDSTDERR: int currscore=0, oldscore, peakscore; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: multial.c:99:20: warning: unused variable 'oldscore' [-Wunused-variable] BUILDSTDERR: int currscore=0, oldscore, peakscore; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c: In function 'unifyAlign': BUILDSTDERR: multial.c:188:28: warning: unused variable 'tgc' [-Wunused-variable] BUILDSTDERR: int s1 = 0, s2 = 0, tgs, tgc; BUILDSTDERR: ^~~ BUILDSTDERR: multial.c:188:23: warning: unused variable 'tgs' [-Wunused-variable] BUILDSTDERR: int s1 = 0, s2 = 0, tgs, tgc; BUILDSTDERR: ^~~ BUILDSTDERR: multial.c:187:19: warning: unused variable 'brcount' [-Wunused-variable] BUILDSTDERR: int i,j,k, cbc, brcount; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: multial.c:187:14: warning: unused variable 'cbc' [-Wunused-variable] BUILDSTDERR: int i,j,k, cbc, brcount; BUILDSTDERR: ^~~ BUILDSTDERR: multial.c: In function 'getChain': BUILDSTDERR: multial.c:247:7: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: int temp; BUILDSTDERR: ^~~~ BUILDSTDERR: multial.c: In function 'saveNeck': BUILDSTDERR: multial.c:358:6: warning: unused variable 'second' [-Wunused-variable] BUILDSTDERR: *second = DMgetDiagStart(mydm, neckdiag, &size2, &x2, &y2); BUILDSTDERR: ^~~~~~ BUILDSTDERR: multial.c:357:9: warning: unused variable 'first' [-Wunused-variable] BUILDSTDERR: alel *first = DMgetDiagStart(mydm, neckdiag-1, &size1, &x1, &y1), BUILDSTDERR: ^~~~~ BUILDSTDERR: multial.c: In function 'joinAligns': BUILDSTDERR: multial.c:381:10: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: align *n = a->nextalign, *t; BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'openGap': BUILDSTDERR: multial.c:594:25: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int alopen, pen, sav, i; BUILDSTDERR: ^ BUILDSTDERR: multial.c:594:15: warning: unused variable 'pen' [-Wunused-variable] BUILDSTDERR: int alopen, pen, sav, i; BUILDSTDERR: ^~~ BUILDSTDERR: multial.c: In function 'mkBarrel': BUILDSTDERR: multial.c:615:7: warning: unused variable 'incr' [-Wunused-variable] BUILDSTDERR: int incr; BUILDSTDERR: ^~~~ BUILDSTDERR: multial.c: In function 'doNW': BUILDSTDERR: multial.c:811:20: warning: variable 'oldneck' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int numNecks =0, oldneck =0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: multial.c:808:8: warning: unused variable 'rh' [-Wunused-variable] BUILDSTDERR: char rh, ptr=0, isneck; BUILDSTDERR: ^~ BUILDSTDERR: multial.c:807:14: warning: unused variable 'b' [-Wunused-variable] BUILDSTDERR: align* a, *b; BUILDSTDERR: ^ BUILDSTDERR: multial.c:805:11: warning: unused variable 'prevgap' [-Wunused-variable] BUILDSTDERR: int tt, prevgap; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: multial.c:805:7: warning: unused variable 'tt' [-Wunused-variable] BUILDSTDERR: int tt, prevgap; BUILDSTDERR: ^~ BUILDSTDERR: multial.c:804:7: warning: unused variable 'gapend' [-Wunused-variable] BUILDSTDERR: int gapend[3]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: multial.c: In function 'removeSeqByName': BUILDSTDERR: multial.c:1062:8: warning: variable 'removed' set but not used [-Wunused-but-set-variable] BUILDSTDERR: seq *removed; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: multial.c: In function 'getSeqNum': BUILDSTDERR: multial.c:1073:8: warning: unused variable 'removed' [-Wunused-variable] BUILDSTDERR: seq *removed; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: multial.c: In function 'remapHLLs': BUILDSTDERR: multial.c:1262:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (which == 0 && anchs->seq1end - anchs->seq1start < ANCHOR_LENGTH_CUTOFF || BUILDSTDERR: ^ BUILDSTDERR: multial.c:1104:43: warning: unused variable 'olen' [-Wunused-variable] BUILDSTDERR: int mybp, i, *searchint, stmybp, mylen, olen, osize; BUILDSTDERR: ^~~~ BUILDSTDERR: multial.c: In function 'hllJoin': BUILDSTDERR: multial.c:1352:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: multial.c:1352:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'minHLL': BUILDSTDERR: multial.c:1368:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'mergeHLLs': BUILDSTDERR: multial.c:1408:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j, mscore; BUILDSTDERR: ^ BUILDSTDERR: multial.c:1408:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, j, mscore; BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'printTextAlign': BUILDSTDERR: multial.c:1466:7: warning: unused variable 'nlets' [-Wunused-variable] BUILDSTDERR: int nlets=0; BUILDSTDERR: ^~~~~ BUILDSTDERR: multial.c:1465:13: warning: unused variable 's2' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c:1465:7: warning: unused variable 's1' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c: In function 'printFASTAAlign': BUILDSTDERR: multial.c:1525:7: warning: unused variable 'nlets' [-Wunused-variable] BUILDSTDERR: int nlets=0; BUILDSTDERR: ^~~~~ BUILDSTDERR: multial.c:1524:13: warning: unused variable 's2' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c:1524:7: warning: unused variable 's1' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c: In function 'printXMFAAlign': BUILDSTDERR: multial.c:1553:7: warning: unused variable 'nlets' [-Wunused-variable] BUILDSTDERR: int nlets=0; BUILDSTDERR: ^~~~~ BUILDSTDERR: multial.c:1552:13: warning: unused variable 's2' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c:1552:7: warning: unused variable 's1' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c: At top level: BUILDSTDERR: multial.c:603:9: warning: 'gapcache' is static but used in inline function 'openGap' which is not static BUILDSTDERR: sav = gapcache[(v(ali->numseq - (alopen + ali->cnts[CNTS_CB][w]) + other->cnts[CNTS_GS][ow])) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:586:10: warning: 'gapcache' is static but used in inline function 'contGap' which is not static BUILDSTDERR: return gapcache[(v(other->cnts[CNTS_GS][ow])) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:581:10: warning: 'gapcache' is static but used in inline function 'endGap2' which is not static BUILDSTDERR: return gapcache[(v((a->numseq - a->cnts[CNTS_GS][ai] - a->cnts[CNTS_GC][ai]) + b->cnts[CNTS_GE][bi])<<12) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:576:10: warning: 'gapcache' is static but used in inline function 'endGap1' which is not static BUILDSTDERR: return gapcache[(v((b->numseq - b->cnts[CNTS_GS][bi] - b->cnts[CNTS_GC][bi]) + a->cnts[CNTS_GE][ai]) << 12) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:570:10: warning: 'gapcache' is static but used in inline function 'endGap0' which is not static BUILDSTDERR: return gapcache[(v(a->cnts[CNTS_GE][ai]+b->cnts[CNTS_GE][bi])<<12) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:563:10: warning: 'matchcache' is static but used in inline function 'scoreOpp' which is not static BUILDSTDERR: return matchcache[v(other->cnts[0][ow]) | BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: multial.c:556:5: warning: 'gapcache' is static but used in inline function 'matchscore' which is not static BUILDSTDERR: gapcache[v(a->cnts[CNTS_GS][ai] + b->cnts[CNTS_GS][bi]) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:552:5: warning: 'matchcache' is static but used in inline function 'matchscore' which is not static BUILDSTDERR: matchcache[v(a->cnts[0][ai] + b->cnts[0][bi]) | BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: multial.c: In function 'scoreLocal': BUILDSTDERR: multial.c:84:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: fchaos.c: In function 'doTranslated': BUILDSTDERR: fchaos.c:865:7: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: procPairs(currquery, currdbase); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: multial.c: In function 'readSubstMatrix': BUILDSTDERR: multial.c:478:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &k); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: multial.c:486:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &gapstart); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: multial.c:487:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &gapcont); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: multial.c: In function 'removeSeqByName': BUILDSTDERR: multial.c:1068:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'printTextAlign': BUILDSTDERR: multial.c:1521:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'printFASTAAlign': BUILDSTDERR: multial.c:1549:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'printXMFAAlign': BUILDSTDERR: multial.c:1579:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: fchaos.c: In function 'main': BUILDSTDERR: fchaos.c:955:7: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: procPairs(currquery, currdbase); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: thrtrie.c: In function 'makeAlpha': BUILDSTDERR: thrtrie.c:33:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: indeces[*alpha] = i; BUILDSTDERR: ^ BUILDSTDERR: thrtrie.c:35:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: else indeces [*alpha] = i++; BUILDSTDERR: ^ BUILDSTDERR: thrtrie.c: In function 'lookup': BUILDSTDERR: thrtrie.c:42:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: return indeces[c]; BUILDSTDERR: ^ BUILDSTDERR: thrtrie.c: In function 'insertString': BUILDSTDERR: thrtrie.c:174:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j, wordlen = root->height, letprev, letcurr; BUILDSTDERR: ^ BUILDSTDERR: In file included from thrtrie.c:13: BUILDSTDERR: mempage.c: In function 'MPallfree': BUILDSTDERR: mempage.c:48:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: filebuffer.c: In function 'FileRead': BUILDSTDERR: filebuffer.c:123:34: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: temp[i] = (strchr (alphabet, toupper ((char) i)) != 0) ? BUILDSTDERR: ^~~~~~~ BUILDSTDERR: skiplist.c: In function 'printSLE': BUILDSTDERR: skiplist.c:12:19: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: printf(" %d %x\n", tbp->index, tbp->myelem); BUILDSTDERR: ~^ ~~~~~~~~~~~ BUILDSTDERR: %p BUILDSTDERR: skiplist.c: In function 'makeSkLst': BUILDSTDERR: skiplist.c:33:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: skiplist.c: In function 'SLinsert': BUILDSTDERR: skiplist.c:100:37: warning: unused variable 'tbe' [-Wunused-variable] BUILDSTDERR: sle* prev = SLfind(trgt, index), *tbe; BUILDSTDERR: ^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/bin2mf utils/bin2mf.c BUILDSTDERR: multial.c: In function 'getAnchsFromAlign': BUILDSTDERR: multial.c:104:9: warning: unused variable 'peakfrac' [-Wunused-variable] BUILDSTDERR: float peakfrac; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:103:19: warning: unused variable 'isfrst' [-Wunused-variable] BUILDSTDERR: char ingap = 0, isfrst = 1; BUILDSTDERR: ^~~~~~ BUILDSTDERR: multial.c:99:30: warning: unused variable 'peakscore' [-Wunused-variable] BUILDSTDERR: int currscore=0, oldscore, peakscore; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: multial.c:99:20: warning: unused variable 'oldscore' [-Wunused-variable] BUILDSTDERR: int currscore=0, oldscore, peakscore; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c: In function 'unifyAlign': BUILDSTDERR: multial.c:188:28: warning: unused variable 'tgc' [-Wunused-variable] BUILDSTDERR: int s1 = 0, s2 = 0, tgs, tgc; BUILDSTDERR: ^~~ BUILDSTDERR: multial.c:188:23: warning: unused variable 'tgs' [-Wunused-variable] BUILDSTDERR: int s1 = 0, s2 = 0, tgs, tgc; BUILDSTDERR: ^~~ BUILDSTDERR: multial.c:187:19: warning: unused variable 'brcount' [-Wunused-variable] BUILDSTDERR: int i,j,k, cbc, brcount; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: multial.c:187:14: warning: unused variable 'cbc' [-Wunused-variable] BUILDSTDERR: int i,j,k, cbc, brcount; BUILDSTDERR: ^~~ BUILDSTDERR: multial.c: In function 'getChain': BUILDSTDERR: multial.c:247:7: warning: unused variable 'temp' [-Wunused-variable] BUILDSTDERR: int temp; BUILDSTDERR: ^~~~ BUILDSTDERR: multial.c: In function 'saveNeck': BUILDSTDERR: multial.c:358:6: warning: unused variable 'second' [-Wunused-variable] BUILDSTDERR: *second = DMgetDiagStart(mydm, neckdiag, &size2, &x2, &y2); BUILDSTDERR: ^~~~~~ BUILDSTDERR: multial.c:357:9: warning: unused variable 'first' [-Wunused-variable] BUILDSTDERR: alel *first = DMgetDiagStart(mydm, neckdiag-1, &size1, &x1, &y1), BUILDSTDERR: ^~~~~ BUILDSTDERR: multial.c: In function 'joinAligns': BUILDSTDERR: multial.c:381:10: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: align *n = a->nextalign, *t; BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'openGap': BUILDSTDERR: multial.c:594:25: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int alopen, pen, sav, i; BUILDSTDERR: ^ BUILDSTDERR: multial.c:594:15: warning: unused variable 'pen' [-Wunused-variable] BUILDSTDERR: int alopen, pen, sav, i; BUILDSTDERR: ^~~ BUILDSTDERR: multial.c: In function 'mkBarrel': BUILDSTDERR: multial.c:615:7: warning: unused variable 'incr' [-Wunused-variable] BUILDSTDERR: int incr; BUILDSTDERR: ^~~~ BUILDSTDERR: multial.c: In function 'doNW': BUILDSTDERR: multial.c:811:20: warning: variable 'oldneck' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int numNecks =0, oldneck =0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: multial.c:808:8: warning: unused variable 'rh' [-Wunused-variable] BUILDSTDERR: char rh, ptr=0, isneck; BUILDSTDERR: ^~ BUILDSTDERR: multial.c:807:14: warning: unused variable 'b' [-Wunused-variable] BUILDSTDERR: align* a, *b; BUILDSTDERR: ^ BUILDSTDERR: multial.c:805:11: warning: unused variable 'prevgap' [-Wunused-variable] BUILDSTDERR: int tt, prevgap; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: multial.c:805:7: warning: unused variable 'tt' [-Wunused-variable] BUILDSTDERR: int tt, prevgap; BUILDSTDERR: ^~ BUILDSTDERR: multial.c:804:7: warning: unused variable 'gapend' [-Wunused-variable] BUILDSTDERR: int gapend[3]; BUILDSTDERR: ^~~~~~ BUILDSTDERR: multial.c: In function 'removeSeqByName': BUILDSTDERR: multial.c:1062:8: warning: variable 'removed' set but not used [-Wunused-but-set-variable] BUILDSTDERR: seq *removed; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: multial.c: In function 'getSeqNum': BUILDSTDERR: multial.c:1073:8: warning: unused variable 'removed' [-Wunused-variable] BUILDSTDERR: seq *removed; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: multial.c: In function 'remapHLLs': BUILDSTDERR: multial.c:1262:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (which == 0 && anchs->seq1end - anchs->seq1start < ANCHOR_LENGTH_CUTOFF || BUILDSTDERR: ^ BUILDSTDERR: multial.c:1104:43: warning: unused variable 'olen' [-Wunused-variable] BUILDSTDERR: int mybp, i, *searchint, stmybp, mylen, olen, osize; BUILDSTDERR: ^~~~ BUILDSTDERR: multial.c: In function 'hllJoin': BUILDSTDERR: multial.c:1352:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: multial.c:1352:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'minHLL': BUILDSTDERR: multial.c:1368:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'mergeHLLs': BUILDSTDERR: multial.c:1408:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j, mscore; BUILDSTDERR: ^ BUILDSTDERR: multial.c:1408:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, j, mscore; BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'printTextAlign': BUILDSTDERR: multial.c:1466:7: warning: unused variable 'nlets' [-Wunused-variable] BUILDSTDERR: int nlets=0; BUILDSTDERR: ^~~~~ BUILDSTDERR: multial.c:1465:13: warning: unused variable 's2' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c:1465:7: warning: unused variable 's1' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c: In function 'printFASTAAlign': BUILDSTDERR: multial.c:1525:7: warning: unused variable 'nlets' [-Wunused-variable] BUILDSTDERR: int nlets=0; BUILDSTDERR: ^~~~~ BUILDSTDERR: multial.c:1524:13: warning: unused variable 's2' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c:1524:7: warning: unused variable 's1' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c: In function 'printXMFAAlign': BUILDSTDERR: multial.c:1553:7: warning: unused variable 'nlets' [-Wunused-variable] BUILDSTDERR: int nlets=0; BUILDSTDERR: ^~~~~ BUILDSTDERR: multial.c:1552:13: warning: unused variable 's2' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c:1552:7: warning: unused variable 's1' [-Wunused-variable] BUILDSTDERR: int s1=0, s2=0, c, k, i; BUILDSTDERR: ^~ BUILDSTDERR: multial.c: At top level: BUILDSTDERR: multial.c:603:9: warning: 'gapcache' is static but used in inline function 'openGap' which is not static BUILDSTDERR: sav = gapcache[(v(ali->numseq - (alopen + ali->cnts[CNTS_CB][w]) + other->cnts[CNTS_GS][ow])) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:586:10: warning: 'gapcache' is static but used in inline function 'contGap' which is not static BUILDSTDERR: return gapcache[(v(other->cnts[CNTS_GS][ow])) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:581:10: warning: 'gapcache' is static but used in inline function 'endGap2' which is not static BUILDSTDERR: return gapcache[(v((a->numseq - a->cnts[CNTS_GS][ai] - a->cnts[CNTS_GC][ai]) + b->cnts[CNTS_GE][bi])<<12) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:576:10: warning: 'gapcache' is static but used in inline function 'endGap1' which is not static BUILDSTDERR: return gapcache[(v((b->numseq - b->cnts[CNTS_GS][bi] - b->cnts[CNTS_GC][bi]) + a->cnts[CNTS_GE][ai]) << 12) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:570:10: warning: 'gapcache' is static but used in inline function 'endGap0' which is not static BUILDSTDERR: return gapcache[(v(a->cnts[CNTS_GE][ai]+b->cnts[CNTS_GE][bi])<<12) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:563:10: warning: 'matchcache' is static but used in inline function 'scoreOpp' which is not static BUILDSTDERR: return matchcache[v(other->cnts[0][ow]) | BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: multial.c:556:5: warning: 'gapcache' is static but used in inline function 'matchscore' which is not static BUILDSTDERR: gapcache[v(a->cnts[CNTS_GS][ai] + b->cnts[CNTS_GS][bi]) | BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: multial.c:552:5: warning: 'matchcache' is static but used in inline function 'matchscore' which is not static BUILDSTDERR: matchcache[v(a->cnts[0][ai] + b->cnts[0][bi]) | BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: multial.c: In function 'scoreLocal': BUILDSTDERR: multial.c:84:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'readSubstMatrix': BUILDSTDERR: multial.c:478:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &k); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: multial.c:486:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &gapstart); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: multial.c:487:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &gapcont); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: multial.c: In function 'removeSeqByName': BUILDSTDERR: multial.c:1068:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'printTextAlign': BUILDSTDERR: multial.c:1521:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'printFASTAAlign': BUILDSTDERR: multial.c:1549:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: multial.c: In function 'printXMFAAlign': BUILDSTDERR: multial.c:1579:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/bin2bl utils/bin2bl.c BUILDSTDERR: utils/bin2bl.c: In function 'main': BUILDSTDERR: utils/bin2bl.c:52:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (argv[1][0] == '-') BUILDSTDERR: ^ BUILDSTDERR: utils/bin2bl.c:22:7: warning: unused variable 'width' [-Wunused-variable] BUILDSTDERR: int width = 60; BUILDSTDERR: ^~~~~ BUILDSTDERR: global.c: In function 'ismatch': BUILDSTDERR: global.c:12:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: return indeces[a] == indeces[b]; BUILDSTDERR: ^ BUILDSTDERR: global.c:12:31: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: return indeces[a] == indeces[b]; BUILDSTDERR: ^ BUILDSTDERR: global.c: In function 'global': BUILDSTDERR: global.c:34:31: warning: unused variable 'score' [-Wunused-variable] BUILDSTDERR: int mm = end2 - start2 + 1, score; BUILDSTDERR: ^~~~~ BUILDSTDERR: global.c: In function 'printalign': BUILDSTDERR: global.c:172:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/cextract utils/cextract.c BUILDSTDERR: utils/cextract.c: In function 'getLength': BUILDSTDERR: utils/cextract.c:16:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 1024, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/cextract.c: In function 'readfile': BUILDSTDERR: utils/cextract.c:41:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 1024, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/cextract.c:59:8: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (ch == '>') ungetc (ch, file); BUILDSTDERR: ^ BUILDSTDERR: translate.c: In function 'toPeptide': BUILDSTDERR: translate.c:9:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j, sum=0, mask = 0; BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/cstat utils/cstat.c BUILDSTDERR: filebuffer.c: In function 'FileRead': BUILDSTDERR: filebuffer.c:123:34: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: temp[i] = (strchr (alphabet, toupper ((char) i)) != 0) ? BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utils/cstat.c: In function 'cntlets': BUILDSTDERR: utils/cstat.c:51:10: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] BUILDSTDERR: if (!isspace(currchar)) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utils/cstat.c:52:18: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: currchar = toupper(currchar); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utils/cstat.c: In function 'main': BUILDSTDERR: utils/cstat.c:234:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: utils/cstat.c: In function 'cntlets': BUILDSTDERR: utils/cstat.c:44:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp, 255, input); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/cstat.c: In function 'readseq': BUILDSTDERR: utils/cstat.c:67:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp, 255, input); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: diagmatrix.c: In function 'DMsetPtr': BUILDSTDERR: diagmatrix.c:155:8: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: char res; BUILDSTDERR: ^~~ BUILDSTDERR: diagmatrix.c:154:19: warning: unused variable 'loc' [-Wunused-variable] BUILDSTDERR: int dn = x+y-1, loc; BUILDSTDERR: ^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/contigorder utils/contigorder.c BUILDSTDERR: utils/contigorder.c: In function 'getFileInfo': BUILDSTDERR: utils/contigorder.c:15:57: warning: format '%s' expects a matching 'char *' argument [-Wformat=] BUILDSTDERR: fprintf (stderr, "contigorder: Error opening file: %s\n"); BUILDSTDERR: ~^ BUILDSTDERR: utils/contigorder.c:26:18: warning: unknown conversion type character '&' in format [-Wformat=] BUILDSTDERR: fscanf (file, "%&d", &dummy); BUILDSTDERR: ^ BUILDSTDERR: utils/contigorder.c:26:16: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: fscanf (file, "%&d", &dummy); BUILDSTDERR: ^~~~~ BUILDSTDERR: utils/contigorder.c: In function 'getScores': BUILDSTDERR: utils/contigorder.c:52:57: warning: format '%s' expects a matching 'char *' argument [-Wformat=] BUILDSTDERR: fprintf (stderr, "contigorder: Error opening file: %s\n"); BUILDSTDERR: ~^ BUILDSTDERR: utils/contigorder.c: In function 'solveOrder': BUILDSTDERR: utils/contigorder.c:176:30: warning: unused variable 'ptr' [-Wunused-variable] BUILDSTDERR: int **best, *first, *last, ptr, newScore, **scoreOf; BUILDSTDERR: ^~~ BUILDSTDERR: utils/contigorder.c: In function 'getFileInfo': BUILDSTDERR: utils/contigorder.c:19:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "numContigs = %d\n", numContigs); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/contigorder.c:20:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "seqLen = %d\n", seqLen); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/contigorder.c:26:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%&d", &dummy); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/contigorder.c: In function 'getScores': BUILDSTDERR: utils/contigorder.c:56:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "numContigs = %*d\n"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/contigorder.c:57:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "seqLen = %*d\n"); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/contigorder.c:63:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &((*score)[i][j])); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/getbounds utils/getbounds.c BUILDSTDERR: utils/getbounds.c: In function 'main': BUILDSTDERR: utils/getbounds.c:32:27: warning: unused variable 'ext' [-Wunused-variable] BUILDSTDERR: int S1B, S1E, S2B, S2E, ext, len1, len2; BUILDSTDERR: ^~~ BUILDSTDERR: utils/getbounds.c: In function 'getLength': BUILDSTDERR: utils/getbounds.c:18:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 1024, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/getlength utils/getlength.c BUILDSTDERR: utils/contigorder.c: In function 'solveOrder': BUILDSTDERR: utils/contigorder.c:249:63: warning: 'bestRange' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: for (j = 0; k && j < numRanges; j++) if (last[j] < first[bestRange]){ BUILDSTDERR: ^ BUILDSTDERR: utils/contigorder.c:251:22: warning: 'bestState' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (newScore == best[bestState][bestRange]){ BUILDSTDERR: ^ BUILDSTDERR: utils/getlength.c: In function 'main': BUILDSTDERR: utils/getlength.c:20:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, BUF_SIZE, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: skiplist.c: In function 'printSLE': BUILDSTDERR: skiplist.c:12:19: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: printf(" %d %x\n", tbp->index, tbp->myelem); BUILDSTDERR: ~^ ~~~~~~~~~~~ BUILDSTDERR: %p BUILDSTDERR: skiplist.c: In function 'makeSkLst': BUILDSTDERR: skiplist.c:33:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: skiplist.c: In function 'SLinsert': BUILDSTDERR: skiplist.c:100:37: warning: unused variable 'tbe' [-Wunused-variable] BUILDSTDERR: sle* prev = SLfind(trgt, index), *tbe; BUILDSTDERR: ^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/getoverlap utils/getoverlap.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/rc utils/rc.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/seqmerge utils/seqmerge.c BUILDSTDERR: utils/rc.c: In function 'main': BUILDSTDERR: utils/rc.c:39:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp, 255, stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: diagmatrix.c: In function 'DMsetPtr': BUILDSTDERR: diagmatrix.c:155:8: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: char res; BUILDSTDERR: ^~~ BUILDSTDERR: diagmatrix.c:154:19: warning: unused variable 'loc' [-Wunused-variable] BUILDSTDERR: int dn = x+y-1, loc; BUILDSTDERR: ^~~ BUILDSTDERR: utils/seqmerge.c: In function 'main': BUILDSTDERR: utils/seqmerge.c:33:15: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses] BUILDSTDERR: if (written ^ 60 != 0) printf ("\n"); BUILDSTDERR: ^ BUILDSTDERR: utils/seqmerge.c:19:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 1024, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/scorealign utils/scorealign.c -lm BUILDSTDERR: filebuffer.c: In function 'FileRead': BUILDSTDERR: filebuffer.c:123:34: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: temp[i] = (strchr (alphabet, toupper ((char) i)) != 0) ? BUILDSTDERR: ^~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/scorecontigs utils/scorecontigs.c -lm BUILDSTDERR: utils/scorealign.c: In function 'getSequence': BUILDSTDERR: utils/scorealign.c:262:8: warning: variable 'prevch' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char prevch = '~'; BUILDSTDERR: ^~~~~~ BUILDSTDERR: utils/scorealign.c: In function 'getSequences': BUILDSTDERR: utils/scorealign.c:322:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (newseq = getSequence (file, &si, &ss, &se, &sd, &sc)){ BUILDSTDERR: ^~~~~~ BUILDSTDERR: utils/scorealign.c:310:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, si, ss, se; BUILDSTDERR: ^ BUILDSTDERR: utils/scorealign.c: In function 'processSequences': BUILDSTDERR: utils/scorealign.c:353:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j; BUILDSTDERR: ^ BUILDSTDERR: utils/scorealign.c: In function 'getSequence': BUILDSTDERR: utils/scorealign.c:266:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (line, 1024, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/scorealign.c: In function 'readScoreMatrix': BUILDSTDERR: utils/scorealign.c:411:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (line, 1024, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/scorealign.c:419:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%1s", &(line[0])); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/scorealign.c:421:7: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &k); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/scorealign.c:426:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d%d", &gapopen, &gapcont); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/scorecontigs.c: In function 'cntlets': BUILDSTDERR: utils/scorecontigs.c:63:10: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] BUILDSTDERR: if (!isspace(currchar)) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utils/scorecontigs.c:64:18: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: currchar = toupper(currchar); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utils/scorecontigs.c:65:27: warning: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] BUILDSTDERR: if (!lettersonly || isalpha (currchar)){ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utils/scorecontigs.c: In function 'analyze': BUILDSTDERR: utils/scorecontigs.c:344:13: warning: unused variable 'k' [-Wunused-variable] BUILDSTDERR: int i, j, k; BUILDSTDERR: ^ BUILDSTDERR: utils/scorecontigs.c: In function 'main': BUILDSTDERR: utils/scorecontigs.c:384:38: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'char (*)[1024]' [-Wformat=] BUILDSTDERR: if (fscanf (filelist, "%d %d %d %s\n", &(num[numseqs]), &(offs1[numseqs]), &(offs2[numseqs]), &(contignames[numseqs])) == 4){ BUILDSTDERR: ~^ ~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/scorecontigs.c: In function 'cntlets': BUILDSTDERR: utils/scorecontigs.c:55:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp, 1024, input); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/scorecontigs.c: In function 'readseq': BUILDSTDERR: utils/scorecontigs.c:81:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (temp, 1024, input); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/getcontigpos utils/getcontigpos.c BUILDSTDERR: utils/getcontigpos.c: In function 'print': BUILDSTDERR: utils/getcontigpos.c:66:46: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i = 0, pos = 0, pos2 = 0, written = 0, j = 0; BUILDSTDERR: ^ BUILDSTDERR: utils/getcontigpos.c:66:33: warning: unused variable 'written' [-Wunused-variable] BUILDSTDERR: int i = 0, pos = 0, pos2 = 0, written = 0, j = 0; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utils/getcontigpos.c: In function 'getLength': BUILDSTDERR: utils/getcontigpos.c:16:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 1024, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/getcontigpos.c: In function 'readfile': BUILDSTDERR: utils/getcontigpos.c:41:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 1024, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/getcontigpos.c:59:8: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (ch == '>') ungetc (ch, file); BUILDSTDERR: ^ BUILDSTDERR: skiplist.c: In function 'printSLE': BUILDSTDERR: skiplist.c:12:19: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'void *' [-Wformat=] BUILDSTDERR: printf(" %d %x\n", tbp->index, tbp->myelem); BUILDSTDERR: ~^ ~~~~~~~~~~~ BUILDSTDERR: %p BUILDSTDERR: skiplist.c: In function 'makeSkLst': BUILDSTDERR: skiplist.c:33:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i; BUILDSTDERR: ^ BUILDSTDERR: skiplist.c: In function 'SLinsert': BUILDSTDERR: skiplist.c:100:37: warning: unused variable 'tbe' [-Wunused-variable] BUILDSTDERR: sle* prev = SLfind(trgt, index), *tbe; BUILDSTDERR: ^~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/fa2xfa utils/fa2xfa.c BUILDSTDERR: utils/fa2xfa.c: In function 'print': BUILDSTDERR: utils/fa2xfa.c:81:36: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i = 0, pos = 0, written = 0, j = 0; BUILDSTDERR: ^ BUILDSTDERR: utils/fa2xfa.c:81:14: warning: unused variable 'pos' [-Wunused-variable] BUILDSTDERR: int i = 0, pos = 0, written = 0, j = 0; BUILDSTDERR: ^~~ BUILDSTDERR: utils/fa2xfa.c: In function 'getLength': BUILDSTDERR: utils/fa2xfa.c:30:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 1024, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/fa2xfa.c: In function 'readfile': BUILDSTDERR: utils/fa2xfa.c:55:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 1024, file); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/fa2xfa.c:74:8: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (ch == '>') ungetc (ch, file); BUILDSTDERR: ^ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/Glue utils/Glue.cpp BUILDSTDERR: filebuffer.c: In function 'FileRead': BUILDSTDERR: filebuffer.c:123:34: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: temp[i] = (strchr (alphabet, toupper ((char) i)) != 0) ? BUILDSTDERR: ^~~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/dotplot utils/dotplot.cpp gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../utils/overlay utils/overlay.c BUILDSTDERR: utils/overlay.c: In function 'read_align': BUILDSTDERR: utils/overlay.c:119:10: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] BUILDSTDERR: if (!isspace(currchar)) { BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utils/overlay.c:120:19: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: checkchar = toupper(currchar); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utils/overlay.c:101:30: warning: unused variable 'tt' [-Wunused-variable] BUILDSTDERR: char currchar, checkchar, *tt; BUILDSTDERR: ^~ BUILDSTDERR: utils/overlay.c: In function 'read_sequences': BUILDSTDERR: utils/overlay.c:176:19: warning: unused variable 'breaker' [-Wunused-variable] BUILDSTDERR: int i, j, kmer, breaker; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utils/overlay.c:176:13: warning: unused variable 'kmer' [-Wunused-variable] BUILDSTDERR: int i, j, kmer, breaker; BUILDSTDERR: ^~~~ BUILDSTDERR: utils/overlay.c:176:10: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: int i, j, kmer, breaker; BUILDSTDERR: ^ BUILDSTDERR: utils/overlay.c: In function 'main': BUILDSTDERR: utils/overlay.c:232:16: warning: unused variable 'test' [-Wunused-variable] BUILDSTDERR: float ttree, test; BUILDSTDERR: ^~~~ BUILDSTDERR: utils/overlay.c:232:9: warning: unused variable 'ttree' [-Wunused-variable] BUILDSTDERR: float ttree, test; BUILDSTDERR: ^~~~~ BUILDSTDERR: utils/overlay.c:231:7: warning: unused variable 'moved' [-Wunused-variable] BUILDSTDERR: int moved, i; BUILDSTDERR: ^~~~~ BUILDSTDERR: utils/overlay.c:230:8: warning: unused variable 'string_tree' [-Wunused-variable] BUILDSTDERR: char string_tree[16537]; //noone will ever need more :))) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: utils/overlay.c: In function 'read_align': BUILDSTDERR: utils/overlay.c:109:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(temp, 255, input); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/dotplot.cpp: In function 'int main(int, char**)': BUILDSTDERR: utils/dotplot.cpp:6:27: warning: variable 'pa' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int s1b, s1e, s2b, s2e, pa, pb, maxa = 0, maxb = 0; BUILDSTDERR: ^~ BUILDSTDERR: utils/dotplot.cpp:6:31: warning: variable 'pb' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int s1b, s1e, s2b, s2e, pa, pb, maxa = 0, maxb = 0; BUILDSTDERR: ^~ BUILDSTDERR: utils/dotplot.cpp:37:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 105, file); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/dotplot.cpp:74:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 105, file); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/dotplot.cpp:97:11: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (buffer, 105, file); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/Glue.cpp: In function 'void readScoreMatrix(char*)': BUILDSTDERR: utils/Glue.cpp:33:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: lagan_dir = "/usr/lib64/lagan"; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/Glue.cpp: In function 'void calculateScoreMatrix(int)': BUILDSTDERR: utils/Glue.cpp:60:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: char *alpha = "ATCG"; BUILDSTDERR: ^~~~~~ BUILDSTDERR: utils/Glue.cpp:68:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: readScoreMatrix (NUCLEOTIDE_MATRIX_FILE); BUILDSTDERR: ^ BUILDSTDERR: utils/Glue.cpp: In function 'int countLets(SafeVector&)': BUILDSTDERR: utils/Glue.cpp:228:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (data[i] >= 'A' && data[i] <= 'Z' || data[i] >= 'a' && data[i] <= 'z') BUILDSTDERR: utils/Glue.cpp: In function 'int main(int, char**)': BUILDSTDERR: utils/Glue.cpp:372:19: warning: variable 'end1' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int begin1 = 1, end1 = 1; BUILDSTDERR: ^~~~ BUILDSTDERR: utils/Glue.cpp: In function 'void readScoreMatrix(char*)': BUILDSTDERR: utils/Glue.cpp:40:9: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets (line, 1024, file); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/Glue.cpp:48:12: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%1s", &(line[0])); BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils/Glue.cpp:50:14: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d", &k); BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: utils/Glue.cpp:55:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf (file, "%d%d", &gapopen, &gapcont); BUILDSTDERR: ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (cd glocal; make) make[2]: Entering directory '/builddir/build/BUILD/lagan20/src/glocal' g++ -Wno-deprecated -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -c glocal.cpp g++ -Wno-deprecated -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -c io.cpp g++ -Wno-deprecated -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -c rightinfluence.cpp g++ -Wno-deprecated -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -c leftinfluence.cpp BUILDSTDERR: In file included from ./rightinfluence.h:4, BUILDSTDERR: from rightinfluence.cpp:1: BUILDSTDERR: rightinfluence.cpp: In function 'void initRI(RI*, long long int)': BUILDSTDERR: ./structs.h:30:34: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] BUILDSTDERR: #define RELPOSSHIFT UPSTRANDBITS + DOWNSTRANDBITS BUILDSTDERR: ^ BUILDSTDERR: rightinfluence.cpp:9:22: note: in expansion of macro 'RELPOSSHIFT' BUILDSTDERR: if (((scoreIndex >> RELPOSSHIFT) & 1) == LEFT) { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: rightinfluence.cpp: In function 'long long int RICommitEndPoint(RI*, Fragment*)': BUILDSTDERR: ./structs.h:30:34: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] BUILDSTDERR: #define RELPOSSHIFT UPSTRANDBITS + DOWNSTRANDBITS BUILDSTDERR: ^ BUILDSTDERR: rightinfluence.cpp:119:85: note: in expansion of macro 'RELPOSSHIFT' BUILDSTDERR: int possibleCase = NEGATIVE << DOWNSTRANDSHIFT | NEGATIVE <>' [-Wparentheses] BUILDSTDERR: #define RELPOSSHIFT UPSTRANDBITS + DOWNSTRANDBITS BUILDSTDERR: ^ BUILDSTDERR: leftinfluence.cpp:135:22: note: in expansion of macro 'RELPOSSHIFT' BUILDSTDERR: if (((scoreIndex >> RELPOSSHIFT) & 1) == LEFT) { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from ./score.h:4, BUILDSTDERR: from glocal.cpp:1: BUILDSTDERR: glocal.cpp: In function 'int main(int, char**)': BUILDSTDERR: ./structs.h:31:50: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] BUILDSTDERR: #define TOTALSHIFT UPSTRANDBITS + DOWNSTRANDBITS + RELPOSBITS BUILDSTDERR: ^ BUILDSTDERR: glocal.cpp:64:16: note: in expansion of macro 'TOTALSHIFT' BUILDSTDERR: for (i=0;i<1<>' [-Wparentheses] BUILDSTDERR: #define RELPOSSHIFT UPSTRANDBITS + DOWNSTRANDBITS BUILDSTDERR: ^ BUILDSTDERR: score.cpp:143:19: note: in expansion of macro 'RELPOSSHIFT' BUILDSTDERR: if (ret_case >> RELPOSSHIFT != UNRELATED) { BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: score.cpp: In function 'float fragmentSetScore(Fragment*, Fragment*, LI*, RI*, long long int)': BUILDSTDERR: ./structs.h:30:34: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] BUILDSTDERR: #define RELPOSSHIFT UPSTRANDBITS + DOWNSTRANDBITS BUILDSTDERR: ^ BUILDSTDERR: score.cpp:185:120: note: in expansion of macro 'RELPOSSHIFT' BUILDSTDERR: tempScore = scoreAll(owner,current, current->strand << DOWNSTRANDSHIFT | owner->strand <= 5.5.0 perl(Cwd) perl(File::Basename) perl(File::Copy) perl(File::Path) perl(Getopt::Long) perl(IO::Handle) perl(IPC::Open2) perl(constant) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: lagan-debugsource-2.0-23.fc29.riscv64 Provides: lagan-debugsource = 2.0-23.fc29 lagan-debugsource(riscv-64) = 2.0-23.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lagan-debuginfo-2.0-23.fc29.riscv64 Provides: debuginfo(build-id) = 0c52f5c17ee36770b3cffe537701f786abf67d8a debuginfo(build-id) = 2788c29b6c98f8d4b1c544cd4fdd99420d1ac844 debuginfo(build-id) = 34d7b7b041f0ecd933925288feb0129aaf671019 debuginfo(build-id) = 3a1fa27a8bf62ec40e63122069ea73880ca5c62f debuginfo(build-id) = 4a8eb391753eebc6494965b9dbb879b500824f0c debuginfo(build-id) = 5272c5684ab23c04705ecb2ae7fc7252deccd00a debuginfo(build-id) = 73fa9ef725373b1ef186bd5d843c410941c5c03f debuginfo(build-id) = 748230c3858c0f9d1e4950fe7ac876c2483d5ae5 debuginfo(build-id) = 79c63183928ab044395ffe49484e8e7102d81476 debuginfo(build-id) = 7d9a401b937c8ded0546af2d61a63c7aee59a9d9 debuginfo(build-id) = 88bb940b99bb21971c5d5b499accfd1223f36c32 debuginfo(build-id) = 931b9f103da1fa9a6a8b5ff0436b2d7a758bdf32 debuginfo(build-id) = 9f329abf48d16086a925b03441b8e2c00311adf8 debuginfo(build-id) = a6660ac71fcc009b6d7190de0281c4fe8f036b7d debuginfo(build-id) = ab6742359f88a22bf3010886f4d10b0f576b7181 debuginfo(build-id) = ca7efb80015f58d7ba6d39669f80c66e53840ad9 debuginfo(build-id) = cb3adda051b75eab1ec6baab8622d807bfa24e52 debuginfo(build-id) = dab1ef73313001ddef8205e2b8b4bd261de6226e debuginfo(build-id) = db6b4701790d1c4c36b0b73e9f8f1ea640d6b3a6 debuginfo(build-id) = dedb885de07380173c182ff461b8984a38934174 debuginfo(build-id) = e5f46fa23ff13f7a4457cf5d7d20e02863c56c67 debuginfo(build-id) = f203f95b4211009076799a34b6878f8a7d12c0cb debuginfo(build-id) = fd259a3b5c4a0918d97a725a7dac7e267b241a06 lagan-debuginfo = 2.0-23.fc29 lagan-debuginfo(riscv-64) = 2.0-23.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lagan-debugsource(riscv-64) = 2.0-23.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lagan-2.0-23.fc29.riscv64 Wrote: /builddir/build/RPMS/lagan-2.0-23.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/lagan-debugsource-2.0-23.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/lagan-debuginfo-2.0-23.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lOHv2N + umask 022 + cd /builddir/build/BUILD + cd lagan20 + rm -rf /builddir/build/BUILDROOT/lagan-2.0-23.fc29.riscv64 + exit 0 Child return code was: 0