[MacPorts] #64899: Failure to rebuild broken port: pdf2djvu

MacPorts noreply at macports.org
Mon Mar 28 00:00:55 UTC 2022


#64899: Failure to rebuild broken port: pdf2djvu
-----------------------+-------------------------
  Reporter:  angelog0  |      Owner:  NicosPavlov
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.2
Resolution:            |   Keywords:
      Port:  pdf2djvu  |
-----------------------+-------------------------

Comment (by kencu):

 {{{
 :info:build pdf-backend.cc:133:3: error: no matching constructor for
 initialization of '::PDFDoc'
 :info:build : ::PDFDoc(new pdf::String(file_name.c_str()), nullptr,
 nullptr)
 :info:build   ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build /opt/local/include/poppler/PDFDoc.h:132:14: note: candidate
 constructor not viable: no known conversion from 'pdf::String *' (aka
 'GooString *') to 'std::unique_ptr<GooString>' for 1st argument
 :info:build     explicit PDFDoc(std::unique_ptr<GooString> &&fileNameA,
 const std::optional<GooString> &ownerPassword = {}, const
 std::optional<GooString> &userPassword = {}, void *guiDataA = nullptr,
 :info:build              ^
 :info:build /opt/local/include/poppler/PDFDoc.h:139:14: note: candidate
 constructor not viable: no known conversion from 'pdf::String *' (aka
 'GooString *') to 'BaseStream *' for 1st argument
 :info:build     explicit PDFDoc(BaseStream *strA, const
 std::optional<GooString> &ownerPassword = {}, const
 std::optional<GooString> &userPassword = {}, void *guiDataA = nullptr,
 const std::function<void()> &xrefReconstructedCallback = {});
 :info:build              ^
 :info:build /opt/local/include/poppler/PDFDoc.h:142:5: note: candidate
 constructor not viable: requires 1 argument, but 3 were provided
 :info:build     PDFDoc(const PDFDoc &) = delete;
 :info:build     ^
 :info:build /opt/local/include/poppler/PDFDoc.h:371:5: note: candidate
 constructor not viable: requires 0 arguments, but 3 were provided
 :info:build     PDFDoc();
 :info:build     ^
 :info:build 1 error generated.

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64899#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list