Re: Jaguar build progress
Steven Palm <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <[email protected]> |
On Feb 2, 2005, at 6:03 PM, Vic Heintz wrote: > hdiutil: detach: "disk2s2" failed to unmount due to error 16 > (dissenter -1). > Uncaught exception from user code: > FATAL: Couldn't unmount device /dev/disk2: 4096 > image creation returned 4096 Verify the result if you run it manually: /usr/local/bin/buildDMG.pl -debug -buildDir=dist -compressionLevel=9 -volName=BitPim -dmgName=JAGUAR-BitPim-0.26.dmg dist/BitPim.app It seems as though it's failing on: hdiutil detach $dev Unsure why, usually it's because some process (Finder? a shell cd'd into the image dir?) has it locked so it can't be removed. When run with the -debug switch, you'll see the exact command it's issuing... Try that your self when it fails. Also, you can use `lsof` to see what has it open... you'll have to scan the output to see if you can find the process... I'd *guess* that the lock would be *inside* the mounted image, not on the image file itself, so maybe something like: lsof | grep /Volumes As a test, I opened a shell and set it's current directory to inside a disk image of buildDMG, and got this: bash 1632 n9yty cwd VDIR 14,10 1024 2 /Volumes/buildDMG (/dev/disk4s2) Anyway, that might give more useful information... Anything in the console log or system log? ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl