Bug 2494095

Summary: perl-DBD-MariaDB-1.24-5.fc45 FTBFS: tests fail with mariadb-connector-c-3.4.9
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-DBD-MariaDBAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 45CC: jplesnik, mschorm
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://ppisar.fedorapeople.org/perl_rebuild/scratch/2026-06-29/index.xhtml#pperl-DBD-MariaDB
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-07-12 12:54:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2433833    

Description Petr Pisar 2026-06-29 06:44:21 UTC
perl-DBD-MariaDB-1.24-5.fc45 fails to build in Fedora 45 because some tests fail:

#   Failed test 'NoChopBlanks: c_text should not have blanks chopped'
#   at t/50chopblanks.t line 62.
#          got: ''
#     expected: ' a b c '
#   Failed test 'NoChopBlanks: c_tinytext should not have blanks chopped'
#   at t/50chopblanks.t line 62.
#          got: ''
#     expected: ' a b c '
#   Failed test 'NoChopBlanks: c_mediumtext should not have blanks chopped'
#   at t/50chopblanks.t line 62.
#          got: ''
#     expected: ' a b c '
#   Failed test 'NoChopBlanks: c_longtext should not have blanks chopped'
#   at t/50chopblanks.t line 62.
#          got: ''
#     expected: ' a b c '
#   Failed test 'NoChopBlanks: b_blob should not have blanks chopped'
#   at t/50chopblanks.t line 62.
#          got: ''
#     expected: ' a b c '
#   Failed test 'NoChopBlanks: b_tinyblob should not have blanks chopped'
#   at t/50chopblanks.t line 62.
#          got: ''
#     expected: ' a b c '
#   Failed test 'NoChopBlanks: b_mediumblob should not have blanks chopped'
#   at t/50chopblanks.t line 62.
#          got: ''
#     expected: ' a b c '
#   Failed test 'NoChopBlanks: b_longblob should not have blanks chopped'
#   at t/50chopblanks.t line 62.
#          got: ''
#     expected: ' a b c '
# Looks like you failed 8 tests of 180.
t/50chopblanks.t ........................ 
Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/180 subtests 
[...]
#   Failed test at t/rt118977-zerofill.t line 22.
#          got: ''
#     expected: '1234567890'
# Looks like you failed 1 test of 12.
t/rt118977-zerofill.t ................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/12 subtests 

This seems to be triggered by upgrading mariadb-connector-c from 3.4.8 to 3.4.9.

Comment 1 Michal Schorm 2026-06-30 11:29:10 UTC
Initial investigation suggest, my attempt of a downstream fix of the severe upstream regression, to fix MythTV, should also fix this issue for perl-DBD-MariaDB too.
  https://src.fedoraproject.org/rpms/mariadb-connector-c/pull-request/27

I just need a solid engineering review of it.

Comment 2 Michal Schorm 2026-07-12 12:54:03 UTC
FTBFS should be fixed by https://bodhi.fedoraproject.org/updates/FEDORA-2026-61187fa2a3

PR CI restarted:
  https://src.fedoraproject.org/rpms/perl-DBD-MariaDB/pull-request/3
and the scratch build succeeded