Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#15858 closed defect (duplicate)

inkscape fails to build

Reported by: ptomas@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: inkscape build failure Cc: dbevans (David B. Evans)
Port:

Description

Building inkscape with target all

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_inkscape/work/inkscape-0.46" && make all " returned error 2 Command output: make all-recursive Making all in src depbase=echo extension/internal/pdfinput/pdf-parser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||';\

/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/lib/perl5/5.8.8/darwin-2level/CORE -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/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/ImageMagick -DRELAYTOOL_CRYPTO='static const int libcrypto_is_present = 1; static int attribute((unused)) libcrypto_symbol_is_present(char *m) { return 1; }' -DRELAYTOOL_SSL='static const int libssl_is_present = 1; static int attribute((unused)) libssl_symbol_is_present(char *m) { return 1; }' -I/opt/local/include -DHAVE_SSL -I/opt/local/include/libwpg-0.1 -I/opt/local/include/libwpd-0.8 -DXTHREADS -I/opt/local/include -I/usr/X11/include -I/opt/local/include/freetype2 -I/opt/local/include/poppler -DXTHREADS -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/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include/pixman-1 -DPOTRACE=\"potrace\" -DXTHREADS -D_REENTRANT -I/opt/local/include/gdkmm-2.4 -I/opt/local/lib/gdkmm-2.4/include -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/pangomm-1.4 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairomm-1.0 -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -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/cairo -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include/pixman-1 -I/opt/local/include/gtkmm-2.4 -I/opt/local/lib/gtkmm-2.4/include -I/opt/local/include/atkmm-1.6 -I/opt/local/include/atk-1.0 -I/opt/local/include/libxml2 -I../cxxtest -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_inkscape/work/inkscape-0.46/src/extension/script -Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -D_FORTIFY_SOURCE=2 -Wno-unused-parameter -O2 -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::go(GBool)': extension/internal/pdfinput/pdf-parser.cpp:390: warning: unused variable 'lastAbortCheck' extension/internal/pdfinput/pdf-parser.cpp: In member function 'void PdfParser::doShowText(GooString*)': extension/internal/pdfinput/pdf-parser.cpp:2248: error: no matching function for call to 'GfxFont::getNextChar(char*&, int&, CharCode*, Unicode [8], int, int*, double*, double*, double*, double*)' /opt/local/include/poppler/GfxFont.h:204: note: candidates are: virtual int GfxFont::getNextChar(char*, int, CharCode*, Unicode, int*, double*, double*, double*, double*) extension/internal/pdfinput/pdf-parser.cpp:2297: error: no matching function for call to 'GfxFont::getNextChar(char*&, int&, CharCode*, Unicode [8], int, int*, double*, double*, double*, double*)' /opt/local/include/poppler/GfxFont.h:204: note: candidates are: virtual int GfxFont::getNextChar(char*, int, CharCode*, Unicode, int*, double*, double*, double*, double*) extension/internal/pdfinput/pdf-parser.cpp:2200: warning: unused variable 'dx2' extension/internal/pdfinput/pdf-parser.cpp:2200: warning: unused variable 'dy2' extension/internal/pdfinput/pdf-parser.cpp:2208: warning: unused variable 'nChars' extension/internal/pdfinput/pdf-parser.cpp:2208: warning: unused variable 'nSpaces' make[2]: * [extension/internal/pdfinput/pdf-parser.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Change History (4)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: dbevans@… added
Milestone: Port Bugs

Cc maintainer. In future, please remember to use WikiFormatting.

comment:2 in reply to:  description Changed 16 years ago by dbevans (David B. Evans)

Replying to ptomas@mindspring.com:

Building inkscape with target all

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_inkscape/work/inkscape-0.46" && make all " returned error 2

After initial investigation, it appears that an API change in poppler-0.8.3 has broken the build. The bug has been reported upstream and a temporary patch submitted, see https://bugs.launchpad.net/inkscape/+bug/237574, but has not yet been reviewed by the developers.

I will test the patch and see what the Inkscape developers are planning on doing about this and will provide a port update as soon as the problem is resolved (shortly I hope). For a quick fix, you might try building a previous version of poppler.

Thanks for the report (and thanks to jmr for ccing me on the report).

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Superseded by #15884.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.