g++ -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/usr/ports/opt/texlive/work/src/texlive-20170524-source/build/texk -I/usr/ports/opt/texlive/work/src/texlive-20170524-source/texk -I/usr/include/libpng16 -DPOPPLER_VERSION=\"0.59.0\" -I/usr/include/poppler -I../../../texk/web2c/libmd5 -I../../../texk/web2c/pdftexdir -Wreturn-type -Wno-write-strings -O2 -march=x86-64 -pipe -MT pdftexdir/pdftosrc-pdftosrc.o -MD -MP -MF pdftexdir/.deps/pdftosrc-pdftosrc.Tpo -c -o pdftexdir/pdftosrc-pdftosrc.o `test -f 'pdftexdir/pdftosrc.cc' || echo '../../../texk/web2c/'`pdftexdir/pdftosrc.cc ../../../texk/web2c/pdftexdir/pdftosrc.cc: In function 'int main(int, char**)': ../../../texk/web2c/pdftexdir/pdftosrc.cc:89:17: error: 'class Object' has no member named 'initNull'; did you mean 'isNull'? catalogDict.initNull(); ^~~~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:90:34: error: no matching function for call to 'XRef::getCatalog(Object*)' xref->getCatalog(&catalogDict); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:48:0: /usr/include/poppler/XRef.h:144:10: note: candidate: Object XRef::getCatalog() Object getCatalog(); ^~~~~~~~~~ /usr/include/poppler/XRef.h:144:10: note: candidate expects 0 arguments, 1 provided ../../../texk/web2c/pdftexdir/pdftosrc.cc:95:15: error: 'class Object' has no member named 'initNull'; did you mean 'isNull'? srcStream.initNull(); ^~~~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:97:48: error: invalid conversion from 'Object*' to 'int' [-fpermissive] catalogDict.dictLookup("SourceObject", &srcStream); ^~~~~~~~~~ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42:0: /usr/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) ^~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:103:17: error: 'class Object' has no member named 'initNull'; did you mean 'isNull'? srcName.initNull(); ^~~~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:104:64: error: invalid conversion from 'Object*' to 'int' [-fpermissive] srcStream.getStream()->getDict()->lookup("SourceName", &srcName); ^~~~~~~~ In file included from /usr/include/poppler/Object.h:341:0, from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42: /usr/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); ^~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:113:37: error: invalid conversion from 'Object*' to 'int' [-fpermissive] xref->fetch(objnum, objgen, &srcStream); ^~~~~~~~~~ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:48:0: /usr/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); ^~~~~ In file included from /usr/include/poppler/GlobalParams.h:42:0, from ../../../texk/web2c/pdftexdir/pdftosrc.cc:53: ../../../texk/web2c/pdftexdir/pdftosrc.cc:162:50: error: invalid conversion from 'Object*' to 'int' [-fpermissive] assert(xref->fetch(e->offset, 0, &objStr)->isStream()); ^~ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:48:0: /usr/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); ^~~~~ In file included from /usr/include/poppler/GlobalParams.h:42:0, from ../../../texk/web2c/pdftexdir/pdftosrc.cc:53: ../../../texk/web2c/pdftexdir/pdftosrc.cc:162:58: error: base operand of '->' has non-pointer type 'Object' assert(xref->fetch(e->offset, 0, &objStr)->isStream()); ^ ../../../texk/web2c/pdftexdir/pdftosrc.cc:163:64: error: invalid conversion from 'Object*' to 'int' [-fpermissive] nObjects = objStr.streamGetDict()->lookup("N", &obj1)->getInt(); ^~~~~ In file included from /usr/include/poppler/Object.h:341:0, from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42: /usr/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); ^~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:163:70: error: base operand of '->' has non-pointer type 'Object' nObjects = objStr.streamGetDict()->lookup("N", &obj1)->getInt(); ^~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:164:27: error: 'void Object::free()' is private within this context obj1.free(); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42:0: /usr/include/poppler/Object.h:291:8: note: declared private here void free(); ^~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:165:65: error: invalid conversion from 'Object*' to 'int' [-fpermissive] first = objStr.streamGetDict()->lookup("First", &obj1)->getInt(); ^~~~~ In file included from /usr/include/poppler/Object.h:341:0, from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42: /usr/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); ^~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:165:71: error: base operand of '->' has non-pointer type 'Object' first = objStr.streamGetDict()->lookup("First", &obj1)->getInt(); ^~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:166:27: error: 'void Object::free()' is private within this context obj1.free(); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42:0: /usr/include/poppler/Object.h:291:8: note: declared private here void free(); ^~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:171:22: error: 'class Object' has no member named 'initNull'; did you mean 'isNull'? obj1.initNull(); ^~~~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:172:78: error: use of deleted function 'Object::Object(T) [with T = Object*]' str = new EmbedStream(objStr.getStream(), &obj1, gTrue, first); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42:0: /usr/include/poppler/Object.h:168:24: note: declared here template Object(T) = delete; ^~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:175:41: error: use of deleted function 'Object Parser::getObj(T) [with T = Object*]' parser->getObj(&obj1); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:45:0: /usr/include/poppler/Parser.h:58:31: note: declared here template Object getObj(T) = delete; ^~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:176:41: error: use of deleted function 'Object Parser::getObj(T) [with T = Object*]' parser->getObj(&obj2); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:45:0: /usr/include/poppler/Parser.h:58:31: note: declared here template Object getObj(T) = delete; ^~~~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:179:31: error: 'void Object::free()' is private within this context obj1.free(); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42:0: /usr/include/poppler/Object.h:291:8: note: declared private here void free(); ^~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:180:31: error: 'void Object::free()' is private within this context obj2.free(); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42:0: /usr/include/poppler/Object.h:291:8: note: declared private here void free(); ^~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:184:29: error: 'void Object::free()' is private within this context objStr.free(); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42:0: /usr/include/poppler/Object.h:291:8: note: declared private here void free(); ^~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:195:24: error: 'void Object::free()' is private within this context srcStream.free(); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42:0: /usr/include/poppler/Object.h:291:8: note: declared private here void free(); ^~~~ ../../../texk/web2c/pdftexdir/pdftosrc.cc:204:22: error: 'void Object::free()' is private within this context catalogDict.free(); ^ In file included from ../../../texk/web2c/pdftexdir/pdftosrc.cc:42:0: /usr/include/poppler/Object.h:291:8: note: declared private here void free(); ^~~~ make[5]: *** [Makefile:13122: pdftexdir/pdftosrc-pdftosrc.o] Error 1 make[5]: *** Waiting for unfinished jobs.... mv -f pdftexdir/.deps/ttf2afm-ttf2afm.Tpo pdftexdir/.deps/ttf2afm-ttf2afm.Po mv -f synctexdir/.deps/libsynctex_la-synctex_parser.Tpo synctexdir/.deps/libsynctex_la-synctex_parser.Plo mv -f mplibdir/.deps/libmputil_a-decNumber.Tpo mplibdir/.deps/libmputil_a-decNumber.Po make[5]: Leaving directory '/usr/ports/opt/texlive/work/src/texlive-20170524-source/build/texk/web2c' make[4]: *** [Makefile:13394: all-recursive] Error 1 make[4]: Leaving directory '/usr/ports/opt/texlive/work/src/texlive-20170524-source/build/texk/web2c' make[3]: *** [Makefile:3820: all] Error 2 make[3]: Leaving directory '/usr/ports/opt/texlive/work/src/texlive-20170524-source/build/texk/web2c' make[2]: *** [Makefile:906: recurse] Error 1 make[2]: Leaving directory '/usr/ports/opt/texlive/work/src/texlive-20170524-source/build/texk' make[1]: *** [Makefile:486: all-recursive] Error 1 make[1]: Leaving directory '/usr/ports/opt/texlive/work/src/texlive-20170524-source/build/texk' make: *** [Makefile:575: all-recursive] Error 1 =======> ERROR: Building '/usr/ports/pkg/texlive#20170524-1.pkg.tar.gz' failed.