pkgsrc-Users archive

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

Failures building print/web2c



Thanks to wiz for uploading the netpbm dist-files.

I've made some progress, but am currently stuck at print/web2c with the following error messages in the log file:

gcc -DHAVE_CONFIG_H -I. -I./w2c  -I/usr/pkg/lib -I/usr/pkg/include  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -MT tangleboot.o -MD -MP -MF $depbase.Tpo -c -o tangleboot.o tangleboot.c &&\
mv -f $depbase.Tpo $depbase.Po
pdftexdir/pdftosrc.cc: In function 'int main(int, char**)':
pdftexdir/pdftosrc.cc:89:17: error: 'class Object' has no member named 'initNull'
     catalogDict.initNull();
                 ^
pdftexdir/pdftosrc.cc:90:34: error: no matching function for call to 'XRef::getCatalog(Object*)'
     xref->getCatalog(&catalogDict);
                                  ^
In file included from pdftexdir/pdftosrc.cc:48:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/XRef.h:144:10: note: candidate: Object XRef::getCatalog()
   Object getCatalog();
          ^
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/XRef.h:144:10: note:   candidate expects 0 arguments, 1 provided
pdftexdir/pdftosrc.cc:95:15: error: 'class Object' has no member named 'initNull'
     srcStream.initNull();
               ^
pdftexdir/pdftosrc.cc:97:58: error: invalid conversion from 'Object*' to 'int' [-fpermissive]
         catalogDict.dictLookup("SourceObject", &srcStream);
                                                          ^
In file included from pdftexdir/pdftosrc.cc:42:0:
/tmp/pkgs/print/web2c/work.x86_64/.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)
               ^
pdftexdir/pdftosrc.cc:103:17: error: 'class Object' has no member named 'initNull'
         srcName.initNull();
                 ^
pdftexdir/pdftosrc.cc:104:72: error: invalid conversion from 'Object*' to 'int' [-fpermissive]
         srcStream.getStream()->getDict()->lookup("SourceName", &srcName);
                                                                        ^
In file included from /tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:341:0,
                 from pdftexdir/pdftosrc.cc:42:
/tmp/pkgs/print/web2c/work.x86_64/.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);
          ^
pdftexdir/pdftosrc.cc:113:47: error: invalid conversion from 'Object*' to 'int' [-fpermissive]
         xref->fetch(objnum, objgen, &srcStream);
                                               ^
In file included from pdftexdir/pdftosrc.cc:48:0:
/tmp/pkgs/print/web2c/work.x86_64/.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);
          ^
In file included from /tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/GlobalParams.h:42:0,
                 from pdftexdir/pdftosrc.cc:53:
pdftexdir/pdftosrc.cc:162:57: error: invalid conversion from 'Object*' to 'int' [-fpermissive]
                 assert(xref->fetch(e->offset, 0, &objStr)->isStream());
                                                         ^
In file included from pdftexdir/pdftosrc.cc:48:0:
/tmp/pkgs/print/web2c/work.x86_64/.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);
          ^
In file included from /tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/GlobalParams.h:42:0,
                 from pdftexdir/pdftosrc.cc:53:
pdftexdir/pdftosrc.cc:162:58: error: base operand of '->' has non-pointer type 'Object'
                 assert(xref->fetch(e->offset, 0, &objStr)->isStream());
                                                          ^
pdftexdir/pdftosrc.cc:163:69: error: invalid conversion from 'Object*' to 'int' [-fpermissive]
                 nObjects = objStr.streamGetDict()->lookup("N", &obj1)->getInt();
                                                                     ^
In file included from /tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:341:0,
                 from pdftexdir/pdftosrc.cc:42:
/tmp/pkgs/print/web2c/work.x86_64/.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);
          ^
pdftexdir/pdftosrc.cc:163:70: error: base operand of '->' has non-pointer type 'Object'
                 nObjects = objStr.streamGetDict()->lookup("N", &obj1)->getInt();
                                                                      ^
In file included from pdftexdir/pdftosrc.cc:42:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:291:8: error: 'void Object::free()' is private
   void free();
        ^
pdftexdir/pdftosrc.cc:164:27: error: within this context
                 obj1.free();
                           ^
pdftexdir/pdftosrc.cc:165:70: error: invalid conversion from 'Object*' to 'int' [-fpermissive]
                 first = objStr.streamGetDict()->lookup("First", &obj1)->getInt();
                                                                      ^
In file included from /tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:341:0,
                 from pdftexdir/pdftosrc.cc:42:
/tmp/pkgs/print/web2c/work.x86_64/.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);
          ^
