Bug 1676411 - xorrisofs not compatible with genisoimage in the ppc64le template
Summary: xorrisofs not compatible with genisoimage in the ppc64le template
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: rawhide
Hardware: ppc64le
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2019-02-12 08:38 UTC by Dan Horák
Modified: 2019-02-12 18:15 UTC (History)
6 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2019-02-12 18:15:37 UTC


Attachments (Terms of Use)

Description Dan Horák 2019-02-12 08:38:46 UTC
xorrisofs fails to create the ISO9660 filesystem on ppc64le system. The options used by genisoimage are not understood by xorrisofs.

from https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20190212.n.0/logs/ppc64le/buildinstall-Everything-logs/pylorax.log
...
template line 19: runcmd xorrisofs -v -U -J -R -o /mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/boot.iso -part -hfs -r -l -sysid PPC -A Fedora Rawhide -V Fedora_E_dvd_ppc64le_rawh -volset Rawhide -volset-size 1 -volset-seqno 1 -hfs-volid Rawhide -chrp-boot -map /var/tmp/lorax/lorax.p4hc17li/installroot/tmp/config_files/ppc/mapping -no-desktop -allow-multidot -graft-points .discinfo=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/.discinfo ppc=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/ppc boot/grub=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/boot/grub images/install.img=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/install.img
running command: ('xorrisofs', '-v', '-U', '-J', '-R', '-o', '/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/boot.iso', '-part', '-hfs', '-r', '-l', '-sysid', 'PPC', '-A', 'Fedora Rawhide', '-V', 'Fedora_E_dvd_ppc64le_rawh', '-volset', 'Rawhide', '-volset-size', '1', '-volset-seqno', '1', '-hfs-volid', 'Rawhide', '-chrp-boot', '-map', '/var/tmp/lorax/lorax.p4hc17li/installroot/tmp/config_files/ppc/mapping', '-no-desktop', '-allow-multidot', '-graft-points', '.discinfo=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/.discinfo', 'ppc=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/ppc', 'boot/grub=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/boot/grub', 'images/install.img=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/install.img')
command output:
xorriso 1.5.0 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/boot.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 3157g free
xorriso : FAILURE : -as genisofs: Unsupported option '-part'
xorriso : NOTE : -return_with SORRY 32 triggered by problem severity FAILURE

command returned failure (32)
template command error in ppc64le.tmpl:
  runcmd xorrisofs -v -U -J -R -o /mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/boot.iso -part -hfs -r -l -sysid PPC -A Fedora Rawhide -V Fedora_E_dvd_ppc64le_rawh -volset Rawhide -volset-size 1 -volset-seqno 1 -hfs-volid Rawhide -chrp-boot -map /var/tmp/lorax/lorax.p4hc17li/installroot/tmp/config_files/ppc/mapping -no-desktop -allow-multidot -graft-points .discinfo=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/.discinfo ppc=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/ppc boot/grub=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/boot/grub images/install.img=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/install.img
  subprocess.CalledProcessError: Command '['xorrisofs', '-v', '-U', '-J', '-R', '-o', '/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/boot.iso', '-part', '-hfs', '-r', '-l', '-sysid', 'PPC', '-A', 'Fedora Rawhide', '-V', 'Fedora_E_dvd_ppc64le_rawh', '-volset', 'Rawhide', '-volset-size', '1', '-volset-seqno', '1', '-hfs-volid', 'Rawhide', '-chrp-boot', '-map', '/var/tmp/lorax/lorax.p4hc17li/installroot/tmp/config_files/ppc/mapping', '-no-desktop', '-allow-multidot', '-graft-points', '.discinfo=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/.discinfo', 'ppc=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/ppc', 'boot/grub=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/boot/grub', 'images/install.img=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/install.img']' returned non-zero exit status 32.
  Traceback (most recent call last):
    File "/usr/lib/python3.7/site-packages/pylorax/ltmpl.py", line 506, in runcmd
      stdout = runcmd_output(cmd)
    File "/usr/lib/python3.7/site-packages/pylorax/executils.py", line 349, in runcmd_output
      return execWithCapture(cmd[0], cmd[1:], **kwargs)
    File "/usr/lib/python3.7/site-packages/pylorax/executils.py", line 251, in execWithCapture
      reset_handlers=reset_handlers, reset_lang=reset_lang)[1]
    File "/usr/lib/python3.7/site-packages/pylorax/executils.py", line 203, in _run_program
      raise subprocess.CalledProcessError(proc.returncode, argv, output)
  subprocess.CalledProcessError: Command '['xorrisofs', '-v', '-U', '-J', '-R', '-o', '/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/boot.iso', '-part', '-hfs', '-r', '-l', '-sysid', 'PPC', '-A', 'Fedora Rawhide', '-V', 'Fedora_E_dvd_ppc64le_rawh', '-volset', 'Rawhide', '-volset-size', '1', '-volset-seqno', '1', '-hfs-volid', 'Rawhide', '-chrp-boot', '-map', '/var/tmp/lorax/lorax.p4hc17li/installroot/tmp/config_files/ppc/mapping', '-no-desktop', '-allow-multidot', '-graft-points', '.discinfo=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/.discinfo', 'ppc=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/ppc', 'boot/grub=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/boot/grub', 'images/install.img=/mnt/koji/compose/rawhide/Fedora-Rawhide-20190212.n.0/work/ppc64le/buildinstall/Everything/images/install.img']' returned non-zero exit status 32.


Either we need to find compatible options understood by xorrisofs or we should remove stuff needed by PowerPC Mackintoshs and keep stuff needed by recent Power machines only.


Version-Release number of selected component (if applicable):
lorax-30.14-1.fc30

Comment 1 Dan Horák 2019-02-12 15:37:03 UTC
https://github.com/weldr/lorax/pull/602 fixes the problem


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