Skip to main content
Question

Composer Packaging Compressor Error: Command failed with error code (1): '/usr/bin/hdiutil'


Forum|alt.badge.img+8

Has anyone experienced this and found a remedy? Final Cut Packaged fine. I then started a new package install of Compressor and when building as a DMG the following error appears at the stage you normally receive the successful beep noise (and package output to save location). Error: Command failed with error code (1): '/usr/bin/hdiutil'

46 replies

Forum|alt.badge.img+7
  • Contributor
  • 19 replies
  • July 29, 2013

Did you find a solution? I have the same problem at the moment.


donmontalvo
Forum|alt.badge.img+36
  • Legendary Contributor
  • 4293 replies
  • July 29, 2013

Does the DMG have any spaces in it's name?


hodgesji
Forum|alt.badge.img+16
  • Contributor
  • 63 replies
  • August 5, 2013

Same problem here. Works fine if I package up Final Cut X or Motion, but get the error when trying to package Compressor (no spaces in the name).

To work around it, I am saving it as a PKG instead of a DMG.


donmontalvo
Forum|alt.badge.img+36
  • Legendary Contributor
  • 4293 replies
  • August 5, 2013

@nethers posted:

Error: Command failed with error code (1): '/usr/bin/hdiutil'

Tim, can you post the rest of the log?


Forum|alt.badge.img+9
  • Contributor
  • 104 replies
  • September 17, 2013

Edit: I thought it worked by removing the spaces, it really seemed like it but it failed with the same error again.


Forum|alt.badge.img
  • New Contributor
  • 1 reply
  • November 6, 2013

I ran across the same issue when trying to build a Google Sketchup 2013 package. As far as I know the only difference I have made is this is the first package I've made using Mavericks. Running 8.73. Tried a permissions repair but it didn't fix anything.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • 36 replies
  • November 6, 2013

Sorry, I do not recall the solution. It has been a while.


Forum|alt.badge.img+9
  • Contributor
  • 104 replies
  • November 6, 2013

I figured out what it was. I had installed Drive Genius 3 on my work machine and it includes a function that's called DrivePulse. Where it scans you disk for errors live. Or something like that.

I remembered I had difficulties and odd problems with disks in general when that was active so I flipped it off and then Composer started working again. Maybe you have some similar tool or even DrivePulse that's messing it up.


akseez
Forum|alt.badge.img+6
  • New Contributor
  • 4 replies
  • November 7, 2013

At this point it seems like an issue specific to Mavericks. I tried it on both a clean Mavericks VM as well as a 10.9 physical machine. It's just the OS with Composer installed on it and there aren't any spaces in the package name. Everything failed with hdiutil error. I spun up a new Mountain Lion 10.8 VM with the same config and I was able to build a DMG in Composer 9.2 just fine.


Forum|alt.badge.img+1
  • New Contributor
  • 4 replies
  • December 12, 2013

I too have encountered hdiutil errors when exporting packages from Composer on Mavericks. Will let the group know if I discover a workaround.


Forum|alt.badge.img+1
  • New Contributor
  • 7 replies
  • December 12, 2013

I just encountered this error for the first time on Mavericks using Composer 9.21. A clean instal of the OS did not help, repairing disk permissions did not help, rebooting did not help, saving to any other location on the hard drive did not help. I was able to build all my other packages just fine with the same configuaration and now suddenly I can't.


Forum|alt.badge.img+21
  • Honored Contributor
  • 970 replies
  • December 16, 2013

Hi all

To rule out if it's a permissions thing, one thing you could try is logging in to the client and root user ( obviously not recommended normally) and see if that works.


Forum|alt.badge.img+6
  • Contributor
  • 12 replies
  • December 18, 2013

I tried the fix posted here : https://jamfnation.jamfsoftware.com/discussion.html?id=4071 and it worked for me. Hope you have the same luck!


