GnuCash packaging

Joshua Root jmr at macports.org
Fri Jan 2 19:02:23 PST 2009


Ben Greenfield wrote:
> 
> On Jan 1, 2009, at 4:57 AM, Charles Day wrote:
> 
>> Olaf,
>>
>> Before I joined the list, I saw an email from you in October
>> (see http://lists.macosforge.org/pipermail/macports-users/2008-October/012020.html) about
>> trying to package gnucash with "port mdmg". Were you ever successful
>> in working around the error? I ask because I now have the same problem.
>>
>> $ sudo port mdmg gnucash +no_x11
>> --->  Creating pkg for gnucash-2.2.8
>> Error: Target org.macports.pkg returned: shell command
>> "PMResourceLocale=English
>> /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
>> -AppleLanguages "(English)" 
> 
> I just tried
> 
> slip:~ slipadmin$ sudo port -d pkg gnucash +no_x11
> 
> and got this...
<snip>
> DEBUG: Found Dependency: receipt exists for lzmautils
> DEBUG: Skipping org.macports.main (gnucash) since this port is already
> installed
> DEBUG: Skipping org.macports.fetch (gnucash) since this port is already
> installed
> DEBUG: Skipping org.macports.checksum (gnucash) since this port is
> already installed
> DEBUG: setting option extract.cmd to /opt/local/bin/lzma
> DEBUG: Skipping org.macports.extract (gnucash) since this port is
> already installed
> DEBUG: Skipping org.macports.patch (gnucash) since this port is already
> installed
> DEBUG: Skipping org.macports.configure (gnucash) since this port is
> already installed
> DEBUG: Skipping org.macports.build (gnucash) since this port is already
> installed
> DEBUG: Skipping org.macports.destroot (gnucash) since this port is
> already installed
> DEBUG: Executing org.macports.pkg (gnucash)
> --->  Creating pkg for gnucash-2.2.8
> DEBUG: Calling
> /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
> for gnucash pkg
> Warning: Unknown argument: -AppleLanguages
> Warning: Unknown argument: (English)
> ERROR: The specified root is invalid:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnucash/work/destroot

> It is the same error I checked the the Apple docs on Packagmaker.app and
> they describe how Packmaker has been recreated for leopard. I suspect
> that the problem is that Packmaker no longer has an -AppleLanguages
> option. I will dig around and see if I can figure out how macports uses
> Packagmaker.app.

The -AppleLanguages warning is harmless. The real problem is this bug:
<http://trac.macports.org/ticket/10881>

- Josh


More information about the macports-users mailing list