Source: xpdf
Version: 3.03-17
Severity: serious
Justification: fails to build from source
Tags: sid 
User: [email protected]
Usertags: ftbfs
X-Debbugs-CC: [email protected]

Dear Maintainer,

The package fails to build:

build/XPDFViewer.cc: In static member function ‘static void 
XPDFViewer::printPrintCbk(Widget, XtPointer, XtPointer)’:
build/XPDFViewer.cc:3718:68: error: no matching function for call to 
‘PSOutputDev::PSOutputDev(char*, PDFDoc*&, NULL, int&, int&, PSOutMode, int, 
int, GBool)’
           xpdfParams->getPSPaperHeight(), xpdfParams->getPSDuplex());
                                                                    ^
In file included from build/XPDFViewer.cc:49:0:
/usr/include/poppler/PSOutputDev.h:113:3: note: candidate: 
PSOutputDev::PSOutputDev(PSOutputFunc, void*, char*, PDFDoc*, const 
std::vector<int>&, PSOutMode, int, int, GBool, GBool, int, int, int, int, 
GBool, GBool, PSOutCustomCodeCbk, void*)
   PSOutputDev(PSOutputFunc outputFuncA, void *outputStreamA,
   ^
/usr/include/poppler/PSOutputDev.h:113:3: note:   no known conversion for 
argument 1 from ‘char*’ to ‘PSOutputFunc {aka void (*)(void*, const char*, 
int)}’
/usr/include/poppler/PSOutputDev.h:98:3: note: candidate: 
PSOutputDev::PSOutputDev(const char*, PDFDoc*, char*, const std::vector<int>&, 
PSOutMode, int, int, GBool, GBool, int, int, int, int, GBool, GBool, 
PSOutCustomCodeCbk, void*)
   PSOutputDev(const char *fileName, PDFDoc *docA,
   ^
/usr/include/poppler/PSOutputDev.h:98:3: note:   no known conversion for 
argument 4 from ‘int’ to ‘const std::vector<int>&’
/usr/include/poppler/PSOutputDev.h:93:7: note: candidate: 
PSOutputDev::PSOutputDev(const PSOutputDev&)
 class PSOutputDev: public OutputDev {
       ^
/usr/include/poppler/PSOutputDev.h:93:7: note:   candidate expects 1 argument, 
9 provided
build/XPDFViewer.cc:3765:72: error: no matching function for call to 
‘PSOutputDev::PSOutputDev(char*, PDFDoc*&, NULL, int&, int&, PSOutMode, int, 
int, GBool)’
               xpdfParams->getPSPaperHeight(), xpdfParams->getPSDuplex());
                                                                        ^
In file included from build/XPDFViewer.cc:49:0:
/usr/include/poppler/PSOutputDev.h:113:3: note: candidate: 
PSOutputDev::PSOutputDev(PSOutputFunc, void*, char*, PDFDoc*, const 
std::vector<int>&, PSOutMode, int, int, GBool, GBool, int, int, int, int, 
GBool, GBool, PSOutCustomCodeCbk, void*)
   PSOutputDev(PSOutputFunc outputFuncA, void *outputStreamA,
   ^
/usr/include/poppler/PSOutputDev.h:113:3: note:   no known conversion for 
argument 1 from ‘char*’ to ‘PSOutputFunc {aka void (*)(void*, const char*, 
int)}’
/usr/include/poppler/PSOutputDev.h:98:3: note: candidate: 
PSOutputDev::PSOutputDev(const char*, PDFDoc*, char*, const std::vector<int>&, 
PSOutMode, int, int, GBool, GBool, int, int, int, int, GBool, GBool, 
PSOutCustomCodeCbk, void*)
   PSOutputDev(const char *fileName, PDFDoc *docA,
   ^
/usr/include/poppler/PSOutputDev.h:98:3: note:   no known conversion for 
argument 4 from ‘int’ to ‘const std::vector<int>&’
/usr/include/poppler/PSOutputDev.h:93:7: note: candidate: 
PSOutputDev::PSOutputDev(const PSOutputDev&)
 class PSOutputDev: public OutputDev {
       ^
/usr/include/poppler/PSOutputDev.h:93:7: note:   candidate expects 1 argument, 
9 provided
<builtin>: recipe for target 'build/XPDFViewer.o' failed
make[1]: *** [build/XPDFViewer.o] Error 1
make[1]: Leaving directory '/xpdf-3.03'
debian/rules:37: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/xpdf.html

-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Reply via email to