Created attachment 887497 [details] emerge --info FAILED: src/CMakeFiles/inkscape_base.dir/extension/internal/pdfinput/svg-builder.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DHAVE_CONFIG_H -DHAVE_X11 -Dinkscape_base_EXPORTS -I/var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2_build/src -I/var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2/src -I/var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2 -I/var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2_build/include -I/var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2/src/3rdparty/adaptagrams -I/var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2/src/3rdparty/2geom/include -I/var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2/src/3rdparty/2geom/include/2geom -isystem /usr/include/pango-1.0 -isystem /usr/include/harfbuzz -isystem /usr/include/freetype2 -isystem /usr/include/cairo -isystem /usr/include/libsoup-2.4 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/libpng16 -isystem /usr/include/pixman-1 -isystem /usr/lib64/libffi/include -isystem /usr/include/libmount -isystem /usr/include/uuid -isystem /usr/include/json-c -isystem /usr/include/blkid -isystem /usr/include/fribidi -isystem /usr/include/libxml2 -isystem /usr/include/poppler -isystem /usr/include/libvisio-0.1 -isystem /usr/include/librevenge-0.0 -isystem /usr/include/libcdr-0.1 -isystem /usr/include/gtkmm-3.0 -isystem /usr/lib64/gtkmm-3.0/include -isystem /usr/include/sigc++-2.0 -isystem /usr/lib64/sigc++-2.0/include -isystem /usr/include/atkmm-1.6 -isystem /usr/lib64/atkmm-1.6/include -isystem /usr/include/glibmm-2.4 -isystem /usr/lib64/glibmm-2.4/include -isystem /usr/include/gtk-3.0/unix-print -isystem /usr/include/atk-1.0 -isystem /usr/include/giomm-2.4 -isystem /usr/lib64/giomm-2.4/include -isystem /usr/include/cairomm-1.0 -isystem /usr/lib64/cairomm-1.0/include -isystem /usr/include/pangomm-1.4 -isystem /usr/lib64/pangomm-1.4/include -isystem /usr/include/gdk-pixbuf-2.0 -isystem /usr/include/gdkmm-3.0 -isystem /usr/lib64/gdkmm-3.0/include -isystem /usr/include/gtk-3.0 -isystem /usr/include/webp -isystem /usr/include/at-spi2-atk/2.0 -isystem /usr/include/at-spi-2.0 -isystem /usr/include/dbus-1.0 -isystem /usr/lib64/dbus-1.0/include -isystem /usr/include/elogind -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/gspell-1 -isystem /usr/include/enchant-2 -O2 -pipe -march=native -ftree-vectorize -fno-strict-aliasing -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 -Wstrict-null-sentinel -pthread -fopenmp -std=gnu++17 -fPIC -pthread -UWITH_MESH -UWITH_CSSBLEND -UWITH_SVG2 -fPIC -fdiagnostics-color -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 /var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2/src/extension/internal/pdfinput/svg-builder.cpp /var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2/src/extension/internal/pdfinput/svg-builder.cpp: In member function ?bool Inkscape::Extension::Internal::SvgBuilder::_addGradientStops(Inkscape::XML::Node*, GfxShading*, const Function*)?: /var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2/src/extension/internal/pdfinput/svg-builder.cpp:926:29: error: cannot convert ?Function::Type? to ?int? in initialization 926 | int type = func->getType(); | ~~~~~~~~~~~~~^~ | | | Function::Type /var/tmp/portage/media-gfx/inkscape-1.2.2-r4/work/inkscape-1.2.2/src/extension/internal/pdfinput/svg-builder.cpp:949:54: error: no match for ?operator==? (operand types are ?Function::Type? and ?int?) 949 | if (stitchingFunc->getFunc(i)->getType() == 2) { // process exponential fxn | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~ | | | | | int | Function::Type
Please attach the full build log.
Created attachment 887565 [details] build.log Oh sorry, thought I'd linked it already, apparently something weird happened last time.
Any specific reason why you are using gcc-11 ? Could you try with a newer one please?
Seems like media-gfx/inkscape-1.3.2-r1 works fine, so I guess I'll mark this as RESOLVED UPSTREAM