Psycopg2: pipenv install 2.8.1 failed

Created on 10 Apr 2019  ·  3Comments  ·  Source: psycopg/psycopg2

➜  test pipenv install psycopg2==2.8.1
Creating a virtualenv for this project…
Pipfile: /Users/jiamo/test/Pipfile
Using /usr/local/Cellar/pipenv/2018.11.26_2/libexec/bin/python3.7 (3.7.2) to create virtualenv…
⠇ Creating virtual environment...Already using interpreter /usr/local/Cellar/pipenv/2018.11.26_2/libexec/bin/python3.7
Using real prefix '/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7'
New python executable in /Users/jiamo/test/.venv/bin/python3.7
Also creating executable in /Users/jiamo/test/.venv/bin/python
Installing setuptools, pip, wheel...
done.

✔ Successfully created virtual environment!
Virtualenv location: /Users/jiamo/test/.venv
Creating a Pipfile for this project…
Installing psycopg2==2.8.1…
Adding psycopg2 to Pipfile's [packages]…
✔ Installation Succeeded
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
✔ Success!
Updated Pipfile.lock (6c7e55)!
Installing dependencies from Pipfile.lock (6c7e55)…
An error occurred while installing psycopg2==2.8.1 --hash=sha256:3648afc2b4828a6e00d516d2d09a260edd2c1e3de1e0d41d99c5ab004a73d180 --hash=sha256:5329b4530e31f58e0eafc55e26bbef684509bcc3be41604e45c0b98c297dc722 --hash=sha256:7c1ae1669d11105a002f804bebd7432f8dc7473459aa405164c6b44a922decd5 --hash=sha256:8af13498e32a00d0a66e43b7491c15231b27ab964ee4d2277a4a2dbadfb2c482 --hash=sha256:9d5489867bd5f6d6c6191a4debd8de9a5c03a9608cce3f4d7133e29e6bd4ec27 --hash=sha256:a17bfc9faffcca0ad9360c1ad97ab61ede583aa954715e8e436ffd80046661ff --hash=sha256:b4a475ce87eabc0607e068a3c704d0aa0820237ed78d493b8e2d880eb73cd7fe --hash=sha256:c49d66e97affdc80d084b3b363f09f17db621418f0b8e0524b06c54959e2094d --hash=sha256:d13fbc3d533656cfdf094e13c1b0f40917b72813755ba780971ba0ce04280ac4 --hash=sha256:e1e4fe6e8ab9f9c7d28514d007f623999d2dd6b5b81069dd4f9d30dbdd6f7069 --hash=sha256:e67d60cb1a32f5fd8fcea935cf9efb1d1c26f96203b0ca2ae98c4c40ef8d8eac! Will try again.
🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 1/1 — 00:00:11
Installing initially failed dependencies…
[pipenv.exceptions.InstallError]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/core.py", line 1992, in do_install
[pipenv.exceptions.InstallError]:       skip_lock=skip_lock,
[pipenv.exceptions.InstallError]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/core.py", line 1253, in do_init
[pipenv.exceptions.InstallError]:       pypi_mirror=pypi_mirror,
[pipenv.exceptions.InstallError]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/core.py", line 859, in do_install_dependencies
[pipenv.exceptions.InstallError]:       retry_list, procs, failed_deps_queue, requirements_dir, **install_kwargs
[pipenv.exceptions.InstallError]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/core.py", line 763, in batch_install
[pipenv.exceptions.InstallError]:       _cleanup_procs(procs, not blocking, failed_deps_queue, retry=retry)
[pipenv.exceptions.InstallError]:   File "/usr/local/Cellar/pipenv/2018.11.26_2/libexec/lib/python3.7/site-packages/pipenv/core.py", line 681, in _cleanup_procs
[pipenv.exceptions.InstallError]:       raise exceptions.InstallError(c.dep.name, extra=err_lines)
[pipenv.exceptions.InstallError]: ['Collecting psycopg2==2.8.1 (from -r /var/folders/x4/2w12frgd2hg_bstrx0f0bbm80000gn/T/pipenv-hu9mugpe-requirements/pipenv-_in1syww-requirement.txt (line 1))', '  Using cached https://files.pythonhosted.org/packages/52/be/f898e712f5f08131d651a62754fca82a1deb42e4e9889ad01932f770a2be/psycopg2-2.8.1.tar.gz', 'Building wheels for collected packages: psycopg2', '  Building wheel for psycopg2 (setup.py): started', "  Building wheel for psycopg2 (setup.py): finished with status 'error'", '  Complete output from command /Users/jiamo/test/.venv/bin/python3.7 -u -c "import setuptools, tokenize;__file__=\'/private/var/folders/x4/2w12frgd2hg_bstrx0f0bbm80000gn/T/pip-install-v74qh1cy/psycopg2/setup.py\';f=getattr(tokenize, \'open\', open)(__file__);code=f.read().replace(\'\\r\\n\', \'\\n\');f.close();exec(compile(code, __file__, \'exec\'))" bdist_wheel -d /private/var/folders/x4/2w12frgd2hg_bstrx0f0bbm80000gn/T/pip-wheel-q5bhg3b9 --python-tag cp37:', '  running bdist_wheel', '  running build', '  running build_py', '  creating build', '  creating build/lib.macosx-10.14-x86_64-3.7', '  creating build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/_json.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/extras.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/compat.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/errorcodes.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/tz.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/_range.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/_ipaddress.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/_lru_cache.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/extensions.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/errors.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/sql.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  copying lib/pool.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '  warning: build_py: byte-compiling is disabled, skipping.', '  ', '  running build_ext', "  building 'psycopg2._psycopg' extension", '  creating build/temp.macosx-10.14-x86_64-3.7', '  creating build/temp.macosx-10.14-x86_64-3.7/psycopg', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/psycopgmodule.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/green.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/green.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/pqpath.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/pqpath.o', "  psycopg/pqpath.c:135:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]", '                  PQstatus(conn->pgconn) : PQresultStatus(*pgres)));', '                  ^~~~~~~~~~~~~~~~~~~~~~', '  psycopg/pqpath.c:1710:11: warning: code will never be executed [-Wunreachable-code]', '      ret = 1;', '            ^', "  psycopg/pqpath.c:1815:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]", '                  PQstatus(curs->conn->pgconn) : PQresultStatus(curs->pgres)));', '                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~', '  3 warnings generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/utils.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/utils.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/bytes_format.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/bytes_format.o', '  In file included from psycopg/bytes_format.c:81:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/libpq_support.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/libpq_support.o', '  In file included from psycopg/libpq_support.c:29:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/win32_support.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/win32_support.o', '  In file included from psycopg/win32_support.c:27:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/solaris_support.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/solaris_support.o', '  In file included from psycopg/solaris_support.c:28:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/connection_int.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_int.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/connection_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_type.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/cursor_int.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_int.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/cursor_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_type.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/column_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/column_type.o', '  In file included from psycopg/column_type.c:27:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/replication_connection_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_connection_type.o', '  In file included from psycopg/replication_connection_type.c:27:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/replication_cursor_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_cursor_type.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/replication_message_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_message_type.o', '  In file included from psycopg/replication_message_type.c:27:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/diagnostics_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/diagnostics_type.o', '  In file included from psycopg/diagnostics_type.c:27:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/error_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/error_type.o', '  In file included from psycopg/error_type.c:27:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/conninfo_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/conninfo_type.o', '  In file included from psycopg/conninfo_type.c:27:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/lobject_int.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_int.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/lobject_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_type.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/notify_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/notify_type.o', '  In file included from psycopg/notify_type.c:27:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/xid_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/xid_type.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_asis.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_asis.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_binary.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_binary.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_datetime.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_datetime.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_list.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_list.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_pboolean.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pboolean.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_pdecimal.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pdecimal.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_pint.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pint.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_pfloat.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pfloat.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_qstring.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_qstring.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/microprotocols.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols.o', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/microprotocols_proto.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols_proto.o', '  In file included from psycopg/microprotocols_proto.c:27:', '  In file included from ./psycopg/psycopg.h:37:', "  ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '  static void Dprintf(const char *fmt, ...) {}', '              ^', '  1 warning generated.', '  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/typecast.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/typecast.o', '  clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk build/temp.macosx-10.14-x86_64-3.7/psycopg/psycopgmodule.o build/temp.macosx-10.14-x86_64-3.7/psycopg/green.o build/temp.macosx-10.14-x86_64-3.7/psycopg/pqpath.o build/temp.macosx-10.14-x86_64-3.7/psycopg/utils.o build/temp.macosx-10.14-x86_64-3.7/psycopg/bytes_format.o build/temp.macosx-10.14-x86_64-3.7/psycopg/libpq_support.o build/temp.macosx-10.14-x86_64-3.7/psycopg/win32_support.o build/temp.macosx-10.14-x86_64-3.7/psycopg/solaris_support.o build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_int.o build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_int.o build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/column_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_connection_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_cursor_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_message_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/diagnostics_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/error_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/conninfo_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_int.o build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/notify_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/xid_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_asis.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_binary.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_datetime.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_list.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pboolean.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pdecimal.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pint.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pfloat.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_qstring.o build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols.o build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols_proto.o build/temp.macosx-10.14-x86_64-3.7/psycopg/typecast.o -L/usr/local/lib -lpq -lssl -lcrypto -o build/lib.macosx-10.14-x86_64-3.7/psycopg2/_psycopg.cpython-37m-darwin.so', '  ld: library not found for -lssl', '  clang: error: linker command failed with exit code 1 (use -v to see invocation)', "  error: command 'clang' failed with exit status 1", '  ', '  ----------------------------------------', '  Running setup.py clean for psycopg2', 'Failed to build psycopg2', 'Installing collected packages: psycopg2', '  Running setup.py install for psycopg2: started', "    Running setup.py install for psycopg2: finished with status 'error'", '    Complete output from command /Users/jiamo/test/.venv/bin/python3.7 -u -c "import setuptools, tokenize;__file__=\'/private/var/folders/x4/2w12frgd2hg_bstrx0f0bbm80000gn/T/pip-install-v74qh1cy/psycopg2/setup.py\';f=getattr(tokenize, \'open\', open)(__file__);code=f.read().replace(\'\\r\\n\', \'\\n\');f.close();exec(compile(code, __file__, \'exec\'))" install --record /private/var/folders/x4/2w12frgd2hg_bstrx0f0bbm80000gn/T/pip-record-klv9uqyv/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jiamo/test/.venv/bin/../include/site/python3.7/psycopg2:', '    running install', '    running build', '    running build_py', '    creating build', '    creating build/lib.macosx-10.14-x86_64-3.7', '    creating build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/_json.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/extras.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/compat.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/errorcodes.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/tz.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/_range.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/_ipaddress.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/_lru_cache.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/__init__.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/extensions.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/errors.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/sql.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    copying lib/pool.py -> build/lib.macosx-10.14-x86_64-3.7/psycopg2', '    warning: build_py: byte-compiling is disabled, skipping.', '    ', '    running build_ext', "    building 'psycopg2._psycopg' extension", '    creating build/temp.macosx-10.14-x86_64-3.7', '    creating build/temp.macosx-10.14-x86_64-3.7/psycopg', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/psycopgmodule.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/green.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/green.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/pqpath.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/pqpath.o', "    psycopg/pqpath.c:135:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]", '                    PQstatus(conn->pgconn) : PQresultStatus(*pgres)));', '                    ^~~~~~~~~~~~~~~~~~~~~~', '    psycopg/pqpath.c:1710:11: warning: code will never be executed [-Wunreachable-code]', '        ret = 1;', '              ^', "    psycopg/pqpath.c:1815:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]", '                    PQstatus(curs->conn->pgconn) : PQresultStatus(curs->pgres)));', '                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~', '    3 warnings generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/utils.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/utils.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/bytes_format.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/bytes_format.o', '    In file included from psycopg/bytes_format.c:81:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/libpq_support.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/libpq_support.o', '    In file included from psycopg/libpq_support.c:29:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/win32_support.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/win32_support.o', '    In file included from psycopg/win32_support.c:27:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/solaris_support.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/solaris_support.o', '    In file included from psycopg/solaris_support.c:28:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/connection_int.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_int.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/connection_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_type.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/cursor_int.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_int.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/cursor_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_type.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/column_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/column_type.o', '    In file included from psycopg/column_type.c:27:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/replication_connection_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_connection_type.o', '    In file included from psycopg/replication_connection_type.c:27:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/replication_cursor_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_cursor_type.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/replication_message_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_message_type.o', '    In file included from psycopg/replication_message_type.c:27:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/diagnostics_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/diagnostics_type.o', '    In file included from psycopg/diagnostics_type.c:27:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/error_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/error_type.o', '    In file included from psycopg/error_type.c:27:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/conninfo_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/conninfo_type.o', '    In file included from psycopg/conninfo_type.c:27:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/lobject_int.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_int.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/lobject_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_type.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/notify_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/notify_type.o', '    In file included from psycopg/notify_type.c:27:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/xid_type.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/xid_type.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_asis.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_asis.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_binary.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_binary.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_datetime.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_datetime.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_list.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_list.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_pboolean.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pboolean.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_pdecimal.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pdecimal.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_pint.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pint.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_pfloat.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pfloat.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/adapter_qstring.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_qstring.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/microprotocols.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols.o', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/microprotocols_proto.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols_proto.o', '    In file included from psycopg/microprotocols_proto.c:27:', '    In file included from ./psycopg/psycopg.h:37:', "    ./psycopg/config.h:81:13: warning: unused function 'Dprintf' [-Wunused-function]", '    static void Dprintf(const char *fmt, ...) {}', '                ^', '    1 warning generated.', '    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DPSYCOPG_VERSION=2.8.1 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100004 -DHAVE_LO64=1 -I/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I. -I/usr/local/Cellar/postgresql/10.4/include -I/usr/local/Cellar/postgresql/10.4/include/server -c psycopg/typecast.c -o build/temp.macosx-10.14-x86_64-3.7/psycopg/typecast.o', '    clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk build/temp.macosx-10.14-x86_64-3.7/psycopg/psycopgmodule.o build/temp.macosx-10.14-x86_64-3.7/psycopg/green.o build/temp.macosx-10.14-x86_64-3.7/psycopg/pqpath.o build/temp.macosx-10.14-x86_64-3.7/psycopg/utils.o build/temp.macosx-10.14-x86_64-3.7/psycopg/bytes_format.o build/temp.macosx-10.14-x86_64-3.7/psycopg/libpq_support.o build/temp.macosx-10.14-x86_64-3.7/psycopg/win32_support.o build/temp.macosx-10.14-x86_64-3.7/psycopg/solaris_support.o build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_int.o build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_int.o build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/column_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_connection_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_cursor_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_message_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/diagnostics_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/error_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/conninfo_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_int.o build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/notify_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/xid_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_asis.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_binary.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_datetime.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_list.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pboolean.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pdecimal.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pint.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pfloat.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_qstring.o build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols.o build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols_proto.o build/temp.macosx-10.14-x86_64-3.7/psycopg/typecast.o -L/usr/local/lib -lpq -lssl -lcrypto -o build/lib.macosx-10.14-x86_64-3.7/psycopg2/_psycopg.cpython-37m-darwin.so', '    ld: library not found for -lssl', '    clang: error: linker command failed with exit code 1 (use -v to see invocation)', "    error: command 'clang' failed with exit status 1", '    ', '    ----------------------------------------']
[pipenv.exceptions.InstallError]: ['Failed building wheel for psycopg2', 'Command "/Users/jiamo/test/.venv/bin/python3.7 -u -c "import setuptools, tokenize;__file__=\'/private/var/folders/x4/2w12frgd2hg_bstrx0f0bbm80000gn/T/pip-install-v74qh1cy/psycopg2/setup.py\';f=getattr(tokenize, \'open\', open)(__file__);code=f.read().replace(\'\\r\\n\', \'\\n\');f.close();exec(compile(code, __file__, \'exec\'))" install --record /private/var/folders/x4/2w12frgd2hg_bstrx0f0bbm80000gn/T/pip-record-klv9uqyv/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jiamo/test/.venv/bin/../include/site/python3.7/psycopg2" failed with error code 1 in /private/var/folders/x4/2w12frgd2hg_bstrx0f0bbm80000gn/T/pip-install-v74qh1cy/psycopg2/']

The detail in last line: ld: library not found for -lssl', ' clang: error: linker command failed with exit code 1 (use -v to see invocation)', " error: command 'clang' failed with exit status 1", ' ', ' ----------------------------------------']

while just install 2.7.7 the same machine works fine.

➜  test pipenv install psycopg2==2.7.7
Installing psycopg2==2.7.7…
Adding psycopg2 to Pipfile's [packages]…
✔ Installation Succeeded
Pipfile.lock (815f31) out of date, updating to (6c7e55)…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
✔ Success!
Updated Pipfile.lock (815f31)!
Installing dependencies from Pipfile.lock (815f31)…
🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 1/1 — 00:00:01
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

However if I do like this:

export LDFLAGS="-L/usr/local/opt/openssl/lib"

and install again. the 2.8.1 version will ok.
So I am not sure whether psycopyg need take a look at it. May be it is pipenv related?

Most helpful comment

I have faced the same issue on macOS 10.14.5. Workaround with setting export LDFLAGS="-L/usr/local/opt/openssl/lib" works, but still it is not clear from the psycopg2 documentation what is causing this behaviour and if there any way to "properly" fix this.

All 3 comments

See #890

I have faced the same issue on macOS 10.14.5. Workaround with setting export LDFLAGS="-L/usr/local/opt/openssl/lib" works, but still it is not clear from the psycopg2 documentation what is causing this behaviour and if there any way to "properly" fix this.

@Slawikus Maybe #935 would fix your problem but I'm not sure. Do you want to try?

Was this page helpful?
0 / 5 - 0 ratings