Opened 3 years ago

Closed 3 years ago

#64660 closed defect (fixed)

inkscape: build failure due to "no template named 'optional' in namespace 'std'"

Reported by: dyne2meter Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: mf2k (Frank Schima), dbevans (David B. Evans), githubbjs (BJS), jjstickel (Jonathan Stickel), jowens (John Owens), eric-j-ason
Port: inkscape poppler

Description (last modified by dyne2meter)

inkscape fails to build

previously I reported that an update to poppler broke a preexisting installation of inkscape.

I uninstalled inkscape and all its leaf ports and then attempted to reinstall it, yet the health of the port is green for my systems (High Sierra and Mojave).

Build log attached

:info:build FAILED: src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-parser.cpp.o 
:info:build /usr/bin/clang++ -DHAVE_CAIRO_PDF=1 -DHAVE_CONFIG_H -DHAVE_POTRACE -DHAVE_TR1_UNORDERED_SET -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DORBIT2=1 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -D_FORTIFY_SOURCE=2 -Dinkscape_base_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/cairo -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp -isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem /opt/local/include/gc -isystem /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem /opt/local/include/librevenge-0.0 -isystem /opt/local/include/libvisio-0.1 -isystem /opt/local/include/libcdr-0.1 -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src/extension/dbus -isystem /opt/local/include/gtkmm-2.4 -isystem /opt/local/lib/gtkmm-2.4/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-unix-print-2.0 -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/gdkmm-2.4 -isystem /opt/local/lib/gdkmm-2.4/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/gtkspell-2.0 -isystem /opt/local/libexec/boost/1.76/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/ImageMagick-6 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -stdlib=libc++ -std=c++11 -arch x86_64 -mmacosx-version-min=10.13 -fPIC   -UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS -fPIC -MD -MT src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-parser.cpp.o -MF src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-parser.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-parser.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/pdf-parser.cpp
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/pdf-parser.cpp:50:
:info:build /opt/local/include/poppler/GfxFont.h:280:10: error: no template named 'optional' in namespace 'std'
:info:build     std::optional<GfxFontLoc> locateFont(XRef *xref, PSOutputDev *ps);
:info:build     ~~~~~^
:info:build /opt/local/include/poppler/GfxFont.h:283:17: error: no template named 'optional' in namespace 'std'
:info:build     static std::optional<GfxFontLoc> locateBase14Font(const GooString *base14Name);
:info:build            ~~~~~^
:info:build /opt/local/include/poppler/GfxFont.h:315:17: error: no template named 'optional' in namespace 'std'
:info:build     static std::optional<GfxFontLoc> getExternalFont(GooString *path, bool cid);
:info:build            ~~~~~^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/pdf-parser.cpp:2213:19: error: member reference type 'const std::string' (aka 'const basic_string<char, char_traits<char>, allocator<char> >') is not a pointer; did you mean to use '.'?
:info:build            font->getTag()->getCString(),
:info:build            ~~~~~~~~~~~~~~^~
:info:build                          .
:info:build 4 errors generated.
:info:build [407/992] /usr/bin/clang++ -DHAVE_CAIRO_PDF=1 -DHAVE_CONFIG_H -DHAVE_POTRACE -DHAVE_TR1_UNORDERED_SET -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DORBIT2=1 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -D_FORTIFY_SOURCE=2 -Dinkscape_base_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/cairo -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp -isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem /opt/local/include/gc -isystem /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem /opt/local/include/librevenge-0.0 -isystem /opt/local/include/libvisio-0.1 -isystem /opt/local/include/libcdr-0.1 -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src/extension/dbus -isystem /opt/local/include/gtkmm-2.4 -isystem /opt/local/lib/gtkmm-2.4/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-unix-print-2.0 -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/gdkmm-2.4 -isystem /opt/local/lib/gdkmm-2.4/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/gtkspell-2.0 -isystem /opt/local/libexec/boost/1.76/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/ImageMagick-6 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -stdlib=libc++ -std=c++11 -arch x86_64 -mmacosx-version-min=10.13 -fPIC   -UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS -fPIC -MD -MT src/CMakeFiles/inkscape_base.dir/extension/internal/filter/filter.cpp.o -MF src/CMakeFiles/inkscape_base.dir/extension/internal/filter/filter.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/extension/internal/filter/filter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/filter/filter.cpp
:info:build [408/992] /usr/bin/clang++ -DHAVE_CAIRO_PDF=1 -DHAVE_CONFIG_H -DHAVE_POTRACE -DHAVE_TR1_UNORDERED_SET -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DORBIT2=1 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -D_FORTIFY_SOURCE=2 -Dinkscape_base_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/cairo -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp -isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem /opt/local/include/gc -isystem /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem /opt/local/include/librevenge-0.0 -isystem /opt/local/include/libvisio-0.1 -isystem /opt/local/include/libcdr-0.1 -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src/extension/dbus -isystem /opt/local/include/gtkmm-2.4 -isystem /opt/local/lib/gtkmm-2.4/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-unix-print-2.0 -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/gdkmm-2.4 -isystem /opt/local/lib/gdkmm-2.4/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/gtkspell-2.0 -isystem /opt/local/libexec/boost/1.76/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/ImageMagick-6 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -stdlib=libc++ -std=c++11 -arch x86_64 -mmacosx-version-min=10.13 -fPIC   -UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS -fPIC -MD -MT src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/svg-builder.cpp.o -MF src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/svg-builder.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/svg-builder.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/svg-builder.cpp
:info:build FAILED: src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/svg-builder.cpp.o 
:info:build /usr/bin/clang++ -DHAVE_CAIRO_PDF=1 -DHAVE_CONFIG_H -DHAVE_POTRACE -DHAVE_TR1_UNORDERED_SET -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DORBIT2=1 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -D_FORTIFY_SOURCE=2 -Dinkscape_base_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/cairo -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp -isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem /opt/local/include/gc -isystem /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem /opt/local/include/librevenge-0.0 -isystem /opt/local/include/libvisio-0.1 -isystem /opt/local/include/libcdr-0.1 -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src/extension/dbus -isystem /opt/local/include/gtkmm-2.4 -isystem /opt/local/lib/gtkmm-2.4/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-unix-print-2.0 -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/gdkmm-2.4 -isystem /opt/local/lib/gdkmm-2.4/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/gtkspell-2.0 -isystem /opt/local/libexec/boost/1.76/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/ImageMagick-6 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -stdlib=libc++ -std=c++11 -arch x86_64 -mmacosx-version-min=10.13 -fPIC   -UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS -fPIC -MD -MT src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/svg-builder.cpp.o -MF src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/svg-builder.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/svg-builder.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/svg-builder.cpp
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/svg-builder.cpp:44:
:info:build /opt/local/include/poppler/GfxFont.h:280:5: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
:info:build     std::optional<GfxFontLoc> locateFont(XRef *xref, PSOutputDev *ps);
:info:build     ^~~~~
:info:build /opt/local/libexec/boost/1.76/include/boost/optional/optional.hpp:850:7: note: 'boost::optional' declared here
:info:build class optional
:info:build       ^
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/svg-builder.cpp:44:
:info:build /opt/local/include/poppler/GfxFont.h:283:12: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
:info:build     static std::optional<GfxFontLoc> locateBase14Font(const GooString *base14Name);
:info:build            ^~~~~
:info:build /opt/local/libexec/boost/1.76/include/boost/optional/optional.hpp:850:7: note: 'boost::optional' declared here
:info:build class optional
:info:build       ^
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/svg-builder.cpp:44:
:info:build /opt/local/include/poppler/GfxFont.h:315:12: error: no template named 'optional' in namespace 'std'; did you mean 'boost::optional'?
:info:build     static std::optional<GfxFontLoc> getExternalFont(GooString *path, bool cid);
:info:build            ^~~~~
:info:build /opt/local/libexec/boost/1.76/include/boost/optional/optional.hpp:850:7: note: 'boost::optional' declared here
:info:build class optional
:info:build       ^
:info:build 3 errors generated.
:info:build [409/992] /usr/bin/clang++ -DHAVE_CAIRO_PDF=1 -DHAVE_CONFIG_H -DHAVE_POTRACE -DHAVE_TR1_UNORDERED_SET -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DORBIT2=1 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -D_FORTIFY_SOURCE=2 -Dinkscape_base_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/cairo -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp -isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem /opt/local/include/gc -isystem /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem /opt/local/include/librevenge-0.0 -isystem /opt/local/include/libvisio-0.1 -isystem /opt/local/include/libcdr-0.1 -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src/extension/dbus -isystem /opt/local/include/gtkmm-2.4 -isystem /opt/local/lib/gtkmm-2.4/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-unix-print-2.0 -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/gdkmm-2.4 -isystem /opt/local/lib/gdkmm-2.4/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/gtkspell-2.0 -isystem /opt/local/libexec/boost/1.76/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/ImageMagick-6 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -stdlib=libc++ -std=c++11 -arch x86_64 -mmacosx-version-min=10.13 -fPIC   -UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS -fPIC -MD -MT src/CMakeFiles/inkscape_base.dir/extension/internal/wmf-inout.cpp.o -MF src/CMakeFiles/inkscape_base.dir/extension/internal/wmf-inout.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/extension/internal/wmf-inout.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/wmf-inout.cpp
:info:build [410/992] /usr/bin/clang++ -DHAVE_CAIRO_PDF=1 -DHAVE_CONFIG_H -DHAVE_POTRACE -DHAVE_TR1_UNORDERED_SET -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DORBIT2=1 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -D_FORTIFY_SOURCE=2 -Dinkscape_base_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/cairo -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp -isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem /opt/local/include/gc -isystem /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem /opt/local/include/librevenge-0.0 -isystem /opt/local/include/libvisio-0.1 -isystem /opt/local/include/libcdr-0.1 -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src/extension/dbus -isystem /opt/local/include/gtkmm-2.4 -isystem /opt/local/lib/gtkmm-2.4/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-unix-print-2.0 -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/gdkmm-2.4 -isystem /opt/local/lib/gdkmm-2.4/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/gtkspell-2.0 -isystem /opt/local/libexec/boost/1.76/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/ImageMagick-6 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -stdlib=libc++ -std=c++11 -arch x86_64 -mmacosx-version-min=10.13 -fPIC   -UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS -fPIC -MD -MT src/CMakeFiles/inkscape_base.dir/extension/internal/wmf-print.cpp.o -MF src/CMakeFiles/inkscape_base.dir/extension/internal/wmf-print.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/extension/internal/wmf-print.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/wmf-print.cpp
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/wmf-print.cpp:947:25: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
:info:build             } else if (&*cit) {
:info:build                    ~~   ^~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/2geom/path.h:87:18: note: 'operator*' returns a reference
:info:build     Curve const &operator*() const {
:info:build                  ^
:info:build 1 warning generated.
:info:build [411/992] /usr/bin/clang++ -DHAVE_CAIRO_PDF=1 -DHAVE_CONFIG_H -DHAVE_POTRACE -DHAVE_TR1_UNORDERED_SET -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DORBIT2=1 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -D_FORTIFY_SOURCE=2 -Dinkscape_base_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/cairo -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp -isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem /opt/local/include/gc -isystem /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem /opt/local/include/librevenge-0.0 -isystem /opt/local/include/libvisio-0.1 -isystem /opt/local/include/libcdr-0.1 -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src/extension/dbus -isystem /opt/local/include/gtkmm-2.4 -isystem /opt/local/lib/gtkmm-2.4/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-unix-print-2.0 -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/gdkmm-2.4 -isystem /opt/local/lib/gdkmm-2.4/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/gtkspell-2.0 -isystem /opt/local/libexec/boost/1.76/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/ImageMagick-6 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -stdlib=libc++ -std=c++11 -arch x86_64 -mmacosx-version-min=10.13 -fPIC   -UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS -fPIC -MD -MT src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-input.cpp.o -MF src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-input.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-input.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/pdf-input.cpp
:info:build FAILED: src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-input.cpp.o 
:info:build /usr/bin/clang++ -DHAVE_CAIRO_PDF=1 -DHAVE_CONFIG_H -DHAVE_POTRACE -DHAVE_TR1_UNORDERED_SET -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DORBIT2=1 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -D_FORTIFY_SOURCE=2 -Dinkscape_base_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/cairo -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp -isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem /opt/local/include/gc -isystem /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem /opt/local/include/librevenge-0.0 -isystem /opt/local/include/libvisio-0.1 -isystem /opt/local/include/libcdr-0.1 -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src/extension/dbus -isystem /opt/local/include/gtkmm-2.4 -isystem /opt/local/lib/gtkmm-2.4/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-unix-print-2.0 -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/gdkmm-2.4 -isystem /opt/local/lib/gdkmm-2.4/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/gtkspell-2.0 -isystem /opt/local/libexec/boost/1.76/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/ImageMagick-6 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -stdlib=libc++ -std=c++11 -arch x86_64 -mmacosx-version-min=10.13 -fPIC   -UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS -fPIC -MD -MT src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-input.cpp.o -MF src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-input.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/pdf-input.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/pdf-input.cpp
:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/pdfinput/pdf-input.cpp:24:
:info:build In file included from /opt/local/include/poppler/PDFDoc.h:62:
:info:build /opt/local/include/poppler/Form.h:326:10: error: no template named 'optional' in namespace 'std'
:info:build     std::optional<GooString> getCheckedSignature(Goffset *checkedFileSize);
:info:build     ~~~~~^
:info:build /opt/local/include/poppler/Form.h:619:10: error: no template named 'optional' in namespace 'std'
:info:build     std::optional<GooString> getCheckedSignature(Goffset *checkedFileSize);
:info:build     ~~~~~^
:info:build 2 errors generated.
:info:build [412/992] /usr/bin/clang++ -DHAVE_CAIRO_PDF=1 -DHAVE_CONFIG_H -DHAVE_POTRACE -DHAVE_TR1_UNORDERED_SET -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DORBIT2=1 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -D_FORTIFY_SOURCE=2 -Dinkscape_base_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/cairo -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp -isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem /opt/local/include/gc -isystem /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem /opt/local/include/librevenge-0.0 -isystem /opt/local/include/libvisio-0.1 -isystem /opt/local/include/libcdr-0.1 -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src/extension/dbus -isystem /opt/local/include/gtkmm-2.4 -isystem /opt/local/lib/gtkmm-2.4/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-unix-print-2.0 -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/gdkmm-2.4 -isystem /opt/local/lib/gdkmm-2.4/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/gtkspell-2.0 -isystem /opt/local/libexec/boost/1.76/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/ImageMagick-6 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -stdlib=libc++ -std=c++11 -arch x86_64 -mmacosx-version-min=10.13 -fPIC   -UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS -fPIC -MD -MT src/CMakeFiles/inkscape_base.dir/extension/internal/filter/filter-all.cpp.o -MF src/CMakeFiles/inkscape_base.dir/extension/internal/filter/filter-all.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/extension/internal/filter/filter-all.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/filter/filter-all.cpp
:info:build [413/992] /usr/bin/clang++ -DHAVE_CAIRO_PDF=1 -DHAVE_CONFIG_H -DHAVE_POTRACE -DHAVE_TR1_UNORDERED_SET -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DORBIT2=1 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -D_FORTIFY_SOURCE=2 -Dinkscape_base_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include -isystem /opt/local/include/pango-1.0 -isystem /opt/local/include/harfbuzz -isystem /opt/local/include/fribidi -isystem /opt/local/include/cairo -isystem /opt/local/include/pixman-1 -isystem /opt/local/include/ossp -isystem /opt/local/include/freetype2 -isystem /opt/local/include/libpng16 -isystem /opt/local/include/glib-2.0 -isystem /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem /opt/local/include/gc -isystem /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem /opt/local/include/librevenge-0.0 -isystem /opt/local/include/libvisio-0.1 -isystem /opt/local/include/libcdr-0.1 -isystem /opt/local/include/dbus-1.0 -isystem /opt/local/lib/dbus-1.0/include -isystem /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/src/extension/dbus -isystem /opt/local/include/gtkmm-2.4 -isystem /opt/local/lib/gtkmm-2.4/include -isystem /opt/local/include/atkmm-1.6 -isystem /opt/local/include/gtk-unix-print-2.0 -isystem /opt/local/include/gtk-2.0 -isystem /opt/local/include/gdkmm-2.4 -isystem /opt/local/lib/gdkmm-2.4/include -isystem /opt/local/include/giomm-2.4 -isystem /opt/local/lib/giomm-2.4/include -isystem /opt/local/include/pangomm-1.4 -isystem /opt/local/lib/pangomm-1.4/include -isystem /opt/local/include/glibmm-2.4 -isystem /opt/local/lib/glibmm-2.4/include -isystem /opt/local/include/cairomm-1.0 -isystem /opt/local/lib/cairomm-1.0/include -isystem /opt/local/include/sigc++-2.0 -isystem /opt/local/lib/sigc++-2.0/include -isystem /opt/local/lib/gtk-2.0/include -isystem /opt/local/include/atk-1.0 -isystem /opt/local/include/gio-unix-2.0 -isystem /opt/local/include/gdk-pixbuf-2.0 -isystem /opt/local/include/gtkspell-2.0 -isystem /opt/local/libexec/boost/1.76/include -isystem /opt/local/include/libxml2 -isystem /opt/local/include/ImageMagick-6 -pipe -I/opt/local/libexec/boost/1.76/include -Os -DNDEBUG -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -stdlib=libc++ -std=c++11 -arch x86_64 -mmacosx-version-min=10.13 -fPIC   -UWITH_LPETOOL -ULPE_ENABLE_TEST_EFFECTS -fPIC -MD -MT src/CMakeFiles/inkscape_base.dir/extension/internal/cdr-input.cpp.o -MF src/CMakeFiles/inkscape_base.dir/extension/internal/cdr-input.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/extension/internal/cdr-input.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.92.5/src/extension/internal/cdr-input.cpp
:info:build ninja: build stopped: subcommand failed.
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build" && ninja -j8 all -j8 -v 
:info:build Exit code: 1
:error:build Failed to build inkscape: command execution failed
:debug:build Error code: CHILDSTATUS 28744 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/main.log for details.

Attachments (1)

main.log.gz (42.5 KB) - added by dyne2meter 3 years ago.
main log inkscape build

Download all attachments as: .zip

Change History (19)

Changed 3 years ago by dyne2meter

Attachment: main.log.gz added

main log inkscape build

comment:1 Changed 3 years ago by dyne2meter

Description: modified (diff)

comment:2 Changed 3 years ago by reneeotten (Renee Otten)

Owner: set to mascguy
Port: inkscape added
Status: newassigned
Summary: Inkscapeinkscape: build failure due to "no template named 'optional' in namespace 'std'"

not sure, but isn't std:optional only valid in C++17; if so it's probably not using a new enough compiler on these old(er) systems.

comment:3 Changed 3 years ago by mf2k (Frank Schima)

I'm seeing this on Monterey.

comment:4 Changed 3 years ago by mf2k (Frank Schima)

Cc: mf2k added

comment:5 Changed 3 years ago by JDLH (Jim DeLaHunt)

I am seeing this on macOS 10.14.6 Mojave, with clang 11.0.0 and MacOS 10.15 SDK:

% /usr/bin/clang++ --version
Apple clang version 11.0.0 (clang-1100.0.33.12)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
% ls -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs 
DriverKit19.0.sdk/	MacOSX.sdk/		MacOSX10.15.sdk@

comment:6 in reply to:  2 Changed 3 years ago by jmroot (Joshua Root)

Cc: dbevans added
Port: poppler added

Replying to reneeotten:

not sure, but isn't std:optional only valid in C++17; if so it's probably not using a new enough compiler on these old(er) systems.

That's right. Looks like poppler is now requiring its dependents to build as C++17. That's a bit of extra pain here because inkscape seems to be explicitly adding -std=c++11.

comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)

Given that this port is very out-of-date relative to upstream - and I'm not sure when we'll get around to updating it - I'd suggest installing the binary distribution from inkscape.org for now.

comment:8 Changed 3 years ago by mascguy (Christopher Nielsen)

@dbevans, if you'd be interested in getting this updated and working, I'd appreciate it.

I've taken on a boatload of GNOME/GIMP-related components in your absence, enough so that my backlog has gotten completely overwhelming.

comment:9 Changed 3 years ago by githubbjs (BJS)

Cc: githubbjs added

comment:10 Changed 3 years ago by jjstickel (Jonathan Stickel)

Cc: jjstickel added

comment:11 Changed 3 years ago by jowens (John Owens)

Cc: jowens added

comment:12 Changed 3 years ago by eric-j-ason

Cc: eric-j-ason added

comment:13 Changed 3 years ago by evanmiller (Evan Miller)

Researching this a little bit, requiring C++17 (and setting configure.cxxflags -std=c++17) results in other build errors, due to standard library features being removed between C++11 and C++17. So getting Inkscape 0.92.5 and Poppler 22.0.x to play together may require non-trivial patching.

comment:14 Changed 3 years ago by rufty (Bill Hill)

Seen on High Sierra 10.13.6

comment:15 Changed 3 years ago by eric-j-ason

Is there a reason that we're using Inkscape 0.92 here, instead of a more recent version?

comment:16 in reply to:  15 Changed 3 years ago by mascguy (Christopher Nielsen)

Replying to eric-j-ason:

Is there a reason that we're using Inkscape 0.92 here, instead of a more recent version?

That's simply because we haven't gotten around to updating it yet. Please see issue:61404.

comment:17 Changed 3 years ago by Christopher Nielsen <mascguy@…>

In 0af172de7ab880c9fc83905dfc50df1d0af2d0f7/macports-ports (master):

inkscape-devel: update to 1.1.2

  • Credit to: @evanmiller

See: #50210
See: #51287
See: #51407
See: #54944
See: #60927
See: #61404
See: #64660

comment:18 Changed 3 years ago by evanmiller (Evan Miller)

Resolution: fixed
Status: assignedclosed

In d5bc993e56a90910b79609231a5b39a92ab59095/macports-ports (master):

inkscape: update to 1.1.2

Closes: #50210
Closes: #51287
Closes: #51407
Closes: #54944
Closes: #60927
Closes: #61404
Closes: #64660

Note: See TracTickets for help on using tickets.