[MacPorts] #65002: inkscape @1.1.2_2: error: no matching function for call to 'isnan'

MacPorts noreply at macports.org
Wed Apr 13 19:21:36 UTC 2022


#65002: inkscape @1.1.2_2: error: no matching function for call to 'isnan'
--------------------+----------------------
 Reporter:  ngwood  |      Owner:  mascguy
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.2
 Keywords:          |       Port:  inkscape
--------------------+----------------------
 macOS 10.13.6
 inkscape @1.1.2_2 +x11

 Things go wrong around this point; complete log attached.
 {{{
 :info:build [538/1033] /usr/bin/clang++ -DHAVE_CONFIG_H
 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DWITH_CSSBLEND
 -DWITH_CSSCOMPOSITE -DWITH_MESH -DWITH_SVG2 -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-1.1.2/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-1.1.2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-1.1.2/src/3rdparty/adaptagrams
 -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/libsoup-2.4 -isystem
 /opt/local/include/libxml2 -isystem /opt/local/include/glib-2.0 -isystem
 /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem
 /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem
 /opt/local/include/libwpd-0.10 -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-3.0 -isystem
 /opt/local/lib/gtkmm-3.0/include -isystem /opt/local/include/atkmm-1.6
 -isystem /opt/local/include/gtk-3.0/unix-print -isystem
 /opt/local/include/gdkmm-3.0 -isystem /opt/local/lib/gdkmm-3.0/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/include/gtk-3.0 -isystem /opt/local/include/at-spi2-atk/2.0
 -isystem /opt/local/include/at-spi-2.0 -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/gspell-1 -isystem
 /opt/local/include/enchant-2 -isystem
 /opt/local/libexec/boost/1.76/include -isystem
 /opt/local/include/ImageMagick-6 -isystem /opt/local/include/2geom-1.1.0
 -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++ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-
 strong -Werror=format -Werror=format-security -Wno-switch -arch x86_64
 -mmacosx-version-min=10.13 -fPIC   -fPIC -fdiagnostics-color -std=gnu++17
 -MD -MT src/CMakeFiles/inkscape_base.dir/display/cairo-utils.cpp.o -MF
 src/CMakeFiles/inkscape_base.dir/display/cairo-utils.cpp.o.d -o
 src/CMakeFiles/inkscape_base.dir/display/cairo-utils.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-1.1.2/src/display
 /cairo-utils.cpp
 :info:build FAILED: src/CMakeFiles/inkscape_base.dir/display/cairo-
 utils.cpp.o
 :info:build /usr/bin/clang++ -DHAVE_CONFIG_H -DMAGICKCORE_HDRI_ENABLE=0
 -DMAGICKCORE_QUANTUM_DEPTH=16 -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE
 -DWITH_MESH -DWITH_SVG2 -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-1.1.2/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-1.1.2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/build/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-1.1.2/src/3rdparty/adaptagrams
 -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/libsoup-2.4 -isystem
 /opt/local/include/libxml2 -isystem /opt/local/include/glib-2.0 -isystem
 /opt/local/lib/glib-2.0/include -isystem /opt/local/include -isystem
 /opt/local/include/poppler -isystem /opt/local/include/libwpg-0.3 -isystem
 /opt/local/include/libwpd-0.10 -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-3.0 -isystem
 /opt/local/lib/gtkmm-3.0/include -isystem /opt/local/include/atkmm-1.6
 -isystem /opt/local/include/gtk-3.0/unix-print -isystem
 /opt/local/include/gdkmm-3.0 -isystem /opt/local/lib/gdkmm-3.0/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/include/gtk-3.0 -isystem /opt/local/include/at-spi2-atk/2.0
 -isystem /opt/local/include/at-spi-2.0 -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/gspell-1 -isystem
 /opt/local/include/enchant-2 -isystem
 /opt/local/libexec/boost/1.76/include -isystem
 /opt/local/include/ImageMagick-6 -isystem /opt/local/include/2geom-1.1.0
 -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++ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-
 strong -Werror=format -Werror=format-security -Wno-switch -arch x86_64
 -mmacosx-version-min=10.13 -fPIC   -fPIC -fdiagnostics-color -std=gnu++17
 -MD -MT src/CMakeFiles/inkscape_base.dir/display/cairo-utils.cpp.o -MF
 src/CMakeFiles/inkscape_base.dir/display/cairo-utils.cpp.o.d -o
 src/CMakeFiles/inkscape_base.dir/display/cairo-utils.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-1.1.2/src/display
 /cairo-utils.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-1.1.2/src/display
 /cairo-utils.cpp:775:20: error: no matching function for call to 'isnan'
 :info:build                 if(std::isnan(arc->initialAngle()) ||
 std::isnan(arc->finalAngle())) {
 :info:build                    ^~~~~~~~~~
 :info:build
 /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:505:1: note:
 candidate template ignored: requirement
 'std::is_floating_point<Angle>::value' was not satisfied [with _A1 =
 Geom::Angle]
 :info:build isnan(_A1 __lcpp_x) _NOEXCEPT
 :info:build ^
 :info:build
 /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:513:1: note:
 candidate template ignored: requirement 'std::is_integral<Angle>::value'
 was not satisfied [with _A1 = Geom::Angle]
 :info:build isnan(_A1) _NOEXCEPT
 :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-1.1.2/src/display
 /cairo-utils.cpp:775:55: error: no matching function for call to 'isnan'
 :info:build                 if(std::isnan(arc->initialAngle()) ||
 std::isnan(arc->finalAngle())) {
 :info:build
 ^~~~~~~~~~
 :info:build
 /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:505:1: note:
 candidate template ignored: requirement
 'std::is_floating_point<Angle>::value' was not satisfied [with _A1 =
 Geom::Angle]
 :info:build isnan(_A1 __lcpp_x) _NOEXCEPT
 :info:build ^
 :info:build
 /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:513:1: note:
 candidate template ignored: requirement 'std::is_integral<Angle>::value'
 was not satisfied [with _A1 = Geom::Angle]
 :info:build isnan(_A1) _NOEXCEPT
 :info:build ^
 :info:build 2 errors generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65002>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list