ak47suk1

recompile python-pycurl

Feb 8th, 2012
203
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Follow the work around here
  2. # http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;bug=515200
  3.  
  4. # Half of my log trying to follow above workaround.
  5.  
  6. ####################################################################################################################################
  7. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl$ sudo apt-get install libcurl4-openssl-dev
  8. [sudo] password for ak47suk1:
  9. E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
  10. E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
  11. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl$ sudo apt-get install libcurl4-openssl-dev
  12. Reading package lists... Done
  13. Building dependency tree      
  14. Reading state information... Done
  15. Suggested packages:
  16.   libcurl3-dbg
  17. The following packages will be REMOVED:
  18.   libcurl4-gnutls-dev
  19. The following NEW packages will be installed:
  20.   libcurl4-openssl-dev
  21. 0 upgraded, 1 newly installed, 1 to remove and 13 not upgraded.
  22. Need to get 1,049 kB of archives.
  23. After this operation, 32.8 kB of additional disk space will be used.
  24. Do you want to continue [Y/n]? Y
  25. Get:1 http://ubuntu.bytecraft.com.my/ubuntu/ oneiric-updates/main libcurl4-openssl-dev amd64 7.21.6-3ubuntu3.2 [1,049 kB]
  26. Fetched 1,049 kB in 34s (30.3 kB/s)                                                                                                                  
  27. (Reading database ... 323396 files and directories currently installed.)
  28. Removing libcurl4-gnutls-dev ...
  29. Processing triggers for man-db ...
  30. Processing triggers for doc-base ...
  31. Processing 1 removed doc-base file...
  32. Registering documents with scrollkeeper...
  33. Selecting previously deselected package libcurl4-openssl-dev.
  34. (Reading database ... 323144 files and directories currently installed.)
  35. Unpacking libcurl4-openssl-dev (from .../libcurl4-openssl-dev_7.21.6-3ubuntu3.2_amd64.deb) ...
  36. Processing triggers for doc-base ...
  37. Processing 1 added doc-base file...
  38. Registering documents with scrollkeeper...
  39. Processing triggers for man-db ...
  40. Setting up libcurl4-openssl-dev (7.21.6-3ubuntu3.2) ...
  41. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl$ ls
  42. pycurl-7.19.0  pycurl_7.19.0-4ubuntu2.diff.gz  pycurl_7.19.0-4ubuntu2.dsc  pycurl_7.19.0.orig.tar.gz
  43. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl$ sudo dpkg-source -x pycurl_7.19.0-4ubuntu2.dsc
  44. [sudo] password for ak47suk1:
  45. gpgv: Signature made Tue 09 Aug 2011 01:33:44 AM MYT using RSA key ID A74B06BF
  46. gpgv: Can't check signature: public key not found
  47. dpkg-source: warning: failed to verify signature on ./pycurl_7.19.0-4ubuntu2.dsc
  48. dpkg-source: info: extracting pycurl in pycurl-7.19.0
  49. dpkg-source: info: unpacking pycurl_7.19.0.orig.tar.gz
  50. dpkg-source: info: applying pycurl_7.19.0-4ubuntu2.diff.gz
  51. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl$ ls
  52. pycurl-7.19.0  pycurl_7.19.0-4ubuntu2.diff.gz  pycurl_7.19.0-4ubuntu2.dsc  pycurl_7.19.0.orig.tar.gz
  53. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl$ cd pycurl-7.19.0/
  54. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0$ ls
  55. ChangeLog  COPYING2  doc       INSTALL   MANIFEST.in  python  setup.py            src    TODO
  56. COPYING    debian    examples  Makefile  PKG-INFO     README  setup_win32_ssl.py  tests
  57. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0$ cd debian/
  58. patches/ source/  
  59. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0$ cd debian/
  60. patches/ source/  
  61. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0$ cd debian/
  62. patches/ source/  
  63. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0$ cd debian/
  64. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian$ ls
  65. changelog  compat  control  copyright  patches  python-pycurl.dirs  python-pycurl.doc-base  README.source  rules  source  TODO  watch
  66. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian$ nano control
  67. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian$ sudo nano control
  68. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian$ cd ..
  69. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0$ ls
  70. ChangeLog  COPYING2  doc       INSTALL   MANIFEST.in  python  setup.py            src    TODO
  71. COPYING    debian    examples  Makefile  PKG-INFO     README  setup_win32_ssl.py  tests
  72. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0$ sudo dpkg-buildpackage -rfakeroot -b
  73. dpkg-buildpackage: warning: using a gain-root-command while being root
  74. dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
  75. dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
  76. dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
  77. dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
  78. dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
  79. dpkg-buildpackage: source package pycurl
  80. dpkg-buildpackage: source version 7.19.0-4ubuntu2
  81. dpkg-buildpackage: source changed by Barry Warsaw <barry@ubuntu.com>
  82. dpkg-buildpackage: host architecture amd64
  83. dpkg-source --before-build pycurl-7.19.0
  84. fakeroot debian/rules clean
  85. dpatch  deapply-all  
  86. 10_setup.py not applied to ./ .
  87. rm -rf patch-stamp patch-stampT debian/patched
  88. dh_testdir
  89. dh_testroot
  90. rm -f build-*
  91. for py in 2.6 2.7; do \
  92.         python$py setup.py clean; \
  93.         python$py-dbg setup.py clean; \
  94.     done
  95. Using curl-config (libcurl 7.21.6)
  96. running clean
  97. Using curl-config (libcurl 7.21.6)
  98. running clean
  99. [23062 refs]
  100. Using curl-config (libcurl 7.21.6)
  101. running clean
  102. Using curl-config (libcurl 7.21.6)
  103. running clean
  104. [28518 refs]
  105. rm -rf build
  106. find -name '*.py[co]' | xargs rm -f
  107. dh_clean
  108. debian/rules build
  109. test -d debian/patched || install -d debian/patched
  110. dpatch  apply-all  
  111. applying patch 10_setup.py to ./ ... ok.
  112. dpatch  cat-all  >>patch-stampT
  113. mv -f patch-stampT patch-stamp
  114. dh_testdir
  115. python2.6 setup.py build
  116. Using curl-config (libcurl 7.21.6)
  117. running build
  118. running build_py
  119. creating build
  120. creating build/lib.linux-x86_64-2.6
  121. creating build/lib.linux-x86_64-2.6/curl
  122. copying python/curl/__init__.py -> build/lib.linux-x86_64-2.6/curl
  123. running build_ext
  124. building 'pycurl' extension
  125. creating build/temp.linux-x86_64-2.6
  126. creating build/temp.linux-x86_64-2.6/src
  127. gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fPIC -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.6 -c src/pycurl.c -o build/temp.linux-x86_64-2.6/src/pycurl.o
  128. src/pycurl.c: In function ‘multi_socket_callback’:
  129. src/pycurl.c:2351:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  130. src/pycurl.c:2355:11: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
  131. src/pycurl.c: In function ‘do_multi_info_read’:
  132. src/pycurl.c:2843:15: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
  133. In function ‘util_curl_unsetopt’,
  134.    inlined from ‘do_curl_unsetopt’ at src/pycurl.c:1551:5:
  135. src/pycurl.c:1476:9: warning: call to ‘_curl_easy_setopt_err_CURLSH’ declared with attribute warning: curl_easy_setopt expects a CURLSH* argument for this option [enabled by default]
  136. gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -O2 build/temp.linux-x86_64-2.6/src/pycurl.o -L/usr/lib/x86_64-linux-gnu -lcurl -lidn -lssl -lcrypto -llber -lldap -lrt -lgssapi_krb5 -lssl -lcrypto -lz -lrtmp -lz -lgnutls -o build/lib.linux-x86_64-2.6/pycurl.so -Wl,-Bsymbolic-functions /usr/lib/x86_64-linux-gnu/libcurl.a -Wl,-Bsymbolic-functions
  137. python2.6-dbg setup.py build
  138. Using curl-config (libcurl 7.21.6)
  139. running build
  140. running build_py
  141. creating build/lib.linux-x86_64-2.6-pydebug
  142. creating build/lib.linux-x86_64-2.6-pydebug/curl
  143. copying python/curl/__init__.py -> build/lib.linux-x86_64-2.6-pydebug/curl
  144. running build_ext
  145. building 'pycurl' extension
  146. creating build/temp.linux-x86_64-2.6-pydebug
  147. creating build/temp.linux-x86_64-2.6-pydebug/src
  148. gcc -pthread -fno-strict-aliasing -g -Wall -Wstrict-prototypes -g -O2 -fPIC -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.6_d -c src/pycurl.c -o build/temp.linux-x86_64-2.6-pydebug/src/pycurl.o
  149. src/pycurl.c: In function ‘multi_socket_callback’:
  150. src/pycurl.c:2351:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  151. src/pycurl.c:2355:11: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
  152. src/pycurl.c: In function ‘do_multi_info_read’:
  153. src/pycurl.c:2843:15: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
  154. In function ‘util_curl_unsetopt’,
  155.    inlined from ‘do_curl_unsetopt’ at src/pycurl.c:1551:5:
  156. src/pycurl.c:1476:9: warning: call to ‘_curl_easy_setopt_err_CURLSH’ declared with attribute warning: curl_easy_setopt expects a CURLSH* argument for this option [enabled by default]
  157. gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -O2 build/temp.linux-x86_64-2.6-pydebug/src/pycurl.o -L/usr/lib/x86_64-linux-gnu -lcurl -lidn -lssl -lcrypto -llber -lldap -lrt -lgssapi_krb5 -lssl -lcrypto -lz -lrtmp -lz -lgnutls -o build/lib.linux-x86_64-2.6-pydebug/pycurl_d.so -Wl,-Bsymbolic-functions /usr/lib/x86_64-linux-gnu/libcurl.a -Wl,-Bsymbolic-functions
  158. [27185 refs]
  159. set -e ;\
  160.     for test in "tests/test_internals.py" "tests/test_memleak.py" ; do \
  161.         PYTHONPATH=`ls -d /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/build/lib.*-*-2.6` \
  162.             python2.6 $test; \
  163.     done
  164. Python 2.6.7 (r267:88850, Aug 11 2011, 12:18:09)
  165. [GCC 4.6.1]
  166. PycURL libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 (compiled against 0x71506)
  167. PycURL version info (3, '7.21.6', 464134, 'x86_64-pc-linux-gnu', 1597, 'OpenSSL/1.0.0e', 0, '1.2.3.4', ('dict', 'file', 'ftp', 'ftps', 'gopher', 'http', 'https', 'imap', 'imaps', 'ldap', 'pop3', 'pop3s', 'rtmp', 'rtsp', 'smtp', 'smtps', 'telnet', 'tftp'), None, 0, '1.22')
  168.  build/lib.linux-x86_64-2.6/pycurl.so, compiled Feb  8 2012 22:38:26
  169. gc: collecting generation 2...
  170. gc: objects in each generation: 0 0 5788
  171. gc: done, 0.0019s elapsed.
  172. Tracked objects: 5788
  173. gc: collecting generation 2...
  174. gc: objects in each generation: 0 0 5788
  175. gc: collectable <pycurl.Curl 0x1f31810>
  176. gc: collectable <pycurl.CurlMulti 0x1f1edc0>
  177. gc: collectable <dict 0x1f83b80>
  178. gc: collectable <dict 0x1f83fb0>
  179. gc: done, 4 unreachable, 0 uncollectable, 0.0016s elapsed.
  180. Tracked objects: 5784
  181. All tests passed.
  182. gc: collecting generation 2...
  183. gc: objects in each generation: 0 0 5770
  184. gc: done, 0.0016s elapsed.
  185. Python 2.6.7 (r267:88850, Aug 11 2011, 12:18:09)
  186. [GCC 4.6.1]
  187. PycURL libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 (compiled against 0x71506)
  188.  /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/build/lib.linux-x86_64-2.6/pycurl.so, compiled Feb  8 2012 22:38:26
  189. gc: collecting generation 2...
  190. gc: objects in each generation: 0 0 4096
  191. gc: done, 0.0007s elapsed.
  192. Tracked objects: 4096
  193. Tracked objects: 4198
  194. Tracked objects: 4198
  195. Tracked objects: 4096
  196. gc: collecting generation 2...
  197. gc: objects in each generation: 0 0 4096
  198. gc: done, 0.0010s elapsed.
  199. Tracked objects: 4096
  200. gc: collecting generation 2...
  201. gc: objects in each generation: 0 0 4092
  202. gc: done, 0.0008s elapsed.
  203. touch build-python2.6
  204. dh_testdir
  205. python2.7 setup.py build
  206. Using curl-config (libcurl 7.21.6)
  207. running build
  208. running build_py
  209. creating build/lib.linux-x86_64-2.7
  210. creating build/lib.linux-x86_64-2.7/curl
  211. copying python/curl/__init__.py -> build/lib.linux-x86_64-2.7/curl
  212. running build_ext
  213. building 'pycurl' extension
  214. creating build/temp.linux-x86_64-2.7
  215. creating build/temp.linux-x86_64-2.7/src
  216. gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fPIC -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.7 -c src/pycurl.c -o build/temp.linux-x86_64-2.7/src/pycurl.o
  217. src/pycurl.c: In function ‘multi_socket_callback’:
  218. src/pycurl.c:2351:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  219. src/pycurl.c:2355:11: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
  220. src/pycurl.c: In function ‘do_multi_info_read’:
  221. src/pycurl.c:2843:15: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
  222. In function ‘util_curl_unsetopt’,
  223.    inlined from ‘do_curl_unsetopt’ at src/pycurl.c:1551:5:
  224. src/pycurl.c:1476:9: warning: call to ‘_curl_easy_setopt_err_CURLSH’ declared with attribute warning: curl_easy_setopt expects a CURLSH* argument for this option [enabled by default]
  225. gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -O2 build/temp.linux-x86_64-2.7/src/pycurl.o -L/usr/lib/x86_64-linux-gnu -lcurl -lidn -lssl -lcrypto -llber -lldap -lrt -lgssapi_krb5 -lssl -lcrypto -lz -lrtmp -lz -lgnutls -o build/lib.linux-x86_64-2.7/pycurl.so -Wl,-Bsymbolic-functions /usr/lib/x86_64-linux-gnu/libcurl.a -Wl,-Bsymbolic-functions
  226. python2.7-dbg setup.py build
  227. Using curl-config (libcurl 7.21.6)
  228. running build
  229. running build_py
  230. creating build/lib.linux-x86_64-2.7-pydebug
  231. creating build/lib.linux-x86_64-2.7-pydebug/curl
  232. copying python/curl/__init__.py -> build/lib.linux-x86_64-2.7-pydebug/curl
  233. running build_ext
  234. building 'pycurl' extension
  235. creating build/temp.linux-x86_64-2.7-pydebug
  236. creating build/temp.linux-x86_64-2.7-pydebug/src
  237. gcc -pthread -fno-strict-aliasing -g -O0 -Wall -Wstrict-prototypes -g -O2 -fPIC -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_GNUTLS=1 -DHAVE_CURL_SSL=1 -I/usr/include/python2.7_d -c src/pycurl.c -o build/temp.linux-x86_64-2.7-pydebug/src/pycurl.o
  238. src/pycurl.c: In function ‘multi_socket_callback’:
  239. src/pycurl.c:2351:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  240. src/pycurl.c:2355:11: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
  241. src/pycurl.c: In function ‘do_multi_info_read’:
  242. src/pycurl.c:2843:15: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
  243. In function ‘util_curl_unsetopt’,
  244.    inlined from ‘do_curl_unsetopt’ at src/pycurl.c:1551:5:
  245. src/pycurl.c:1476:9: warning: call to ‘_curl_easy_setopt_err_CURLSH’ declared with attribute warning: curl_easy_setopt expects a CURLSH* argument for this option [enabled by default]
  246. gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -O2 build/temp.linux-x86_64-2.7-pydebug/src/pycurl.o -L/usr/lib/x86_64-linux-gnu -lcurl -lidn -lssl -lcrypto -llber -lldap -lrt -lgssapi_krb5 -lssl -lcrypto -lz -lrtmp -lz -lgnutls -o build/lib.linux-x86_64-2.7-pydebug/pycurl_d.so -Wl,-Bsymbolic-functions /usr/lib/x86_64-linux-gnu/libcurl.a -Wl,-Bsymbolic-functions
  247. [32455 refs]
  248. set -e ;\
  249.     for test in "tests/test_internals.py" "tests/test_memleak.py" ; do \
  250.         PYTHONPATH=`ls -d /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/build/lib.*-*-2.7` \
  251.             python2.7 $test; \
  252.     done
  253. Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
  254. [GCC 4.6.1]
  255. PycURL libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 (compiled against 0x71506)
  256. PycURL version info (3, '7.21.6', 464134, 'x86_64-pc-linux-gnu', 1597, 'OpenSSL/1.0.0e', 0, '1.2.3.4', ('dict', 'file', 'ftp', 'ftps', 'gopher', 'http', 'https', 'imap', 'imaps', 'ldap', 'pop3', 'pop3s', 'rtmp', 'rtsp', 'smtp', 'smtps', 'telnet', 'tftp'), None, 0, '1.22')
  257.  build/lib.linux-x86_64-2.7/pycurl.so, compiled Feb  8 2012 22:38:31
  258. gc: collecting generation 2...
  259. gc: objects in each generation: 0 0 4023
  260. gc: done, 0.0011s elapsed.
  261. Tracked objects: 4023
  262. gc: collecting generation 2...
  263. gc: objects in each generation: 0 0 4023
  264. gc: collectable <pycurl.Curl 0x1887370>
  265. gc: collectable <pycurl.CurlMulti 0x18c9e80>
  266. gc: collectable <dict 0x18d8930>
  267. gc: collectable <dict 0x18d8d60>
  268. gc: done, 4 unreachable, 0 uncollectable, 0.0007s elapsed.
  269. Tracked objects: 4019
  270. All tests passed.
  271. gc: collecting generation 2...
  272. gc: objects in each generation: 0 0 4013
  273. gc: done, 0.0006s elapsed.
  274. Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
  275. [GCC 4.6.1]
  276. PycURL libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 (compiled against 0x71506)
  277.  /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/build/lib.linux-x86_64-2.7/pycurl.so, compiled Feb  8 2012 22:38:31
  278. gc: collecting generation 2...
  279. gc: objects in each generation: 0 0 3385
  280. gc: done, 0.0007s elapsed.
  281. Tracked objects: 3385
  282. Tracked objects: 3487
  283. Tracked objects: 3487
  284. Tracked objects: 3385
  285. gc: collecting generation 2...
  286. gc: objects in each generation: 0 0 3385
  287. gc: done, 0.0008s elapsed.
  288. Tracked objects: 3385
  289. gc: collecting generation 2...
  290. gc: objects in each generation: 0 0 3383
  291. gc: done, 0.0006s elapsed.
  292. touch build-python2.7
  293. touch build-stamp
  294. fakeroot debian/rules binary
  295. dh_testdir
  296. dh_testroot
  297. dh_clean -k
  298. dh_clean: dh_clean -k is deprecated; use dh_prep instead
  299. dh_installdirs
  300. for py in 2.6 2.7; do \
  301.         python$py setup.py install --root=/home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl --install-layout=deb; \
  302.         python$py-dbg setup.py install --root=/home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg --install-layout=deb; \
  303.     done
  304. Using curl-config (libcurl 7.21.6)
  305. running install
  306. running build
  307. running build_py
  308. running build_ext
  309. running install_lib
  310. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib
  311. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.6
  312. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.6/dist-packages
  313. copying build/lib.linux-x86_64-2.6/pycurl.so -> /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.6/dist-packages
  314. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.6/dist-packages/curl
  315. copying build/lib.linux-x86_64-2.6/curl/__init__.py -> /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.6/dist-packages/curl
  316. byte-compiling /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.6/dist-packages/curl/__init__.py to __init__.pyc
  317. running install_egg_info
  318. Writing /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.6/dist-packages/pycurl-7.19.0.egg-info
  319. Using curl-config (libcurl 7.21.6)
  320. running install
  321. running build
  322. running build_py
  323. running build_ext
  324. running install_lib
  325. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr
  326. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib
  327. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.6
  328. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.6/dist-packages
  329. copying build/lib.linux-x86_64-2.6-pydebug/pycurl_d.so -> /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.6/dist-packages
  330. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.6/dist-packages/curl
  331. copying build/lib.linux-x86_64-2.6-pydebug/curl/__init__.py -> /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.6/dist-packages/curl
  332. byte-compiling /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.6/dist-packages/curl/__init__.py to __init__.pyc
  333. running install_egg_info
  334. Writing /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.6/dist-packages/pycurl-7.19.0.egg-info
  335. [31486 refs]
  336. Using curl-config (libcurl 7.21.6)
  337. running install
  338. running build
  339. running build_py
  340. running build_ext
  341. running install_lib
  342. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.7
  343. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.7/dist-packages
  344. copying build/lib.linux-x86_64-2.7/pycurl.so -> /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.7/dist-packages
  345. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.7/dist-packages/curl
  346. copying build/lib.linux-x86_64-2.7/curl/__init__.py -> /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.7/dist-packages/curl
  347. byte-compiling /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.7/dist-packages/curl/__init__.py to __init__.pyc
  348. running install_egg_info
  349. Writing /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl/usr/lib/python2.7/dist-packages/pycurl-7.19.0.egg-info
  350. Using curl-config (libcurl 7.21.6)
  351. running install
  352. running build
  353. running build_py
  354. running build_ext
  355. running install_lib
  356. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.7
  357. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.7/dist-packages
  358. copying build/lib.linux-x86_64-2.7-pydebug/pycurl_d.so -> /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.7/dist-packages
  359. creating /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.7/dist-packages/curl
  360. copying build/lib.linux-x86_64-2.7-pydebug/curl/__init__.py -> /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.7/dist-packages/curl
  361. byte-compiling /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.7/dist-packages/curl/__init__.py to __init__.pyc
  362. running install_egg_info
  363. Writing /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python2.7/dist-packages/pycurl-7.19.0.egg-info
  364. [36807 refs]
  365. rm -rf /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python*/*-packages/curl
  366. rm -f /home/ak47suk1/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0/debian/python-pycurl-dbg/usr/lib/python*/*-packages/pycurl-*.egg-info
  367. dh_testdir
  368. dh_testroot
  369. cp -a doc/*.html debian/python-pycurl/usr/share/doc/python-pycurl/html
  370. dh_installdocs -a -A TODO
  371. dh_installexamples -a -A examples/*
  372. dh_installchangelogs -a ChangeLog
  373. dh_python2 -a
  374. dh_strip -ppython-pycurl --dbg-package=python-pycurl-dbg
  375. rm -rf debian/python-pycurl-dbg/usr/share/doc/python-pycurl-dbg
  376. ln -s python-pycurl debian/python-pycurl-dbg/usr/share/doc/python-pycurl-dbg
  377. dh_compress -a -X.py
  378. dh_fixperms -a
  379. dh_installdeb -a
  380. dh_shlibdeps -a
  381. dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided if "debian/python-pycurl/usr/lib/python2.6/dist-packages/pycurl.so debian/python-pycurl/usr/lib/python2.7/dist-packages/pycurl.so" were not uselessly linked against it (they use none of its symbols).
  382. dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided if "debian/python-pycurl-dbg/usr/lib/python2.7/dist-packages/pycurl_d.so debian/python-pycurl-dbg/usr/lib/python2.6/dist-packages/pycurl_d.so" were not uselessly linked against it (they use none of its symbols).
  383. sed -i '/shlibs:Depends/s,\(libcurl[0-9]*-gnutls (>= \)[^)]*\().*\),\17.21.6\2,' debian/python-pycurl*.substvars
  384. dh_gencontrol -a
  385. dpkg-gencontrol: warning: package python-pycurl: unused substitution variable ${python:Versions}
  386. dpkg-gencontrol: warning: package python-pycurl-dbg: unused substitution variable ${python:Versions}
  387. dpkg-gencontrol: warning: package python-pycurl-dbg: unused substitution variable ${python:Provides}
  388. dpkg-gencontrol: warning: package python-pycurl-dbg: unused substitution variable ${python:Depends}
  389. dh_md5sums -a
  390. dh_builddeb -a
  391. dpkg-deb: warning: 'debian/python-pycurl/DEBIAN/control' contains user-defined field 'Original-Maintainer'
  392. dpkg-deb: warning: ignoring 1 warning about the control file(s)
  393.  
  394. dpkg-deb: building package `python-pycurl' in `../python-pycurl_7.19.0-4ubuntu2_amd64.deb'.
  395. dpkg-deb: warning: 'debian/python-pycurl-dbg/DEBIAN/control' contains user-defined field 'Original-Maintainer'
  396. dpkg-deb: warning: ignoring 1 warning about the control file(s)
  397.  
  398. dpkg-deb: building package `python-pycurl-dbg' in `../python-pycurl-dbg_7.19.0-4ubuntu2_amd64.deb'.
  399. dpkg-genchanges -b >../pycurl_7.19.0-4ubuntu2_amd64.changes
  400. dpkg-genchanges: binary-only upload - not including any source code
  401. signfile pycurl_7.19.0-4ubuntu2_amd64.changes
  402. gpg: WARNING: unsafe ownership on configuration file `/home/ak47suk1/.gnupg/gpg.conf'
  403. gpg: skipped "Barry Warsaw <barry@ubuntu.com>": secret key not available
  404. gpg: [stdin]: clearsign failed: secret key not available
  405.  
  406.  dpkg-source --after-build pycurl-7.19.0
  407. dpkg-buildpackage: binary only upload (no source included)
  408. dpkg-buildpackage: warning: Failed to sign .changes file
  409. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0$ ls *.deb
  410. ls: cannot access *.deb: No such file or directory
  411. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl/pycurl-7.19.0$ cd ..
  412. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl$ ls *.deb
  413. python-pycurl_7.19.0-4ubuntu2_amd64.deb  python-pycurl-dbg_7.19.0-4ubuntu2_amd64.deb
  414. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl$ sudo dpkg -i py
  415. pycurl-7.19.0/                               python-pycurl_7.19.0-4ubuntu2_amd64.deb      python-pycurl-dbg_7.19.0-4ubuntu2_amd64.deb
  416. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl$ sudo dpkg -i python-pycurl_7.19.0-4ubuntu2_amd64.deb
  417. (Reading database ... 323394 files and directories currently installed.)
  418. Preparing to replace python-pycurl 7.19.0-4ubuntu2 (using python-pycurl_7.19.0-4ubuntu2_amd64.deb) ...
  419. Unpacking replacement python-pycurl ...
  420. Setting up python-pycurl (7.19.0-4ubuntu2) ...
  421. Processing triggers for doc-base ...
  422. Processing 1 changed doc-base file...
  423. Registering documents with scrollkeeper...
  424. ak47suk1@pawnstarz:~/LinuxSoftwarez/python-pycurl-openssl$ cd
  425. ak47suk1@pawnstarz:~$ add-apt-repository ppa:tualatrix/ppa
  426. Error: must run as root
  427. ak47suk1@pawnstarz:~$ sudo add-apt-repository ppa:tualatrix/ppa
  428. You are about to add the following PPA to your system:
  429.  Ubuntu Tweak Stable PPA
  430.  The official Ubuntu Tweak stable repository
  431.  More info: https://launchpad.net/~tualatrix/+archive/ppa
  432. Press [ENTER] to continue or ctrl-c to cancel adding it
  433.  
  434. Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.z5f7E3HXYx --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv FE85409EEAB40ECCB65740816AF0E1940624A220
  435. gpg: requesting key 0624A220 from hkp server keyserver.ubuntu.com
  436. gpg: key 0624A220: public key "Launchpad PPA for TualatriX" imported
  437. gpg: no ultimately trusted keys found
  438. gpg: Total number processed: 1
  439. gpg:               imported: 1  (RSA: 1)
  440. ak47suk1@pawnstarz:~$
  441. # thanx http://wfuzz.googlecode.com/svn-history/r46/wiki/PyCurlSSLBug.wiki
RAW Paste Data