Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673924 - dev-tex/luatex-0.70.1-r2 with app-text/poppler-0.68.0 - luatexdir/lua/lepdflib.cc:410:36: error: 'int Array::incRef()' is private within this context
Summary: dev-tex/luatex-0.70.1-r2 with app-text/poppler-0.68.0 - luatexdir/lua/lepdfli...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-28 21:14 UTC by ernsteiswuerfel
Modified: 2019-11-27 06:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (luatex-0.70.1-r2:20181228-210106.log,231.60 KB, text/plain)
2018-12-28 21:14 UTC, ernsteiswuerfel
Details
emerge --info (file_673924.txt,5.93 KB, text/plain)
2018-12-28 21:15 UTC, ernsteiswuerfel
Details
build.log (0.76.0) (luatex-0.76.0:20190111-125644.log,104.50 KB, text/plain)
2019-01-11 13:03 UTC, ernsteiswuerfel
Details
build.log (0.76.0, ppc64) (luatex-0.76.0:20190111-125644.log,104.50 KB, text/plain)
2019-01-11 13:05 UTC, ernsteiswuerfel
Details
build.log (0.76.0, ppc) (luatex-0.76.0:20190111-132035.log,99.94 KB, text/plain)
2019-01-11 13:24 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-12-28 21:14:32 UTC
Created attachment 558728 [details]
build.log

Multiple build failures. Built against app-text/poppler-0.68.0:

[...]
luatexdir/lua/lepdflib.cc: In function 'int m_Array_incRef(lua_State*)':
luatexdir/lua/lepdflib.cc:410:36: error: 'int Array::incRef()' is private within this context
     i = ((Array *) uin->d)->incRef();
                                    ^
In file included from /usr/include/poppler/Object.h:330:0,
                 from /usr/include/poppler/StructTreeRoot.h:21,
                 from ./luatexdir/image/epdf.h:36,
                 from luatexdir/lua/lepdflib.cc:25:
/usr/include/poppler/Array.h:78:7: note: declared private here
   int incRef();
       ^~~~~~
luatexdir/lua/lepdflib.cc: In function 'int m_Array_decRef(lua_State*)':
luatexdir/lua/lepdflib.cc:422:36: error: 'int Array::decRef()' is private within this context
     i = ((Array *) uin->d)->decRef();
                                    ^
In file included from /usr/include/poppler/Object.h:330:0,
                 from /usr/include/poppler/StructTreeRoot.h:21,
                 from ./luatexdir/image/epdf.h:36,
                 from luatexdir/lua/lepdflib.cc:25:
/usr/include/poppler/Array.h:79:7: note: declared private here
   int decRef();
       ^~~~~~
luatexdir/lua/lepdflib.cc: In function 'int m_Array_add(lua_State*)':
luatexdir/lua/lepdflib.cc:439:49: error: use of deleted function 'Object::Object(T) [with T = Object*]'
     ((Array *) uin->d)->add(((Object *) uobj->d));
                                                 ^
In file included from /usr/include/poppler/StructTreeRoot.h:21:0,
                 from ./luatexdir/image/epdf.h:36,
                 from luatexdir/lua/lepdflib.cc:25:
/usr/include/poppler/Object.h:178:24: note: declared here
   template<typename T> Object(T) = delete;
                        ^~~~~~
luatexdir/lua/lepdflib.cc: In function 'int m_Array_get(lua_State*)':
luatexdir/lua/lepdflib.cc:455:40: error: invalid conversion from 'Object*' to 'int' [-fpermissive]
         ((Array *) uin->d)->get(i - 1, (Object *) uout->d);
                                        ^~~~~~~~~~~~~~~~~~
[...]
Comment 1 ernsteiswuerfel archtester 2018-12-28 21:15:20 UTC
Created attachment 558730 [details]
emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2019-01-11 01:30:18 UTC
Is that fixed by 0.76.0?
Comment 3 ernsteiswuerfel archtester 2019-01-11 13:03:34 UTC
Created attachment 560676 [details]
build.log (0.76.0)

Tried 0.76.0 (with MAKEOPTS="-j1"). Still fails with:

[...]
powerpc64-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./w2c  -I/usr/include  -I/usr/include/libpng16 -DPOPPLER_VERSION=\"0.68.0\" -I/usr/include/poppler -I./libmd5 -DpdfTeX -I./luatexdir -DLUA_COMPAT_MODULE -I./luatexdir/lua52 -DSYNCTEX_ENGINE_H='<synctex-luatex.h>' -I./synctexdir   -O2 -mcpu=powerpc64 -maltivec -mabi=altivec -pipe -std=c++11 -c -o luatexdir/lua/libluatex_a-lpdfscannerlib.o `test -f 'luatexdir/lua/lpdfscannerlib.cc' || echo './'`luatexdir/lua/lpdfscannerlib.cc
luatexdir/lua/lpdfscannerlib.cc: In function 'int scanner_scan(lua_State*)':
luatexdir/lua/lpdfscannerlib.cc:640:22: error: invalid conversion from 'Object*' to 'int' [-fpermissive]
  arrayref->get(i, val);
                      ^
In file included from /usr/include/poppler/Object.h:330:0,
                 from luatexdir/lua/lpdfscannerlib.cc:37:
/usr/include/poppler/Array.h:70:10: note:   initializing argument 2 of 'Object Array::get(int, int) const'
   Object get(int i, int resursion = 0) const;
          ^~~
make: *** [Makefile:6804: luatexdir/lua/libluatex_a-lpdfscannerlib.o] Error 1
Comment 4 ernsteiswuerfel archtester 2019-01-11 13:05:44 UTC
Created attachment 560678 [details]
build.log (0.76.0, ppc64)
Comment 5 ernsteiswuerfel archtester 2019-01-11 13:24:32 UTC
Created attachment 560682 [details]
build.log (0.76.0, ppc)
Comment 6 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-11-27 06:53:36 UTC
Will be removed in a week.