https://bugzilla.redhat.com/show_bug.cgi?id=2241707
Bug ID: 2241707 Summary: perl-Apache-DBI-Cache-0.08-46.fc40 FTBFS: DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at /builddir/build/BUILD/Apache-DBI-Cache-0.08/blib/lib/A pache/DBI/Cache.pm line 228 Product: Fedora Version: rawhide URL: https://koschei.fedoraproject.org/package/perl-Apache- DBI-Cache Status: NEW Component: perl-Apache-DBI-Cache Assignee: emmanuel@seyman.fr Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: emmanuel@seyman.fr, lkundrak@v3.sk, perl-devel@lists.fedoraproject.org Blocks: 2231791 (F40FTBFS,RAWHIDEFTBFS) Target Milestone: --- Classification: Fedora
perl-Apache-DBI-Cache-0.08-46.fc40 fails to build in Fedora 40 because some tests fail:
t/001cache.t ...... ok DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at /builddir/build/BUILD/Apache-DBI-Cache-0.08/blib/lib/Apache/DBI/Cache.pm line 228. DBI connect('f_dir=tmp2','',...) failed: No such directory 'tmp2 at /builddir/build/BUILD/Apache-DBI-Cache-0.08/blib/lib/Apache/DBI/Cache.pm line 228. # Failed test 't/002noshm.t(18): connect_on_init1' # at t/002noshm.t line 18. # Compared reftype($data) # got : undef # expect : 'ARRAY' # Failed test 't/002noshm.t(21): connect_on_init2' # at t/002noshm.t line 21. # Compared reftype($data) # got : undef # expect : 'ARRAY' DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at t/002noshm.t line 29. DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at t/002noshm.t line 31. DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at t/002noshm.t line 35. DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at t/002noshm.t line 36. # Failed test 't/002noshm.t(38): statistics after usage1' # at t/002noshm.t line 38. # Compared reftype($data) # got : undef # expect : 'ARRAY' # Failed test 't/002noshm.t(43): got different handles' # at t/002noshm.t line 43. # Failed test 't/002noshm.t(45): statistics after usage2' # at t/002noshm.t line 45. # Compared reftype($data) # got : undef # expect : 'ARRAY' # Looks like you failed 5 tests of 8. t/002noshm.t ...... Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/8 subtests DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at /builddir/build/BUILD/Apache-DBI-Cache-0.08/blib/lib/Apache/DBI/Cache.pm line 228. DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at /builddir/build/BUILD/Apache-DBI-Cache-0.08/blib/lib/Apache/DBI/Cache.pm line 228. # Failed test 't/003plugin.t(34): connect_on_init1' # at t/003plugin.t line 34. # Compared reftype($data) # got : undef # expect : 'ARRAY' # Failed test 't/003plugin.t(37): plugin called' # at t/003plugin.t line 37. # Compared $data->[1] # got : '0' # expect : '4' DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at t/003plugin.t line 47. # Failed test 't/003plugin.t(50): but handle used' # at t/003plugin.t line 50. # Compared reftype($data) # got : undef # expect : 'ARRAY' DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at t/003plugin.t line 56. # Failed test 't/003plugin.t(59): statistics remain unchanged' # at t/003plugin.t line 59. # Compared reftype($data) # got : undef # expect : 'ARRAY' DBI connect('f_dir=tmp1','',...) failed: No such directory 'tmp1 at t/003plugin.t line 65. # Failed test 't/003plugin.t(68): statistics remain unchanged again' # at t/003plugin.t line 68. # Compared reftype($data) # got : undef # expect : 'ARRAY' # Looks like you failed 5 tests of 10. t/003plugin.t ..... Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/10 subtests t/004rootclass.t .. ok t/005rootclass.t .. ok t/100mysql.t ...... skipped: no database given, see README t/200imadbi.t ..... ok t/201imadbi.t ..... ok t/202imadbi.t ..... ok t/203classdbi.t ... ok t/204classdbi.t ... ok t/205classdbi.t ... ok Test Summary Report ------------------- t/002noshm.t (Wstat: 1280 (exited 5) Tests: 8 Failed: 5) Failed tests: 2-3, 6-8 Non-zero exit status: 5 t/003plugin.t (Wstat: 1280 (exited 5) Tests: 10 Failed: 5) Failed tests: 1-2, 6, 8, 10 Non-zero exit status: 5 Files=12, Tests=112, 1 wallclock secs ( 0.04 usr 0.01 sys + 1.09 cusr 0.19 csys = 1.33 CPU) Result: FAIL
A difference between passing and failing build root is at https://koschei.fedoraproject.org/build/16408212.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2231791 [Bug 2231791] Fedora 40 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=2241707
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |jplesnik@redhat.com Assignee|emmanuel@seyman.fr |jplesnik@redhat.com
--- Comment #1 from Jitka Plesnikova jplesnik@redhat.com --- It is related to fix for CVE-2014-10401 and CVE-2014-10402 in perl-DBI.
If "f_dir" (used for DBI->connection) is set to a non-existing location, the connection will fail. Because of this, folders to use cannot be created after the connection, but must exist before the connection is initiated.
Tests use directories tmp1 and tmp2 which don't exist.
https://bugzilla.redhat.com/show_bug.cgi?id=2241707
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- FEDORA-2023-edf79a6dca has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-edf79a6dca
https://bugzilla.redhat.com/show_bug.cgi?id=2241707
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ERRATA Status|MODIFIED |CLOSED Fixed In Version| |perl-Apache-DBI-Cache-0.08- | |47.fc40 Last Closed| |2023-10-31 08:49:12
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- FEDORA-2023-edf79a6dca has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
perl-devel@lists.fedoraproject.org