{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/46653","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/46653/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/46653/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/46653/events","html_url":"https://github.com/Homebrew/homebrew/issues/46653","id":120343634,"number":46653,"title":"net-snmp build failed on mac","user":{"login":"lscgzwd","id":7054255,"avatar_url":"https://avatars.githubusercontent.com/u/7054255?v=3","gravatar_id":"","url":"https://api.github.com/users/lscgzwd","html_url":"https://github.com/lscgzwd","followers_url":"https://api.github.com/users/lscgzwd/followers","following_url":"https://api.github.com/users/lscgzwd/following{/other_user}","gists_url":"https://api.github.com/users/lscgzwd/gists{/gist_id}","starred_url":"https://api.github.com/users/lscgzwd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lscgzwd/subscriptions","organizations_url":"https://api.github.com/users/lscgzwd/orgs","repos_url":"https://api.github.com/users/lscgzwd/repos","events_url":"https://api.github.com/users/lscgzwd/events{/privacy}","received_events_url":"https://api.github.com/users/lscgzwd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-04T06:41:25Z","updated_at":"2015-12-04T07:52:56Z","closed_at":null,"body":"ops git:(crm) ✗ brew install php70-intl php70-snmp\r\nWarning: homebrew/php/php70-intl-7.0.0 already installed\r\n==> Installing php70-snmp from homebrew/homebrew-php\r\n==> Installing dependencies for homebrew/php/php70-snmp: net-snmp\r\n==> Installing homebrew/php/php70-snmp dependency: net-snmp\r\n==> Downloading https://downloads.sourceforge.net/project/net-snmp/net-snmp/5.7.3/net-snmp-5.7.3.tar.gz\r\nAlready downloaded: /Library/Caches/Homebrew/net-snmp-5.7.3.tar.gz\r\n==> ./configure --disable-debugging --prefix=/usr/local/Cellar/net-snmp/5.7.3 --enable-ipv6 --with-defaults --with-persistent-directory=/usr/local/var/db/net-snmp --with-logfile=/us\r\n==> make\r\nLast 15 lines from /Users/lushuncheng/Library/Logs/Homebrew/net-snmp/02.make:\r\n        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nopenssl/openssl_md5_local.h:118:11: note: expanded from macro 'R1'\r\n        a=ROTATE(a,s); \\\r\n                 ^\r\nopenssl/openssl_md32_common.h:168:19: note: expanded from macro 'ROTATE'\r\n                                : \"I\"(n), \"0\"(a)        \\\r\n                                              ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\n20 errors generated.\r\nmake[1]: *** [openssl/openssl_sha1.lo] Error 1\r\nmake[1]: *** Waiting for unfinished jobs....\r\nmake[1]: *** [openssl/openssl_md5.lo] Error 1\r\nlibtool: compile:  clang -I../include -I. -I../snmplib -I/usr/local/ssl/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -O2 -Udarwin15 -Ddarwin15=darwin15 -c snmpusm.c -o snmpusm.o >/dev/null 2>&1\r\nmake: *** [subdirs] Error 1\r\n\r\nREAD THIS: https://git.io/brew-troubleshooting"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/161902599","html_url":"https://github.com/Homebrew/homebrew/issues/46653#issuecomment-161902599","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/46653","id":161902599,"user":{"login":"lscgzwd","id":7054255,"avatar_url":"https://avatars.githubusercontent.com/u/7054255?v=3","gravatar_id":"","url":"https://api.github.com/users/lscgzwd","html_url":"https://github.com/lscgzwd","followers_url":"https://api.github.com/users/lscgzwd/followers","following_url":"https://api.github.com/users/lscgzwd/following{/other_user}","gists_url":"https://api.github.com/users/lscgzwd/gists{/gist_id}","starred_url":"https://api.github.com/users/lscgzwd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lscgzwd/subscriptions","organizations_url":"https://api.github.com/users/lscgzwd/orgs","repos_url":"https://api.github.com/users/lscgzwd/repos","events_url":"https://api.github.com/users/lscgzwd/events{/privacy}","received_events_url":"https://api.github.com/users/lscgzwd/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T07:52:56Z","updated_at":"2015-12-04T07:52:56Z","body":"➜  swooleframework git:(master) brew uninstall --force openssl\r\nUninstalling openssl... (465 files, 17M)\r\n➜  swooleframework git:(master) brew install php70-snmp       \r\n==> Installing php70-snmp from homebrew/homebrew-php\r\n==> Installing dependencies for homebrew/php/php70-snmp: openssl, net-snmp\r\n==> Installing homebrew/php/php70-snmp dependency: openssl\r\n==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2e.el_capitan.bottle.tar.gz\r\nAlready downloaded: /Library/Caches/Homebrew/openssl-1.0.2e.el_capitan.bottle.tar.gz\r\n==> Pouring openssl-1.0.2e.el_capitan.bottle.tar.gz\r\n==> Caveats\r\nA CA file has been bootstrapped using certificates from the system\r\nkeychain. To add additional certificates, place .pem files in\r\n  /usr/local/etc/openssl/certs\r\n\r\nand run\r\n  /usr/local/opt/openssl/bin/c_rehash\r\n\r\nThis formula is keg-only, which means it was not symlinked into /usr/local.\r\n\r\nApple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries\r\n\r\nGenerally there are no consequences of this for you. If you build your\r\nown software and it requires this formula, you'll need to add to your\r\nbuild variables:\r\n\r\n    LDFLAGS:  -L/usr/local/opt/openssl/lib\r\n    CPPFLAGS: -I/usr/local/opt/openssl/include\r\n\r\n==> Summary\r\n🍺  /usr/local/Cellar/openssl/1.0.2e: 465 files, 17M\r\n==> Installing homebrew/php/php70-snmp dependency: net-snmp\r\n==> Downloading https://downloads.sourceforge.net/project/net-snmp/net-snmp/5.7.3/net-snmp-5.7.3.tar.gz\r\nAlready downloaded: /Library/Caches/Homebrew/net-snmp-5.7.3.tar.gz\r\n==> ./configure --disable-debugging --prefix=/usr/local/Cellar/net-snmp/5.7.3 --enable-ipv6 --with-defaults --with-persistent-directory=/usr/local/var/db/net-snmp --with-logfile=/us\r\n==> make\r\nLast 15 lines from /Users/lushuncheng/Library/Logs/Homebrew/net-snmp/02.make:\r\n        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nopenssl/openssl_md5_local.h:118:11: note: expanded from macro 'R1'\r\n        a=ROTATE(a,s); \\\r\n                 ^\r\nopenssl/openssl_md32_common.h:168:19: note: expanded from macro 'ROTATE'\r\n                                : \"I\"(n), \"0\"(a)        \\\r\n                                              ^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n20 errors generated.\r\n20 errors generated.\r\nmake[1]: *** [openssl/openssl_sha1.lo] Error 1\r\nmake[1]: *** Waiting for unfinished jobs....\r\nmake[1]: *** [openssl/openssl_md5.lo] Error 1\r\nlibtool: compile:  clang -I../include -I. -I../snmplib -I/usr/local/ssl/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -O2 -Udarwin15 -Ddarwin15=darwin15 -c snmpusm.c -o snmpusm.o >/dev/null 2>&1\r\nmake: *** [subdirs] Error 1\r\n\r\nREAD THIS: https://git.io/brew-troubleshooting\r\n\r\nThese open issues may also help:\r\nnet-snmp build failed on mac https://github.com/Homebrew/homebrew/issues/46653"}}