{"action":"created","issue":{"url":"https://api.github.com/repos/redhat-openstack/tripleo-quickstart/issues/33","repository_url":"https://api.github.com/repos/redhat-openstack/tripleo-quickstart","labels_url":"https://api.github.com/repos/redhat-openstack/tripleo-quickstart/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/redhat-openstack/tripleo-quickstart/issues/33/comments","events_url":"https://api.github.com/repos/redhat-openstack/tripleo-quickstart/issues/33/events","html_url":"https://github.com/redhat-openstack/tripleo-quickstart/issues/33","id":140137579,"number":33,"title":"Initial run fails because of missing gcc dependency","user":{"login":"fhubik","id":12546429,"avatar_url":"https://avatars.githubusercontent.com/u/12546429?v=3","gravatar_id":"","url":"https://api.github.com/users/fhubik","html_url":"https://github.com/fhubik","followers_url":"https://api.github.com/users/fhubik/followers","following_url":"https://api.github.com/users/fhubik/following{/other_user}","gists_url":"https://api.github.com/users/fhubik/gists{/gist_id}","starred_url":"https://api.github.com/users/fhubik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhubik/subscriptions","organizations_url":"https://api.github.com/users/fhubik/orgs","repos_url":"https://api.github.com/users/fhubik/repos","events_url":"https://api.github.com/users/fhubik/events{/privacy}","received_events_url":"https://api.github.com/users/fhubik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-11T09:39:56Z","updated_at":"2016-03-11T10:52:10Z","closed_at":null,"body":"**Clean setup of Centos 7, first time run fails without gcc present in system**:\r\nRunning setup.py install for pycrypto                                                                                                                                      [528/1718]\r\n    checking for gcc... no\r\n    checking for cc... no\r\n    checking for cl.exe... no\r\n    configure: error: in `/root/.quickstart/build/pycrypto':\r\n    configure: error: no acceptable C compiler found in $PATH\r\n    See `config.log' for more details\r\n    Traceback (most recent call last):\r\n      File \"<string>\", line 1, in <module>\r\n      File \"/root/.quickstart/build/pycrypto/setup.py\", line 456, in <module>\r\n        core.setup(**kw)\r\n      File \"/usr/lib64/python2.7/distutils/core.py\", line 152, in setup\r\n        dist.run_commands()\r\n      File \"/usr/lib64/python2.7/distutils/dist.py\", line 953, in run_commands\r\n        self.run_command(cmd)\r\n      File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n        cmd_obj.run()\r\n      File \"/root/.quickstart/lib/python2.7/site-packages/setuptools/command/install.py\", line 53, in run\r\n        return _install.run(self)\r\n      File \"/usr/lib64/python2.7/distutils/command/install.py\", line 563, in run\r\n        self.run_command('build')\r\n      File \"/usr/lib64/python2.7/distutils/cmd.py\", line 326, in run_command\r\n        self.distribution.run_command(command)\r\n      File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n        cmd_obj.run()\r\n      File \"/usr/lib64/python2.7/distutils/command/build.py\", line 127, in run\r\n        self.run_command(cmd_name)\r\n      File \"/usr/lib64/python2.7/distutils/cmd.py\", line 326, in run_command\r\n        self.distribution.run_command(command)\r\n      File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n        cmd_obj.run()\r\n      File \"/root/.quickstart/build/pycrypto/setup.py\", line 251, in run\r\n        self.run_command(cmd_name)\r\n      File \"/usr/lib64/python2.7/distutils/cmd.py\", line 326, in run_command\r\n        self.distribution.run_command(command)\r\n      File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n        cmd_obj.run()\r\n      File \"/root/.quickstart/build/pycrypto/setup.py\", line 278, in run\r\n        raise RuntimeError(\"autoconf error\")\r\n    RuntimeError: autoconf error\r\n    Complete output from command /root/.quickstart/bin/python -c \"import setuptools;__file__='/root/.quickstart/build/pycrypto/setup.py';exec(compile(open(__file__).read().replace('\\r\r\n\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-kFPiwm-record/install-record.txt --single-version-externally-managed --install-headers /root/.quickstart/include/site/python2\r\n.7:\r\n    running install\r\nuntimeError: autoconf error\r\n    Complete output from command /root/.quickstart/bin/python -c \"import setuptools;__file__='/root/.quickstart/build/pycrypto/setup.py';exec(compile(open(__file__).read().replace('\\r\r\n\\n', '\\n'), __file__, 'exec'))\" install --record /tmp/pip-kFPiwm-record/install-record.txt --single-version-externally-managed --install-headers /root/.quickstart/include/site/python2\r\n.7:\r\nrunning install\r\nrunning build\r\nrunning build_py\r\ncreating build\r\n...\r\nrunning build_ext\r\nrunning build_configure\r\nchecking for gcc... no\r\nchecking for cc... no\r\nchecking for cl.exe... no\r\nconfigure: error: in `/root/.quickstart/build/pycrypto':\r\nconfigure: error: no acceptable C compiler found in $PATH\r\nSee `config.log' for more details\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\n  File \"/root/.quickstart/build/pycrypto/setup.py\", line 456, in <module>\r\n    core.setup(**kw)\r\n  File \"/usr/lib64/python2.7/distutils/core.py\", line 152, in setup\r\n    dist.run_commands()\r\n  File \"/usr/lib64/python2.7/distutils/dist.py\", line 953, in run_commands\r\n    self.run_command(cmd)\r\n  File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"/root/.quickstart/lib/python2.7/site-packages/setuptools/command/install.py\", line 53, in run\r\n    return _install.run(self)\r\n  File \"/usr/lib64/python2.7/distutils/command/install.py\", line 563, in run\r\n   self.run_command('build')\r\n  File \"/usr/lib64/python2.7/distutils/cmd.py\", line 326, in run_command\r\n    self.distribution.run_command(command)\r\n  File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"/usr/lib64/python2.7/distutils/command/build.py\", line 127, in run\r\n    self.run_command(cmd_name)\r\n  File \"/usr/lib64/python2.7/distutils/cmd.py\", line 326, in run_command\r\n    self.distribution.run_command(command)\r\n  File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"/root/.quickstart/build/pycrypto/setup.py\", line 251, in run\r\n    self.run_command(cmd_name)\r\n  File \"/usr/lib64/python2.7/distutils/cmd.py\", line 326, in run_command\r\n    self.distribution.run_command(command)\r\n  File \"/usr/lib64/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"/root/.quickstart/build/pycrypto/setup.py\", line 278, in run\r\n    raise RuntimeError(\"autoconf error\")\r\nRuntimeError: autoconf error\r\n----------------------------------------\r\nCleaning up...\r\n...\r\n\r\n$ yum install gcc # Problem fixed, initial run OK"},"comment":{"url":"https://api.github.com/repos/redhat-openstack/tripleo-quickstart/issues/comments/195316589","html_url":"https://github.com/redhat-openstack/tripleo-quickstart/issues/33#issuecomment-195316589","issue_url":"https://api.github.com/repos/redhat-openstack/tripleo-quickstart/issues/33","id":195316589,"user":{"login":"apevec","id":934852,"avatar_url":"https://avatars.githubusercontent.com/u/934852?v=3","gravatar_id":"","url":"https://api.github.com/users/apevec","html_url":"https://github.com/apevec","followers_url":"https://api.github.com/users/apevec/followers","following_url":"https://api.github.com/users/apevec/following{/other_user}","gists_url":"https://api.github.com/users/apevec/gists{/gist_id}","starred_url":"https://api.github.com/users/apevec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apevec/subscriptions","organizations_url":"https://api.github.com/users/apevec/orgs","repos_url":"https://api.github.com/users/apevec/repos","events_url":"https://api.github.com/users/apevec/events{/privacy}","received_events_url":"https://api.github.com/users/apevec/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T10:52:10Z","updated_at":"2016-03-11T10:52:10Z","body":"One trick to avoid ansible pulling its deps from pypi into venv is to pre-install ansible from EPEL then run quickstart.sh --system-site-packages\r\n\r\nThis would be all solved once tripleo-quickstart is RPM packaged, which will pull all requirements as RPms."}}