Bug 429447 - genisoimage is built without -magic flag support
Summary: genisoimage is built without -magic flag support
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cdrkit
Version: 8
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-20 08:49 UTC by Doug Maxey
Modified: 2008-02-21 16:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-21 16:44:04 UTC
Type: ---
Embargoed:


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

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


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