Making all in demo
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/graphviz-2.42.2/tclpkg/gv/demo'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/graphviz-2.42.2/tclpkg/gv/demo'
make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/graphviz-2.42.2/tclpkg/gv'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fno-rtti -c -o libgv_ruby_la-gv_ruby.lo `test -f 'gv_ruby.cpp' || echo './'`gv_ruby.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/cgraph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fno-rtti -c gv_ruby.cpp -fPIC -DPIC -o .libs/libgv_ruby_la-gv_ruby.o
gv_ruby.cpp: In function ‘void SWIG_RubyInitializeTrackings()’:
gv_ruby.cpp:1267:85: error: call of overloaded ‘rb_define_virtual_variable(const char [21], VALUE (&)(...), NULL)’ is ambiguous
1267 | rb_define_virtual_variable("SWIG_TRACKINGS_COUNT", swig_ruby_trackings_count, NULL);
| ^
In file included from /usr/include/ruby/ruby.h:2863,
from /usr/include/ruby.h:33,
from gv_ruby.cpp:880:
/usr/include/ruby/backward/cxxanyargs.hpp:59:1: note: candidate: ‘void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE (*)(...), void (*)(...))’
59 | rb_define_virtual_variable(const char *q, type *w, void_type *e)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/ruby/backward/cxxanyargs.hpp:90:1: note: candidate: ‘void ruby::backward::cxxanyargs::rb_define_virtual_variable(const char*, VALUE (*)(...), void (*)(VALUE, ID, VALUE*))’
90 | rb_define_virtual_variable(const char *q, type *w, rb_gvar_setter_t *e)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:2305: libgv_ruby_la-gv_ruby.lo] Error 1
make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/graphviz-2.42.2/tclpkg/gv'
make[3]: *** [Makefile:2748: all-recursive] Error 1
make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/graphviz-2.42.2/tclpkg/gv'
make[2]: *** [Makefile:631: all-recursive] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/graphviz-2.42.2/tclpkg'
make[1]: *** [Makefile:759: all-recursive] Error 1
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/graphviz-2.42.2'