On Mon, Jan 18, 2016 at 10:28 AM, Marguerite Su <i@marguerite.su> wrote:
Hi,

I was updating TeXLive 2015 for openSUSE distro. and I meet this error
on openSUSE 13.2 with poppler 0.26.5:

[  824s] ../../../texk/web2c/luatexdir/lua/lepdflib.cc: In function
‘int l_new_Attribute(lua_State*)’:
[  824s] ../../../texk/web2c/luatexdir/lua/lepdflib.cc:186:58: error:
no matching function for call to ‘Attribute::Attribute(const
char*&amp;, int&amp;, Object*)’
[  824s]         uout-&gt;d = new Attribute(n, nlen, (Object *)uobj-&gt;d);
[  824s]                                                           ^
[  824s] ../../../texk/web2c/luatexdir/lua/lepdflib.cc:186:58: note:
candidates are:
[  824s] In file included from /usr/include/poppler/StructTreeRoot.h:20:0,
[  824s]                  from ../../../texk/web2c/luatexdir/image/epdf.h:51,
[  824s]                  from ../../../texk/web2c/luatexdir/lua/lepdflib.cc:22:
[  824s] /usr/include/poppler/StructElement.h:77:3: note:
Attribute::Attribute(const char*, Object*)
[  824s]    Attribute(const char *name, Object *value);
[  824s]    ^
[  824s] /usr/include/poppler/StructElement.h:77:3: note:   candidate
expects 2 arguments, 3 provided
[  824s] /usr/include/poppler/StructElement.h:74:3: note:
Attribute::Attribute(Attribute::Type, Object*)
[  824s]    Attribute(Type type, Object *value);
[  824s]    ^
[  824s] /usr/include/poppler/StructElement.h:74:3: note:   candidate
expects 2 arguments, 3 provided
[  824s] /usr/include/poppler/StructElement.h:31:7: note:
Attribute::Attribute(const Attribute&amp;)
[  824s]  class Attribute {
[  824s]        ^
[  824s] /usr/include/poppler/StructElement.h:31:7: note:   candidate
expects 1 argument, 3 provided
[  824s] ../../../texk/web2c/luatexdir/lua/lepdflib.cc: In function
‘int m_Attribute_getName(lua_State*)’:
[  824s] ../../../texk/web2c/luatexdir/lua/lepdflib.cc:473:8: error:
cannot convert ‘const char*’ to ‘GooString*’ in assignment
[  824s]      gs = ((in *) uin-&gt;d)-&gt;function();                          \
[  824s]         ^
[  824s] ../../../texk/web2c/luatexdir/lua/lepdflib.cc:2764:1: note:
in expansion of macro ‘m_poppler_get_GOOSTRING’
[  824s]  m_poppler_get_GOOSTRING(Attribute,getName);
[  824s]  ^
[  825s] Makefile:13431: recipe for target
'luatexdir/lua/libluatex_a-lepdflib.o' failed
[  825s] make[5]: *** [luatexdir/lua/libluatex_a-lepdflib.o] Error 1

There was a patch to fix lepdflib.cc with poppler >= 0.26, but as I
can see, it has been upstremed by luatex developers in a slight
different way.

So I wonder if I can get additional help in this list.

hm.
Let me check.

 
-- 
luigi