[Pkg-giraffe-maintainers] Bug#831162: libvmime: FTBFS with GCC 6: ../vmime/base.hpp:255:26: error: expected primary-expression before '>' token

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


Source: libvmime
Version: 0.9.1-5
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):
> /bin/bash ../libtool  --tag=CXX   --mode=compile x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I..  -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion   -Wdate-time -D_FORTIFY_SOURCE=2  -g -c -o address.lo address.cpp
> libtool: compile:  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I.. -D_REENTRANT=1 -D_THREAD_SAFE=1 -I/usr/include/p11-kit-1 -fPIC -DPIC -ansi -pedantic -W -Wall -Wpointer-arith -Wold-style-cast -Wconversion -Wdate-time -D_FORTIFY_SOURCE=2 -g -c address.cpp  -fPIC -DPIC -o .libs/address.o
> In file included from ../vmime/address.hpp:28:0,
>                  from address.cpp:24:
> ../vmime/base.hpp: In function 'vmime::utility::ref<T> vmime::dynamicCast(vmime::utility::ref<U>)':
> ../vmime/base.hpp:255:26: error: expected primary-expression before '>' token
>    return y.dynamicCast <X>();
>                           ^
> ../vmime/base.hpp:255:28: error: expected primary-expression before ')' token
>    return y.dynamicCast <X>();
>                             ^
> make[3]: *** [address.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2016/07/13/libvmime_0.9.1-5_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-giraffe-maintainers mailing list