Bug 429447

Summary: genisoimage is built without -magic flag support
Product: [Fedora] Fedora Reporter: Doug Maxey <dwm>
Component: cdrkitAssignee: Harald Hoyer <harald>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-21 16:44:04 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:
Attachments:
Description Flags
last 40 lines of pungi session none

Description Doug Maxey 2008-01-20 08:49:36 UTC
Description of problem:

While attempting to create a ppc iso with pungi on an x64
machine, during the mksiofs stage the -magic flag was passed
with an arg from anaconda but the use of the flag was disabled
during the compile with cmake as there was no
/usr/include/magic.h.

<message>
OSError: Got an error from /usr/bin/mkisofs: This program \
has been compiled without magic library support.
Ignoring the -magic option.
</message>

Hmm.  Tried to rebuild with the file-devel package installed,
but nothing changed.  Will keep digging to see why cmake is
not picking up the file.

Version-Release number of selected component (if applicable):
genisoimage-1.1.6-6.fc8

How reproducible:
100%

Steps to Reproduce:
1. modify /usr/lib/python2.5/site-packages/pypungi/config.py
   to hardcode the arch to ppc.
2. run pungi

Actual results:
3. observe that pungi dies with genisoimage error (mkisofs)


Expected results:
The iso file would be created.

Additional info:
see the attached tail -40 of the session log.

Comment 1 Doug Maxey 2008-01-20 08:49:36 UTC
Created attachment 292285 [details]
last 40 lines of pungi session

Comment 2 Doug Maxey 2008-01-20 21:19:42 UTC

Ah.  Bumped the Release in the spec file, rebuilt the src.rpm,
and now cmake is finding the magic.h.  dunno...

I know that recently the BuildRequires received a major
makeover, was one of the losses the file-devel package?  If so,
then this package prob needs an explicit BuildRequires: file-devel

However, running the newly installed genisoimage/mkisofs barks
that the anaconda/boot/magic is not present, which indeed is
the case.  Where did that file go?


Comment 3 Harald Hoyer 2008-02-21 16:44:04 UTC
thx. fixed in rawhide