Advertisement
PavelZag

Untitled

Mar 27th, 2017
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.14 KB | None | 0 0
  1. Running setup.py install for psycopg2 ... error
  2. Complete output from command /Users/Pavel/PycharmProjects/xxxx/xxxx/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-rWlreg/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 /tmp/pip-gUy5uj-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/Pavel/PycharmProjects/xxx/xxxx/include/site/python2.7/psycopg2:
  3. running install
  4. running build
  5. running build_py
  6. creating build
  7. creating build/lib.macosx-10.12-intel-2.7
  8. creating build/lib.macosx-10.12-intel-2.7/psycopg2
  9. copying lib/__init__.py -> build/lib.macosx-10.12-intel-2.7/psycopg2
  10. copying lib/_json.py -> build/lib.macosx-10.12-intel-2.7/psycopg2
  11. copying lib/_range.py -> build/lib.macosx-10.12-intel-2.7/psycopg2
  12. copying lib/errorcodes.py -> build/lib.macosx-10.12-intel-2.7/psycopg2
  13. copying lib/extensions.py -> build/lib.macosx-10.12-intel-2.7/psycopg2
  14. copying lib/extras.py -> build/lib.macosx-10.12-intel-2.7/psycopg2
  15. copying lib/pool.py -> build/lib.macosx-10.12-intel-2.7/psycopg2
  16. copying lib/psycopg1.py -> build/lib.macosx-10.12-intel-2.7/psycopg2
  17. copying lib/tz.py -> build/lib.macosx-10.12-intel-2.7/psycopg2
  18. creating build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  19. copying tests/__init__.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  20. copying tests/dbapi20.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  21. copying tests/dbapi20_tpc.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  22. copying tests/test_async.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  23. copying tests/test_bug_gc.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  24. copying tests/test_bugX000.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  25. copying tests/test_cancel.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  26. copying tests/test_connection.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  27. copying tests/test_copy.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  28. copying tests/test_cursor.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  29. copying tests/test_dates.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  30. copying tests/test_errcodes.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  31. copying tests/test_extras_dictcursor.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  32. copying tests/test_green.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  33. copying tests/test_lobject.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  34. copying tests/test_module.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  35. copying tests/test_notify.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  36. copying tests/test_psycopg2_dbapi20.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  37. copying tests/test_quote.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  38. copying tests/test_transaction.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  39. copying tests/test_types_basic.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  40. copying tests/test_types_extras.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  41. copying tests/test_with.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  42. copying tests/testconfig.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  43. copying tests/testutils.py -> build/lib.macosx-10.12-intel-2.7/psycopg2/tests
  44. running build_ext
  45. building 'psycopg2._psycopg' extension
  46. creating build/temp.macosx-10.12-intel-2.7
  47. creating build/temp.macosx-10.12-intel-2.7/psycopg
  48. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.12-intel-2.7/psycopg/psycopgmodule.o
  49. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/green.c -o build/temp.macosx-10.12-intel-2.7/psycopg/green.o
  50. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/pqpath.c -o build/temp.macosx-10.12-intel-2.7/psycopg/pqpath.o
  51. psycopg/pqpath.c:198:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
  52. PQstatus(conn->pgconn) : PQresultStatus(*pgres)));
  53. ^~~~~~~~~~~~~~~~~~~~~~
  54. psycopg/pqpath.c:1628:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
  55. PQstatus(curs->conn->pgconn) : PQresultStatus(curs->pgres)));
  56. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57. 2 warnings generated.
  58. psycopg/pqpath.c:198:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
  59. PQstatus(conn->pgconn) : PQresultStatus(*pgres)));
  60. ^~~~~~~~~~~~~~~~~~~~~~
  61. psycopg/pqpath.c:1628:17: warning: implicit conversion from enumeration type 'ConnStatusType' to different enumeration type 'ExecStatusType' [-Wenum-conversion]
  62. PQstatus(curs->conn->pgconn) : PQresultStatus(curs->pgres)));
  63. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  64. 2 warnings generated.
  65. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/utils.c -o build/temp.macosx-10.12-intel-2.7/psycopg/utils.o
  66. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/bytes_format.c -o build/temp.macosx-10.12-intel-2.7/psycopg/bytes_format.o
  67. In file included from psycopg/bytes_format.c:81:
  68. In file included from ./psycopg/psycopg.h:33:
  69. ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  70. static void Dprintf(const char *fmt, ...) {}
  71. ^
  72. 1 warning generated.
  73. In file included from psycopg/bytes_format.c:81:
  74. In file included from ./psycopg/psycopg.h:33:
  75. ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  76. static void Dprintf(const char *fmt, ...) {}
  77. ^
  78. 1 warning generated.
  79. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/connection_int.c -o build/temp.macosx-10.12-intel-2.7/psycopg/connection_int.o
  80. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/connection_type.c -o build/temp.macosx-10.12-intel-2.7/psycopg/connection_type.o
  81. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/cursor_int.c -o build/temp.macosx-10.12-intel-2.7/psycopg/cursor_int.o
  82. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/cursor_type.c -o build/temp.macosx-10.12-intel-2.7/psycopg/cursor_type.o
  83. psycopg/cursor_type.c:458:58: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  84. tmp = pq_execute(self, Bytes_AS_STRING(self->query), async, no_result, 0);
  85. ~~~~~~~~~~ ^~~~~
  86. psycopg/cursor_type.c:790:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  87. res = _psyco_curs_buildrow(self, self->row);
  88. ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~
  89. psycopg/cursor_type.c:837:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  90. res = _psyco_curs_buildrow(self, self->row);
  91. ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~
  92. psycopg/cursor_type.c:916:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  93. row = _psyco_curs_buildrow(self, self->row);
  94. ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~
  95. psycopg/cursor_type.c:976:27: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  96. size = self->rowcount - self->row;
  97. ~ ~~~~~~~~~~~~~~~^~~~~~~~~~~
  98. psycopg/cursor_type.c:986:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  99. row = _psyco_curs_buildrow(self, self->row);
  100. ~~~~~~~~~~~~~~~~~~~~ ~~~~~~^~~
  101. psycopg/cursor_type.c:1158:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  102. newpos = self->row + value;
  103. ~ ~~~~~~~~~~^~~~~~~
  104. 7 warnings generated.
  105. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/diagnostics_type.c -o build/temp.macosx-10.12-intel-2.7/psycopg/diagnostics_type.o
  106. psycopg/diagnostics_type.c:64:54: warning: implicit conversion loses integer precision: 'Py_intptr_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
  107. errortext = PQresultErrorField(self->err->pgres, (Py_intptr_t) closure);
  108. ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
  109. In file included from psycopg/diagnostics_type.c:27:
  110. In file included from ./psycopg/psycopg.h:33:
  111. ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  112. static void Dprintf(const char *fmt, ...) {}
  113. ^
  114. 2 warnings generated.
  115. In file included from psycopg/diagnostics_type.c:27:
  116. In file included from ./psycopg/psycopg.h:33:
  117. ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  118. static void Dprintf(const char *fmt, ...) {}
  119. ^
  120. 1 warning generated.
  121. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/error_type.c -o build/temp.macosx-10.12-intel-2.7/psycopg/error_type.o
  122. In file included from psycopg/error_type.c:27:
  123. In file included from ./psycopg/psycopg.h:33:
  124. ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  125. static void Dprintf(const char *fmt, ...) {}
  126. ^
  127. 1 warning generated.
  128. In file included from psycopg/error_type.c:27:
  129. In file included from ./psycopg/psycopg.h:33:
  130. ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  131. static void Dprintf(const char *fmt, ...) {}
  132. ^
  133. 1 warning generated.
  134. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/lobject_int.c -o build/temp.macosx-10.12-intel-2.7/psycopg/lobject_int.o
  135. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/lobject_type.c -o build/temp.macosx-10.12-intel-2.7/psycopg/lobject_type.o
  136. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/notify_type.c -o build/temp.macosx-10.12-intel-2.7/psycopg/notify_type.o
  137. In file included from psycopg/notify_type.c:27:
  138. In file included from ./psycopg/psycopg.h:33:
  139. ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  140. static void Dprintf(const char *fmt, ...) {}
  141. ^
  142. 1 warning generated.
  143. In file included from psycopg/notify_type.c:27:
  144. In file included from ./psycopg/psycopg.h:33:
  145. ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  146. static void Dprintf(const char *fmt, ...) {}
  147. ^
  148. 1 warning generated.
  149. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/xid_type.c -o build/temp.macosx-10.12-intel-2.7/psycopg/xid_type.o
  150. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/adapter_asis.c -o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_asis.o
  151. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/adapter_binary.c -o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_binary.o
  152. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/adapter_datetime.c -o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_datetime.o
  153. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/adapter_list.c -o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_list.o
  154. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/adapter_pboolean.c -o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_pboolean.o
  155. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/adapter_pdecimal.c -o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_pdecimal.o
  156. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/adapter_pint.c -o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_pint.o
  157. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/adapter_pfloat.c -o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_pfloat.o
  158. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/adapter_qstring.c -o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_qstring.o
  159. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/microprotocols.c -o build/temp.macosx-10.12-intel-2.7/psycopg/microprotocols.o
  160. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/microprotocols_proto.c -o build/temp.macosx-10.12-intel-2.7/psycopg/microprotocols_proto.o
  161. In file included from psycopg/microprotocols_proto.c:27:
  162. In file included from ./psycopg/psycopg.h:33:
  163. ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  164. static void Dprintf(const char *fmt, ...) {}
  165. ^
  166. 1 warning generated.
  167. In file included from psycopg/microprotocols_proto.c:27:
  168. In file included from ./psycopg/psycopg.h:33:
  169. ./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]
  170. static void Dprintf(const char *fmt, ...) {}
  171. ^
  172. 1 warning generated.
  173. cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.2 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090505 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.5.5/include -I/usr/local/Cellar/postgresql/9.5.5/include/server -c psycopg/typecast.c -o build/temp.macosx-10.12-intel-2.7/psycopg/typecast.o
  174. cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.12-intel-2.7/psycopg/psycopgmodule.o build/temp.macosx-10.12-intel-2.7/psycopg/green.o build/temp.macosx-10.12-intel-2.7/psycopg/pqpath.o build/temp.macosx-10.12-intel-2.7/psycopg/utils.o build/temp.macosx-10.12-intel-2.7/psycopg/bytes_format.o build/temp.macosx-10.12-intel-2.7/psycopg/connection_int.o build/temp.macosx-10.12-intel-2.7/psycopg/connection_type.o build/temp.macosx-10.12-intel-2.7/psycopg/cursor_int.o build/temp.macosx-10.12-intel-2.7/psycopg/cursor_type.o build/temp.macosx-10.12-intel-2.7/psycopg/diagnostics_type.o build/temp.macosx-10.12-intel-2.7/psycopg/error_type.o build/temp.macosx-10.12-intel-2.7/psycopg/lobject_int.o build/temp.macosx-10.12-intel-2.7/psycopg/lobject_type.o build/temp.macosx-10.12-intel-2.7/psycopg/notify_type.o build/temp.macosx-10.12-intel-2.7/psycopg/xid_type.o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_asis.o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_binary.o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_datetime.o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_list.o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_pboolean.o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_pdecimal.o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_pint.o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_pfloat.o build/temp.macosx-10.12-intel-2.7/psycopg/adapter_qstring.o build/temp.macosx-10.12-intel-2.7/psycopg/microprotocols.o build/temp.macosx-10.12-intel-2.7/psycopg/microprotocols_proto.o build/temp.macosx-10.12-intel-2.7/psycopg/typecast.o -L/usr/local/lib -lpq -lssl -lcrypto -o build/lib.macosx-10.12-intel-2.7/psycopg2/_psycopg.so
  175. ld: library not found for -lssl
  176. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  177. error: command 'cc' failed with exit status 1
  178.  
  179. ----------------------------------------
  180. Command "/Users/Pavel/PycharmProjects/xxxx/xxxx/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-rWlreg/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 /tmp/pip-gUy5uj-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/Pavel/PycharmProjects/xxxx/xxxx/include/site/python2.7/psycopg2" failed with error code 1 in /private/tmp/pip-build-rWlreg/psycopg2/ t
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement