Opened 2 years ago

Closed 2 years ago

#65289 closed defect (worksforme)

inkscape @1.2_1 +debug+quartz: error: non-virtual member function marked 'override' hides virtual member function

Reported by: cooljeanius (Eric Gallager) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: bigsur Cc:
Port: inkscape

Description

[777/1057] /usr/bin/clang++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DHAVE_CONFIG_H -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DWITH_CSSBLEND -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.2_2022-05-15_dc2aedaf03/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.2_2022-05-15_dc2aedaf03 -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.2_2022-05-15_dc2aedaf03/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/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/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/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/gtkmacintegration-gtk3/gtkmacintegration -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 -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -g -fno-limit-debug-info -DDEBUG -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DGLIBMM_DISABLE_DEPRECATED -DGTKMM_DISABLE_DEPRECATED -DGDKMM_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -fstack-protector-strong -Werror=format -Werror=format-security -Werror=ignored-qualifiers -Werror=return-type -Wno-switch -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -mmacosx-version-min=11.0 -fPIC   -fPIC -fdiagnostics-color -std=gnu++17 -MD -MT src/CMakeFiles/inkscape_base.dir/ui/dialog/dialog-container.cpp.o -MF src/CMakeFiles/inkscape_base.dir/ui/dialog/dialog-container.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/ui/dialog/dialog-container.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.2_2022-05-15_dc2aedaf03/src/ui/dialog/dialog-container.cpp
FAILED: src/CMakeFiles/inkscape_base.dir/ui/dialog/dialog-container.cpp.o 
/usr/bin/clang++ -DBOOST_ALL_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DHAVE_CONFIG_H -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DWITH_CSSBLEND -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.2_2022-05-15_dc2aedaf03/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.2_2022-05-15_dc2aedaf03 -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.2_2022-05-15_dc2aedaf03/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/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/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/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/gtkmacintegration-gtk3/gtkmacintegration -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 -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -g -fno-limit-debug-info -DDEBUG -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -DGLIBMM_DISABLE_DEPRECATED -DGTKMM_DISABLE_DEPRECATED -DGDKMM_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -fstack-protector-strong -Werror=format -Werror=format-security -Werror=ignored-qualifiers -Werror=return-type -Wno-switch -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -mmacosx-version-min=11.0 -fPIC   -fPIC -fdiagnostics-color -std=gnu++17 -MD -MT src/CMakeFiles/inkscape_base.dir/ui/dialog/dialog-container.cpp.o -MF src/CMakeFiles/inkscape_base.dir/ui/dialog/dialog-container.cpp.o.d -o src/CMakeFiles/inkscape_base.dir/ui/dialog/dialog-container.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.2_2022-05-15_dc2aedaf03/src/ui/dialog/dialog-container.cpp
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-1.2_2022-05-15_dc2aedaf03/src/ui/dialog/dialog-container.cpp:48:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-1.2_2022-05-15_dc2aedaf03/src/ui/dialog/prototype.h:39:49: error: non-virtual member function marked 'override' hides virtual member function
    void documentReplaced(SPDocument *document) override;
                                                ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-1.2_2022-05-15_dc2aedaf03/src/ui/dialog/dialog-base.h:103:18: note: hidden overloaded virtual function 'Inkscape::UI::Dialog::DialogBase::documentReplaced' declared here: different number of parameters (0 vs 1)
    virtual void documentReplaced() {}
                 ^
1 error generated.

Attachments (1)

inkscape_main.log (2.6 MB) - added by cooljeanius (Eric Gallager) 2 years ago.
main.log for inkscape

Change History (9)

Changed 2 years ago by cooljeanius (Eric Gallager)

Attachment: inkscape_main.log added

main.log for inkscape

comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)

Cc: mascguy removed
Owner: set to mascguy
Status: newassigned

comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)

Does this also occur without +debug?

comment:3 in reply to:  2 ; Changed 2 years ago by mascguy (Christopher Nielsen)

Replying to mascguy:

Does this also occur without +debug?

The reason I ask, is that I have inkscape +quartz installed on a number of my macOS VMs - ranging from 10.8, up to including Big Sur and Monterey - and have never seen this failure. (Admittedly, I'm not building with +debug enabled, though.)

We can certainly try to fix this, but is debug support necessary for your case...?

comment:4 in reply to:  3 ; Changed 2 years ago by mascguy (Christopher Nielsen)

Replying to mascguy:

Replying to mascguy:

Does this also occur without +debug?

The reason I ask, is that I have inkscape +quartz installed on a number of my macOS VMs - ranging from 10.8, up to including Big Sur and Monterey - and have never seen this failure. (Admittedly, I'm not building with +debug enabled, though.)

We can certainly try to fix this, but is debug support necessary for your case...?

Eric, have you tried building this port without +debug?

comment:5 Changed 2 years ago by mascguy (Christopher Nielsen)

Keywords: bigsur added

comment:6 in reply to:  4 ; Changed 2 years ago by cooljeanius (Eric Gallager)

Replying to mascguy:

Replying to mascguy:

Replying to mascguy:

Does this also occur without +debug?

The reason I ask, is that I have inkscape +quartz installed on a number of my macOS VMs - ranging from 10.8, up to including Big Sur and Monterey - and have never seen this failure. (Admittedly, I'm not building with +debug enabled, though.)

We can certainly try to fix this, but is debug support necessary for your case...?

Eric, have you tried building this port without +debug?

Just tried but I was blocked from getting to inkscape by OpenBLAS failing first with bug #65236

comment:7 in reply to:  6 ; Changed 2 years ago by cooljeanius (Eric Gallager)

Replying to cooljeanius:

Replying to mascguy:

Replying to mascguy:

Replying to mascguy:

Does this also occur without +debug?

The reason I ask, is that I have inkscape +quartz installed on a number of my macOS VMs - ranging from 10.8, up to including Big Sur and Monterey - and have never seen this failure. (Admittedly, I'm not building with +debug enabled, though.)

We can certainly try to fix this, but is debug support necessary for your case...?

Eric, have you tried building this port without +debug?

Just tried but I was blocked from getting to inkscape by OpenBLAS failing first with bug #65236

OK so I managed to work around that bug and can now confirm that removing the +debug variant allows inkscape to build successfully

comment:8 in reply to:  7 Changed 2 years ago by mascguy (Christopher Nielsen)

Resolution: worksforme
Status: assignedclosed

Replying to cooljeanius:

OK so I managed to work around that bug and can now confirm that removing the +debug variant allows inkscape to build successfully

Great, glad the issue is resolved!

Note: See TracTickets for help on using tickets.