Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684246 - media-gfx/inkscape fails with =app-text/poppler-0.76.0
Summary: media-gfx/inkscape fails with =app-text/poppler-0.76.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-24 10:56 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2019-04-24 13:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-04-24 10:56:04 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I../cxxtest -I./extension/dbus -I/usr/include/libexif -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -I/usr/include/libcdr-0.1 -I/usr/include/librevenge-0.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -I/usr/include/poppler -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -I/usr/include/libpng16 -DPOTRACE=\"potrace\" -pthread -I/usr/include/gtkspell-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DG_DISABLE_DEPRECATED -DGLIBMM_DISABLE_DEPRECATED -DGDKMM_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_DEPRECATED -DGTKMM_DISABLE_DEPRECATED -DWITH_MESH -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_SVG2 -Werror=format-security -Wswitch -Werror=return-type -DGSEAL_ENABLE -DG_DISABLE_SINGLE_INCLUDES -Wall -Wformat -Wformat-security  -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib64/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib64/gdkmm-2.4/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -march=native -mtune=native -O2 -pipe -fno-strict-aliasing -fopenmp -c -o extension/internal/pdfinput/pdf-parser.o extension/internal/pdfinput/pdf-parser.cpp
In file included from extension/internal/pdfinput/svg-builder.h:18,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
extension/internal/pdfinput/poppler-transition-api.h:31: warning: "POPPLER_NEW_OBJECT_API" redefined
 #define POPPLER_NEW_OBJECT_API
 
In file included from extension/internal/pdfinput/svg-builder.h:14,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
../config.h:256: note: this is the location of the previous definition
 #define POPPLER_NEW_OBJECT_API 1
 
In file included from extension/internal/pdfinput/svg-builder.h:18,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
extension/internal/pdfinput/poppler-transition-api.h:44: warning: "POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API" redefined
 #define POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API
 
In file included from extension/internal/pdfinput/svg-builder.h:14,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
../config.h:253: note: this is the location of the previous definition
 #define POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API 1
 
In file included from extension/internal/pdfinput/svg-builder.h:18,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
extension/internal/pdfinput/poppler-transition-api.h:48: warning: "POPPLER_EVEN_NEWER_COLOR_SPACE_API" redefined
 #define POPPLER_EVEN_NEWER_COLOR_SPACE_API
 
In file included from extension/internal/pdfinput/svg-builder.h:14,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
../config.h:250: note: this is the location of the previous definition
 #define POPPLER_EVEN_NEWER_COLOR_SPACE_API 1
 
In file included from ./2geom/point.h:38,
                 from extension/internal/pdfinput/svg-builder.h:28,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
../config.h:250: warning: "POPPLER_EVEN_NEWER_COLOR_SPACE_API" redefined
 #define POPPLER_EVEN_NEWER_COLOR_SPACE_API 1
 
In file included from extension/internal/pdfinput/svg-builder.h:18,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
extension/internal/pdfinput/poppler-transition-api.h:48: note: this is the location of the previous definition
 #define POPPLER_EVEN_NEWER_COLOR_SPACE_API
 
In file included from ./2geom/point.h:38,
                 from extension/internal/pdfinput/svg-builder.h:28,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
../config.h:253: warning: "POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API" redefined
 #define POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API 1
 
In file included from extension/internal/pdfinput/svg-builder.h:18,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
extension/internal/pdfinput/poppler-transition-api.h:44: note: this is the location of the previous definition
 #define POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API
 
In file included from ./2geom/point.h:38,
                 from extension/internal/pdfinput/svg-builder.h:28,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
../config.h:256: warning: "POPPLER_NEW_OBJECT_API" redefined
 #define POPPLER_NEW_OBJECT_API 1
 
In file included from extension/internal/pdfinput/svg-builder.h:18,
                 from extension/internal/pdfinput/pdf-parser.cpp:34:
extension/internal/pdfinput/poppler-transition-api.h:31: note: this is the location of the previous definition
 #define POPPLER_NEW_OBJECT_API
 
extension/internal/pdfinput/pdf-parser.cpp: In member function ‘void PdfParser::parse(Object*, GBool)’:
extension/internal/pdfinput/pdf-parser.cpp:429:57: error: no matching function for call to ‘Parser::Parser(XRef*&, Lexer*, bool)’
   parser = new Parser(xref, new Lexer(xref, obj), gFalse);
                                                         ^
In file included from extension/internal/pdfinput/pdf-parser.cpp:49:
/usr/include/poppler/Parser.h:41:3: note: candidate: ‘Parser::Parser(XRef*, Object*, bool)’
   Parser(XRef *xrefA, Object *objectA, bool allowStreamsA);
   ^~~~~~
/usr/include/poppler/Parser.h:41:3: note:   no known conversion for argument 2 from ‘Lexer*’ to ‘Object*’
/usr/include/poppler/Parser.h:40:3: note: candidate: ‘Parser::Parser(XRef*, Stream*, bool)’
   Parser(XRef *xrefA, Stream *streamA, bool allowStreamsA);
   ^~~~~~
/usr/include/poppler/Parser.h:40:3: note:   no known conversion for argument 2 from ‘Lexer*’ to ‘Stream*’
make[3]: *** [Makefile:9110: extension/internal/pdfinput/pdf-parser.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.92.4/work/inkscape-0.92.4/src'
make[2]: *** [Makefile:5976: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.92.4/work/inkscape-0.92.4/src'
make[1]: *** [Makefile:1472: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-gfx/inkscape-0.92.4/work/inkscape-0.92.4'
make: *** [Makefile:1128: all] Error 2
 * ERROR: media-gfx/inkscape-0.92.4::gentoo failed (compile phase):
 *   emake failed
Comment 1 Larry the Git Cow gentoo-dev 2019-04-24 13:18:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a472b33715bba5a1d60a478b5a5c43a5e5dc7d2

commit 5a472b33715bba5a1d60a478b5a5c43a5e5dc7d2
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-04-24 13:18:03 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-04-24 13:18:19 +0000

    media-gfx/inkscape: Fixed build with app-text/poppler-0.76.0
    
    Closes: https://bugs.gentoo.org/684246
    Package-Manager: Portage-2.3.64, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../files/inkscape-0.92.4-poppler-0.76.0.patch     | 44 ++++++++++++++++++++++
 media-gfx/inkscape/inkscape-0.92.4.ebuild          |  1 +
 2 files changed, 45 insertions(+)