Bug 468997

Summary: binaryinfo-readelf-failed in MinGW packages
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: mingw32-filesystemAssignee: Richard W.M. Jones <rjones>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 12CC: berrange, erik-fedora, fedora-mingw, kalevlember, manuel.wolfshant, rjones, tmz, ville.skytta
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-05 07:06:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2008-10-29 12:27:16 UTC
MinGW packaging guidelines were recently approved for Fedora:

http://fedoraproject.org/wiki/Packaging/MinGW

The mingw32-gcc package contains a Windows cross-compiler.
Parts of this cross-compiler are Fedora native binaries, and
other parts are Windows COFF binaries.

rpmlint reports:

mingw32-gcc.x86_64: W: binaryinfo-readelf-failed readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
Executing readelf on this file failed, all checks could not be run.

$ file /usr/lib64/gcc/i686-pc-mingw32/4.3.2/crtbegin.o
/usr/lib64/gcc/i686-pc-mingw32/4.3.2/crtbegin.o: 80386 COFF executable not stripped - version 30821
(bug 454410).

rpmlint should allow the mingw32-gcc and mingw32-gcc-* packages
to contain Windows binaries under /usr/lib{,64}/gcc/i686-pc-mingw32

Comment 1 Bug Zapper 2008-11-26 04:25:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Richard W.M. Jones 2009-09-09 15:45:01 UTC
Closing - rpmlint fixed this.

Comment 3 Richard W.M. Jones 2009-09-09 15:46:10 UTC
Nope, kalev reports this one still exists ... reopening.

Comment 4 Kalev Lember 2009-09-09 15:50:19 UTC
Changing version to 'rawhide', as rawhide's rpmlint still complains:

mingw32-gcc.i686: W: binaryinfo-readelf-failed /usr/i686-pc-mingw32/lib/libiberty.a readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

Comment 5 Ville Skyttä 2009-09-10 21:10:06 UTC
Reassigning to mingw32-filesystem, I think filtering it out in /etc/rpmlint/mingw32-rpmlint.config would be an appropriate fix.

Even better of course if someone can suggest a more general fix for this in rpmlint...

Comment 6 Erik van Pienbroek 2009-09-10 21:25:52 UTC
Does this rpmlint warning actually occur on other packages then mingw32-gcc ? I haven't seen that rpmlint warning while packaging various mingw32 libraries. I suspect that this warning only occurs for mingw32 pacakges which are not 'noarch'. I can only think of one possible candidate on which this rpmlint warning also might occur: mingw32-nsis (though I haven't verified this).

Comment 7 Bug Zapper 2009-11-16 09:33:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Bug Zapper 2010-11-04 11:43:40 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 9 Bug Zapper 2010-12-05 07:06:50 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.