#617741 dmg2img corrupt image on powerpc

Package:
dmg2img
Source:
dmg2img
Description:
Tool for converting compressed dmg files to hfsplus images
Submitter:
John Mock
Date:
2011-10-12 11:58:56 UTC
Severity:
important
#617741#5
Date:
2011-03-11 01:01:24 UTC
From:
To:
dmg2img thinks .dmg are corrupt that convert successfully under i386 Linux.

   sebastopol:~# dmg2img /var/local/appleshare/Skype_2.8.0.722.dmg /tmp/Skype.img

   dmg2img v1.6.2 is derived from dmg2iso by vu1tur (to@vu1tur.eu.org)

   ERROR: dmg image is corrupted
   sebastopol:~# dmg2img /var/local/appleshare/epson-leopard.dmg /tmp/epson.img

   dmg2img v1.6.2 is derived from dmg2iso by vu1tur (to@vu1tur.eu.org)

   ERROR: dmg image is corrupted
   sebastopol:~#

Perhaps there is an 'endian' problem here.  Compiling from

http://vu1tur.eu.org/tools/download.pl?dmg2img-1.6.1.tar.gz

reproduces the same bug.

#617741#10
Date:
2011-10-12 10:52:32 UTC
From:
To:
I don't currently have access to a ppc machine - so could you grab some
very small .dmg image do the conversion with dmg2img and upload both
the .dmg and .img somewhere such that I can investigate further?

Thanks,
Soeren