[Debian-med-packaging] Bug#811702: FTBFS with GCC 6: macro passed X arguments, takes Y

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:07:43 UTC 2016


Package: librg-blast-parser-perl
Version: 0.03-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-macro

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> AutoSplitting blib/lib/RG/Blast/Parser.pm (blib/lib/auto/RG/Blast/Parser)
> g++ -c  -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security   -DVERSION=\"0.03\" -DXS_VERSION=\"0.03\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.22/CORE"   Parser.c
> In file included from /usr/include/c++/6/random:49:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from /usr/include/rostlab/blast-parser-position.h:41,
>                  from /usr/include/rostlab/blast-parser-location.h:41,
>                  from rostlab/blast-parser-parser.h:57,
>                  from /usr/include/rostlab/blast-parser-driver.h:26,
>                  from Parser.xs:15:
> /usr/include/c++/6/bits/random.h:271:17: error: macro "seed" passed 1 arguments, but takes just 0
>        { seed(__s); }
>                  ^
> 
> /usr/include/c++/6/bits/random.h:284:19: error: macro "seed" passed 1 arguments, but takes just 0
>          { seed(__q); }
>                    ^
> 
> /usr/include/c++/6/bits/random.h:293:42: error: macro "seed" passed 1 arguments, but takes just 0
>        seed(result_type __s = default_seed);
>                                           ^
> 
> /usr/include/c++/6/bits/random.h:304:24: error: macro "seed" passed 1 arguments, but takes just 0
>          seed(_Sseq& __q);
>                         ^
> 
> /usr/include/c++/6/bits/random.h:503:18: error: macro "seed" passed 1 arguments, but takes just 0
>        { seed(__sd); }
>                   ^
> 
> /usr/include/c++/6/bits/random.h:516:19: error: macro "seed" passed 1 arguments, but takes just 0
>          { seed(__q); }
>                    ^
> 

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Debian-med-packaging mailing list