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: sramac...@debian.org

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:
/usr/include/poppler/UTF.h:41:39: error: no member named 'span' in namespace 
'std'
std::vector<Unicode> UTF16toUCS4(std::span<Unicode> utf16);
                                 ~~~~~^
/usr/include/poppler/UTF.h:41:44: error: unexpected type name 'Unicode': 
expected expression
std::vector<Unicode> UTF16toUCS4(std::span<Unicode> utf16);
                                           ^
/usr/include/poppler/UTF.h:41:53: error: use of undeclared identifier 'utf16'
std::vector<Unicode> UTF16toUCS4(std::span<Unicode> utf16);
                                                    ^
/usr/include/poppler/UTF.h:58:14: error: no member named 'starts_with' in 
'std::basic_string<char>'
    return s.starts_with(unicodeByteOrderMark);
           ~ ^
/usr/include/poppler/UTF.h:64:14: error: no member named 'starts_with' in 
'std::basic_string<char>'
    return s.starts_with(unicodeByteOrderMarkLE);
           ~ ^
/usr/include/poppler/UTF.h:151:29: error: variable has incomplete type 'void'
void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode 
**ucs4_out, int *out_len, const int *in_idx, int **indices);
                            ^
/usr/include/poppler/UTF.h:151:50: error: no member named 'span' in namespace 
'std'
void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode 
**ucs4_out, int *out_len, const int *in_idx, int **indices);
                                            ~~~~~^
/usr/include/poppler/UTF.h:151:55: error: unexpected type name 'Unicode': 
expected expression
void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode 
**ucs4_out, int *out_len, const int *in_idx, int **indices);
                                                      ^
/usr/include/poppler/UTF.h:151:64: error: use of undeclared identifier 'in'
void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode 
**ucs4_out, int *out_len, const int *in_idx, int **indices);
                                                               ^
/usr/include/poppler/UTF.h:151:68: error: unexpected type name 'Unicode': 
expected expression
void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode 
**ucs4_out, int *out_len, const int *in_idx, int **indices);
                                                                   ^
/usr/include/poppler/UTF.h:151:92: error: expected '(' for function-style cast 
or type construction
void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode 
**ucs4_out, int *out_len, const int *in_idx, int **indices);
                                                                                
       ~~~ ^
/usr/include/poppler/UTF.h:151:93: error: use of undeclared identifier 
'out_len'; did you mean 'strlen'?
void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode 
**ucs4_out, int *out_len, const int *in_idx, int **indices);
                                                                                
            ^~~~~~~
                                                                                
            strlen
/usr/include/string.h:407:15: note: 'strlen' declared here
extern size_t strlen (const char *__s)
              ^
In file included from CPdfDocument.cpp:55:
/usr/include/poppler/UTF.h:151:102: error: expected expression
void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode 
**ucs4_out, int *out_len, const int *in_idx, int **indices);
                                                                                
                     ^
/usr/include/poppler/UTF.h:151:125: error: expected '(' for function-style cast 
or type construction
void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode 
**ucs4_out, int *out_len, const int *in_idx, int **indices);
                                                                                
                                        ~~~ ^
/usr/include/poppler/UTF.h:151:127: error: use of undeclared identifier 
'indices'; did you mean 'index'?
void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode 
**ucs4_out, int *out_len, const int *in_idx, int **indices);
                                                                                
                                              ^~~~~~~
                                                                                
                                              index
/usr/include/strings.h:68:14: note: 'index' declared here
extern char *index (const char *__s, int __c)
             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[5]: *** [Makefile:533: gb_pdf_la-CPdfDocument.lo] Error 1

Cheers
-- 
Sebastian Ramacher

Reply via email to