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

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



Your message dated Sat, 26 Oct 2019 11:08:34 +0200
with message-id <f20ef5d3-08e4-e8c4-ace1-fb9282692934@debian.org>
and subject line Re: xpdf: FTBFS: build/PDFCore.cc:311:37: error: no matching function for call to 'PDFDoc::findPage(Ref&)'
has caused the Debian Bug report #943523,
regarding xpdf: FTBFS: build/PDFCore.cc:311:37: error: no matching function for call to 'PDFDoc::findPage(Ref&)'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
943523: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943523
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Hello,

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
> 

Get: 97 https://cdn-aws.deb.debian.org/debian unstable/main amd64 libpoppler82 amd64 0.71.0-6 [1515 kB]
Get: 98 https://cdn-aws.deb.debian.org/debian unstable/main amd64 libpoppler-dev amd64 0.71.0-6 [23.9 kB]
Get: 99 https://cdn-aws.deb.debian.org/debian unstable/main amd64 libpoppler-private-dev amd64 0.71.0-6 [188 kB]

I did upload this version to make sure it is ready for an eventual transition,
I uploaded when the poppler was not even in experimental yet.

It builds with experimental only pocket (and no, I don't plan to bump the dependency in a new upload, specially because
poppler transition will probably start soon enough).

We should remember to bump the version in control file at least on git
G.

--- End Message ---

Reply to: