Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-37874

ruby:2.5/rubygem-mysql2: FTBFS after last MariaDB updates

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-8.10
    • rubygem-mysql2
    • None
    • None
    • None
    • rhel-sst-pt-python-ruby-nodejs
    • ssg_platform_tools
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      The rubygem-mysql2 test suite fails:

      + /usr/libexec/mysqld --datadir=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/data --log-error=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log --socket=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.sock --pid-file=/builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.pid --port=13851 --ssl
      ++ seq 10
      + for i in $(seq 10)
      + sleep 1
      2024-05-22  6:57:44 0 [Warning] Could not increase number of max_open_files to more than 16384 (request: 32190)
      + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log
      Waiting connections... 1
      + echo 'Waiting connections... 1'
      + for i in $(seq 10)
      + sleep 1
      + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log
      Waiting connections... 2
      + echo 'Waiting connections... 2'
      + for i in $(seq 10)
      + sleep 1
      + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log
      Waiting connections... 3
      + echo 'Waiting connections... 3'
      + for i in $(seq 10)
      + sleep 1
      + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log
      Waiting connections... 4
      + echo 'Waiting connections... 4'
      + for i in $(seq 10)
      + sleep 1
      + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log
      Waiting connections... 5
      + echo 'Waiting connections... 5'
      + for i in $(seq 10)
      + sleep 1
      + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log
      Waiting connections... 6
      + echo 'Waiting connections... 6'
      + for i in $(seq 10)
      + sleep 1
      + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log
      Waiting connections... 7
      + echo 'Waiting connections... 7'
      + for i in $(seq 10)
      + sleep 1
      + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log
      Waiting connections... 8
      + echo 'Waiting connections... 8'
      + for i in $(seq 10)
      + sleep 1
      + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log
      Waiting connections... 9
      + echo 'Waiting connections... 9'
      + for i in $(seq 10)
      + sleep 1
      + grep -q 'ready for connections.' /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.log
      Waiting connections... 10
      + echo 'Waiting connections... 10'
      + mysql -u root -e 'CREATE DATABASE /*M!50701 IF NOT EXISTS */ test' -S /builddir/build/BUILD/mysql2-0.4.10/usr/share/gems/gems/mysql2-0.4.10/mysql.sock -P 13851
      

      This is caused by MariaDB update. There are fixes in other streams, such as https://gitlab.com/redhat/centos-stream/rpms/rubygem-mysql2/-/merge_requests/8

              ruby-maint ruby-maint
              vondruch Vít Ondruch
              ruby-maint ruby-maint
              rhel-ruby-qe bot rhel-ruby-qe bot
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: