Red Hat Bugzilla – Bug 429447
genisoimage is built without -magic flag support
Last modified: 2008-02-21 11:44:04 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
OSError: Got an error from /usr/bin/mkisofs: This program \
has been compiled without magic library support.
Ignoring the -magic option.
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):
Steps to Reproduce:
1. modify /usr/lib/python2.5/site-packages/pypungi/config.py
to hardcode the arch to ppc.
2. run pungi
3. observe that pungi dies with genisoimage error (mkisofs)
The iso file would be created.
see the attached tail -40 of the session log.
Created attachment 292285 [details]
last 40 lines of pungi session
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?
thx. fixed in rawhide