[Pkg-postgresql-public] Bug#831190: plv8: FTBFS with GCC 6: plv8.cc:13:19: error: 'namespace_' does not name a type

Lucas Nussbaum lucas at debian.org
Thu Jul 14 07:20:20 UTC 2016


Source: plv8
Version: 1:1.4.8.ds-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64

Hi,

During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html

Relevant part (hopefully):
> g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O2 -std=c++11 -fno-rtti  -I. -I./ -I/usr/include/postgresql/9.5/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/tcl8.6 -fPIC -c -o plv8.o plv8.cc
> plv8.cc:13:19: error: 'namespace_' does not name a type
>  #define namespace namespace_
>                    ^
> plv8.cc:13:19: error: 'namespace_' does not name a type
>  #define namespace namespace_
>                    ^
> plv8.cc:13:19: error: 'namespace_' does not name a type
>  #define namespace namespace_
>                    ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> plv8.cc:16:16: error: 'using_' does not name a type
>  #define using  using_
>                 ^
> make[2]: *** [plv8.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/plv8_1.4.8.ds-1_unstable_gcc6.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-postgresql-public mailing list