[DRE-maint] Bug#923727: ruby-mysql2 failts its autopkg tests

Matthias Klose doko at debian.org
Mon Mar 4 14:33:21 GMT 2019


Package: src:ruby-mysql2
Version: 0.5.2-1
Severity: important
Tags: sid buster patch

https://ci.debian.net/data/packages/unstable/amd64/r/ruby-mysql2/latest-autopkgtest/log.gz

autopkgtest [06:50:44]: test command1: [-----------------------

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby2.5                           │
└──────────────────────────────────────────────────────────────────────────────┘

GEM_PATH= ruby2.5 -e gem\ \"mysql2\"

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

mv lib .gem2deb.lib
mv ext .gem2deb.ext
RUBYLIB=. GEM_PATH= ruby2.5 -S rake -f debian/ruby-tests.rake
cp spec/configuration.yml.example spec/configuration.yml
cp spec/my.cnf.example spec/my.cnf
./debian/start_mysqld_and_run.sh ruby2.5 -S rspec
+ mktemp -d
+ MYTEMP_DIR=/tmp/tmp.TKVPPE4PwJ
+ whoami
+ ME=debci
+ export MYSQL_UNIX_PORT=/tmp/tmp.TKVPPE4PwJ/mysql.sock
+ DO_MYSQL_USER=root
+ DO_MYSQL_PASS=
+ DO_MYSQL_DBNAME=test
+ DO_MYSQL_DATABASE=/test
+ mysql_install_db --no-defaults --datadir=/tmp/tmp.TKVPPE4PwJ --force
--skip-name-resolve --user=root
chown: changing ownership of '/tmp/tmp.TKVPPE4PwJ': Operation not permitted
Cannot change ownership of the database directories to the 'root'
user.  Check that you have the necessary permissions and try again.
rake aborted!
Command failed with status (1): [./debian/start_mysqld_and_run.sh ruby2.5 -...]
/tmp/autopkgtest-lxc.jy3256ab/downtmp/build.RJn/src/debian/ruby-tests.rake:8:in
`block in <top (required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
mv .gem2deb.lib lib
mv .gem2deb.ext ext
autopkgtest [06:50:45]: test command1: -----------------------]
autopkgtest [06:50:45]: test command1:  - - - - - - - - - - results - - - - - -
- - - -
command1             FAIL non-zero exit status 1
autopkgtest [06:50:45]: @@@@@@@@@@@@@@@@@@@@ summary
command1             FAIL non-zero exit status 1


Ubuntu has a patch for the debian/start_mysqld_and_run.sh script, and passes the
autopkg tests (and skipping some further tests).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xxx.diff
Type: text/x-patch
Size: 3101 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20190304/6a8a9cbe/attachment.bin>


More information about the Pkg-ruby-extras-maintainers mailing list