Bug 429447 - genisoimage is built without -magic flag support
genisoimage is built without -magic flag support
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: cdrkit (Show other bugs)
8
All Linux
low Severity high
: ---
: ---
Assigned To: Harald Hoyer
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-20 03:49 EST by Doug Maxey
Modified: 2008-02-21 11:44 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-21 11:44:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
last 40 lines of pungi session (2.28 KB, application/octet-stream)
2008-01-20 03:49 EST, Doug Maxey
no flags Details

  None (edit)
Description Doug Maxey 2008-01-20 03:49:36 EST
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 03:49:36 EST
Created attachment 292285 [details]
last 40 lines of pungi session
Comment 2 Doug Maxey 2008-01-20 16:19:42 EST

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 11:44:04 EST
thx. fixed in rawhide

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