On Mon, 19 Aug 2024 23:11:26 +0200 Sebastian Ramacher <[email protected]> 
wrote:
Source: gambas3
Version: 3.19.3-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]

https://buildd.debian.org/status/fetch.php?pkg=gambas3&arch=armel&ver=3.19.3-1%2Bb1&stamp=1724068715&raw=0

make[5]: Entering directory '/<<PKGBUILDDIR>>/gb.pdf/src'
clang: warning: argument unused during compilation: '-fstack-clash-protection' 
[-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-fstack-clash-protection' 
[-Wunused-command-line-argument]
In file included from main.cpp:26:
In file included from ./CPdfDocument.h:29:
In file included from /usr/include/poppler/PDFDoc.h:60:
In file included from /usr/include/poppler/XRef.h:44:
In file included from /usr/include/poppler/Object.h:44:
/usr/include/poppler/goo/GooString.h:241:24: error: no member named 'starts_with' in 
'std::basic_string<char>'
    using std::string::starts_with;
          ~~~~~~~~~~~~~^
/usr/include/poppler/goo/GooString.h:244:24: error: no member named 'ends_with' in 
'std::basic_string<char>'
    using std::string::ends_with;
          ~~~~~~~~~~~~~^
In file included from CPdfDocument.cpp:26:
In file included from ./CPdfDocument.h:29:
In file included from /usr/include/poppler/PDFDoc.h:60:
In file included from /usr/include/poppler/XRef.h:44:
In file included from /usr/include/poppler/Object.h:44:
/usr/include/poppler/goo/GooString.h:241:24: error: no member named 'starts_with' in 
'std::basic_string<char>'
    using std::string::starts_with;
          ~~~~~~~~~~~~~^
/usr/include/poppler/goo/GooString.h:244:24: error: no member named 'ends_with' in 
'std::basic_string<char>'
    using std::string::ends_with;
          ~~~~~~~~~~~~~^
In file included from main.cpp:26:
In file included from ./CPdfDocument.h:29:
In file included from /usr/include/poppler/PDFDoc.h:60:
In file included from /usr/include/poppler/XRef.h:44:
In file included from /usr/include/poppler/Object.h:690:
/usr/include/poppler/Stream.h:307:31: error: no template named 'span' in 
namespace 'std'
    virtual size_t write(std::span<unsigned char> data) = 0;
                         ~~~~~^
/usr/include/poppler/Stream.h:328:23: error: no template named 'span' in 
namespace 'std'
    size_t write(std::span<unsigned char> data) override;
                 ~~~~~^
In file included from CPdfDocument.cpp:26:
In file included from ./CPdfDocument.h:29:
In file included from /usr/include/poppler/PDFDoc.h:60:
In file included from /usr/include/poppler/XRef.h:44:
In file included from /usr/include/poppler/Object.h:690:
/usr/include/poppler/Stream.h:307:31: error: no template named 'span' in 
namespace 'std'
    virtual size_t write(std::span<unsigned char> data) = 0;
                         ~~~~~^
/usr/include/poppler/Stream.h:328:23: error: no template named 'span' in 
namespace 'std'
    size_t write(std::span<unsigned char> data) override;
                 ~~~~~^
4 errors generated.
make[5]: *** [Makefile:526: gb_pdf_la-main.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from CPdfDocument.cpp:55:

On armel the build is happening with clang. Unfortunately the build log doesn't contain the actual compiler calls, but this may be just missing an appropriate -std=xx flag, or it may need a newer clang version.

Cheers,
Emilio

Reply via email to