Trouble upgrading with MacPorts

Doug Latornell doug-gnucash at sadahome.ca
Mon Apr 16 12:50:24 EDT 2007


Hi Steve;
I had similar sounding problems several weeks ago when I tried to upgrade
from 2.0.2 to 2.0.5.  I think the key is to upgrade the dependencies too,
with the -R flag, but having already upgraded without that flag, it didn't
work for me.  I had no time to dig deeper and ended up reverting to 2.0.2 as
described in my blog notes below.  Some of the version numbers that you need
to activate may be different because you're at 2.0.4 vs. my 2.0.2, but the
hack may still work for you.  Use the "port installed" command to help you
discover what versions you need to activate to revert.  Good Luck!

Doug

Decided to upgrade from 2.0.2 yesterday. sudo port -v upgrade
gnucashchugged away for several hours, and left me with a library
version mismatch
between libgoffice and libdbus.

Googling the error yielded this
thread<http://lists.macosforge.org/pipermail/macports-users/2007-January/001274.html>from
which I took the recommendation to recompile
gnucash against the new library with sudo port -vnucf upgrade gnucash but
that produced the same result.

Digging deeper into the same thread yielded the recommendation to upgrade
with explicit upgrading of dependencies, so I tried again with sudo port
-vcuR upgrade gnucash.

That failed too. So, with some thrashing, I reverted to version 2.0.2 by:
 $ sudo port deactivate gnome-vfs libgnome libbonoboui libgtkhtml3 libgsf
goffice
$ sudo port activate gnome-vfs at 2.16.0_0 libgnome at 2.16.0_0
libbonoboui at 2.16.0_0 libgtkhtml3 at 3.12.0_0 libgsf at 1.14.1_0 goffice at 0.2.1_0
$ sudo port uninstall dbus at 1.0.2_1
$ sudo port deactivate gnucash
$ sudo port activate gnucash at 2.0.2_4+enable_ofx+enable_quotes
$ sudo port deactivate libgnomeui
$ sudo port activate libgnomeui at 2.16.0_0



On 4/15/07, Steve Alberts <stealb123 at gmail.com> wrote:
>
> Hi there,
>
> Today I tried to upgrade from 2.0.4 to 2.0.5, using DarwinPorts (Mac
> OS X 10.4.9).
>
> First did a selfupdate, then "sudo port upgrade gnucash".
> This did not succeed, and I unfortunately don't remember with which error
> :-(
>
> Tried a couple of things, now I don't even have a working gnucash anymore.
> If I now try to install gnucash I get the following error. Any ideas?
>
> Thanks!
> -------------------------
>
> $ sudo port install gnucash
> Password:
> --->  Building g-wrap16 with target all
> Error: Target com.apple.build returned: shell command "cd
>
> "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_g-wrap16/work/g-
> wrap-1.3.4"
> && make all" returned error 2
> Command output: WARNING: (g-wrap gw-standard-spec): imported module
> (g-wrap) overrides core binding `system'
> WARNING: (g-wrap gw-standard-spec): imported module (g-wrap) overrides
> core binding `bit-count'
> WARNING: (g-wrap gw-standard-spec): imported module (g-wrap) overrides
> core binding `provide'
> WARNING: (g-wrap gw-standard-spec): imported module (g-wrap) overrides
> core binding `delete-file'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `identity'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `open-file'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `in-vicinity'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `provided?'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `1+'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `1-'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `port?'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `make-array'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `*features*'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `system'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `bit-count'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `provide'
> WARNING: (g-wrap simple-type): imported module (g-wrap) overrides core
> binding `delete-file'
> Backtrace:
> In current input:
>    1: 0* [primitive-load "./gw-test-enumeration-spec.scm"]
> In ./gw-test-enumeration-spec.scm:
>    7: 1* (let* ((ws #)) (gw:wrapset-set-guile-module! ws (quote #)) ...)
>   20: 2* (let* ((enum #)) (gw:enum-add-value! enum "GW_TEST_ENUM_ZERO"
> ...) ...)
>   20: 3* (gw:wrap-enumeration ws (quote <gw-test-enum>) "enum GWTestEnum")
>
> ./gw-test-enumeration-spec.scm:20:15: In expression
> (gw:wrap-enumeration ws (quote <gw-test-enum>) ...):
> ./gw-test-enumeration-spec.scm:20:15: Unbound variable:
> gw:wrap-enumeration
> make[2]: *** [gw-test-enumeration.c] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: The following dependencies failed to build: g-wrap16 libgtkhtml312
> Error: Status 1 encountered during processing.
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>


More information about the gnucash-user mailing list