{"action":"opened","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/18901","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/18901/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/18901/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/18901/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/18901","id":262275735,"number":18901,"title":"postgresql failed to build on 10.11.6","user":{"login":"DanyangLinda","id":13445702,"avatar_url":"https://avatars2.githubusercontent.com/u/13445702?v=4","gravatar_id":"","url":"https://api.github.com/users/DanyangLinda","html_url":"https://github.com/DanyangLinda","followers_url":"https://api.github.com/users/DanyangLinda/followers","following_url":"https://api.github.com/users/DanyangLinda/following{/other_user}","gists_url":"https://api.github.com/users/DanyangLinda/gists{/gist_id}","starred_url":"https://api.github.com/users/DanyangLinda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanyangLinda/subscriptions","organizations_url":"https://api.github.com/users/DanyangLinda/orgs","repos_url":"https://api.github.com/users/DanyangLinda/repos","events_url":"https://api.github.com/users/DanyangLinda/events{/privacy}","received_events_url":"https://api.github.com/users/DanyangLinda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-03T01:11:48Z","updated_at":"2017-10-03T01:11:48Z","closed_at":null,"author_association":"NONE","body":"**Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.**\r\n\r\n# Please always follow these steps:\r\n- [ ] Confirmed this is a problem with `brew install`ing one, specific Homebrew/homebrew-core formula (not cask or tap) and not every time you run `brew`? If it's a general `brew` problem please file this issue at https://github.com/Homebrew/brew/issues/new. If it's a `brew cask` problem please file this issue at https://github.com/Homebrew/caskroom/homebrew-cask/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.\r\n- [ ] Ran `brew update` and retried your prior step?\r\n- [ ] Ran `brew doctor`, fixed all issues and retried your prior step?\r\n- [ ] Ran `brew gist-logs <formula>` (where `<formula>` is the name of the formula that failed) and included the output link?\r\n- [ ] If `brew gist-logs` didn't work: ran `brew config` and `brew doctor` and included their output with your issue?\r\n\r\nTo help us debug your issue please explain:\r\n- What you were trying to do (and why)\r\nThe command I am using is `brew install --with-python posgresql`\r\nI am trying to install postgres with the flag --with-python. I use the flag because some python function will be used later in my sql script.\r\n- What happened (include command output)\r\nmake stage failed with the following output:\r\n```\r\n==> Downloading https://ftp.postgresql.org/pub/source/v9.6.5/postgresql-9.6.5.tar.bz2\r\nAlready downloaded: /Users/danyangli/Library/Caches/Homebrew/postgresql-9.6.5.tar.bz2\r\n==> ./configure --prefix=/usr/local/Cellar/postgresql/9.6.5 --datadir=/usr/local/share/postgresql --libdir=/usr/local/lib --sysconfdir=/usr/local/etc --docdir=/usr/local/Cellar/post\r\n==> make\r\nLast 15 lines from /Users/danyangli/Library/Logs/Homebrew/postgresql/02.make:\r\nclang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2  -I. -I. -I../../../src/include -I/usr/local/opt/openssl/include -I/usr/local/opt/readline/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2  -DPERL_DARWIN  -I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE  -c -o Util.o Util.c\r\nmake -C modules all\r\nsed 's,@TCLSH@,/usr/bin/tclsh,g' pltcl_loadmod.in >pltcl_loadmod\r\nchmod a+x pltcl_loadmod\r\nsed 's,@TCLSH@,/usr/bin/tclsh,g' pltcl_delmod.in >pltcl_delmod\r\nchmod a+x pltcl_delmod\r\nsed 's,@TCLSH@,/usr/bin/tclsh,g' pltcl_listmod.in >pltcl_listmod\r\nchmod a+x pltcl_listmod\r\nclang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2  -I. -I. -I../../../../src/include -I/usr/local/opt/openssl/include -I/usr/local/opt/readline/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2   -c -o pl_exec.o pl_exec.c\r\nclang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2  -I. -I. -I../../../../src/include -I/usr/local/opt/openssl/include -I/usr/local/opt/readline/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2   -c -o pl_funcs.o pl_funcs.c\r\nclang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2  -I. -I. -I../../../../src/include -I/usr/local/opt/openssl/include -I/usr/local/opt/readline/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/libxml2   -c -o pl_scanner.o pl_scanner.c\r\nclang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2  -bundle -multiply_defined suppress -Wl,-undefined,dynamic_lookup -o plperl.so plperl.o SPI.o Util.o  -L../../../src/port -L../../../src/common -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib  -Wl,-dead_strip_dylibs   -fstack-protector  -L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -lperl -bundle_loader ../../../src/backend/postgres\r\nclang -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2  -bundle -multiply_defined suppress -Wl,-undefined,dynamic_lookup -o plpgsql.so pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o pl_scanner.o  -L../../../../src/port -L../../../../src/common -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib  -Wl,-dead_strip_dylibs    -bundle_loader ../../../../src/backend/postgres\r\nmake[1]: *** [all-pl-recurse] Error 2\r\nmake: *** [all-src-recurse] Error 2\r\n\r\nREAD THIS: https://docs.brew.sh/Troubleshooting.html\r\n\r\nThese open issues may also help:\r\nFormulae with opportunistic linkage issues https://github.com/Homebrew/homebrew-core/issues/16531\r\n```\r\n- What you expected to happen\r\n\r\n- Step-by-step reproduction instructions (by running `brew install` commands)\r\nrun `brew install --with-python posgresql` on Mac OS 10.11.6\r\n\r\n# Formula additions or changes\r\nTo get formulae added or changed in Homebrew please file a [Pull Request](https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md)\r\nWe will close issues requesting formulae changes.\r\n"}}
{"actor":{"display_login":"DanyangLinda"}}