{"action":"closed","issue":{"url":"https://api.github.com/repos/HariSekhon/nagios-plugins/issues/102","repository_url":"https://api.github.com/repos/HariSekhon/nagios-plugins","labels_url":"https://api.github.com/repos/HariSekhon/nagios-plugins/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/HariSekhon/nagios-plugins/issues/102/comments","events_url":"https://api.github.com/repos/HariSekhon/nagios-plugins/issues/102/events","html_url":"https://github.com/HariSekhon/nagios-plugins/issues/102","id":158791649,"number":102,"title":"Errors during build - missing package pyasn1","user":{"login":"joelsdc","id":16212586,"avatar_url":"https://avatars.githubusercontent.com/u/16212586?v=3","gravatar_id":"","url":"https://api.github.com/users/joelsdc","html_url":"https://github.com/joelsdc","followers_url":"https://api.github.com/users/joelsdc/followers","following_url":"https://api.github.com/users/joelsdc/following{/other_user}","gists_url":"https://api.github.com/users/joelsdc/gists{/gist_id}","starred_url":"https://api.github.com/users/joelsdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelsdc/subscriptions","organizations_url":"https://api.github.com/users/joelsdc/orgs","repos_url":"https://api.github.com/users/joelsdc/repos","events_url":"https://api.github.com/users/joelsdc/events{/privacy}","received_events_url":"https://api.github.com/users/joelsdc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-06T22:38:13Z","updated_at":"2016-06-07T09:49:41Z","closed_at":"2016-06-07T09:49:41Z","body":"Hi, \r\n\r\nI'm getting this error several times when building (Ubuntu 14.04.4 LTS):\r\n\r\n```\r\nroot@nagios:/usr/local/nagios/libexec/harisekhon# make\r\nif [ -x /usr/bin/apt-get ]; then make apt-packages; fi\r\nmake[1]: Entering directory `/usr/local/nagios/libexec/harisekhon'\r\napt-get update\r\n\r\n[...]\r\n\r\nCleaning up...\r\n#. tests/utils.sh;  $perl couchbase-csdk-setup\r\n# pip install couchbase\r\n# install MySQLdb python module for check_logserver.py / check_syslog_mysql.py\r\n# fails if MySQL isn't installed locally\r\npip install MySQL-python\r\n/usr/local/lib/python2.7/dist-packages/ndg/httpsclient/subj_alt_name.py:22: UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be disabled.  Import error is: No module named pyasn1.type\r\n  warnings.warn(import_error_msg)\r\n/usr/local/lib/python2.7/dist-packages/ndg/httpsclient/ssl_peer_verification.py:25: UserWarning: SubjectAltName support is disabled - check pyasn1 package installation to enable\r\n  warnings.warn(SUBJ_ALT_NAME_SUPPORT_MSG)\r\n/usr/local/lib/python2.7/dist-packages/ndg/httpsclient/subj_alt_name.py:22: UserWarning: Error importing pyasn1, subjectAltName check for SSL peer verification will be disabled.  Import error is: No module named pyasn1.type\r\n  warnings.warn(import_error_msg)\r\nRequirement already satisfied (use --upgrade to upgrade): MySQL-python in /usr/local/lib/python2.7/dist-packages\r\nCleaning up...\r\n\r\nBUILD SUCCESSFUL (nagios-plugins)\r\nroot@nagios:/usr/local/nagios/libexec/harisekhon#\r\n```\r\n\r\nIt appears to be because I'm missing the python pyasn1 module.\r\n\r\nAfter installing it with:\r\n\r\n`apt-get install python-pyasn1`\r\n\r\nI can run \"make\" without the mentioned error:\r\n\r\n```\r\nroot@nagios:/usr/local/nagios/libexec/harisekhon# make\r\nif [ -x /usr/bin/apt-get ]; then make apt-packages; fi\r\nmake[1]: Entering directory `/usr/local/nagios/libexec/harisekhon'\r\napt-get update\r\n\r\n[...]\r\n\r\nCleaning up...\r\n#. tests/utils.sh;  $perl couchbase-csdk-setup\r\n# pip install couchbase\r\n# install MySQLdb python module for check_logserver.py / check_syslog_mysql.py\r\n# fails if MySQL isn't installed locally\r\npip install MySQL-python\r\nRequirement already satisfied (use --upgrade to upgrade): MySQL-python in /usr/local/lib/python2.7/dist-packages\r\nCleaning up...\r\n\r\nBUILD SUCCESSFUL (nagios-plugins)\r\nroot@nagios:/usr/local/nagios/libexec/harisekhon#\r\n```\r\n\r\nMaybe you could add the package \"python-pyasn1\" to the list of .deb packages that the build process installs? \r\n\r\nJust a suggestion...\r\n\r\nThanks!\r\n"}}
{"actor":{"display_login":"HariSekhon"}}