Bug#822474: mira: FTBFS: error: 'accumulate' is not a member of 'std'

2016-04-27 Thread Andreas Tille
On Wed, Apr 27, 2016 at 09:53:57AM +0200, Michael Crusoe wrote:
> Thank you Martin for your report. I've contacted upstream who has already
> fixed the issue in a soon to be released new version.

Thanks for contacting upstream which was on my todo list after the
simple fix.

Kind regards

 Andreas.

-- 
http://fam-tille.de



Bug#822474: mira: FTBFS: error: 'accumulate' is not a member of 'std'

2016-04-27 Thread Michael Crusoe
Thank you Martin for your report. I've contacted upstream who has already
fixed the issue in a soon to be released new version.


Bug#822474: mira: FTBFS: error: 'accumulate' is not a member of 'std'

2016-04-24 Thread Martin Michlmayr
Package: mira
Version: 4.9.5-5
Severity: serious

This package fails to build in unstable:

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> g++ -DPACKAGE_NAME=\"mira\" -DPACKAGE_TARNAME=\"mira\" 
> -DPACKAGE_VERSION=\"4.9.5_2\" -DPACKAGE_STRING=\"mira\ 4.9.5_2\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mira\" 
> -DVERSION=\"4.9.5_2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DENABLE64=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 
> -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -Drestrict=__restrict 
> -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 
> -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STRFTIME=1 -DHAVE_MEMSET=1 
> -DHAVE_FSEEKO=1 -DHAVE_ISBLANK=1 -DHAVE_BOOST=/\*\*/ 
> -DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_REGEX=/\*\*/ 
> -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ 
> -DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_LIBRT=1 -DHAVE_GZOFFSET=1 
> -DBOUNDTRACKFLAG=1 -DBUGTRACKFLAG=1 -I.  -I../../src  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -D
> PUBLICQUIET -DAJ_Linux64 -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security  -I/usr/include -O3 -funroll-loops -pthread 
> -I/usr/include -I/usr/include -Werror=uninitialized -Werror=return-type 
> -Werror=parentheses -Werror=unused-value -std=c++14 -c -o parameters.o 
> parameters.C
> read.C: In member function 'void Read::dumpAsReadname(std::ostream&)':
> read.C:1262:33: warning: format '%x' expects argument of type 'unsigned int', 
> but argument 3 has type 'Read*' [-Wformat=]
>sprintf(buffer, "%x", this) ;
>  ^
> read.C: In member function 'void Read::dumpAsFASTA(std::ostream&, bool, bool, 
> bool)':
> read.C:1293:33: warning: format '%x' expects argument of type 'unsigned int', 
> but argument 3 has type 'Read*' [-Wformat=]
>sprintf(buffer, "%x", this) ;
>  ^
> read.C: In member function 'void Read::dumpAsFASTQ(std::ostream&, bool, bool, 
> bool)':
> read.C:1377:33: warning: format '%x' expects argument of type 'unsigned int', 
> but argument 3 has type 'Read*' [-Wformat=]
>sprintf(buffer, "%x", this) ;
>  ^
> read.C: In member function 'void Read::dumpAsFASTAQual(std::ostream&, bool, 
> bool, bool)':
> read.C:1478:33: warning: format '%x' expects argument of type 'unsigned int', 
> but argument 3 has type 'Read*' [-Wformat=]
>sprintf(buffer, "%x", this) ;
>  ^
> read.C: In member function 'void Read::dumpAsCAF(std::ostream&)':
> read.C:1550:33: warning: format '%x' expects argument of type 'unsigned int', 
> but argument 3 has type 'Read*' [-Wformat=]
>sprintf(buffer, "%x", this) ;
>  ^
> read.C: In member function 'void Read::dumpAsMAF(std::ostream&)':
> read.C:1968:33: warning: format '%x' expects argument of type 'unsigned int', 
> but argument 3 has type 'Read*' [-Wformat=]
>sprintf(buffer, "%x", this) ;
>  ^
> contig_consensus.C: In member function 'void 
> Contig::makeIntelligentConsensus(std::__cxx11::string&, std::vector char>&, std::vector*, int32, int32, int32, int32, base_quality_t, char, 
> bool, bool, bool)':
> contig_consensus.C:2144:22: error: 'accumulate' is not a member of 'std'
>auto 
> sumcounts=std::accumulate(countsofpossiblebases.begin(),countsofpossiblebases.end(),0);
>   ^
> g++ -DPACKAGE_NAME=\"mira\" -DPACKAGE_TARNAME=\"mira\" 
> -DPACKAGE_VERSION=\"4.9.5_2\" -DPACKAGE_STRING=\"mira\ 4.9.5_2\" 
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mira\" 
> -DVERSION=\"4.9.5_2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DENABLE64=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 
> -DSTDC_HEADERS=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -Drestrict=__restrict 
> -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 
> -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STRFTIME=1 -DHAVE_MEMSET=1 
> -DHAVE_FSEEKO=1 -DHAVE_ISBLANK=1 -DHAVE_BOOST=/\*\*/ 
> -DHAVE_BOOST_THREAD=/\*\*/ -DHAVE_BOOST_REGEX=/\*\*/ 
> -DHAVE_BOOST_SYSTEM=/\*\*/ -DHAVE_BOOST_FILESYSTEM=/\*\*/ 
> -DHAVE_BOOST_IOSTREAMS=/\*\*/ -DHAVE_LIBRT=1 -DHAVE_GZOFFSET=1 
> -DBOUNDTRACKFLAG=1 -DBUGTRACKFLAG=1 -I.  -I../../src  -Wdate-time 
> -D_FORTIFY_SOURCE=2  -D
> PUBLICQUIET -DAJ_Linux64 -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security  -I/usr/include -O3 -funroll-loops -pthread 
> -I/usr/include -I/usr/include -Werror=uninitialized -Werror=return-type 
> -Werror=parentheses -Werror=unused-value -std=c++14 -c -o pcrcontainer.o 
> pcrcontainer.C
> Makefile:632: recipe