sivarajankumar / zinba

Automatically exported from code.google.com/p/zinba
0 stars 0 forks source link

zinba installation broken #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1) What operating system are you using?

Ubuntu 14.04 x86_64

2) What error message was displayed?

make: *** [errCatch.o] Error 1
ERROR: compilation failed for package ‘zinba’
* removing ‘/home/saket/R/x86_64-pc-linux-gnu-library/3.1/zinba’

3) What was the exact command you used that resulted in the error?
 R CMD INSTALL zinba_2.02.02.tar.gz 

4) Please copy and paste any additional screen output that resulted from
running the command

    fgets(firstline,256,fh);
                           ^
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c common.c -o common.o
common.c: In function 'firstWordInFile':
common.c:1963:1: warning: ignoring return value of 'fgets', declared with 
attribute warn_unused_result [-Wunused-result]
 fgets(wordBuf, wordBufSize, f);
 ^
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c coord.cc -o coord.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c coord2.cc -o coord2.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c coordSeqCount.cc -o coordSeqCount.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c coordSeqCount_ki.cc -o coordSeqCount_ki.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c correlate.c -o correlate.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c crTree.c -o crTree.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c dataWins.cc -o dataWins.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c dgRange.c -o dgRange.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c diGraph.c -o diGraph.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c dlist.c -o dlist.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c dnaLoad.c -o dnaLoad.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c dnaMarkov.c -o dnaMarkov.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c dnaMotif.c -o dnaMotif.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c dnaseq.c -o dnaseq.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c dnautil.c -o dnautil.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c dtdParse.c -o dtdParse.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c dystring.c -o dystring.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c emblParse.c -o emblParse.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c errCatch.c -o errCatch.o
errCatch.c: In function 'errCatchFinish':
errCatch.c:93:2: error: format not a string literal and no format arguments 
[-Werror=format-security]
  warn(errCatch->message->string);
  ^
cc1: some warnings being treated as errors
make: *** [errCatch.o] Error 1
ERROR: compilation failed for package ‘zinba’
* removing ‘/home/saket/R/x86_64-pc-linux-gnu-library/3.1/zinba’
saket@saket-launchpad:~/Packages$ R CMD INSTALL zinba_2.03.01.tar.gz 
/usr/lib/R/bin/exec/R: /usr/local/lib/liblzma.so.5: no version information 
available (required by /usr/lib/R/lib/libR.so)
* installing to library ‘/home/saket/R/x86_64-pc-linux-gnu-library/3.1’
* installing *source* package ‘zinba’ ...
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c aliType.c -o aliType.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c alignAdjust.cc -o alignAdjust.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c analysis.cc -o analysis.o
analysis.cc: In member function 'int analysis::importPscl(const char*, double, 
int)':
analysis.cc:393:28: warning: ignoring return value of 'char* fgets(char*, int, 
FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fgets(firstline,256,fh);
                            ^
analysis.cc: In member function 'int analysis::importMixture(const char*, 
double, int, int)':
analysis.cc:458:28: warning: ignoring return value of 'char* fgets(char*, int, 
FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fgets(firstline,256,fh);
                            ^
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c apacheLog.c -o apacheLog.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c asParse.c -o asParse.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c asa103.cpp -o asa103.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c asa121.cpp -o asa121.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c axt.c -o axt.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c axtAffine.c -o axtAffine.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c bPlusTree.c -o bPlusTree.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c base64.c -o base64.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c baseAlignCounts.cc -o baseAlignCounts.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c basicBed.c -o basicBed.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c bbiRead.c -o bbiRead.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c bbiWrite.c -o bbiWrite.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c bcanalysis.cc -o bcanalysis.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c bed2vector.cc -o bed2vector.o
In file included from 
/usr/local/Cellar/gcc/4.9.1/include/c++/4.9.1/ext/hash_set:60:0,
                 from pc.h:5,
                 from bed2vector.cc:1:
/usr/local/Cellar/gcc/4.9.1/include/c++/4.9.1/backward/backward_warning.h:32:2: 
warning: #warning This file includes at least one deprecated or antiquated 
header which may be removed without further notice at a future date. Please use 
a non-deprecated interface with equivalent functionality instead. For a listing 
of replacement headers and interfaces, consult the file backward_warning.h. To 
disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^
bed2vector.cc: In function 'SEXPREC* read_aligned_tags(SEXP, SEXP)':
bed2vector.cc:69:22: warning: ignoring return value of 'char* fgets(char*, int, 
FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     fgets(line,512,f);
                      ^
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c bigBed.c -o bigBed.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c binAlignAdjust.cc -o binAlignAdjust.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c binRange.c -o binRange.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c bits.c -o bits.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c blastOut.c -o blastOut.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c blastParse.c -o blastParse.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c boxClump.c -o boxClump.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c boxLump.c -o boxLump.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c buildCustomWindows.cc -o buildCustomWindows.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c buildWindows.cc -o buildWindows.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c bwRead.cc -o bwRead.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c bwRead2.cc -o bwRead2.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c bwgCreate.c -o bwgCreate.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c bwgQuery.c -o bwgQuery.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c calcCovs.cc -o calcCovs.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c canalysis.cc -o canalysis.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c canalysisdouble.cc -o canalysisdouble.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c cda.c -o cda.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c chain.c -o chain.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c chainBlock.c -o chainBlock.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c chainConnect.c -o chainConnect.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c chainToAxt.c -o chainToAxt.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c chainToPsl.c -o chainToPsl.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c cheapcgi.c -o cheapcgi.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c cirTree.c -o cirTree.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c cnvWins.cc -o cnvWins.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c codebias.c -o codebias.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c colHash.c -o colHash.o
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-g  -c collapsewindows.cc -o collapsewindows.o
In file included from 
/usr/local/Cellar/gcc/4.9.1/include/c++/4.9.1/ext/hash_set:60:0,
                 from pc.h:5,
                 from collapsewindows.cc:5:
/usr/local/Cellar/gcc/4.9.1/include/c++/4.9.1/backward/backward_warning.h:32:2: 
warning: #warning This file includes at least one deprecated or antiquated 
header which may be removed without further notice at a future date. Please use 
a non-deprecated interface with equivalent functionality instead. For a listing 
of replacement headers and interfaces, consult the file backward_warning.h. To 
disable this warning use -Wno-deprecated. [-Wcpp]
 #warning \
  ^
collapsewindows.cc: In function 'void collapse_windows(const char**, const 
char**, int*, int*, double*, int*, int*, const char**)':
collapsewindows.cc:106:27: warning: ignoring return value of 'char* 
fgets(char*, int, FILE*)', declared with attribute warn_unused_result 
[-Wunused-result]
    fgets(firstline,256,fh);
                           ^
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-D_FORTIFY_SOURCE=2 -g  -c common.c -o common.o
common.c: In function 'firstWordInFile':
common.c:1963:1: warning: ignoring return value of 'fgets', declared with 
attribute warn_unused_result [-Wunused-result]
 fgets(wordBuf, wordBufSize, f);
 ^
g++ -I/usr/share/R/include -DNDEBUG      -fpic  -g -O2 -fstack-protector -
errCatch.c:93:2: error: format not a string literal and no format arguments 
[-Werror=format-security]
  warn(errCatch->message->string);
  ^
cc1: some warnings being treated as errors

Original issue reported on code.google.com by sake...@gmail.com on 11 Oct 2014 at 5:10

GoogleCodeExporter commented 8 years ago
Alright, this is the error:
https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-Wformat_-Wformat-security

So Wformat-security is enabled by default from 13.04. Since I was not able to 
fix the C code, I went ahead the dirty way to edit my '/etc/R/Makefile' and 
changed: 

CFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -g $(LTO)
CPICFLAGS = -fpic
CPPFLAGS = 
CXX = g++
CXXCPP = $(CXX) -E
CXXFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -g $(LTO)
CXXPICFLAGS = -fpic
CXX1X = g++
CXX1XFLAGS = -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -g

removing '-Werror=format-security' from all the FLAGS, thus disabling it for 
all my R builds

Original comment by sake...@gmail.com on 11 Oct 2014 at 6:11

GoogleCodeExporter commented 8 years ago
Patch attached.

Original comment by sake...@gmail.com on 11 Oct 2014 at 8:47

Attachments:

GoogleCodeExporter commented 8 years ago
Thank you for the patch, it appears this issue comes up in some of our legacy 
code.  I have updated this in the attached version, let me know if this fixes 
your issue

Original comment by homer...@gmail.com on 26 Jan 2015 at 4:33

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by homer...@gmail.com on 26 Jan 2015 at 4:49

GoogleCodeExporter commented 8 years ago
I had the same issue. The fix worked for me. Can you make put it up as a 
regular download, took me some time to find this after going through the 
install and setup tutorial.

Original comment by lichtenb...@msseeker.org on 27 Mar 2015 at 3:59