[DRE-maint] Bug#996214: 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 Oct 12 12:49:52 BST 2021


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

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-dataobjects-mysql was found to fail to build in that situation.

This does not seem to be related to ruby3.0, though.

Relevant part (hopefully):
> dh binary --buildsystem=ruby --with ruby
>    dh_testroot -O--buildsystem=ruby
>    dh_prep -O--buildsystem=ruby
>    debian/rules override_dh_auto_install
> 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.AU2GY6hZ2s' ...
> OK
> 
> To start mysqld at boot time you have to copy
> support-files/mysql.server to the right place for your system
> 
> 
> Two all-privilege accounts were created.
> One is root at localhost, it has no password, but you need to
> be system 'root' user to connect. Use, for example, sudo mysql
> The second is root at localhost, it has no password either, but
> you need to be the system 'root' user to connect.
> After connecting you can set the password, if you would need to be
> able to connect as any of these users with a password and without sudo
> 
> See the MariaDB Knowledgebase at https://mariadb.com/kb or the
> MySQL manual for more instructions.
> 
> You can start the MariaDB daemon with:
> cd '/usr' ; /usr/bin/mysqld_safe --datadir='/tmp/tmp.AU2GY6hZ2s'
> 
> You can test the MariaDB daemon with mysql-test-run.pl
> cd '/usr/mysql-test' ; perl mysql-test-run.pl
> 
> Please report any problems at https://mariadb.org/jira
> 
> The latest information about MariaDB is available at https://mariadb.org/.
> You can find additional information about the MySQL part at:
> https://dev.mysql.com
> Consider joining MariaDB's strong and vibrant community:
> https://mariadb.org/get-involved/
> 
> pinging mysqld./usr/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket '/tmp/tmp.AU2GY6hZ2s/mysql.sock' (2)'
> Check that mysqld is running and that the socket: '/tmp/tmp.AU2GY6hZ2s/mysql.sock' exists!
> 2021-10-04 20:00:50 0 [Note] /usr/sbin/mysqld (mysqld 10.5.12-MariaDB-1) starting as process 2523552 ...
> 2021-10-04 20:00:50 0 [Note] InnoDB: Uses event mutexes
> 2021-10-04 20:00:50 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
> 2021-10-04 20:00:50 0 [Note] InnoDB: Number of pools: 1
> 2021-10-04 20:00:50 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
> 2021-10-04 20:00:50 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
> 2021-10-04 20:00:50 0 [Note] InnoDB: Using Linux native AIO
> 2021-10-04 20:00:50 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
> 2021-10-04 20:00:50 0 [Note] InnoDB: Completed initialization of buffer pool
> 2021-10-04 20:00:50 0 [Note] InnoDB: 128 rollback segments are active.
> 2021-10-04 20:00:50 0 [Note] InnoDB: Creating shared tablespace for temporary tables
> 2021-10-04 20:00:50 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
> 2021-10-04 20:00:50 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
> 2021-10-04 20:00:50 0 [Note] InnoDB: 10.5.12 started; log sequence number 45106; transaction id 20
> 2021-10-04 20:00:50 0 [Note] InnoDB: Loading buffer pool(s) from /tmp/tmp.AU2GY6hZ2s/ib_buffer_pool
> 2021-10-04 20:00:50 0 [Note] Plugin 'FEEDBACK' is disabled.
> 2021-10-04 20:00:50 0 [Note] InnoDB: Buffer pool(s) load completed at 211004 20:00:50
> 2021-10-04 20:00:50 0 [Note] Reading of all Master_info entries succeeded
> 2021-10-04 20:00:50 0 [Note] Added new Master_info '' to hash table
> 2021-10-04 20:00:50 0 [Note] /usr/sbin/mysqld: ready for connections.
> Version: '10.5.12-MariaDB-1'  socket: '/tmp/tmp.AU2GY6hZ2s/mysql.sock'  port: 0  Debian 11
> 2021-10-04 20:00:53 3 [Warning] Access denied for user 'root'@'localhost'
> /usr/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost''
> 2021-10-04 20:00:53 4 [Warning] Access denied for user 'root'@'localhost'
> ERROR 1698 (28000): Access denied for user 'root'@'localhost'
> make[1]: *** [debian/rules:20: override_dh_auto_install] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:15: binary] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
> E: Build killed with signal TERM after 150 minutes of inactivity
> --------------------------------------------------------------------------------
> Build finished at 2021-10-04T22:30:53Z


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-dataobjects-mysql/ruby-dataobjects-mysql_0.10.17-1+rebuild1633377627_amd64.build.txt
-------------- 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/20211012/e9a94e97/attachment.sig>


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