X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:from:to:subject:date:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=AUc UvhdmW2yJaFsGtw38IPfMvbsg9g46zWH/6sf7dVlDqC6kSQXeYjE3M2ovTXPV8j/ Sc8ryVsgdLlaYE88MxmfjiintF+nxQ3Aphq0ChGWPddp8OJtt2DmW7AuebpiyyyW 4FFs9rWG9s0ilWXP3txtutyVcQXojRaCM/KG3gXc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:from:to:subject:date:content-type :content-transfer-encoding:mime-version; s=default; bh=YFmNfTsYS +SvSLnPrY83dUnEsqM=; b=MB23pSNJN4ogzbmjBWEvLE/GrjwwYltHI44Pj+GSK NQadRsBHJmrEr8tZgjn3QHSIy68VUOgJFqLPzD0DN/rCPh2vMJWpP3Z8dE71ywty ceF2kk4FTmAXQjnyUFWuOoFFmThOzi6nj6dU804I/B9ZWoJky5/u7RSJ1ZykTZU/ dw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=eat, family, HImportance:Normal, 195 X-HELO: mail-pf0-f182.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:from:to:subject:date:importance :content-type:content-transfer-encoding:mime-version; bh=gRKE0isMP/CjKRhpmkhGCNxrfYhoYqTHuCKL6dldGY0=; b=LVqm9e8+YQVQK6Bj0cNCw0ZYD4+dPHYZvYAwNxkO65Xgt8Tx950aKzjQOCBI9zxR0g /azeXwTuR0/aNFs37J1DBaaREVs2lpWlrLnituDto+21T+hXjKFSnLTDEHXlNb4UBbje kgBnb7PC08RAf8TKhTSfdb73bvuhDE+sE6NwUlhkDp1Vu/MyWB3SfEvbf1ilWBqbE2pn 1wJ5I2bW+Jpe7IH6a/w1SkcSF4EXsmVPobQEqOcyMIOOhwv39PjpJIxUJ0Y+WIvQz46/ x+Api0ovnCwkQfaOMVqMx8gkpDEKoeh3Z6C6LA3ulXwEvv8H410zCymfFEzfGOP4w7AB VI2g== X-Gm-Message-State: AG10YOT4sTipGcDhLS8pMR0J0cAcaIlpiNfsn/bz0tf2FJCLWwtqqLzHX3LkJlzuk+zZ7w== X-Received: by 10.98.67.212 with SMTP id l81mr28585241pfi.90.1453755638586; Mon, 25 Jan 2016 13:00:38 -0800 (PST) X-TMN: [S9IZsTaJ7/QTSpnTekq6Xhvj3ATKmNH9] Message-ID: From: Robert May To: "cygwin AT cygwin DOT com" Subject: bcftools error running Make after installing update 2.4.1.1 to Cygwin64 Date: Tue, 26 Jan 2016 07:00:36 +1000 Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u0PL12P0022905 error running Make after installing update 2.4.1.1 to Cygwin64 Robert AT DESKTOP-14EL82S /usr/local/bin/bcftools-1.3 $ make   many warnings are given in the following text - see end for error message echo '#define BCFTOOLS_VERSION "1.3"'> version.h gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o main.o main.c gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o vcfindex.o vcfindex.c vcfindex.c: In function ‘main_vcfindex’: vcfindex.c:209:9: warning: implicit declaration of function ‘alloca’ [-Wimplicit-function-declaration]          char *idx_fname = (char*)alloca(strlen(fname) + 5);          ^ vcfindex.c:209:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]          char *idx_fname = (char*)alloca(strlen(fname) + 5);                            ^ gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o tabix.o tabix.c tabix.c: In function ‘main_tabix’: tabix.c:97:13: warning: implicit declaration of function ‘alloca’ [-Wimplicit-function-declaration]              fn = (char*)alloca(strlen(argv[optind]) + 5);              ^ tabix.c:97:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]              fn = (char*)alloca(strlen(argv[optind]) + 5);                   ^ gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o vcfstats.o vcfstats.c vcfstats.c: In function ‘main_vcfstats’: vcfstats.c:1558:9: warning: implicit declaration of function ‘fileno’ [-Wimplicit-function-declaration]          if ( !isatty(fileno((FILE *)stdin)) ) fname = "-";  // reading from stdin          ^ gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o vcfisec.o vcfisec.c vcfisec.c: In function ‘main_vcfisec’: vcfisec.c:556:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]                      else if ( isdigit(*p) ) args->isec_op = OP_EQUAL;                      ^ gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o vcfmerge.o vcfmerge.c vcfmerge.c: In function ‘merge_alleles’: vcfmerge.c:542:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]              for (j=0; jndref; i++) vcmp->dref[i] = toupper(ref1[vcmp->nmatch+i]);          ^ vcmp.c:78:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      for (i=0; indref; i++) vcmp->dref[i] = toupper(ref2[vcmp->nmatch+i]);      ^ vcmp.c: In function ‘vcmp_find_allele’: vcmp.c:90:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]          while ( *a && *b && toupper(*a)==toupper(*b) ) { a++; b++; }          ^ vcmp.c:90:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] vcmp.c:103:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]                  if ( !a[j] || toupper(a[j])!=vcmp->dref[j] ) break;                  ^ vcmp.c:110:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]              if ( !b[j] || toupper(b[j])!=vcmp->dref[j] ) break;              ^ gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o gvcf.o gvcf.c gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o reheader.o reheader.c reheader.c: In function ‘read_header_file’: reheader.c:65:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( hdr->l>0 && isspace(hdr->s[hdr->l-1]) ) hdr->l--;  // remove trailing newlines      ^ reheader.c: In function ‘set_sample_pairs’: reheader.c:79:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]          while ( *value && !isspace(*value) ) value++;          ^ reheader.c:82:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]          while ( isspace(*value) ) value++;          ^ reheader.c:91:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( hdr->l>0 && isspace(hdr->s[hdr->l-1]) ) hdr->l--;  // remove trailing newlines      ^ reheader.c: In function ‘reheader_vcf_gz’: reheader.c:227:9: warning: implicit declaration of function ‘fileno’ [-Wimplicit-function-declaration]          bgzf_out = bgzf_dopen(fileno(stdout), "w");          ^ gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o convert.o convert.c convert.c: In function ‘parse_subscript’: convert.c:781:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( *q && *q!='}' && isdigit(*q) ) q++;      ^ convert.c: In function ‘parse_tag’: convert.c:791:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( *q && (isalnum(*q) || *q=='_' || *q=='.') ) q++;      ^ convert.c:806:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]              while ( *q && (isalnum(*q) || *q=='_' || *q=='.') ) q++;  ^ convert.c:848:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]              while ( *q && (isalnum(*q) || *q=='_' || *q=='.') ) q++;              ^ gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o vcfconvert.o vcfconvert.c In file included from vcfconvert.c:42:0: tsv2vcf.h: In function ‘tsv_next’: tsv2vcf.h:68:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]          while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++;          ^ tsv2vcf.h:71:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( *tsv->se && isspace(*tsv->se) ) tsv->se++;      ^ tsv2vcf.h:73:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++;      ^ vcfconvert.c: In function ‘tsv_setter_chrom_pos_ref_alt’: vcfconvert.c:161:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( se < tsv->se && *se!='_' && isspace(*tsv->se) ) se++;      ^ vcfconvert.c:162:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      if ( se < tsv->se && *se!='_' && isspace(*tsv->se) ) error("Could not parse ALT in CHROM:POS_REF_ALT id: %s\n", tsv->ss);      ^ vcfconvert.c: In function ‘tsv_setter_verify_ref_alt’: vcfconvert.c:195:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( *tsv->se && isspace(*tsv->se) ) tsv->se++;      ^ vcfconvert.c:197:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++;      ^ vcfconvert.c: In function ‘gensample_to_vcf’: vcfconvert.c:354:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( *se && !isspace(*se) ) se++;      ^ vcfconvert.c:378:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]          se = samples[i]; while ( *se && !isspace(*se) ) se++;          ^ vcfconvert.c: In function ‘haplegendsample_to_vcf’: vcfconvert.c:502:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]          se = samples[i]; while ( *se && !isspace(*se) ) se++;          ^ vcfconvert.c: In function ‘hapsample_to_vcf’: vcfconvert.c:615:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]          se = samples[i]; while ( *se && !isspace(*se) ) se++;          ^ vcfconvert.c: In function ‘tsv_setter_aa1’: vcfconvert.c:1069:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      int a0 = acgt_to_5(toupper(ss[0]));      ^ vcfconvert.c:1070:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      int a1 = ss[1] ? acgt_to_5(toupper(ss[1])) : a0;      ^ vcfconvert.c: In function ‘tsv_setter_aa’: vcfconvert.c:1094:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      ref[0] = toupper(ref[0]);      ^ vcfconvert.c: In function ‘main_vcfconvert’: vcfconvert.c:1436:13: warning: implicit declaration of function ‘fileno’ [-Wimplicit-function-declaration]              if ( !isatty(fileno((FILE *)stdin)) ) args->infname = "-";              ^ gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o tsv2vcf.o tsv2vcf.c In file included from tsv2vcf.c:27:0: tsv2vcf.h: In function ‘tsv_next’: tsv2vcf.h:68:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]          while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++;          ^ tsv2vcf.h:71:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( *tsv->se && isspace(*tsv->se) ) tsv->se++;      ^ tsv2vcf.h:73:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]      while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++;      ^ tsv2vcf.c: In function ‘tsv_parse’: tsv2vcf.c:81:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]          while ( *tsv->se && !isspace(*tsv->se) ) tsv->se++;          ^ tsv2vcf.c:88:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]          while ( *tsv->se && isspace(*tsv->se) ) tsv->se++;          ^ gcc -g -Wall -Wc++-compat -O2  -std=c99 -I. -Ihtslib-1.3 -DPLUGINPATH=\"/usr/local/libexec/bcftools\"  -c -o vcfcnv.o vcfcnv.c vcfcnv.c: In function ‘norm_prob’: vcfcnv.c:602:93: error: ‘M_PI’ undeclared (first use in this function)      return exp(-(baf-param->mean)*(baf-param->mean)*0.5/param->dev2) / param->norm / sqrt(2*M_PI*param->dev2);                                                                                              ^ vcfcnv.c:602:93: note: each undeclared identifier is reported only once for each function it appears in vcfcnv.c: In function ‘main_vcfcnv’: vcfcnv.c:1349:9: warning: implicit declaration of function ‘fileno’ [-Wimplicit-function-declaration]          if ( !isatty(fileno((FILE *)stdin)) ) fname = "-";          ^ vcfcnv.c: In function ‘norm_prob’: vcfcnv.c:603:1: warning: control reaches end of non-void function [-Wreturn-type]  }  ^ With this final error message Makefile:103: recipe for target 'vcfcnv.o' failed make: *** [vcfcnv.o] Error 1  Bob May DNA Projects I2b L415, I2c L596 HG, Spriggs of Cleve SA Family & Tyler Surname and ISOGG YTree -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple