1. * Package: dev-ruby/pg-0.14.1
  2. * Repository: gentoo
  3. * Maintainer: ruby@gentoo.org
  4. * USE: abi_x86_64 amd64 doc elibc_glibc kernel_linux multilib ruby_targets_ruby18 ruby_targets_ruby19 test userland_GNU
  5. * FEATURES: sandbox test userpriv usersandbox
  6. Installed LAPACK for library directory lib64
  7. [1] reference *
  8. Installed BLAS for library directory lib64
  9. [1] reference *
  10. Installed CBLAS for library directory lib64
  11. [1] gsl
  12. [2] reference *
  13. >>> Unpacking source...
  14. * Running unpack phase for all ...
  15. * Unpacking .gem file... ...
  16. [ ok ]
  17. * Uncompressing metadata ...
  18. [ ok ]
  19. * Unpacking data.tar.gz ...
  20. [ ok ]
  21. >>> Source unpacked in /tmp/portage/dev-ruby/pg-0.14.1/work
  22. >>> Preparing source in /tmp/portage/dev-ruby/pg-0.14.1/work ...
  23. * Running prepare phase for all ...
  24. * Running source copy phase for ruby18 ...
  25. * Running source copy phase for ruby19 ...
  26. >>> Source prepared.
  27. >>> Configuring source in /tmp/portage/dev-ruby/pg-0.14.1/work ...
  28. * Running configure phase for ruby18 ...
  29. checking for pg_config... yes
  30. Using config values from /usr/bin/pg_config
  31. checking for libpq-fe.h... yes
  32. checking for libpq/libpq-fs.h... yes
  33. checking for pg_config_manual.h... yes
  34. checking for PQconnectdb() in -lpq... yes
  35. checking for PQconnectionUsedPassword()... yes
  36. checking for PQisthreadsafe()... yes
  37. checking for PQprepare()... yes
  38. checking for PQexecParams()... yes
  39. checking for PQescapeString()... yes
  40. checking for PQescapeStringConn()... yes
  41. checking for PQescapeLiteral()... yes
  42. checking for PQescapeIdentifier()... yes
  43. checking for PQgetCancel()... yes
  44. checking for lo_create()... yes
  45. checking for pg_encoding_to_char()... yes
  46. checking for pg_char_to_encoding()... yes
  47. checking for PQsetClientEncoding()... yes
  48. checking for PQlibVersion()... yes
  49. checking for PQping()... yes
  50. checking for rb_encdb_alias()... no
  51. checking for rb_enc_alias()... no
  52. checking for PGRES_COPY_BOTH in libpq-fe.h... yes
  53. checking for PGRES_SINGLE_TUPLE in libpq-fe.h... yes
  54. checking for struct pgNotify.extra in libpq-fe.h... yes
  55. checking for unistd.h... yes
  56. checking for ruby/st.h... no
  57. checking for st.h... yes
  58. creating extconf.h
  59. creating Makefile
  60. * Running configure phase for ruby19 ...
  61. checking for pg_config... yes
  62. Using config values from /usr/bin/pg_config
  63. checking for libpq-fe.h... yes
  64. checking for libpq/libpq-fs.h... yes
  65. checking for pg_config_manual.h... yes
  66. checking for PQconnectdb() in -lpq... yes
  67. checking for PQconnectionUsedPassword()... yes
  68. checking for PQisthreadsafe()... yes
  69. checking for PQprepare()... yes
  70. checking for PQexecParams()... yes
  71. checking for PQescapeString()... yes
  72. checking for PQescapeStringConn()... yes
  73. checking for PQescapeLiteral()... yes
  74. checking for PQescapeIdentifier()... yes
  75. checking for PQgetCancel()... yes
  76. checking for lo_create()... yes
  77. checking for pg_encoding_to_char()... yes
  78. checking for pg_char_to_encoding()... yes
  79. checking for PQsetClientEncoding()... yes
  80. checking for PQlibVersion()... yes
  81. checking for PQping()... yes
  82. checking for rb_encdb_alias()... yes
  83. checking for rb_enc_alias()... no
  84. checking for PGRES_COPY_BOTH in libpq-fe.h... yes
  85. checking for PGRES_SINGLE_TUPLE in libpq-fe.h... yes
  86. checking for struct pgNotify.extra in libpq-fe.h... yes
  87. checking for unistd.h... yes
  88. checking for ruby/st.h... yes
  89. creating extconf.h
  90. creating Makefile
  91. >>> Source configured.
  92. >>> Compiling source in /tmp/portage/dev-ruby/pg-0.14.1/work ...
  93. * Running compile phase for ruby18 ...
  94. make -j24 -C ext 'CFLAGS=-O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC' 'archflag=-Wl,-O1 -Wl,--as-needed'
  95. make: Entering directory `/tmp/portage/dev-ruby/pg-0.14.1/work/ruby18/pg-0.14.1/ext'
  96. x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-9.2 -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -c pg.c
  97. x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-9.2 -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -c pg_connection.c
  98. x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/usr/include/postgresql-9.2 -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC -c pg_result.c
  99. x86_64-pc-linux-gnu-gcc -shared -o pg_ext.so pg.o pg_connection.o pg_result.o -L. -L/usr/lib64 -Wl,-R/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -L/usr/lib64/postgresql-9.2/lib64 -Wl,-O1 -Wl,--as-needed -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lpq -lpthread -lrt -ldl -lcrypt -lm -lc
  100. make: Leaving directory `/tmp/portage/dev-ruby/pg-0.14.1/work/ruby18/pg-0.14.1/ext'
  101. * Running compile phase for ruby19 ...
  102. make -j24 -C ext 'CFLAGS=-O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fPIC' 'archflag=-Wl,-O1 -Wl,--as-needed'
  103. make: Entering directory `/tmp/portage/dev-ruby/pg-0.14.1/work/ruby19/pg-0.14.1/ext'
  104. compiling pg.c
  105. compiling pg_connection.c
  106. compiling pg_result.c
  107. pg_connection.c: In function 'pgconn_wait_for_notify':
  108. pg_connection.c:2064:3: warning: 'rb_thread_select' is deprecated (declared at /usr/include/ruby-1.9.1/ruby/intern.h:380) [-Wdeprecated-declarations]
  109. pg_connection.c: In function 'pgconn_block':
  110. pg_connection.c:2594:3: warning: 'rb_thread_select' is deprecated (declared at /usr/include/ruby-1.9.1/ruby/intern.h:380) [-Wdeprecated-declarations]
  111. linking shared-object pg_ext.so
  112. make: Leaving directory `/tmp/portage/dev-ruby/pg-0.14.1/work/ruby19/pg-0.14.1/ext'
  113. * Running compile phase for all ...
  114. Invalid gemspec in [/usr/lib64/ruby/gems/1.8/specifications/ZenTest-4.8.4.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]
  115. rm -r doc
  116. Parsing sources...
  117. 5% [ 1/17] lib/pg/result.rb 11% [ 2/17] lib/pg/exceptions.rb 17% [ 3/17] lib/pg/constants.rb 23% [ 4/17] lib/pg/connection.rb 29% [ 5/17] lib/pg.rb 35% [ 6/17] Manifest.txt 41% [ 7/17] README.rdoc 47% [ 8/17] README.ja.rdoc 52% [ 9/17] README-Windows.rdoc 58% [10/17] README-OS_X.rdoc 64% [11/17] History.rdoc 70% [12/17] Contributors.rdoc 76% [13/17] POSTGRES 82% [14/17] LICENSE 88% [15/17] ext/pg_result.c 94% [16/17] ext/pg_connection.c 100% [17/17] ext/pg.c
  118. Generating Darkfish format into /tmp/portage/dev-ruby/pg-0.14.1/work/all/pg-0.14.1/doc...
  119. Files: 17
  120. Classes: 4 (2 undocumented)
  121. Modules: 2 (1 undocumented)
  122. Constants: 59 (2 undocumented)
  123. Attributes: 2 (2 undocumented)
  124. Methods: 6 (0 undocumented)
  125. Total: 73 (7 undocumented)
  126. 90.41% documented
  127. Elapsed: 1.8s
  128. chmod -R g+w .
  129. >>> Source compiled.
  130. * Running test phase for ruby18 ...
  131. Invalid gemspec in [/usr/lib64/ruby/gems/1.8/specifications/ZenTest-4.8.4.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]
  132. Run options: exclude {:ruby_19=>true}
  133. PG::Connection
  134. Setting up test database for PG_Connection tests
  135. Running initdb
  136. Creating the test DB
  137. can create a connection option string from a Hash of options
  138. can create a connection option string from positional parameters
  139. can create a connection option string from a mix of positional and hash parameters
  140. escapes single quotes and backslashes in connection parameters
  141. connects with defaults if no connection parameters are given
  142. connects successfully with connection string
  143. connects using 7 arguments converted to strings
  144. connects using a hash of connection parameters
  145. connects using a hash of optional connection parameters
  146. raises an exception when connecting with an invalid number of arguments
  147. can connect asynchronously
  148. can connect asynchronously for the duration of a block
  149. doesn't leave stale server connections after finish
  150. trace and untrace client-server communication
  151. allows a query to be cancelled
  152. automatically rolls back a transaction started with described_class#transaction if an exception is raised
  153. not read past the end of a large object
  154. can wait for NOTIFY events
  155. calls a block for NOTIFY events if one is given
  156. doesn't collapse sequential notifications
  157. returns notifications which are already in the queue before wait_for_notify is called without waiting for the socket to become readable
  158. yields the result if block is given to exec
  159. correctly finishes COPY queries passed to #async_exec
  160. described_class#block shouldn't block a second thread
  161. described_class#block should allow a timeout
  162. can encrypt a string given a password and username
  163. raises an appropriate error if either of the required arguments for encrypt_password is not valid
  164. allows fetching a column of values from a result by column number
  165. allows fetching a column of values from a result by field name
  166. raises an error if selecting an invalid column index
  167. raises an error if selecting an invalid field name
  168. raises an error if column index is not a number
  169. can connect asynchronously
  170. discards previous results (if any) before waiting on an #async_exec (PENDING: Not yet implemented)
  171. calls the block if one is provided to #async_exec
  172. raises a rescue-able error if #finish is called twice
  173. under PostgreSQL 9
  174. calls the block supplied to wait_for_notify with the notify payload if it accepts any number of arguments
  175. accepts nil as the timeout in #wait_for_notify
  176. sends nil as the payload if the notification wasn't given one
  177. calls the block supplied to wait_for_notify with the notify payload if it accepts two arguments
  178. calls the block supplied to wait_for_notify with the notify payload if it doesn't accept arguments
  179. calls the block supplied to wait_for_notify with the notify payload if it accepts three arguments
  180. under PostgreSQL 9.1 client library
  181. pings successfully with connection string
  182. pings using 7 arguments converted to strings
  183. pings using a hash of connection parameters
  184. returns correct response when ping connection cannot be established
  185. returns correct response when ping connection arguments are wrong
  186. Tearing down test database
  187. PG::Result
  188. No pidfile (#<Pathname:/tmp/portage/dev-ruby/pg-0.14.1/work/ruby18/pg-0.14.1/tmp_test_specs/data/postmaster.pid>)
  189. Setting up test database for PG_Result tests
  190. Creating the test DB
  191. should act as an array of hashes
  192. should insert nil AS NULL and return NULL as nil
  193. encapsulates errors in a PGError object (FAILED - 1)
  194. should detect division by zero as SQLSTATE 22012
  195. should return the same bytes in binary format that are sent in binary format
  196. should return the same bytes in binary format that are sent as inline text
  197. should return the same bytes in text format that are sent in binary format
  198. should return the same bytes in text format that are sent as inline text
  199. should return the parameter type of the specified prepared statement parameter (FAILED - 2)
  200. should raise an exception when a negative index is given to #fformat
  201. should raise an exception when a negative index is given to #fmod
  202. should raise an exception when a negative index is given to #[]
  203. should raise allow for conversion to an array of arrays
  204. can return the type modifier for a result column
  205. should raise an exception when an invalid index is passed to PG::Result#fmod
  206. should raise an exception when an invalid (negative) index is passed to PG::Result#fmod
  207. shouldn't raise an exception when a valid index is passed to PG::Result#fmod for a column with no typemod
  208. can return the oid of the table from which a result column was fetched
  209. should raise an exception when an invalid index is passed to PG::Result#ftable
  210. should raise an exception when an invalid (negative) index is passed to PG::Result#ftable
  211. shouldn't raise an exception when a valid index is passed to PG::Result#ftable for a column with no corresponding table
  212. can return the column number (within its table) of a column in a result
  213. should raise an exception when an invalid index is passed to PG::Result#ftablecol
  214. should raise an exception when an invalid (negative) index is passed to PG::Result#ftablecol
  215. shouldn't raise an exception when a valid index is passed to PG::Result#ftablecol for a column with no corresponding table
  216. can be manually checked for failed result status (async API)
  217. Tearing down test database
  218. PG
  219. knows what version of the libpq library is loaded
  220. knows whether or not the library is threadsafe
  221. Pending:
  222. PG::Connection discards previous results (if any) before waiting on an #async_exec
  223. # Not yet implemented
  224. # ./spec/pg/connection_spec.rb:521
  225. Failures:
  226. 1) PG::Result encapsulates errors in a PGError object
  227. Failure/Error: result.error_field( PG::PG_DIAG_SOURCE_LINE ).should == '857'
  228. expected: "857"
  229. got: "871" (using ==)
  230. # ./spec/pg/result_spec.rb:74
  231. 2) PG::Result should return the parameter type of the specified prepared statement parameter
  232. Failure/Error: @conn.prepare( 'queryfinder', query )
  233. PG::Error:
  234. ERROR: column "current_query" does not exist
  235. LINE 1: ...* FROM pg_stat_activity WHERE user = $1::name AND current_qu...
  236. ^
  237. # ./spec/pg/result_spec.rb:132:in `prepare'
  238. # ./spec/pg/result_spec.rb:132
  239. Finished in 17.7 seconds
  240. 75 examples, 2 failures, 1 pending
  241. Failed examples:
  242. rspec ./spec/pg/result_spec.rb:52 # PG::Result encapsulates errors in a PGError object
  243. rspec ./spec/pg/result_spec.rb:130 # PG::Result should return the parameter type of the specified prepared statement parameter
  244. * ERROR: dev-ruby/pg-0.14.1 failed (test phase):
  245. * rspec failed
  246. *
  247. * Call stack:
  248. * ebuild.sh, line 93: Called src_test
  249. * environment, line 4657: Called ruby-ng_src_test
  250. * environment, line 4336: Called _ruby_each_implementation 'each_ruby_test'
  251. * environment, line 628: Called _ruby_invoke_environment 'ruby18' 'each_ruby_test'
  252. * environment, line 680: Called each_ruby_test
  253. * environment, line 978: Called ruby-ng_rspec
  254. * environment, line 4300: Called die
  255. * The specific snippet of code:
  256. * ${RUBY} -S rspec ${rspec_params} "$@" || die "rspec failed"
  257. *
  258. * If you need support, post the output of `emerge --info '=dev-ruby/pg-0.14.1'`,
  259. * the complete build log and the output of `emerge -pqv '=dev-ruby/pg-0.14.1'`.
  260. !!! When you file a bug report, please include the following information:
  261. GENTOO_VM= CLASSPATH="/usr/libexec/ccp4/bin:/usr/libexec/ccp4/bin:" JAVA_HOME="/etc/java-config-2/current-system-vm"
  262. JAVACFLAGS="" COMPILER=""
  263. and of course, the output of emerge --info
  264. * The complete build log is located at '/var/log/portage/dev-ruby:pg-0.14.1:20130215-143933.log'.
  265. * The ebuild environment file is located at '/tmp/portage/dev-ruby/pg-0.14.1/temp/environment'.
  266. * Working directory: '/tmp/portage/dev-ruby/pg-0.14.1/work/ruby18/pg-0.14.1'
  267. * S: '/tmp/portage/dev-ruby/pg-0.14.1/work/ruby18/pg-0.14.1'
  268. >>> Install pg-0.14.1 into /tmp/portage/dev-ruby/pg-0.14.1/image/ category dev-ruby
  269. * Running install phase for ruby18 ...
  270. Invalid gemspec in [/usr/lib64/ruby/gems/1.8/specifications/ZenTest-4.8.4.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]
  271. * Running install phase for ruby19 ...
  272. Invalid gemspec in [/usr/lib64/ruby/gems/1.9.1/specifications/ZenTest-4.8.4.gemspec]: Illformed requirement ["< 2.1, >= 1.8"]
  273. * Running install phase for all ...
  274. * Running check install phase for ruby18 ...
  275. * Running check install phase for ruby19 ...
  276. >>> Completed installing pg-0.14.1 into /tmp/portage/dev-ruby/pg-0.14.1/image/
  277. strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line
  278. usr/lib64/ruby/gems/1.8/gems/pg-0.14.1/lib/pg_ext.so
  279. usr/lib64/ruby/gems/1.9.1/gems/pg-0.14.1/lib/pg_ext.so
  280. ecompressdir: bzip2 -9 /usr/share/doc