Dne 13. 11. 20 v 22:18 Pavel Valena napsal(a):
Additionally, 'st.h' is missing for rubygem-ruby-libvirt:
https://copr.fedorainfracloud.org/coprs/build/1768458
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I.
-DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -flto=auto -ffat-lto-objects
-fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -m64 -o common.o -c
common.c
common.c:27:10: fatal error: st.h: No such file or directory
27 | #include <st.h>
| ^~~~~~
Comparing to Ruby 2.7, this is probably issue on ruby-libvirt side:
~~~
gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I.
-DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -flto -ffat-lto-objects
-fexceptions -g -grecord-gcc-switches -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
-m64 -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection -m64 -o common.o -c common.c
In file included from common.c:27:
/usr/include/ruby/backward/st.h:2:2: warning: #warning use "ruby/st.h"
instead of bare "st.h" [-Wcpp]
2 | #warning use "ruby/st.h" instead of bare "st.h"
| ^~~~~~~
~~~
Vít