7 berichten aan het bekijken - 1 tot 7 (van in totaal 7)
  • Q:
    Bijdrager
    s.vaningelgem

    hdiutil geeft een (rare) fout weer

    Hallo,

    Ik probeer een dmg file te maken met behulp van “hdiutil”. Wat ik doe is het volgende:
    [code:1:410d637460]hdiutil create -srcfolder MyTool.pkg MyTool.dmg[/code:1:410d637460]

    Dit geeft een heleboel puntjes en dan zegt ie van “hdiutil: create failed – internal error”.

    Wat zou er hier aan de hand kunnen zijn?

    met verbose:
    [code:1:410d637460]2007-06-03 22:01:14.330 diskimages-helper[29692] *useEffectiveIDs**** euid/egid changed to 501,501 (uid/gid is 501,501)
    2007-06-03 22:01:14.749 copy-helper[29694] estimating /Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg
    2007-06-03 22:01:14.761 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg" (0 bytes).
    2007-06-03 22:01:14.767 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents" (0 bytes).
    2007-06-03 22:01:14.771 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Archive.bom" (36864 bytes).
    2007-06-03 22:01:14.772 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Archive.pax.gz" (3080192 bytes).
    2007-06-03 22:01:14.774 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Info.plist" (4096 bytes).
    2007-06-03 22:01:14.775 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/PkgInfo" (4096 bytes).
    2007-06-03 22:01:14.777 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources" (0 bytes).
    2007-06-03 22:01:14.781 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/BundleVersions.plist" (4096 bytes).
    2007-06-03 22:01:14.782 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/English.lproj" (0 bytes).
    2007-06-03 22:01:14.787 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/English.lproj/Description.plist" (4096 bytes).
    2007-06-03 22:01:14.789 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/English.lproj/MyTool.info" (4096 bytes).
    2007-06-03 22:01:14.792 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/English.lproj" (0 bytes).
    2007-06-03 22:01:14.793 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/License.txt" (4096 bytes).
    2007-06-03 22:01:14.795 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/package_version" (4096 bytes).
    2007-06-03 22:01:14.796 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/PostFlight" (0 bytes).
    2007-06-03 22:01:14.799 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/PostFlight" (0 bytes).
    2007-06-03 22:01:14.800 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/PreFlight" (0 bytes).
    2007-06-03 22:01:14.802 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/PreFlight" (0 bytes).
    2007-06-03 22:01:14.804 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/ReadMe.txt" (4096 bytes).
    2007-06-03 22:01:14.805 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/MyTool.bom" (4096 bytes).
    2007-06-03 22:01:14.807 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/MyTool.pax.gz" (4096 bytes).
    2007-06-03 22:01:14.810 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/MyTool.sizes" (4096 bytes).
    2007-06-03 22:01:14.812 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/Welcome.txt" (4096 bytes).
    2007-06-03 22:01:14.814 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources" (0 bytes).
    2007-06-03 22:01:14.815 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents" (0 bytes).
    2007-06-03 22:01:14.817 copy-helper[29694] Proceeding with "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg" (0 bytes).
    2007-06-03 22:01:15.753 diskimages-helper[29692] *useRealIDs******** euid/egid changed to 501,501 (uid/gid is 501,501)
    DIBackingStoreCreateWithCFURL: creator returned 0
    CUDIFFileAccess::createWithCFURL: kUDIFFileWithFooter
    DIDiskImageCreateWithCFURL: creator returned 0
    2007-06-03 22:01:19.134 diskimages-helper[29692] -serveImage: attaching drive
    {
    autodiskmount = 1;
    "hdiagent-drive-identifier" = "7B066DD7-0A52-4CF2-A873-DB94C2F3F589";
    "system-image" = 1;
    "unmount-timeout" = 0;
    }
    2007-06-03 22:01:19.159 diskimages-helper[29692] -serveImage: connecting to myDrive 0x0000301B
    2007-06-03 22:01:19.161 diskimages-helper[29692] -serveImage: register _readBuffer 0x12ca000 with myDrive 0x0
    2007-06-03 22:01:19.163 diskimages-helper[29692] -serveImage: activating drive port 0x00002F23
    2007-06-03 22:01:19.177 diskimages-helper[29692] _serveImage: set cache enabled=TRUE returned FAILURE.
    2007-06-03 22:01:19.178 diskimages-helper[29692] _serveImage: set on IO thread=TRUE returned SUCCESS.
    2007-06-03 22:01:19.180 diskimages-helper[29692] -serveImage: starting server loop – myPort is 0x00002F23
    2007-06-03 22:01:20.684 diskimages-helper[29692] -processKernelRequest: flush received
    2007-06-03 22:01:21.062 diskimages-helper[29692] -processKernelRequest: flush received
    2007-06-03 22:01:21.616 diskimages-helper[29692] *useEffectiveIDs**** euid/egid changed to 501,501 (uid/gid is 501,501)
    2007-06-03 22:01:21.925 diskimages-helper[29692] *useRealIDs******** euid/egid changed to 501,501 (uid/gid is 501,501)
    2007-06-03 22:01:21.937 diskimages-helper[29692] *useEffectiveIDs**** euid/egid changed to 501,501 (uid/gid is 501,501)
    2007-06-03 22:01:22.484 copy-helper[29709] copying /Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg to /Volumes/MyTool/MyTool.pkg
    2007-06-03 22:01:22.490 copy-helper[29709] About to copy "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg".
    2007-06-03 22:01:22.677 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents".
    2007-06-03 22:01:22.686 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Archive.bom".
    2007-06-03 22:01:22.857 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Archive.pax.gz".
    2007-06-03 22:01:23.463 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Info.plist".
    2007-06-03 22:01:23.472 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/PkgInfo".
    2007-06-03 22:01:23.479 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources".
    2007-06-03 22:01:23.483 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/BundleVersions.plist".
    2007-06-03 22:01:23.490 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/English.lproj".
    2007-06-03 22:01:23.499 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/English.lproj/Description.plist".
    2007-06-03 22:01:23.635 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/English.lproj/MyTool.info".
    2007-06-03 22:01:23.648 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/License.txt".
    2007-06-03 22:01:23.657 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/package_version".
    2007-06-03 22:01:23.666 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/PostFlight".
    2007-06-03 22:01:23.673 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/PreFlight".
    2007-06-03 22:01:23.794 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/ReadMe.txt".
    2007-06-03 22:01:23.826 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/MyTool.bom".
    2007-06-03 22:01:23.832 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/MyTool.pax.gz".
    2007-06-03 22:01:23.835 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/MyTool.sizes".
    2007-06-03 22:01:23.974 copy-helper[29709] Copying "/Users/steven/MyProgram/_CPack_Packages/Darwin-i386/PackageMaker/MyTool.pkg/Contents/Resources/Welcome.txt".
    2007-06-03 22:01:24.201 copy-helper[29709] Copy finished.
    2007-06-03 22:01:25.459 diskimages-helper[29692] -processKernelRequest: flush received
    2007-06-03 22:01:25.748 diskimages-helper[29692] -processKernelRequest: flush received
    2007-06-03 22:01:25.782 diskimages-helper[29692] -processKernelRequest: flush received
    2007-06-03 22:01:25.942 diskimages-helper[29692] -processKernelRequest: flush received
    2007-06-03 22:01:25.981 diskimages-helper[29692] -processKernelRequest: flush received
    2007-06-03 22:01:25.984 diskimages-helper[29692] -processKernelRequest: flush received
    2007-06-03 22:01:26.252 diskimages-helper[29692] -processKernelRequest: flush received
    diskimages-helper: DI_kextDriveGetRequest returned 0x00000025 (37) ((os/kern) object terminated).
    2007-06-03 22:01:26.695 diskimages-helper[29692] *useRealIDs******** euid/egid changed to 501,501 (uid/gid is 501,501)
    2007-06-03 22:01:26.957 diskimages-helper[29692] *useEffectiveIDs**** euid/egid changed to 501,501 (uid/gid is 501,501)
    <CFDictionary 0x3223d0 [0xa08081c0]>{type = immutable, count = 0, capacity = 0, pairs = (
    )}
    hdiutil: create: returning 999
    hdiutil: create failed – internal error[/code:1:410d637460]

    Bijdrager
    iJoost

    Dat wordt dan even studeren op de man, lijkt mij. Het staat er vast in… welke switches je nog meer moet opgeven voor een goed resultaat.;-)

    Maar waarom doe je het niet gewoon met het Schijhulpprogramma?

    Bijdrager
    apollo51

    Probeer het anders even met Disco (discoapp.com) of DropDMG.

    Bijdrager
    s.vaningelgem

    Nee, de switches zijn correct… Denk ik … Die heb ik al een paar keer nagekeken, maar dat helpt dus niet.

    Dit is ongeveer de syntax
    hdiutil <create> <-verbose> <-srcfolder> <folder> <target>.dmg

    Dit heb ik van deze wiki:
    http://wiki.urbanek.info/index.cgi?MacPackaging

    Met het “Disk utility” werkt het natuurlijk ook, maar dan moet ik het handmatig doen. Terwijl ik nu gewoon “make package” zou kunnen doen en hij maakt mij een selfinstalling .dmg filetje.

    Bijdrager
    iJoost

    Tik gewoon even “man hdiutil” en lees. Dat lijkt me een betere bron dan een wiki.;-)

    Ander ideetje. Je kunt het Schijfhulpprogramma vast met Apple script aansturen.

    Bijdrager
    s.vaningelgem

    Wel de “man hdiutil” zegt hetzelfde ;).

    Die applescript aansturing is een goede hint! Nu nog zien hoe ik dit kan integreren met CMake (cross compilation makefile generator).
    Wat ik natuurlijk ook kan doen is “make package”, het laten failen (maar op dat moment heeft ie de .pkg file reeds aangemaakt) en dan de rest via Applescript laten lopen…

    Bijdrager
    iJoost
    ”s.vaningelgem”

    Wel de “man hdiutil” zegt hetzelfde ;).

    Gek. Bij mij geeft ie veel meer informatie.;-)

7 berichten aan het bekijken - 1 tot 7 (van in totaal 7)

Je moet ingelogd zijn om een reactie op dit onderwerp te kunnen geven.