[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#943523: xpdf: FTBFS: build/PDFCore.cc:311:37: error: no matching function for call to 'PDFDoc::findPage(Ref&)'



Source: xpdf
Version: 3.04-13exp2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

xpdf/experimental FTBFS on all architectures:
https://buildd.debian.org/status/package.php?p=xpdf&suite=experimental

 debian/rules build-arch
dh build-arch
   dh_update_autotools_config -a
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp goo/gfile.h xpdf/xfile.h
sed -e s/GFILE/XFILE/g -i xpdf/xfile.h
cp goo/gfile.cc xpdf/xfile.cc
sed -e s/GFILE/XFILE/g -i xpdf/xfile.cc
cp xpdf/GlobalParams.h xpdf/XPDFParams.h
sed -e s/globalParams/xpdfParams/g -e s/GlobalParams/XPDFParams/g \
    -e s/GLOBALPARAMS/XPDFPARAMS/g -e s/popplerParams/globalParams/g \
    -e s/PopplerParams/GlobalParams/g \
    -i xpdf/XPDFParams.h
cp xpdf/GlobalParams.cc xpdf/XPDFParams.cc
sed -e s/globalParams/xpdfParams/g -e s/GlobalParams/XPDFParams/g \
    -e s/GLOBALPARAMS/XPDFPARAMS/g -e s/popplerParams/globalParams/g \
    -e s/PopplerParams/GlobalParams/g \
    -i xpdf/XPDFParams.cc
mkdir -p build
cp goo/parseargs.c goo/parseargs.h xpdf/CoreOutputDev.cc xpdf/CoreOutputDev.h xpdf/PDFCore.cc xpdf/PDFCore.h xpdf/XPDFApp.cc xpdf/XPDFApp.h xpdf/XPDFCore.cc xpdf/XPDFCore.h xpdf/XPDFParams.cc xpdf/XPDFParams.h xpdf/XPDFTree.cc xpdf/XPDFTree.h xpdf/XPDFViewer.cc xpdf/XPDFViewer.h xpdf/xfile.cc xpdf/xfile.h xpdf/xpdf.cc xpdf/config.h xpdf/XPDFTreeP.h xpdf/about-text.h xpdf/*.xbm xpdf/xpdfIcon.xpm build
sed -E -e s/GString/GooString/g -e s/GMutex/GooMutex/g -e s/GHash/GooHash/g \
    -e s/GList/GooList/g -e s/\<aconf\.h\>/\<poppler-config\.h\>/g \
    -e s/GBool/bool/g -e s/gTrue/true/g -e s/gFalse/false/g \
    -e 's/deleteGooList\(([^,]+), ([^)]+)\);/deleteGooList<\2> \(\1\);/' \
    -i build/*
mv build/parseargs.c build/parseargs.cc
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
x86_64-linux-gnu-g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -Wno-format-extra-args -Wfatal-errors -DHAVE_DIRENT_H -DHAVE_PAPER_H -DSYSTEM_XPDFRC=\"/etc/xpdf/xpdfrc\"  -c -o build/CoreOutputDev.o build/CoreOutputDev.cc
x86_64-linux-gnu-g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/poppler -I/usr/include/poppler/goo -I/usr/include/poppler/splash -Wno-write-strings -Wno-format-extra-args -Wfatal-errors -DHAVE_DIRENT_H -DHAVE_PAPER_H -DSYSTEM_XPDFRC=\"/etc/xpdf/xpdfrc\"  -c -o build/PDFCore.o build/PDFCore.cc
build/PDFCore.cc: In member function 'virtual void PDFCore::displayDest(LinkDest*, double, int, bool)':
build/PDFCore.cc:311:37: error: no matching function for call to 'PDFDoc::findPage(Ref&)'
     topPageA = doc->findPage(pageRef);
                                     ^
compilation terminated due to -Wfatal-errors.
make[1]: *** [<builtin>: build/PDFCore.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:50: build-arch] Error 2


Andreas


Reply to: