Bug 30539 - file 5.42 breaks rpm package builds
Summary: file 5.42 breaks rpm package builds
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2022-06-11 13:59 CEST by Aurelian R
Modified: 2022-07-03 22:44 CEST (History)
3 users (show)

See Also:
Source RPM: file-5.42-1.mga9
CVE:
Status comment:


Attachments

Description Aurelian R 2022-06-11 13:59:56 CEST
Description of problem:
Building rpm packages since the last update of file( file-5.42-1.mga9 ) fails with complains like:
"
extracting debug info from /
/usr/bin/debugedit: Failed to open input file '/': Is a directory
"

Reverting to version file-5.41-4.mga9 fixes the issue.

Regards.
Jani Välimaa 2022-06-11 19:28:32 CEST

See Also: (none) => https://bugzilla.redhat.com/show_bug.cgi?id=2095871

Comment 1 Stig-Ørjan Smelror 2022-06-11 23:07:46 CEST
We've restored file-5.41-4 and it should be available on the mirrors soon.

To downgrade, use this command:

urpmi --downgrade file lib64magic1 python3-file-magic

CC: (none) => smelror

Comment 2 Lewis Smith 2022-06-13 21:38:03 CEST
Thank you Aurelian for the report; Jani for the pointer, and Stig for the helpful advice.
Aurelian: please report back after the downgrade.

CC: (none) => lewyssmith

Comment 3 Aurelian R 2022-06-13 23:57:48 CEST
Sorry, for late replay.
Downgrade went smooth and I haven't noticed any issues related to "file" rpms on the mirrors I use. 
This report may be closed as the building issue is solved, or it may be kept open until a working update/upgrade of "file" package is pushed.
Regardless, this is the official track of this bug: 
https://bugs.astron.com/view.php?id=358
Comment 4 Marja Van Waes 2022-06-15 19:01:59 CEST
(In reply to Aurelian R from comment #3)
> Sorry, for late replay.
> Downgrade went smooth and I haven't noticed any issues related to "file"
> rpms on the mirrors I use. 
> This report may be closed as the building issue is solved, or it may be kept
> open until a working update/upgrade of "file" package is pushed.
> Regardless, this is the official track of this bug: 
> https://bugs.astron.com/view.php?id=358

Thanks for the feedback.
Leaving it open because upstream didn't release a fixed version, yet.

Keywords: (none) => UPSTREAM
CC: (none) => marja11
See Also: (none) => https://bugs.astron.com/view.php?id=358

Jani Välimaa 2022-06-17 10:10:58 CEST

Summary: cannot build rpm packages with the latest version(5.42) of file rpm => file 5.42 breaks rpm package builds

Comment 5 Stig-Ørjan Smelror 2022-06-17 10:23:07 CEST
I've added the patch from https://bugs.astron.com/view.php?id=358 and tested it locally. It worked as expected for me, but please let me know if anything is still broken.
Comment 6 Aurelian R 2022-06-17 15:50:55 CEST
The latest loaded version("file-5.42-1.mga9") works fine for me too.

Regards.
Comment 7 Marja Van Waes 2022-07-03 22:44:04 CEST
Closing as fixed

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.