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


Attachment: OpenPGP_0x0CE09EE79917B87C.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org

Reply via email to