[DRE-maint] Bug#1015310: ruby-dataobjects-mysql: FTBFS: chown: cannot access '/usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool': Permission denied

Antonio Terceiro terceiro at debian.org
Tue Jul 19 12:32:59 BST 2022


Source: ruby-dataobjects-mysql
Version: 0.10.17-3+rebuild1658134000
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-dataobjects-mysql with ruby3.1 enabled, the build failed.
The failure does not seem related to ruby3.1, though.

Relevant part of the build log (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> chmod +x debian/start_mysqld_and_auto_install.sh
> debian/start_mysqld_and_auto_install.sh
> chown: cannot access '/usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool': Permission denied
> Couldn't set an owner to '/usr/lib/mysql/plugin/auth_pam_tool_dir/auth_pam_tool'.
> It must be root, the PAM authentication plugin doesn't work otherwise..
> 
> Installing MariaDB/MySQL system tables in '/tmp/tmp.95tQLpTsSm' ...
> 2022-07-18  8:46:59 0 [Warning] InnoDB: Retry attempts for writing partial data failed.
> 2022-07-18  8:46:59 0 [ERROR] InnoDB: Write to file ./ibdata1 failed at offset 0, 1048576 bytes should have been written, only 0 were written. Operating system error number 22. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.
> 2022-07-18  8:46:59 0 [ERROR] InnoDB: Error number 22 means 'Invalid argument'
> 2022-07-18  8:46:59 0 [ERROR] InnoDB: Could not set the file size of './ibdata1'. Probably out of disk space
> 2022-07-18  8:46:59 0 [ERROR] InnoDB: Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
> 2022-07-18  8:46:59 0 [ERROR] Plugin 'InnoDB' init function returned error.
> 2022-07-18  8:46:59 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
> 2022-07-18  8:46:59 0 [ERROR] Unknown/unsupported storage engine: InnoDB
> 2022-07-18  8:46:59 0 [ERROR] Aborting
> 
> Installation of system tables failed!  Examine the logs in
> /tmp/tmp.95tQLpTsSm for more information.
> 
> The problem could be conflicting information in an external
> my.cnf files. You can ignore these by doing:
> 
>     shell> /usr/bin/mysql_install_db --defaults-file=~/.my.cnf
> 
> You can also try to start the mysqld daemon with:
> 
>     shell> /usr/sbin/mariadbd --skip-grant-tables --general-log &
> 
> and use the command line tool /usr/bin/mariadb
> to connect to the mysql database and look at the grant tables:
> 
>     shell> /usr/bin/mysql -u root mysql
>     mysql> show tables;
> 
> Try 'mysqld --help' if you have problems with paths.  Using
> --general-log gives you a log in /tmp/tmp.95tQLpTsSm that may be helpful.
> 
> The latest information about mysql_install_db is available at
> https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
> You can find the latest source at https://downloads.mariadb.org and
> the maria-discuss email list at https://launchpad.net/~maria-discuss
> 
> Please check all of the above before submitting a bug report
> at https://mariadb.org/jira
> 
> make[1]: *** [debian/rules:13: override_dh_auto_install] Error 1


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/ruby-dataobjects-mysql_0.10.17-3+rebuild1658134000_amd64.log

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2 (in experimental).
If you fail to reproduce, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220719/06d93d2f/attachment.sig>


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