Forum|alt.badge.img+21
  • Honored Contributor
  • 970 replies
  • December 18, 2013

which fix please? i can see a couple on here


Forum|alt.badge.img+21
  • Honored Contributor
  • 970 replies
  • December 18, 2013

which fix please? i can see a couple on here


Forum|alt.badge.img+6
  • Contributor
  • 12 replies
  • December 18, 2013

Sorry, the one by franton, to temporarily disable McAfee, allowed me to finish packaging with Composer.


Forum|alt.badge.img+23
  • Esteemed Contributor
  • 850 replies
  • December 18, 2013

@twrangham You're welcome! However I've since found it's not completely reliable for me. I suspect there's something wrong with that specific computer however as my test mac never does this.


Forum|alt.badge.img+7
  • Contributor
  • 27 replies
  • February 13, 2014

I also encountered this error running composer 8.73 on OS X 10.9.1, if you run the hdiutil command that composer runs in verbose mode you will see error -5341. A quick google search returns this thread https://discussions.apple.com/thread/5667409 suggesting Mavericks throws this error for any package > 100MB the thread provides a workable fix by running the hdiutil command with a -size flag, obviously this wont work directly through composer but you can run the hdiutil command separately to get the same results. For reference command i used to create .dmg package below:

/usr/bin/hdiutil create <target_package>.dmg -srcfolder <composer_dir>/<pkgname>/ROOT -volname <pkgname> -gid 20 -mode 755 -puppetstrings -format UDZ0 -size <pkgsize>M

I will raise a support call with JAMF


Forum|alt.badge.img+5
  • Contributor
  • 64 replies
  • February 13, 2014

Thanks nixonc. I'm seeing the same problem this morning. Though I've been building other images for weeks.
Will pass this thread on to my rep as well.


Forum|alt.badge.img+1
  • New Contributor
  • 4 replies
  • February 25, 2014

Seems OK now! Here's what I did (though not all was relevant, you choose):

  1. Ran Disk Warrior (no directory damage). Ran Fix Permissions/Check Files & Folders from Disk Warrior (1 minor problem).
  2. Rebooted to boot drive, created package source with Composer (no spaces, no periods) and built as DMG, saving it to EXTERNAL FIREWIRE DRIVE. OK!

Forum|alt.badge.img+1
  • New Contributor
  • 4 replies
  • February 28, 2014

Happened again! Tried my last posted fix, didn't work. Ran Onyx, worked! PS-I was trying to package Symantec Endpoint Protection 12 when it failed this time, and it worked with a different app (UTS) after running Onyx, so I'm not sure it wasn't something Symantec did, you know those pesky virus programs! (SEP12 is still running, though).


mpermann
Forum|alt.badge.img+22
  • Valued Contributor
  • 690 replies
  • February 28, 2014

@ccardona1, if you are trying to deploy Symantec Endpoint Protection 12.1.4 you might have a look over at https://jamfnation.jamfsoftware.com/discussion.html?id=9396 for a way that doesn't use composer at all.


donmontalvo
Forum|alt.badge.img+36
  • Legendary Contributor
  • 4293 replies
  • February 28, 2014

Hopefully you aren't running antivirus on your development Mac. :)


Forum|alt.badge.img+5
  • New Contributor
  • 7 replies
  • March 4, 2014

Had the same problem using 10.9.2 using Composer 8.73

Disabled On-access scanning on McAfee Security 1.2.0 and I can now create DMG's


AlanSmith
Forum|alt.badge.img+8
  • Valued Contributor
  • 53 replies
  • April 1, 2014

So no actual, reliable, fix for this?

Have just got this error, packaging Google Chrome browser, on Mavericks iMac (10.9.2) using Composer v8.73. No anti-virus or other scanning type software running.

Strangely enough I did have some pre-packaged Sources in Composer, so tried one of those (Safari 6.1.1 update) and it created the .dmg fine!

Would love a resolution for this.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings