[Debian GNUstep maintainers] Bug#1017318: popplerkit.framework: FTBFS: poppler_document.cc:34:62: error: no matching function for call to ‘PDFDoc::PDFDoc?=(std:: detail:: unique ptr t<GooString>)=?UTF-8?Q?’

Lucas Nussbaum lucas at debian.org
Sun Aug 14 09:46:02 BST 2022


Source: popplerkit.framework
Version: 0.0.20051227svn-9
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> g++ poppler_document.cc -c \
>       -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -pthread -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -I/usr/include/poppler -I/usr/include/poppler -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/X11R6/include -I./../derived_src -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g -DPOPPLER_0_20 -DPOPPLER_0_85 \
>        -o obj/bindings.obj/poppler_document.cc.o
> poppler_document.cc: In function ‘void* poppler_document_create_with_path(const char*)’:
> poppler_document.cc:34:62: error: no matching function for call to ‘PDFDoc::PDFDoc(std::__detail::__unique_ptr_t<GooString>)’
>    34 |    PDFDoc* doc = new PDFDoc(std::make_unique<GooString>(path));
>       |                                                              ^
> In file included from poppler_document.cc:22:
> /usr/include/poppler/PDFDoc.h:370:5: note: candidate: ‘PDFDoc::PDFDoc()’
>   370 |     PDFDoc();
>       |     ^~~~~~
> /usr/include/poppler/PDFDoc.h:370:5: note:   candidate expects 0 arguments, 1 provided
> /usr/include/poppler/PDFDoc.h:137:14: note: candidate: ‘PDFDoc::PDFDoc(BaseStream*, const GooString*, const GooString*, void*, const std::function<void()>&)’
>   137 |     explicit PDFDoc(BaseStream *strA, const GooString *ownerPassword = nullptr, const GooString *userPassword = nullptr, void *guiDataA = nullptr, const std::function<void()> &xrefReconstructedCallback = {});
>       |              ^~~~~~
> /usr/include/poppler/PDFDoc.h:137:33: note:   no known conversion for argument 1 from ‘std::__detail::__unique_ptr_t<GooString>’ to ‘BaseStream*’
>   137 |     explicit PDFDoc(BaseStream *strA, const GooString *ownerPassword = nullptr, const GooString *userPassword = nullptr, void *guiDataA = nullptr, const std::function<void()> &xrefReconstructedCallback = {});
>       |                     ~~~~~~~~~~~~^~~~
> /usr/include/poppler/PDFDoc.h:131:14: note: candidate: ‘PDFDoc::PDFDoc(const GooString*, const GooString*, const GooString*, void*, const std::function<void()>&)’
>   131 |     explicit PDFDoc(const GooString *fileNameA, const GooString *ownerPassword = nullptr, const GooString *userPassword = nullptr, void *guiDataA = nullptr, const std::function<void()> &xrefReconstructedCallback = {});
>       |              ^~~~~~
> /usr/include/poppler/PDFDoc.h:131:38: note:   no known conversion for argument 1 from ‘std::__detail::__unique_ptr_t<GooString>’ to ‘const GooString*’
>   131 |     explicit PDFDoc(const GooString *fileNameA, const GooString *ownerPassword = nullptr, const GooString *userPassword = nullptr, void *guiDataA = nullptr, const std::function<void()> &xrefReconstructedCallback = {});
>       |                     ~~~~~~~~~~~~~~~~~^~~~~~~~~
> make[4]: *** [/usr/share/GNUstep/Makefiles/rules.make:534: obj/bindings.obj/poppler_document.cc.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/popplerkit.framework_0.0.20051227svn-9_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-GNUstep-maintainers mailing list