Running pungi to build a ppc64le iso encounters the following problem: Pungi:INFO: Running /usr/bin/mkisofs -v -U -J -R -T -m repoview -m boot.iso -part -hfs -r -l -sysid PPC -no-desktop -allow-multidot -chrp-boot -map /usr/share/lorax/config_files/ppc/mapping -magic /usr/share/lorax/config_files/ppc/magic -hfs-bless /root/composes/20140827/ppc64le/os/ppc/mac -V Fedora-20140827-ppc64le -o /root/composes/20140827/ppc64le/iso/Fedora-DVD-ppc64le-20140827.iso /root/composes/20140827/ppc64le/os Pungi:ERROR: Got an error from /usr/bin/mkisofs Pungi:ERROR: Warning: creating filesystem that does not conform to ISO-9660. /usr/share/lorax/config_files/ppc/magic, 20: Warning: Printf format `h' is not valid for type `leshort' in description `%hd x' /usr/share/lorax/config_files/ppc/magic, 21: Warning: Printf format `h' is not valid for type `leshort' in description `%hd,' failed to open magic file: could not find any valid magic files! Traceback (most recent call last): File "/usr/bin/pungi", line 294, in <module> main() File "/usr/bin/pungi", line 174, in main mypungi.doCreateIsos() File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 1648, in doCreateIsos pypungi.util._doRunCommand(mkisofs + extraargs, self.logger) File "/usr/lib/python2.7/site-packages/pypungi/util.py", line 36, in _doRunCommand raise OSError, "Got an error from %s: %s" % (command[0], err) OSError: Got an error from /usr/bin/mkisofs: Warning: creating filesystem that does not conform to ISO-9660. /usr/share/lorax/config_files/ppc/magic, 20: Warning: Printf format `h' is not valid for type `leshort' in description `%hd x' /usr/share/lorax/config_files/ppc/magic, 21: Warning: Printf format `h' is not valid for type `leshort' in description `%hd,' failed to open magic file: could not find any valid magic files! Removing the h from the two printf formats for the GIF file format fixes the problem. Also, [root@localhost ~]# rpm -qf /usr/share/magic file-libs-5.19-4.fc21.ppc64le does not have these printf formats.
Created attachment 931687 [details] proposed pungi patch
Created attachment 931688 [details] proposed lorax patch
seems the primary source of the magic and mapping file in lorax is cdrkit (genisoimage)
Created attachment 933899 [details] updated proposed pungi patch
Proposing as an Alpha freeze exception, as this is blocking compose of PPC images - not a blocker as PPC is secondary arch, but obviously it's inconvenient for PPC folks and we'd like them to be able to get their Alpha out as promptly as possible.
Discussed at 2014-09-10 freeze exception review meeting: http://meetbot.fedoraproject.org/fedora-blocker-review/2014-09-10/f21-blocker-review.2014-09-10-16.07.log.txt . Accepted as a freeze exception issue: PPC is a secondary arch so this is not release blocking, but the patches only touch PPC code paths and it would be nice to unblock the PPC compose process so PPC folks can work on the Alpha. Note https://bugzilla.redhat.com/show_bug.cgi?id=1136535 is a matching bug to track the pungi issue, it is also accepted as a freeze exception with the same rationale.
According to bcl: the lorax one shouldn't block. It is purely a cleanup. We still need the pungi fix though (bug 1136535). I'm removing this one from the alpha blocking list.
Dropping from FE list, too, then.