Package: poppler
Version: 0.38.0-2
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-not-declared

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.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. 
>       -I/usr/include/libpng12  -I/usr/include/freetype2 
> -I/usr/include/freetype2 -I.. -I../goo -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC 
> -Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions 
> -fno-check-new -fno-common -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security  -c -o libpoppler_la-OutputDev.lo `test -f 
> 'OutputDev.cc' || echo './'`OutputDev.cc
> SplashOutputDev.cc: In member function 'virtual void 
> SplashOutputDev::drawImageMask(GfxState*, Object*, Stream*, int, int, GBool, 
> GBool, GBool)':
> SplashOutputDev.cc:2794:25: error: 'isfinite' was not declared in this scope
>      if (!isfinite(ctm[i])) return;
>                          ^
> 
> SplashOutputDev.cc:2794:25: note: suggested alternative:
> In file included from /usr/include/c++/6/random:38:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from SplashOutputDev.cc:77:
> /usr/include/c++/6/cmath:601:5: note:   'std::isfinite'
>      isfinite(_Tp __x)
>      ^~~~~~~~
> 
> SplashOutputDev.cc: In member function 'virtual void 
> SplashOutputDev::setSoftMaskFromImageMask(GfxState*, Object*, Stream*, int, 
> int, GBool, GBool, double*)':
> SplashOutputDev.cc:2840:25: error: 'isfinite' was not declared in this scope
>      if (!isfinite(ctm[i])) return;
>                          ^
> 
> SplashOutputDev.cc:2840:25: note: suggested alternative:
> In file included from /usr/include/c++/6/random:38:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from SplashOutputDev.cc:77:
> /usr/include/c++/6/cmath:601:5: note:   'std::isfinite'
>      isfinite(_Tp __x)
>      ^~~~~~~~
> 
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. 
>       -I/usr/include/libpng12  -I/usr/include/freetype2 
> -I/usr/include/freetype2 -I.. -I../goo -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC 
> -Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions 
> -fno-check-new -fno-common -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security  -c -o libpoppler_la-Page.lo `test -f 'Page.cc' || 
> echo './'`Page.cc
> SplashOutputDev.cc: In member function 'virtual void 
> SplashOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, 
> GfxImageColorMap*, GBool, int*, GBool)':
> SplashOutputDev.cc:3399:25: error: 'isfinite' was not declared in this scope
>      if (!isfinite(ctm[i])) return;
>                          ^
> 
> SplashOutputDev.cc:3399:25: note: suggested alternative:
> In file included from /usr/include/c++/6/random:38:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from SplashOutputDev.cc:77:
> /usr/include/c++/6/cmath:601:5: note:   'std::isfinite'
>      isfinite(_Tp __x)
>      ^~~~~~~~
> 
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libpng12 
> -I/usr/include/freetype2 -I/usr/include/freetype2 -I.. -I../goo -Wdate-time 
> -D_FORTIFY_SOURCE=2 -fPIC -Wall -Woverloaded-virtual -Wnon-virtual-dtor 
> -Wcast-align -fno-exceptions -fno-check-new -fno-common -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -c OutputDev.cc  
> -fPIC -DPIC -o .libs/libpoppler_la-OutputDev.o
> SplashOutputDev.cc: In member function 'virtual void 
> SplashOutputDev::drawMaskedImage(GfxState*, Object*, Stream*, int, int, 
> GfxImageColorMap*, GBool, Stream*, int, int, GBool, GBool)':
> SplashOutputDev.cc:3728:27: error: 'isfinite' was not declared in this scope
>        if (!isfinite(ctm[i])) {
>                            ^
> 
> SplashOutputDev.cc:3728:27: note: suggested alternative:
> In file included from /usr/include/c++/6/random:38:0,
>                  from /usr/include/c++/6/bits/stl_algo.h:66,
>                  from /usr/include/c++/6/algorithm:62,
>                  from SplashOutputDev.cc:77:
> /usr/include/c++/6/cmath:601:5: note:   'std::isfinite'
>      isfinite(_Tp __x)
>      ^~~~~~~~
> 
> SplashOutputDev.cc: In member function 'virtual void 
> SplashOutputDev::drawSoftMaskedImage(GfxState*, Object*, Stream*, int, int, 
> GfxImageColorMap*, GBool, Stream*, int, int, GfxImageColorMap*, GBool)':
> SplashOutputDev.cc:3860:25: error: 'isfinite' was not declared in this scope
>      if (!isfinite(ctm[i])) return;
...

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

Reply via email to