Installing GnuCash 2.6.11 From MacPorts - Patching Error

John Ralls jralls at ceridwen.us
Sun Mar 13 12:23:02 EDT 2016


> On Mar 13, 2016, at 8:02 AM, Kevin Kleinfelter <gnucash-user at kevin.kleinfelter.com> wrote:
> 
> I'm attempting to install GnuCash 2.6.11 via MacPorts, because I want the
> Python bindings.  It fails when attempting to patch GnuCash.  Relevant
> lines from the log are shown below.  What's a good work-around?
> TNX
> 
> 
> :debug:patch Executing org.macports.patch (gnucash)
> 
> :notice:patch --->  Applying patches to gnucash
> 
> :info:patch --->  Applying patch-configure.ac.diff
> 
> :debug:patch Environment:
> 
> CC_PRINT_OPTIONS='YES'
> 
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/.CC_PRINT_OPTIONS'
> 
> CPATH='/opt/local/include'
> 
> LIBRARY_PATH='/opt/local/lib'
> 
> MACOSX_DEPLOYMENT_TARGET='10.10'
> 
> :debug:patch Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-2.6.11"
> && /usr/bin/patch -p0'
> 
> :debug:patch Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-2.6.11"
> && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/
> rsync.macports.org/release/tarballs/ports/gnome/gnucash/files/patch-configure.ac.diff
> '
> 
> :info:patch patching file configure.ac
> 
> :info:patch Reversed (or previously applied) patch detected!  Assume -R? [n]
> 
> :info:patch Apply anyway? [n]
> 
> :info:patch Skipping patch.
> 
> :info:patch 2 out of 2 hunks ignored -- saving rejects to file
> configure.ac.rej
> 
> :info:patch Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-2.6.11"
> && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/
> rsync.macports.org/release/tarballs/ports/gnome/gnucash/files/patch-configure.ac.diff
> '
> 
> :info:patch Exit code: 1
> 
> :error:patch org.macports.patch for port gnucash returned: command
> execution failed
> 
> :debug:patch Error code: CHILDSTATUS 27365 1
> 
> :debug:patch Backtrace: command execution failed

It looks like the portfile contains patches that have already been applied to GnuCash, so you can probably proceed to configure and build GnuCash. If that doesn't work you'll have to ask the port maintainer for help.

Regards,
John Ralls


More information about the gnucash-user mailing list