Re: Consistent PackageMaker Crash When Building
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=YvDeOW7P/MIcLnWJPoaPbptz+C7hVG0/sbE8e8SQBdw=; b=WKIeDYHrJ+FptrZs2YPKx1q/COsXeh4AwI5xLZdC414zNGMloOsl75v+U6XgUISGhVqGZ1fCzwXzeAakDGeTvymvrnO5fH1Zux0igRAPoWx+Bv6REo6nLSDpjaCV1huc5aCGtLTwej9+IPdn+bdyFDTxkKUqHIfgi3xEolzIuaI= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=CGnBccF4JpM3HGyNN1FOZZ2VrlfwNxRtsmqRp24xb7MU3sT59EKm44AzI6405l/tMyA6ER8xOYNrB/um5wOAyFoejdY2dVAc0QCpUvkDq0ItZsIUEMOPI1FQyNmYUxJzTK09UJiJrOqjUjdo6oidO2LLhEThNkL8czIKpBvCt2o= Best, Dan -- Dan Michaeli On Nov 27, 2007, at 6:28 AM, Stéphane Sudre wrote: On lundi, novembre 26, 2007, at 07:32 PM, Dan Michaeli wrote: Hi Nathan, Building a package with AddressBook.app works fine on my Mac. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/dmichaeli%40gmail.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... Stéphane, thank you for the tip on otool and PackageArchiver! The problem actually turned out to be that otool was not present in my / usr/bin folder (though it was in /Developer/usr/bin). When I copied it from /Developer/usr/bin/ to /usr/bin, PackageMaker stopped crashing and the package was properly built. That's a fair question, and thanks for writing back so quickly. The file wasn't actually Zerolink activated, certainly not when it was my own app. The other apps I tested including in the installer were some basic Apple apps, like Dashboard and Calculator. All had the same crash when I tried to build. The exact line in the display just before the crash was always either "Checking for ZeroLink..." or something about preverifying permissions. After a quick look at what PM 3.0 does when you build a package, it's possible that the "Checking for ZeroLink…" step is achieved through the otool(1) command line utility. And it's called for every executable inside the package. This tool would be launched through a NSTask so if there's something wrong with this tool on your system, then it could be the explanation. The check permissions operation is apparently made though calls to lstat. And the next tool to be called is apparently the PackageArchiver after every .perm file attached to each file and folder in the package payload has been removed. This email sent to dmichaeli@gmail.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Dan Michaeli