{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/vagrant/issues/10015","repository_url":"https://api.github.com/repos/hashicorp/vagrant","labels_url":"https://api.github.com/repos/hashicorp/vagrant/issues/10015/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/vagrant/issues/10015/comments","events_url":"https://api.github.com/repos/hashicorp/vagrant/issues/10015/events","html_url":"https://github.com/hashicorp/vagrant/issues/10015","id":340575118,"node_id":"MDU6SXNzdWUzNDA1NzUxMTg=","number":10015,"title":"Vagrant 2.1.2 Centos rpm on Fedora does not build libvirt","user":{"login":"yookoala","id":91274,"node_id":"MDQ6VXNlcjkxMjc0","avatar_url":"https://avatars2.githubusercontent.com/u/91274?v=4","gravatar_id":"","url":"https://api.github.com/users/yookoala","html_url":"https://github.com/yookoala","followers_url":"https://api.github.com/users/yookoala/followers","following_url":"https://api.github.com/users/yookoala/following{/other_user}","gists_url":"https://api.github.com/users/yookoala/gists{/gist_id}","starred_url":"https://api.github.com/users/yookoala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yookoala/subscriptions","organizations_url":"https://api.github.com/users/yookoala/orgs","repos_url":"https://api.github.com/users/yookoala/repos","events_url":"https://api.github.com/users/yookoala/events{/privacy}","received_events_url":"https://api.github.com/users/yookoala/received_events","type":"User","site_admin":false},"labels":[{"id":25816,"node_id":"MDU6TGFiZWwyNTgxNg==","url":"https://api.github.com/repos/hashicorp/vagrant/labels/bug","name":"bug","color":"e11d21","default":true},{"id":1484957,"node_id":"MDU6TGFiZWwxNDg0OTU3","url":"https://api.github.com/repos/hashicorp/vagrant/labels/installer","name":"installer","color":"e102d8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-12T10:13:50Z","updated_at":"2018-10-17T20:46:29Z","closed_at":"2018-10-17T20:46:29Z","author_association":"NONE","body":"Unable to build or install vagrant-libvirt with Vagrant 2.1.2 on Fedora 28. \r\n\r\n### Vagrant version\r\nVagrant 2.1.2\r\n\r\n### Host operating system\r\nFedora 28\r\n\r\n### Debug output\r\n```\r\n\"pkg-config --exists libvirt\"\r\n| pkg-config --libs libvirt\r\n=> \"-lvirt \\n\"\r\n\"gcc -o conftest -I/opt/vagrant/embedded/include/ruby-2.4.0/x86_64-linux -I/opt/vagrant/embedded/include/ruby-2.4.0/ruby/backward -I/opt/vagrant/embedded/include/ruby-2.4.0 -I.  -I/opt/vagrant/embedded/include   -I/opt/vagrant/embedded/include -I/vagrant-substrate/cache/ruby-2.4.4/include -O3 -fPIC conftest.c  -L. -L/opt/vagrant/embedded/lib -Wl,-rpath,/opt/vagrant/embedded/lib -L/opt/vagrant/embedded/lib -Wl,-rpath,/opt/vagrant/embedded/lib -L. -L/opt/vagrant/embedded/lib -Wl,-rpath=XORIGIN/../lib:/opt/vagrant/embedded/lib -fstack-protector -rdynamic -Wl,-export-dynamic -L/opt/vagrant/embedded/lib  -Wl,-rpath,/opt/vagrant/embedded/lib     -Wl,-rpath,'/../lib' -Wl,-rpath,'/../lib' -lruby  -lpthread -lrt -lgmp -ldl -lcrypt -lm   -lc\"\r\nIn file included from /opt/vagrant/embedded/include/ruby-2.4.0/ruby.h:33,\r\n                 from conftest.c:1:\r\n/opt/vagrant/embedded/include/ruby-2.4.0/ruby/ruby.h:631:1: 警告：「const」 attribute on function returning 「void」 [-Wattributes]\r\n CONSTFUNC(void rb_secure_update(VALUE));\r\n ^~~~~~~~~\r\nIn file included from /opt/vagrant/embedded/include/ruby-2.4.0/ruby/ruby.h:2012,\r\n                 from /opt/vagrant/embedded/include/ruby-2.4.0/ruby.h:33,\r\n                 from conftest.c:1:\r\n/opt/vagrant/embedded/include/ruby-2.4.0/ruby/intern.h:257:1: 警告：「const」 attribute on function returning 「void」 [-Wattributes]\r\n CONSTFUNC(void rb_error_untrusted(VALUE));\r\n ^~~~~~~~~\r\n/opt/vagrant/embedded/include/ruby-2.4.0/ruby/intern.h:259:1: 警告：「const」 attribute on function returning 「void」 [-Wattributes]\r\n CONSTFUNC(void rb_check_trusted(VALUE));\r\n ^~~~~~~~~\r\nchecked program was:\r\n/* begin */\r\n1: #include \"ruby.h\"\r\n2: \r\n3: int main(int argc, char **argv)\r\n4: {\r\n5:   return 0;\r\n6: }\r\n/* end */\r\n\r\n\"gcc -o conftest -I/opt/vagrant/embedded/include/ruby-2.4.0/x86_64-linux -I/opt/vagrant/embedded/include/ruby-2.4.0/ruby/backward -I/opt/vagrant/embedded/include/ruby-2.4.0 -I.  -I/opt/vagrant/embedded/include   -I/opt/vagrant/embedded/include -I/vagrant-substrate/cache/ruby-2.4.4/include -O3 -fPIC conftest.c  -L. -L/opt/vagrant/embedded/lib -Wl,-rpath,/opt/vagrant/embedded/lib -L/opt/vagrant/embedded/lib -Wl,-rpath,/opt/vagrant/embedded/lib -L. -L/opt/vagrant/embedded/lib -Wl,-rpath=XORIGIN/../lib:/opt/vagrant/embedded/lib -fstack-protector -rdynamic -Wl,-export-dynamic -L/opt/vagrant/embedded/lib  -Wl,-rpath,/opt/vagrant/embedded/lib     -Wl,-rpath,'/../lib' -Wl,-rpath,'/../lib' -lruby -lvirt -lpthread -lrt -lgmp -ldl -lcrypt -lm   -lc\"\r\nIn file included from /opt/vagrant/embedded/include/ruby-2.4.0/ruby.h:33,\r\n                 from conftest.c:1:\r\n/opt/vagrant/embedded/include/ruby-2.4.0/ruby/ruby.h:631:1: 警告：「const」 attribute on function returning 「void」 [-Wattributes]\r\n CONSTFUNC(void rb_secure_update(VALUE));\r\n ^~~~~~~~~\r\nIn file included from /opt/vagrant/embedded/include/ruby-2.4.0/ruby/ruby.h:2012,\r\n                 from /opt/vagrant/embedded/include/ruby-2.4.0/ruby.h:33,\r\n                 from conftest.c:1:\r\n/opt/vagrant/embedded/include/ruby-2.4.0/ruby/intern.h:257:1: 警告：「const」 attribute on function returning 「void」 [-Wattributes]\r\n CONSTFUNC(void rb_error_untrusted(VALUE));\r\n ^~~~~~~~~\r\n/opt/vagrant/embedded/include/ruby-2.4.0/ruby/intern.h:259:1: 警告：「const」 attribute on function returning 「void」 [-Wattributes]\r\n CONSTFUNC(void rb_check_trusted(VALUE));\r\n ^~~~~~~~~\r\nchecked program was:\r\n/* begin */\r\n1: #include \"ruby.h\"\r\n2: \r\n3: int main(int argc, char **argv)\r\n4: {\r\n5:   return 0;\r\n6: }\r\n/* end */\r\n\r\npackage configuration for libvirt is not found\r\n```\r\n\r\n### Expected behavior\r\nWhat should have happened?\r\nThe plugin should have installed successfully\r\n\r\n### Actual behavior\r\nWhat actually happened?\r\n\r\n### Steps to reproduce\r\n1. Install Fedora 28\r\n2. sudo dnf -y install qemu libvirt libvirt-devel ruby-devel gcc\r\n3. Install the [Vagrant 2.1.2 rpm for Centos](https://releases.hashicorp.com/vagrant/2.1.2/vagrant_2.1.2_x86_64.rpm).\r\n4. vagrant plugin install vagrant-libvirt"},"comment":{"url":"https://api.github.com/repos/hashicorp/vagrant/issues/comments/430783555","html_url":"https://github.com/hashicorp/vagrant/issues/10015#issuecomment-430783555","issue_url":"https://api.github.com/repos/hashicorp/vagrant/issues/10015","id":430783555,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDc4MzU1NQ==","user":{"login":"chrisroberts","id":266674,"node_id":"MDQ6VXNlcjI2NjY3NA==","avatar_url":"https://avatars1.githubusercontent.com/u/266674?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisroberts","html_url":"https://github.com/chrisroberts","followers_url":"https://api.github.com/users/chrisroberts/followers","following_url":"https://api.github.com/users/chrisroberts/following{/other_user}","gists_url":"https://api.github.com/users/chrisroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisroberts/subscriptions","organizations_url":"https://api.github.com/users/chrisroberts/orgs","repos_url":"https://api.github.com/users/chrisroberts/repos","events_url":"https://api.github.com/users/chrisroberts/events{/privacy}","received_events_url":"https://api.github.com/users/chrisroberts/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T20:46:29Z","updated_at":"2018-10-17T20:46:29Z","author_association":"MEMBER","body":"The RPM and linux binary were both updated in 2.1.4 to properly compile against libvirt. If there are any other issues, please do let us know and I'll investigate more. Thanks!"}}
{"actor":{"display_login":"chrisroberts"}}