Bug#811703: FTBFS with GCC 6: macro passed X arguments, takes Y

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:08:06 UTC 2016


Package: libboost-geometry-utils-perl
Version: 0.15-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
...
> Generating main XS file...
> x86_64-linux-gnu-gcc -I/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -DVERSION="0.15" -DXS_VERSION="0.15" -fPIC -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xc++ -DHAS_BOOL -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o buildtmp/Utils.o buildtmp/Utils.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 src/boost/iterator/iterator_concepts.hpp:29,
>                  from src/boost/range/concepts.hpp:20,
>                  from src/boost/range/algorithm/equal.hpp:14,
>                  from src/boost/range/iterator_range_core.hpp:29,
>                  from src/boost/range/iterator_range.hpp:13,
>                  from src/boost/range.hpp:28,
>                  from src/boost/geometry/core/point_type.hpp:19,
>                  from src/boost/geometry/core/coordinate_system.hpp:20,
>                  from src/boost/geometry/core/cs.hpp:21,
>                  from src/boost/geometry/geometry.hpp:19,
>                  from src/boost/geometry.hpp:17,
>                  from src/myinit.h:11,
>                  from buildtmp/Utils.c:183:
> /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); }
>                    ^



More information about the pkg-perl-maintainers mailing list