Bug 2161534

Summary: mkvtoolnix-73.0.0 FTBFS: rake aborted! :- undefined method `exists?' for File:Class
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: mkvtoolnixAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmitry, dominik, kwizart, martin.sourada
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mkvtoolnix-73.0.0-2.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-31 15:18:17 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: 2165299    

Description Jens Petersen 2023-01-17 08:33:41 UTC
When building in current Fedora Rawhide x86_64 it fails with:

:
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ drake -j6 V=1
rake aborted!
undefined method `exists?' for File:Class
(See full trace by running task with --trace)

Now is right before the Mass Rebuild
but I ran into this while test building with cmark-0.30.2.

Comment 1 Dominik 'Rathann' Mierzejewski 2023-01-17 17:24:56 UTC
Thanks.

This is due to new Ruby (https://fedoraproject.org/wiki/Changes/Ruby_3.2) and is fixed upstream already: https://gitlab.com/mbunkus/mkvtoolnix/-/commit/ab6455f68c597ede3d6959597a38f2ecbc198011 .

It was caught by koschei almost two weeks ago, too.

I'd prefer waiting for a new mkvtoolnix release instead of backporting a fix if you don't mind.

Comment 2 Jens Petersen 2023-01-19 04:19:14 UTC
Sure, cool - was just checking to be sure

Comment 3 Jens Petersen 2023-01-19 04:20:59 UTC
But I plan to push cmark-0.30.2 to Rawhide maybe next week.
So unless the new release is forthcoming - might still need to apply the upstream patch in the meantime.

Comment 4 Dominik 'Rathann' Mierzejewski 2023-01-19 09:58:32 UTC
(In reply to Jens Petersen from comment #3)
> But I plan to push cmark-0.30.2 to Rawhide maybe next week.
> So unless the new release is forthcoming - might still need to apply the
> upstream patch in the meantime.

Upstream makes release roughly once a month, so I'd expect a new release
in about two weeks. This means the upstream fix would need to be back-ported
if you can't wait another week or two. However, the point may be moot,
because the mass rebuild currently in progress will flag the FTBFS
regardless of cmark. If you have proven packager privileges, feel free
to apply the upstream patch yourself or provide your FAS name so that
I can add you to mkvtoolnix ACL. Or wait until I get to applying the
patch myself. :)

Comment 5 Jens Petersen 2023-01-27 16:42:40 UTC
cmark-0.30.3 is staged for rawhide in Bodhi now, just so you know.

I am happy to build your package patched or you can also take care of it if you like.

Comment 6 Fedora Update System 2023-01-31 15:15:24 UTC
FEDORA-2023-95984c4596 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-95984c4596

Comment 7 Fedora Update System 2023-01-31 15:18:17 UTC
FEDORA-2023-95984c4596 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.