[Reproducible-builds] Bug#796516: ruby-mysql2: FTBFS: Mysql2::Error returns error messages and sql state in Encoding.default_internal if set
Chris Lamb
lamby at debian.org
Sat Aug 22 09:57:00 UTC 2015
Source: ruby-mysql2
Version: 0.3.18-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
ruby-mysql2 fails to build from source in unstable/amd64:
[..]
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.2 from debian/ruby-tests.rake
│
└──────────────────────────────────────────────────────────────────────────────┘
RUBYLIB=/tmp/buildd/ruby-mysql2-0.3.18/debian/ruby-mysql2/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.2.0:/tmp/buildd/ruby-mysql2-0.3.18/debian/ruby-mysql2/usr/lib/ruby/vendor_ruby:.
rake2.2 -f debian/ruby-tests.rake
/usr/bin/ruby2.2 /usr/bin/rspec --pattern
./spec/mysql2/\*\*/\*_spec.rb
........*......................................................................................F.....................................................................................
Pending: (Failures listed here are expected and do not affect your
suite's status)
1) Mysql2::Client should be able to connect via SSL options
# DON'T WORRY, THIS TEST PASSES - but SSL is not enabled in your
MySQL daemon.
Failure/Error: expect(results[0]['Value']).not_to be_empty
expected `"".empty?` to return false, got true
# ./spec/mysql2/client_spec.rb:145:in `block (2 levels) in <top
(required)>'
Failures:
1) Mysql2::Error returns error messages and sql state in
Encoding.default_internal if set
Failure/Error: client.query("\xE9\x80\xA0\xE5\xAD\x97")
SystemStackError:
stack level too deep
# ./lib/mysql2/error.rb:59:in `encode'
# ./lib/mysql2/error.rb:59:in `clean_message'
# ./lib/mysql2/error.rb:19:in `initialize'
# ./spec/mysql2/error_spec.rb:33:in `new'
# ./spec/mysql2/error_spec.rb:33:in `query'
# ./spec/mysql2/error_spec.rb:33:in `block (2 levels) in <top
(required)>'
# ./spec/mysql2/error_spec.rb:75:in `block (3 levels) in <top
(required)>'
# ./spec/spec_helper.rb:14:in `with_internal_encoding'
# ./spec/mysql2/error_spec.rb:74:in `block (2 levels) in <top
(required)>'
Finished in 14.71 seconds (files took 0.58277 seconds to load)
181 examples, 1 failure, 1 pending
Failed examples:
rspec ./spec/mysql2/error_spec.rb:73 # Mysql2::Error returns error
messages and sql state in Encoding.default_internal if set
/usr/bin/ruby2.2 /usr/bin/rspec --pattern
./spec/mysql2/\*\*/\*_spec.rb failed
ERROR: Test "ruby2.2" failed. Exiting.
dh_auto_install: dh_ruby --install
/tmp/buildd/ruby-mysql2-0.3.18/debian/ruby-mysql2 returned exit code 1
2015-08-21 05:04:41 18930 [Note] /usr/sbin/mysqld: Normal shutdown
2015-08-21 05:04:41 18930 [Note] Giving 0 client threads a chance to
die gracefully
2015-08-21 05:04:41 18930 [Note] Event Scheduler: Purging the queue. 0
events
2015-08-21 05:04:41 18930 [Note] Shutting down slave threads
2015-08-21 05:04:41 18930 [Note] Forcefully disconnecting 0 remaining
clients
2015-08-21 05:04:41 18930 [Note] Binlog end
2015-08-21 05:04:41 18930 [Note] Shutting down plugin 'partition'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin 'ARCHIVE'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_SYS_DATAFILES'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_SYS_TABLESPACES'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_SYS_FOREIGN_COLS'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_SYS_FOREIGN'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_SYS_FIELDS'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_SYS_COLUMNS'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_SYS_INDEXES'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_SYS_TABLESTATS'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_SYS_TABLES'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_FT_INDEX_TABLE'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_FT_INDEX_CACHE'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_FT_CONFIG'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_FT_BEING_DELETED'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_FT_DELETED'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_FT_DEFAULT_STOPWORD'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin 'INNODB_METRICS'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_BUFFER_POOL_STATS'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_BUFFER_PAGE_LRU'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_BUFFER_PAGE'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_CMP_PER_INDEX_RESET'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_CMP_PER_INDEX'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_CMPMEM_RESET'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin 'INNODB_CMPMEM'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_CMP_RESET'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin 'INNODB_CMP'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin
'INNODB_LOCK_WAITS'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin 'INNODB_LOCKS'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin 'INNODB_TRX'
2015-08-21 05:04:41 18930 [Note] Shutting down plugin 'InnoDB'
2015-08-21 05:04:41 18930 [Note] InnoDB: FTS optimize thread exiting.
2015-08-21 05:04:41 18930 [Note] InnoDB: Starting shutdown...
2015-08-21 05:04:42 18930 [Note] InnoDB: Shutdown completed; log
sequence number 1946183
2015-08-21 05:04:42 18930 [Note] Shutting down plugin 'BLACKHOLE'
2015-08-21 05:04:42 18930 [Note] Shutting down plugin
'PERFORMANCE_SCHEMA'
2015-08-21 05:04:42 18930 [Note] Shutting down plugin 'CSV'
2015-08-21 05:04:42 18930 [Note] Shutting down plugin 'MyISAM'
2015-08-21 05:04:42 18930 [Note] Shutting down plugin 'MRG_MYISAM'
2015-08-21 05:04:42 18930 [Note] Shutting down plugin 'MEMORY'
2015-08-21 05:04:42 18930 [Note] Shutting down plugin
'sha256_password'
2015-08-21 05:04:42 18930 [Note] Shutting down plugin
'mysql_old_password'
2015-08-21 05:04:42 18930 [Note] Shutting down plugin
'mysql_native_password'
2015-08-21 05:04:42 18930 [Note] Shutting down plugin 'binlog'
2015-08-21 05:04:42 18930 [Note] /usr/sbin/mysqld: Shutdown complete
debian/rules:19: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/tmp/buildd/ruby-mysql2-0.3.18'
debian/rules:15: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
[..]
The full build log is attached or can be viewed here:
https://reproducible.debian.net/logs/unstable/amd64/ruby-mysql2_0.3.18-1.build1.log.gz
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ruby-mysql2.0.3.18-1.unstable.amd64.log.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150822/93aabe2c/attachment.txt>
More information about the Reproducible-builds
mailing list