pdftexdir/pdftosrc.cc:165:71: error: base operand of '->' has non-pointer type 'Object'
                 first = objStr.streamGetDict()->lookup("First", &obj1)->getInt();
                                                                       ^
In file included from pdftexdir/pdftosrc.cc:42:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:291:8: error: 'void Object::free()' is private
   void free();
        ^
pdftexdir/pdftosrc.cc:166:27: error: within this context
                 obj1.free();
                           ^
pdftexdir/pdftosrc.cc:171:22: error: 'class Object' has no member named 'initNull'
                 obj1.initNull();
                      ^
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 pdftexdir/pdftosrc.cc:42:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:168:24: note: declared here
   template<typename T> Object(T) = delete;
                        ^
pdftexdir/pdftosrc.cc:175:41: error: use of deleted function 'Object Parser::getObj(T) [with T = Object*]'
                     parser->getObj(&obj1);
                                         ^
In file included from pdftexdir/pdftosrc.cc:45:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Parser.h:58:31: note: declared here
   template<typename T> Object getObj(T) = delete;
                               ^
pdftexdir/pdftosrc.cc:176:41: error: use of deleted function 'Object Parser::getObj(T) [with T = Object*]'
                     parser->getObj(&obj2);
                                         ^
In file included from pdftexdir/pdftosrc.cc:45:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Parser.h:58:31: note: declared here
   template<typename T> Object getObj(T) = delete;
                               ^
In file included from pdftexdir/pdftosrc.cc:42:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:291:8: error: 'void Object::free()' is private
   void free();
        ^
pdftexdir/pdftosrc.cc:179:31: error: within this context
                     obj1.free();
                               ^
In file included from pdftexdir/pdftosrc.cc:42:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:291:8: error: 'void Object::free()' is private
   void free();
        ^
pdftexdir/pdftosrc.cc:180:31: error: within this context
                     obj2.free();
                               ^
In file included from pdftexdir/pdftosrc.cc:42:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:291:8: error: 'void Object::free()' is private
   void free();
        ^
pdftexdir/pdftosrc.cc:184:29: error: within this context
                 objStr.free();
                             ^
In file included from pdftexdir/pdftosrc.cc:42:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:291:8: error: 'void Object::free()' is private
   void free();
        ^
pdftexdir/pdftosrc.cc:195:24: error: within this context
         srcStream.free();
                        ^
In file included from pdftexdir/pdftosrc.cc:42:0:
/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include/poppler/Object.h:291:8: error: 'void Object::free()' is private
   void free();
        ^
pdftexdir/pdftosrc.cc:204:22: error: within this context
     catalogDict.free();
                      ^
Makefile:13122: recipe for target 'pdftexdir/pdftosrc-pdftosrc.o' failed
gmake[2]: *** [pdftexdir/pdftosrc-pdftosrc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
mv -f mplibdir/.deps/libmputil_a-avl.Tpo mplibdir/.deps/libmputil_a-avl.Po
mv -f pdftexdir/.deps/ttf2afm-ttf2afm.Tpo pdftexdir/.deps/ttf2afm-ttf2afm.Po
mv -f mplibdir/.deps/libmputil_a-decNumber.Tpo mplibdir/.deps/libmputil_a-decNumber.Po
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./w2c -I./synctexdir -DSYNCTEX_USE_LOCAL_HEADER -I/tmp/pkgs/print/web2c/work.x86_64/.buildlink/include -I/tmp/pkgs/print/web2c/work.x86_64/.x11-buildlink/include -I/tmp/pkgs/print/web2c/work.x86_64/.x11-buildlink/include/libdrm -I/tmp/pkgs/print/web2c/work.x86_64/.x11-buildlink/include/freetype2 -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas -O2 -D_FORTIFY_SOURCE=2 -MT synctexdir/libsynctex_la-synctex_parser.lo -MD -MP -MF synctexdir/.deps/libsynctex_la-synctex_parser.Tpo -c synctexdir/synctex_parser.c -o synctexdir/libsynctex_la-synctex_parser.o >/dev/null 2>&1
mv -f synctexdir/.deps/libsynctex_la-synctex_parser.Tpo synctexdir/.deps/libsynctex_la-synctex_parser.Plo
gmake[2]: Leaving directory '/tmp/pkgs/print/web2c/work.x86_64/texlive-20170524-source/texk/web2c'
Makefile:13394: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/pkgs/print/web2c/work.x86_64/texlive-20170524-source/texk/web2c'
Makefile:3820: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /build/pkgsrc/print/web2c
*** Error code 1

Stop.
make: stopped in /build/pkgsrc/print/web2c



+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index