Discussion:
Anyone source of TeXLive 2018 compiled with poppler-0.62
(too old to reply)
Dr. Werner Fink
2018-04-10 10:27:06 UTC
Permalink
Raw Message
Hi,

just taken the current tree[1] and run into errors with poppler-0.62

Werner

[1] I'm using rsync with tug.org::tldevsrc/Build/source/
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
Ken Moffat
2018-04-10 18:18:52 UTC
Permalink
Raw Message
Post by Dr. Werner Fink
Hi,
just taken the current tree[1] and run into errors with poppler-0.62
Werner
Did you use the -newpoppler files in texk/web2c/pdftexdir ?
(pdftoepdf, pdftexdir) - see the third paragraph of NEWS in the same
directory.

ĸen
--
In my seventh decade astride this planet, and as my own cells degrade,
there are some things I cannot do now: skydiving, marathon running,
calculus. I couldn't do them in my 20s either, so no big loss.
-- Derek Smalls, formerly of Spinal Tap
Dr. Werner Fink
2018-04-11 12:37:15 UTC
Permalink
Raw Message
Just a simple retry with an other subject line
Post by Dr. Werner Fink
Hi,
just taken the current tree[1] and run into errors with poppler-0.62
Werner
[1] I'm using rsync with tug.org::tldevsrc/Build/source/
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
[ 178s] gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/home/abuild/rpmbuild/BUILD/texlive/world/texk -I/home/abuild/rpmbuild/BUILD/texlive/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -D_GNU_SOURCE -std=gnu99 -fno-strict-aliasing -fPIC -Wno-write-strings -Wno-char-subscripts -Wno-unused -Wno-uninitialized -Wno-return-type -Wno-parentheses -Wno-sign-compare -Wno-unprototyped-calls -pipe -MT luatexdir/unilib/libunilib_a-unialt.o -MD -MP -MF luatexdir/unilib/.deps/libunilib_a-unialt.Tpo -c -o luatexdir/unilib/libunilib_a-unialt.o `test -f 'luatexdir/unilib/unialt.c' || echo '../../../texk/web2c/'`luatexdir/unilib/unialt.c
[ 178s] ../../../texk/web2c/luatexdir/unilib/gwwiconv.c:400:45: warning: comparison between ‘enum encoding’ and ‘enum extended_encoding’ [-Wenum-compare]
[ 178s] } else if ( cd->from==e_wansung || cd->from==e_jisgbpk ) {
[ 178s] ^~
[ 178s] ../../../texk/web2c/luatexdir/unilib/gwwiconv.c:401:23: warning: comparison between ‘enum encoding’ and ‘enum extended_encoding’ [-Wenum-compare]
[ 178s] ^~
[ 179s] ../../../texk/web2c/luatexdir/unilib/gwwiconv.c:612:45: warning: comparison between ‘enum encoding’ and ‘enum extended_encoding’ [-Wenum-compare]
[ 179s] } else if ( cd->from==e_wansung || cd->from==e_jisgbpk ) {
[ 179s] ^~
[ 179s] ../../../texk/web2c/luatexdir/unilib/gwwiconv.c:613:23: warning: comparison between ‘enum encoding’ and ‘enum extended_encoding’ [-Wenum-compare]
[ 179s] ^~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:93:17: error: ‘class Object’ has no member named ‘initNull’; did you mean ‘isNull’?
[ 179s] catalogDict.initNull();
[ 179s] ^~~~~~~~
[ 179s] isNull
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:94:34: error: no matching function for call to ‘XRef::getCatalog(Object*)’
[ 179s] xref->getCatalog(&catalogDict);
[ 179s] ^
[ 179s] /usr/include/poppler/XRef.h:144:10: note: candidate: Object XRef::getCatalog()
[ 179s] Object getCatalog();
[ 179s] ^~~~~~~~~~
[ 179s] /usr/include/poppler/XRef.h:144:10: note: candidate expects 0 arguments, 1 provided
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:99:15: error: ‘class Object’ has no member named ‘initNull’; did you mean ‘isNull’?
[ 179s] srcStream.initNull();
[ 179s] ^~~~~~~~
[ 179s] isNull
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:101:48: error: invalid conversion from ‘Object*’ to ‘int’ [-fpermissive]
[ 179s] catalogDict.dictLookup("SourceObject", &srcStream);
[ 179s] ^~~~~~~~~~
[ 179s] /usr/include/poppler/Object.h:362:15: note: initializing argument 2 of ‘Object Object::dictLookup(const char*, int) const’
[ 179s] inline Object Object::dictLookup(const char *key, int recursion) const
[ 179s] ^~~~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:107:17: error: ‘class Object’ has no member named ‘initNull’; did you mean ‘isNull’?
[ 179s] srcName.initNull();
[ 179s] ^~~~~~~~
[ 179s] isNull
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:108:64: error: invalid conversion from ‘Object*’ to ‘int’ [-fpermissive]
[ 179s] srcStream.getStream()->getDict()->lookup("SourceName", &srcName);
[ 179s] ^~~~~~~~
[ 179s] In file included from /usr/include/poppler/Object.h:342:0,
[ 179s] /usr/include/poppler/Dict.h:78:10: note: initializing argument 2 of ‘Object Dict::lookup(const char*, int) const’
[ 179s] Object lookup(const char *key, int recursion = 0) const;
[ 179s] ^~~~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:117:37: error: invalid conversion from ‘Object*’ to ‘int’ [-fpermissive]
[ 179s] xref->fetch(objnum, objgen, &srcStream);
[ 179s] ^~~~~~~~~~
[ 179s] /usr/include/poppler/XRef.h:147:10: note: initializing argument 3 of ‘Object XRef::fetch(int, int, int)’
[ 179s] Object fetch(int num, int gen, int recursion = 0);
[ 179s] ^~~~~
[ 179s] In file included from /usr/include/poppler/GlobalParams.h:42:0,
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:167:50: error: invalid conversion from ‘Object*’ to ‘int’ [-fpermissive]
[ 179s] assert(xref->fetch(e->offset, 0, &objStr)->isStream());
[ 179s] ^~
[ 179s] /usr/include/poppler/XRef.h:147:10: note: initializing argument 3 of ‘Object XRef::fetch(int, int, int)’
[ 179s] Object fetch(int num, int gen, int recursion = 0);
[ 179s] ^~~~~
[ 179s] In file included from /usr/include/poppler/GlobalParams.h:42:0,
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:167:58: error: base operand of ‘->’ has non-pointer type ‘Object’
[ 179s] assert(xref->fetch(e->offset, 0, &objStr)->isStream());
[ 179s] ^
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:168:64: error: invalid conversion from ‘Object*’ to ‘int’ [-fpermissive]
[ 179s] nObjects = objStr.streamGetDict()->lookup("N", &obj1)->getInt();
[ 179s] ^~~~~
[ 179s] In file included from /usr/include/poppler/Object.h:342:0,
[ 179s] /usr/include/poppler/Dict.h:78:10: note: initializing argument 2 of ‘Object Dict::lookup(const char*, int) const’
[ 179s] Object lookup(const char *key, int recursion = 0) const;
[ 179s] ^~~~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:168:70: error: base operand of ‘->’ has non-pointer type ‘Object’
[ 179s] nObjects = objStr.streamGetDict()->lookup("N", &obj1)->getInt();
[ 179s] ^~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:169:27: error: ‘void Object::free()’ is private within this context
[ 179s] obj1.free();
[ 179s] ^
[ 179s] /usr/include/poppler/Object.h:292:8: note: declared private here
[ 179s] void free();
[ 179s] ^~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:170:65: error: invalid conversion from ‘Object*’ to ‘int’ [-fpermissive]
[ 179s] first = objStr.streamGetDict()->lookup("First", &obj1)->getInt();
[ 179s] ^~~~~
[ 179s] mv -f luatexdir/unilib/.deps/libunilib_a-ucharmap.Tpo luatexdir/unilib/.deps/libunilib_a-ucharmap.Po
[ 179s] gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I/home/abuild/rpmbuild/BUILD/texlive/world/texk -I/home/abuild/rpmbuild/BUILD/texlive/texk -I../../../texk/web2c/w2c -I../../../texk/web2c/luatexdir/unilib -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -D_GNU_SOURCE -std=gnu99 -fno-strict-aliasing -fPIC -Wno-write-strings -Wno-char-subscripts -Wno-unused -Wno-uninitialized -Wno-return-type -Wno-parentheses -Wno-sign-compare -Wno-unprototyped-calls -pipe -MT luatexdir/unilib/libunilib_a-usprintf.o -MD -MP -MF luatexdir/unilib/.deps/libunilib_a-usprintf.Tpo -c -o luatexdir/unilib/libunilib_a-usprintf.o `test -f 'luatexdir/unilib/usprintf.c' || echo '../../../texk/web2c/'`luatexdir/unilib/usprintf.c
[ 179s] In file included from /usr/include/poppler/Object.h:342:0,
[ 179s] /usr/include/poppler/Dict.h:78:10: note: initializing argument 2 of ‘Object Dict::lookup(const char*, int) const’
[ 179s] Object lookup(const char *key, int recursion = 0) const;
[ 179s] ^~~~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:170:71: error: base operand of ‘->’ has non-pointer type ‘Object’
[ 179s] first = objStr.streamGetDict()->lookup("First", &obj1)->getInt();
[ 179s] ^~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:171:27: error: ‘void Object::free()’ is private within this context
[ 179s] obj1.free();
[ 179s] ^
[ 179s] /usr/include/poppler/Object.h:292:8: note: declared private here
[ 179s] void free();
[ 179s] ^~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:176:22: error: ‘class Object’ has no member named ‘initNull’; did you mean ‘isNull’?
[ 179s] obj1.initNull();
[ 179s] ^~~~~~~~
[ 179s] isNull
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:177:78: error: use of deleted function ‘Object::Object(T) [with T = Object*]’
[ 179s] str = new EmbedStream(objStr.getStream(), &obj1, gTrue, first);
[ 179s] ^
[ 179s] /usr/include/poppler/Object.h:169:24: note: declared here
[ 179s] template<typename T> Object(T) = delete;
[ 179s] ^~~~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:181:41: error: use of deleted function ‘Object Parser::getObj(T) [with T = Object*]’
[ 179s] parser->getObj(&obj1);
[ 179s] ^
[ 179s] /usr/include/poppler/Parser.h:58:31: note: declared here
[ 179s] template<typename T> Object getObj(T) = delete;
[ 179s] ^~~~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:182:41: error: use of deleted function ‘Object Parser::getObj(T) [with T = Object*]’
[ 179s] parser->getObj(&obj2);
[ 179s] ^
[ 179s] /usr/include/poppler/Parser.h:58:31: note: declared here
[ 179s] template<typename T> Object getObj(T) = delete;
[ 179s] ^~~~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:185:31: error: ‘void Object::free()’ is private within this context
[ 179s] obj1.free();
[ 179s] ^
[ 179s] /usr/include/poppler/Object.h:292:8: note: declared private here
[ 179s] void free();
[ 179s] ^~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:186:31: error: ‘void Object::free()’ is private within this context
[ 179s] obj2.free();
[ 179s] ^
[ 179s] /usr/include/poppler/Object.h:292:8: note: declared private here
[ 179s] void free();
[ 179s] ^~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:194:29: error: ‘void Object::free()’ is private within this context
[ 179s] objStr.free();
[ 179s] ^
[ 179s] /usr/include/poppler/Object.h:292:8: note: declared private here
[ 179s] void free();
[ 179s] ^~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:205:24: error: ‘void Object::free()’ is private within this context
[ 179s] srcStream.free();
[ 179s] ^
[ 179s] /usr/include/poppler/Object.h:292:8: note: declared private here
[ 179s] void free();
[ 179s] ^~~~
[ 179s] ../../../texk/web2c/pdftexdir/pdftosrc.cc:214:22: error: ‘void Object::free()’ is private within this context
[ 179s] catalogDict.free();
[ 179s] ^
[ 179s] /usr/include/poppler/Object.h:292:8: note: declared private here
[ 179s] void free();
[ 179s] ^~~~
[ 179s] make[5]: *** [Makefile:15869: pdftexdir/pdftosrc-pdftosrc.o] Error 1
[ 179s] make[5]: *** Waiting for unfinished jobs....
[ 179s] mv -f luatexdir/unilib/.deps/libunilib_a-cjk.Tpo luatexdir/unilib/.deps/libunilib_a-cjk.Po
[ 179s] mv -f luatexdir/unilib/.deps/libunilib_a-unialt.Tpo luatexdir/unilib/.deps/libunilib_a-unialt.Po
[ 179s] mv -f pdftexdir/.deps/ttf2afm-ttf2afm.Tpo pdftexdir/.deps/ttf2afm-ttf2afm.Po
[ 179s] cc1: warning: unrecognized command line option ‘-Wno-unprototyped-calls’
[ 179s] mv -f luatexdir/unilib/.deps/libunilib_a-gwwiconv.Tpo luatexdir/unilib/.deps/libunilib_a-gwwiconv.Po
[ 179s] mv -f luatexdir/unilib/.deps/libunilib_a-usprintf.Tpo luatexdir/unilib/.deps/libunilib_a-usprintf.Po
[ 179s] mv -f mplibdir/.deps/libmputil_a-decNumber.Tpo mplibdir/.deps/libmputil_a-decNumber.Po
[ 180s] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./w2c -I../../../texk/web2c/synctexdir -DSYNCTEX_USE_LOCAL_HEADER -Wimplicit -Wreturn-type -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -D_GNU_SOURCE -std=gnu99 -fno-strict-aliasing -fPIC -Wno-write-strings -Wno-char-subscripts -Wno-unused -Wno-uninitialized -Wno-return-type -Wno-parentheses -Wno-sign-compare -Wno-unprototyped-calls -pipe -MT synctexdir/libsynctex_la-synctex_parser.lo -MD -MP -MF synctexdir/.deps/libsynctex_la-synctex_parser.Tpo -c ../../../texk/web2c/synctexdir/synctex_parser.c -o synctexdir/libsynctex_la-synctex_parser.o >/dev/null 2>&1
[ 182s] mv -f synctexdir/.deps/libsynctex_la-synctex_parser.Tpo synctexdir/.deps/libsynctex_la-synctex_parser.Plo
[ 182s] make[5]: Leaving directory '/home/abuild/rpmbuild/BUILD/texlive/world/texk/web2c'
[ 182s] make[4]: *** [Makefile:16141: all-recursive] Error 1
[ 182s] make[4]: Leaving directory '/home/abuild/rpmbuild/BUILD/texlive/world/texk/web2c'
[ 182s] make[3]: *** [Makefile:4121: all] Error 2
[ 182s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/texlive/world/texk/web2c'
[ 182s] make[2]: *** [Makefile:908: recurse] Error 1
[ 182s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/texlive/world/texk'
[ 182s] make[1]: *** [Makefile:488: all-recursive] Error 1
[ 182s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/texlive/world/texk'
[ 182s] make: *** [Makefile:577: all-recursive] Error 1
[ 182s] error: Bad exit status from /var/tmp/rpm-tmp.7ruIAL (%build)
[ 182s]
[ 182s]
[ 182s] Macro expanded in comment on line 94: %{name}-kpathsea-bin
[ 182s]
[ 182s] Macro expanded in comment on line 95: %{name}-kpathsea
[ 182s]
[ 182s] Macro expanded in comment on line 96: %{name}-tetex-bin
[ 182s]
[ 182s] Macro expanded in comment on line 97: %{name}-tetex
[ 182s]
[ 182s] Macro expanded in comment on line 98: %{name}-texconfig-bin
[ 182s]
[ 182s] Macro expanded in comment on line 99: %{name}-texconfig
[ 182s]
[ 182s] Macro expanded in comment on line 232: %{texlive_version}/
[ 182s]
[ 182s] Macro expanded in comment on line 292: %define texgid 505
[ 182s]
[ 182s] Macro expanded in comment on line 3994: %{_texmfdistdir}/tlpkg/TeXLive/TLConfig.pm
[ 182s]
[ 182s] Macro expanded in comment on line 3995: %{_texmfdistdir}/tlpkg/TeXLive/TLUtils.pm
[ 182s]
[ 182s] Macro expanded in comment on line 3997: %{_texmfconfdir}/web2c/fmtutil.cnf
[ 182s]
[ 182s] Macro expanded in comment on line 3998: %{_texmfconfdir}/web2c/texmf.cnf
[ 182s]
[ 182s] Macro expanded in comment on line 3999: %{_texmfmaindir}/web2c/fmtutil.cnf
[ 182s]
[ 182s] Macro expanded in comment on line 4000: %{_texmfmaindir}/web2c/texmf.cnf
[ 182s]
[ 182s] Macro expanded in comment on line 4002: %{_texmfconfdir}/web2c/texmfcnf.lua
[ 182s]
[ 182s] Macro expanded in comment on line 4003: %{_texmfmaindir}/web2c/texmfcnf.lua
[ 182s]
[ 182s] Bad exit status from /var/tmp/rpm-tmp.7ruIAL (%build)
[ 182s]
[ 182s] noether failed "build texlive.spec" at Tue Apr 10 09:51:43 UTC 2018.
[ 182s]
Norbert Preining
2018-04-11 14:05:37 UTC
Permalink
Raw Message
Post by Dr. Werner Fink
Just a simple retry with an other subject line
Did you read the answer you got today??? There are separate files for
poppler 0.62.

Norbert

--
PREINING Norbert http://www.preining.info
Accelia Inc. + JAIST + TeX Live + Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Dr. Werner Fink
2018-04-11 14:58:08 UTC
Permalink
Raw Message
Post by Norbert Preining
Post by Dr. Werner Fink
Just a simple retry with an other subject line
Did you read the answer you got today??? There are separate files for
poppler 0.62.
Hmm .. OK, not seen mail nor found in my mail logs, strange.

Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
Dr. Werner Fink
2018-04-11 15:03:01 UTC
Permalink
Raw Message
Post by Norbert Preining
Post by Dr. Werner Fink
Just a simple retry with an other subject line
Did you read the answer you got today??? There are separate files for
poppler 0.62.
OK ... found it

basesystem/texlive> find -name '*poppler*'
./m4/kpse-poppler-flags.m4
./texk/web2c/pdftexdir/pdftoepdf-newpoppler.cc
./texk/web2c/pdftexdir/pdftosrc-newpoppler.cc

Thanks a log!

Werner
--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
Ken Moffat
2018-04-11 17:04:31 UTC
Permalink
Raw Message
Post by Dr. Werner Fink
Just a simple retry with an other subject line
Post by Dr. Werner Fink
Hi,
just taken the current tree[1] and run into errors with poppler-0.62
Werner
[1] I'm using rsync with tug.org::tldevsrc/Build/source/
Did you not get my earlier reply ?

In texk/web2c/pdftexdir there is a NEWS file. The third "paragraph"
mentions copying the two -newpoppler.cc files in that directory over
the equivalent .cc files. I think it says to do that for poppler >
0.59.

Doing that works for me (x86_64 linux, gcc-7.3.0).

ĸen
--
In my seventh decade astride this planet, and as my own cells degrade,
there are some things I cannot do now: skydiving, marathon running,
calculus. I couldn't do them in my 20s either, so no big loss.
-- Derek Smalls, formerly of Spinal Tap
Ken Moffat
2018-04-12 04:26:03 UTC
Permalink
Raw Message
Post by Ken Moffat
Post by Dr. Werner Fink
Just a simple retry with an other subject line
Did you not get my earlier reply ?
I see you didn't - both the copies to you have now bounced (sorbs,
apparently because of dynamic address even though sent through my
ISP's mailserver). In future I'll just reply to the list.
--
In my seventh decade astride this planet, and as my own cells degrade,
there are some things I cannot do now: skydiving, marathon running,
calculus. I couldn't do them in my 20s either, so no big loss.
-- Derek Smalls, formerly of Spinal Tap
Loading...