inkscape compile problem

Ryan Schmidt ryandesign at macports.org
Sun Mar 28 19:42:28 PDT 2010


On Mar 28, 2010, at 21:16, Michael Parson wrote:

> Macports 1.8.2 clean install, fresh selfupdate, first thing I tried to install is inkscape, it goes off and compiles and installs a bunch of stuff, and failes when it gets to inkscape:
> 
> --->  Building inkscape
> DEBUG: Executing org.macports.build (inkscape)
> DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
> DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/work/inkscape-0.47" && /usr/bin/make -j1 all'
> /usr/bin/make  all-recursive
> Making all in src
> depbase=`echo extension/internal/pdfinput/pdf-parser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
>        /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I..  -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I/opt/local/include/freetype2 -I/opt/local/include  -D_REENTRANT -DORBIT2=1 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -fopenmp -I/opt/local/include/ImageMagick    -I/opt/local/include/libwpg-0.1 -I/opt/local/include/libwpd-0.8   -I/opt/local/include   -I/opt/local/include   -I/opt/local/include/poppler   -I/opt/local/include/poppler/glib -I/opt/local/include/poppler -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/pixman-1 -I/opt/lo!
> cal/include/freetype2 -I/opt/local/include/libpng12   -DPOTRACE=\"potrace\" -D_REENTRANT -I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include -I/opt/local/include/giomm-2.4 -I/opt/local/lib/giomm-2.4/include -I/opt/local/include/pangomm-1.4 -I/opt/local/lib/pangomm-1.4/include -I/opt/local/include/gtk-2.0 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include/cairomm-1.0 -I/opt/local/lib/cairomm-1.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include -I/opt/local/include/gtk-unix-print-2.0 -I/opt/local/include/atkmm-1.6 -I/opt/local/include/libxml2 !
>  -I../cxxtest  -I./bind/javainc -I./bind/javainc/linux   -Werror=format-security -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_inkscape/work/inkscape-0.47/src/extension/script  -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O2 -arch x86_64 -MT extension/internal/pdfinput/pdf-parser.o -MD -MP -MF $depbase.Tpo -c -o extension/internal/pdfinput/pdf-parser.o extension/internal/pdfinput/pdf-parser.cpp &&\
>        mv -f $depbase.Tpo $depbase.Po
> extension/internal/pdfinput/pdf-parser.cpp: In member function 'void PdfParser::opSetExtGState(Object*, int)':
> extension/internal/pdfinput/pdf-parser.cpp:812: error: no matching function for call to 'GfxColorSpace::parse(Object*)'

poppler was recently updated to 0.12.2, this apparently breaks inkscape:

https://bugs.launchpad.net/inkscape/+bug/487038

That report also includes a patch. Please file a ticket in the MacPorts issue tracker for this problem referencing that bug report so that we can apply the patch in MacPorts too.




More information about the macports-users mailing list