luatexdir/lua/lpdfscannerlib.cc: In function 'int scanner_scan(lua_State*)': luatexdir/lua/lpdfscannerlib.cc:637:22: error: invalid conversion from 'Object*' to 'int' [-fpermissive] arrayref->get(i, val); ^ In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:320:0, from luatexdir/lua/lpdfscannerlib.cc:37: /scratch/print/luatex/work/.buildlink/include/poppler/Array.h:66:10: note: initializing argument 2 of 'Object Array::get(int, int)' Object get(int i, int resursion = 0); ^ Makefile:12912: recipe for target 'luatexdir/lua/libluatex_a-lpdfscannerlib.o' failed gmake[2]: *** [luatexdir/lua/libluatex_a-lpdfscannerlib.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... mv -f luatexdir/lua/.deps/libluatex_a-limglib.Tpo luatexdir/lua/.deps/libluatex_a-limglib.Po mv -f luatexdir/luafontloader/src/.deps/libluatex_a-luafflib.Tpo luatexdir/luafontloader/src/.deps/libluatex_a-luafflib.Po In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:320:0, from ./luatexdir/image/epdf.h:42, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Array.h: In function 'int m_Array_incRef(lua_State*)': /scratch/print/luatex/work/.buildlink/include/poppler/Array.h:74:7: error: 'int Array::incRef()' is private int incRef(); ^ luatexdir/lua/lepdflib.cc:676:36: error: within this context i = ((Array *) uin->d)->incRef(); ^ In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:320:0, from ./luatexdir/image/epdf.h:42, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Array.h: In function 'int m_Array_decRef(lua_State*)': /scratch/print/luatex/work/.buildlink/include/poppler/Array.h:75:7: error: 'int Array::decRef()' is private int decRef(); ^ luatexdir/lua/lepdflib.cc:688:36: error: within this context i = ((Array *) uin->d)->decRef(); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Array_add(lua_State*)': luatexdir/lua/lepdflib.cc:705:49: error: use of deleted function 'Object::Object(T) [with T = Object*]' ((Array *) uin->d)->add(((Object *) uobj->d)); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:168:24: note: declared here template Object(T) = delete; ^ luatexdir/lua/lepdflib.cc: In function 'int m_Array_get(lua_State*)': luatexdir/lua/lepdflib.cc:721:58: error: invalid conversion from 'Object*' to 'int' [-fpermissive] ((Array *) uin->d)->get(i - 1, (Object *) uout->d); ^ In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:320:0, from ./luatexdir/image/epdf.h:42, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Array.h:66:10: note: initializing argument 2 of 'Object Array::get(int, int)' Object get(int i, int resursion = 0); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Array_getNF(lua_State*)': luatexdir/lua/lepdflib.cc:742:60: error: no matching function for call to 'Array::getNF(int, Object*)' ((Array *) uin->d)->getNF(i - 1, (Object *) uout->d); ^ In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:320:0, from ./luatexdir/image/epdf.h:42, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Array.h:67:10: note: candidate: Object Array::getNF(int) Object getNF(int i); ^ /scratch/print/luatex/work/.buildlink/include/poppler/Array.h:67:10: note: candidate expects 1 argument, 2 provided In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:341:0, from ./luatexdir/image/epdf.h:42, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h: In function 'int m_Dict_incRef(lua_State*)': /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h:99:7: error: 'int Dict::incRef()' is private int incRef(); ^ luatexdir/lua/lepdflib.cc:961:35: error: within this context i = ((Dict *) uin->d)->incRef(); ^ In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:341:0, from ./luatexdir/image/epdf.h:42, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h: In function 'int m_Dict_decRef(lua_State*)': /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h:100:7: error: 'int Dict::decRef()' is private int decRef(); ^ luatexdir/lua/lepdflib.cc:973:35: error: within this context i = ((Dict *) uin->d)->decRef(); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Dict_add(lua_State*)': luatexdir/lua/lepdflib.cc:989:51: error: use of deleted function 'Object::Object(T) [with T = Object*]' ((Dict *) uin->d)->add(s, ((Object *) uobj->d)); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:168:24: note: declared here template Object(T) = delete; ^ luatexdir/lua/lepdflib.cc: In function 'int m_Dict_set(lua_State*)': luatexdir/lua/lepdflib.cc:1002:51: error: use of deleted function 'Object::Object(T) [with T = Object*]' ((Dict *) uin->d)->set(s, ((Object *) uobj->d)); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:168:24: note: declared here template Object(T) = delete; ^ luatexdir/lua/lepdflib.cc: In function 'int m_Dict_lookup(lua_State*)': luatexdir/lua/lepdflib.cc:1030:52: error: invalid conversion from 'Object*' to 'int' [-fpermissive] ((Dict *) uin->d)->lookup(s, (Object *) uout->d); ^ In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:341:0, from ./luatexdir/image/epdf.h:42, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h:77:10: note: initializing argument 2 of 'Object Dict::lookup(const char*, int)' Object lookup(const char *key, int recursion = 0); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Dict_lookupNF(lua_State*)': luatexdir/lua/lepdflib.cc:1047:54: error: no matching function for call to 'Dict::lookupNF(const char*&, Object*)' ((Dict *) uin->d)->lookupNF(s, (Object *) uout->d); ^ In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:341:0, from ./luatexdir/image/epdf.h:42, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h:78:10: note: candidate: Object Dict::lookupNF(const char*) Object lookupNF(const char *key); ^ /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h:78:10: note: candidate expects 1 argument, 2 provided luatexdir/lua/lepdflib.cc: In function 'int m_Dict_getVal(lua_State*)': luatexdir/lua/lepdflib.cc:1099:60: error: no matching function for call to 'Dict::getVal(int, Object*)' ((Dict *) uin->d)->getVal(i - 1, (Object *) uout->d); ^ In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:341:0, from ./luatexdir/image/epdf.h:42, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h:83:10: note: candidate: Object Dict::getVal(int) Object getVal(int i); ^ /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h:83:10: note: candidate expects 1 argument, 2 provided luatexdir/lua/lepdflib.cc: In function 'int m_Dict_getValNF(lua_State*)': luatexdir/lua/lepdflib.cc:1120:62: error: no matching function for call to 'Dict::getValNF(int, Object*)' ((Dict *) uin->d)->getValNF(i - 1, (Object *) uout->d); ^ In file included from /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:341:0, from ./luatexdir/image/epdf.h:42, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h:84:10: note: candidate: Object Dict::getValNF(int) Object getValNF(int i); ^ /scratch/print/luatex/work/.buildlink/include/poppler/Dict.h:84:10: note: candidate expects 1 argument, 2 provided luatexdir/lua/lepdflib.cc: In function 'int m_Object_initBool(lua_State*)': luatexdir/lua/lepdflib.cc:1384:30: error: 'class Object' has no member named 'initBool' ((Object *) uin->d)->initBool(gTrue); ^ luatexdir/lua/lepdflib.cc:1386:30: error: 'class Object' has no member named 'initBool' ((Object *) uin->d)->initBool(gFalse); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initInt(lua_State*)': luatexdir/lua/lepdflib.cc:1398:26: error: 'class Object' has no member named 'initInt' ((Object *) uin->d)->initInt(i); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initReal(lua_State*)': luatexdir/lua/lepdflib.cc:1410:26: error: 'class Object' has no member named 'initReal' ((Object *) uin->d)->initReal(d); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initString(lua_State*)': luatexdir/lua/lepdflib.cc:1425:26: error: 'class Object' has no member named 'initString' ((Object *) uin->d)->initString(gs); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initName(lua_State*)': luatexdir/lua/lepdflib.cc:1437:26: error: 'class Object' has no member named 'initName' ((Object *) uin->d)->initName(s); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initNull(lua_State*)': luatexdir/lua/lepdflib.cc:1447:26: error: 'class Object' has no member named 'initNull' ((Object *) uin->d)->initNull(); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initArray(lua_State*)': luatexdir/lua/lepdflib.cc:1461:26: error: 'class Object' has no member named 'initArray' ((Object *) uin->d)->initArray((XRef *) uxref->d); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initDict(lua_State*)': luatexdir/lua/lepdflib.cc:1479:26: error: 'class Object' has no member named 'initDict' ((Object *) uin->d)->initDict((XRef *) uxref->d); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initStream(lua_State*)': luatexdir/lua/lepdflib.cc:1493:26: error: 'class Object' has no member named 'initStream' ((Object *) uin->d)->initStream((Stream *) ustream->d); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initRef(lua_State*)': luatexdir/lua/lepdflib.cc:1506:26: error: 'class Object' has no member named 'initRef' ((Object *) uin->d)->initRef(num, gen); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initCmd(lua_State*)': luatexdir/lua/lepdflib.cc:1518:26: error: 'class Object' has no member named 'initCmd' ((Object *) uin->d)->initCmd(CHARP_CAST s); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initError(lua_State*)': luatexdir/lua/lepdflib.cc:1528:26: error: 'class Object' has no member named 'initError' ((Object *) uin->d)->initError(); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_initEOF(lua_State*)': luatexdir/lua/lepdflib.cc:1538:26: error: 'class Object' has no member named 'initEOF' ((Object *) uin->d)->initEOF(); ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_fetch(lua_State*)': luatexdir/lua/lepdflib.cc:1554:69: error: invalid conversion from 'Object*' to 'int' [-fpermissive] ((Object *) uin->d)->fetch((XRef *) uxref->d, (Object *) uout->d); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:184:10: note: initializing argument 2 of 'Object Object::fetch(XRef*, int) const' Object fetch(XRef *xref, int recursion = 0) const; ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_arrayAdd(lua_State*)': luatexdir/lua/lepdflib.cc:1819:53: error: use of deleted function 'Object::Object(T) [with T = Object*]' ((Object *) uin->d)->arrayAdd((Object *) uobj->d); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:168:24: note: declared here template Object(T) = delete; ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_arrayGet(lua_State*)': luatexdir/lua/lepdflib.cc:1836:68: error: invalid conversion from 'Object*' to 'int' [-fpermissive] ((Object *) uin->d)->arrayGet(i - 1, (Object *) uout->d); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:331:15: note: initializing argument 2 of 'Object Object::arrayGet(int, int)' inline Object Object::arrayGet(int i, int recursion = 0) ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_arrayGetNF(lua_State*)': luatexdir/lua/lepdflib.cc:1860:70: error: no matching function for call to 'Object::arrayGetNF(int, Object*)' ((Object *) uin->d)->arrayGetNF(i - 1, (Object *) uout->d); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:334:15: note: candidate: Object Object::arrayGetNF(int) inline Object Object::arrayGetNF(int i) ^ /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:334:15: note: candidate expects 1 argument, 2 provided luatexdir/lua/lepdflib.cc: In function 'int m_Object_dictAdd(lua_State*)': luatexdir/lua/lepdflib.cc:1900:67: error: use of deleted function 'Object::Object(T) [with T = Object*]' ((Object *) uin->d)->dictAdd(copyString(s), (Object *) uobj->d); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:168:24: note: declared here template Object(T) = delete; ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_dictSet(lua_State*)': luatexdir/lua/lepdflib.cc:1918:55: error: use of deleted function 'Object::Object(T) [with T = Object*]' ((Object *) uin->d)->dictSet(s, (Object *) uobj->d); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:168:24: note: declared here template Object(T) = delete; ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_dictLookup(lua_State*)': luatexdir/lua/lepdflib.cc:1933:62: error: invalid conversion from 'Object*' to 'int' [-fpermissive] ((Object *) uin->d)->dictLookup(s, (Object *) uout->d); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:361:15: note: initializing argument 2 of 'Object Object::dictLookup(const char*, int)' inline Object Object::dictLookup(const char *key, int recursion) ^ luatexdir/lua/lepdflib.cc: In function 'int m_Object_dictLookupNF(lua_State*)': luatexdir/lua/lepdflib.cc:1953:64: error: no matching function for call to 'Object::dictLookupNF(const char*&, Object*)' ((Object *) uin->d)->dictLookupNF(s, (Object *) uout->d); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:364:15: note: candidate: Object Object::dictLookupNF(const char*) inline Object Object::dictLookupNF(const char *key) ^ /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:364:15: note: candidate expects 1 argument, 2 provided luatexdir/lua/lepdflib.cc: In function 'int m_Object_dictGetVal(lua_State*)': luatexdir/lua/lepdflib.cc:1994:70: error: no matching function for call to 'Object::dictGetVal(int, Object*)' ((Object *) uin->d)->dictGetVal(i - 1, (Object *) uout->d); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:370:15: note: candidate: Object Object::dictGetVal(int) inline Object Object::dictGetVal(int i) ^ /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:370:15: note: candidate expects 1 argument, 2 provided luatexdir/lua/lepdflib.cc: In function 'int m_Object_dictGetValNF(lua_State*)': luatexdir/lua/lepdflib.cc:2018:72: error: no matching function for call to 'Object::dictGetValNF(int, Object*)' ((Object *) uin->d)->dictGetValNF(i - 1, (Object *) uout->d); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:373:15: note: candidate: Object Object::dictGetValNF(int) inline Object Object::dictGetValNF(int i) ^ /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:373:15: note: candidate expects 1 argument, 2 provided luatexdir/lua/lepdflib.cc: In function 'int m_Page_getAnnots(lua_State*)': luatexdir/lua/lepdflib.cc:541:49: error: no matching function for call to 'Page::getAnnots(Object*)' ((in *) uin->d)->function((Object *) uout->d); \ ^ luatexdir/lua/lepdflib.cc:2246:1: note: in expansion of macro 'm_poppler_get_OBJECT' m_poppler_get_OBJECT(Page, getAnnots); ^ In file included from ./luatexdir/image/epdf.h:52:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Page.h:196:11: note: candidate: Annots* Page::getAnnots(XRef*) Annots *getAnnots(XRef *xrefA = NULL); ^ /scratch/print/luatex/work/.buildlink/include/poppler/Page.h:196:11: note: no known conversion for argument 1 from 'Object*' to 'XRef*' luatexdir/lua/lepdflib.cc: In function 'int m_Page_getContents(lua_State*)': luatexdir/lua/lepdflib.cc:541:49: error: no matching function for call to 'Page::getContents(Object*)' ((in *) uin->d)->function((Object *) uout->d); \ ^ luatexdir/lua/lepdflib.cc:2248:1: note: in expansion of macro 'm_poppler_get_OBJECT' m_poppler_get_OBJECT(Page, getContents); ^ In file included from ./luatexdir/image/epdf.h:52:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Page.h:199:10: note: candidate: Object Page::getContents() Object getContents() { return contents.fetch(xref); } ^ /scratch/print/luatex/work/.buildlink/include/poppler/Page.h:199:10: note: candidate expects 0 arguments, 1 provided luatexdir/lua/lepdflib.cc: In function 'int m_PDFDoc_getDocInfo(lua_State*)': luatexdir/lua/lepdflib.cc:2523:69: error: no matching function for call to 'PDFDoc::getDocInfo(Object*)' ((PdfDocument *) uin->d)->doc->getDocInfo((Object *) uout->d); ^ In file included from ./luatexdir/image/epdf.h:54:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/PDFDoc.h:232:10: note: candidate: Object PDFDoc::getDocInfo() Object getDocInfo() { return xref->getDocInfo(); } ^ /scratch/print/luatex/work/.buildlink/include/poppler/PDFDoc.h:232:10: note: candidate expects 0 arguments, 1 provided luatexdir/lua/lepdflib.cc: In function 'int m_PDFDoc_getDocInfoNF(lua_State*)': luatexdir/lua/lepdflib.cc:2541:71: error: no matching function for call to 'PDFDoc::getDocInfoNF(Object*)' ((PdfDocument *) uin->d)->doc->getDocInfoNF((Object *) uout->d); ^ In file included from ./luatexdir/image/epdf.h:54:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/PDFDoc.h:233:10: note: candidate: Object PDFDoc::getDocInfoNF() Object getDocInfoNF() { return xref->getDocInfoNF(); } ^ /scratch/print/luatex/work/.buildlink/include/poppler/PDFDoc.h:233:10: note: candidate expects 0 arguments, 1 provided luatexdir/lua/lepdflib.cc: In function 'int m_Attribute_getValue(lua_State*)': luatexdir/lua/lepdflib.cc:2844:40: error: no matching function for call to 'Object::copy(Object*)' origin->copy ( ((Object *)uout->d) ); ^ In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:180:10: note: candidate: Object Object::copy() const Object copy() const; ^ /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:180:10: note: candidate expects 0 arguments, 1 provided luatexdir/lua/lepdflib.cc: In function 'int m_StructTreeRoot_findParentElement(lua_State*)': luatexdir/lua/lepdflib.cc:3323:45: error: use of deleted function 'StructElement::StructElement(const StructElement&)' uout->d = new StructElement( *parent ); ^ In file included from /scratch/print/luatex/work/.buildlink/include/poppler/StructTreeRoot.h:20:0, from ./luatexdir/image/epdf.h:50, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/StructElement.h:126:7: note: 'StructElement::StructElement(const StructElement&)' is implicitly deleted because the default definition would be ill-formed: class StructElement { ^ /scratch/print/luatex/work/.buildlink/include/poppler/StructElement.h:126:7: error: use of deleted function 'Object::Object(const Object&)' In file included from ./luatexdir/image/epdf.h:42:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/Object.h:174:3: note: declared here Object(const Object &other) = delete; ^ luatexdir/lua/lepdflib.cc: In function 'int m_XRef_getCatalog(lua_State*)': luatexdir/lua/lepdflib.cc:541:49: error: no matching function for call to 'XRef::getCatalog(Object*)' ((in *) uin->d)->function((Object *) uout->d); \ ^ luatexdir/lua/lepdflib.cc:3360:1: note: in expansion of macro 'm_poppler_get_OBJECT' m_poppler_get_OBJECT(XRef, getCatalog); ^ In file included from ./luatexdir/image/epdf.h:48:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/XRef.h:144:10: note: candidate: Object XRef::getCatalog() Object getCatalog(); ^ /scratch/print/luatex/work/.buildlink/include/poppler/XRef.h:144:10: note: candidate expects 0 arguments, 1 provided luatexdir/lua/lepdflib.cc: In function 'int m_XRef_fetch(lua_State*)': luatexdir/lua/lepdflib.cc:3373:58: error: invalid conversion from 'Object*' to 'int' [-fpermissive] ((XRef *) uin->d)->fetch(num, gen, (Object *) uout->d); ^ In file included from ./luatexdir/image/epdf.h:48:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/XRef.h:147:10: note: initializing argument 3 of 'Object XRef::fetch(int, int, int)' Object fetch(int num, int gen, int recursion = 0); ^ luatexdir/lua/lepdflib.cc: In function 'int m_XRef_getDocInfo(lua_State*)': luatexdir/lua/lepdflib.cc:541:49: error: no matching function for call to 'XRef::getDocInfo(Object*)' ((in *) uin->d)->function((Object *) uout->d); \ ^ luatexdir/lua/lepdflib.cc:3380:1: note: in expansion of macro 'm_poppler_get_OBJECT' m_poppler_get_OBJECT(XRef, getDocInfo); ^ In file included from ./luatexdir/image/epdf.h:48:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/XRef.h:150:10: note: candidate: Object XRef::getDocInfo() Object getDocInfo(); ^ /scratch/print/luatex/work/.buildlink/include/poppler/XRef.h:150:10: note: candidate expects 0 arguments, 1 provided luatexdir/lua/lepdflib.cc: In function 'int m_XRef_getDocInfoNF(lua_State*)': luatexdir/lua/lepdflib.cc:541:49: error: no matching function for call to 'XRef::getDocInfoNF(Object*)' ((in *) uin->d)->function((Object *) uout->d); \ ^ luatexdir/lua/lepdflib.cc:3381:1: note: in expansion of macro 'm_poppler_get_OBJECT' m_poppler_get_OBJECT(XRef, getDocInfoNF); ^ In file included from ./luatexdir/image/epdf.h:48:0, from luatexdir/lua/lepdflib.cc:22: /scratch/print/luatex/work/.buildlink/include/poppler/XRef.h:151:10: note: candidate: Object XRef::getDocInfoNF() Object getDocInfoNF(); ^ /scratch/print/luatex/work/.buildlink/include/poppler/XRef.h:151:10: note: candidate expects 0 arguments, 1 provided Makefile:12926: recipe for target 'luatexdir/lua/libluatex_a-lepdflib.o' failed