Apparent guile problem in upgrade of gnucash?
As a large, complicated port with many dependencies, gnucash 2.x seems to be gooding at uncovering subtle port problems. Here is the difficulty I get today trying to upgrade to gnucash 2.0.5: ++++++++++++++++++++++++++++++++++ shop-5:~ adminjaguar$ sudo port upgrade gnucash ---> Fetching g-wrap16 ---> Attempting to fetch g-wrap-1.3.4.tar.gz from http://www.gnucash.org/pub/g-wrap/source/ ---> Verifying checksum(s) for g-wrap16 ---> Extracting g-wrap16 ---> Applying patches to g-wrap16 ---> Configuring g-wrap16 ---> 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: guile -c \ "(set! %load-path (cons \"/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/g-wrap/..\" %load-path))""(debug-enable 'backtrace) \ (debug-enable 'debug) \ (read-enable 'positions) \ (use-modules (g-wrap)) \ (use-modules (g-wrap gw-standard-spec)) \ (gw:generate-wrapset \"gw-standard\")" WARNING: (g-wrap): imported module (g-wrap sorting) overrides core binding `sort' Backtrace: In unknown file: ?: 0* [primitive-load "/opt/local/share/guile/slib/guile.init"] In /opt/local/share/guile/slib/guile.init: 606: 1* [slib:load "/opt/local/share/guile/1.8/slib/require"] 375: 2 [save-module-excursion #<procedure #f ()>] In unknown file: ... ?: 3 [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>] ?: 4* [#<procedure #f ()>] In /opt/local/share/guile/slib/guile.init: 378: 5* (let* ((errinfo #)) (if (and errinfo #) (apply throw errinfo))) 381: 6 (if (and errinfo (catch # # #)) (apply throw errinfo)) In unknown file: ... ?: 7 [throw] /opt/local/share/guile/slib/guile.init:381:10: In procedure open-file in expression (if (and errinfo #) (apply throw errinfo)): /opt/local/share/guile/slib/guile.init:381:10: No such file or directory: "/opt/local/share/guile/1.8/slib/require" make[2]: *** [gw-standard.c] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: The following dependencies failed to build: g-wrap16 Error: Unable to upgrade port: 1 shop-5:~ adminjaguar$ ++++++++++++++++++++++++++++++++++ Any ideas? Looks like it is guile that is choking... should I try uninstalling that, and re-installing it again? I had some goofiness yesterday where it tried to install guile16, but complained that guile was already activated; I just tried the command later in the day and it progressed through the problem. Thank you for any advice you may have. Kurt L.
Kurt, I noticed this problem as well. I took a look at the Portfile and noticed that guile16 was recently changed to be the default variant for Gnucash. That's why it's trying to install guile16, slib-guile16, and g-wrap16 even though you (and I as well) already had guile and slib-guile installed. I thought it would be easy to get around this by just deactivating the guile16 variant for gnucash, but that didn't work either, with a similar message. In fact it looks like the upstream archive for g- wrap is the same whether you use the g-wrap or g-wrap16 ports. I get errors trying to install either one. Frank On Apr 4, 2007, at 4:18 PM, Kurt L wrote:
As a large, complicated port with many dependencies, gnucash 2.x seems to be gooding at uncovering subtle port problems. Here is the difficulty I get today trying to upgrade to gnucash 2.0.5:
++++++++++++++++++++++++++++++++++
shop-5:~ adminjaguar$ sudo port upgrade gnucash ---> Fetching g-wrap16 ---> Attempting to fetch g-wrap-1.3.4.tar.gz from http://www.gnucash.org/pub/g-wrap/source/ ---> Verifying checksum(s) for g-wrap16 ---> Extracting g-wrap16 ---> Applying patches to g-wrap16 ---> Configuring g-wrap16 ---> 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: guile -c \ "(set! %load-path (cons \"/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/g-wrap/..\" %load-path))""(debug-enable 'backtrace) \ (debug-enable 'debug) \ (read-enable 'positions) \ (use-modules (g-wrap)) \ (use-modules (g-wrap gw-standard-spec)) \ (gw:generate-wrapset \"gw-standard\")" WARNING: (g-wrap): imported module (g-wrap sorting) overrides core binding `sort' Backtrace: In unknown file: ?: 0* [primitive-load "/opt/local/share/guile/slib/guile.init"] In /opt/local/share/guile/slib/guile.init: 606: 1* [slib:load "/opt/local/share/guile/1.8/slib/require"] 375: 2 [save-module-excursion #<procedure #f ()>] In unknown file: ... ?: 3 [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>] ?: 4* [#<procedure #f ()>] In /opt/local/share/guile/slib/guile.init: 378: 5* (let* ((errinfo #)) (if (and errinfo #) (apply throw errinfo))) 381: 6 (if (and errinfo (catch # # #)) (apply throw errinfo)) In unknown file: ... ?: 7 [throw]
/opt/local/share/guile/slib/guile.init:381:10: In procedure open- file in expression (if (and errinfo #) (apply throw errinfo)): /opt/local/share/guile/slib/guile.init:381:10: No such file or directory: "/opt/local/share/guile/1.8/slib/require" make[2]: *** [gw-standard.c] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: The following dependencies failed to build: g-wrap16 Error: Unable to upgrade port: 1 shop-5:~ adminjaguar$
++++++++++++++++++++++++++++++++++
Any ideas? Looks like it is guile that is choking... should I try uninstalling that, and re-installing it again? I had some goofiness yesterday where it tried to install guile16, but complained that guile was already activated; I just tried the command later in the day and it progressed through the problem.
Thank you for any advice you may have.
Kurt L. _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- Frank McPherson Technical Director, Engineering Division JANUS Research Group http://www.janusresearch.com/ Evans, Georgia 706-364-9100
On 05.04.2007, at 03:15, Frank Mcpherson wrote:
I noticed this problem as well. I took a look at the Portfile and noticed that guile16 was recently changed to be the default variant for Gnucash. That's why it's trying to install guile16, slib- guile16, and g-wrap16 even though you (and I as well) already had guile and slib-guile installed.
And what's worse, you can't install any of the guile16 (and related) ports for guile 1.6.8 when the guile (and related) ports for guile 1.8.1 are present. Does it work if you follow these instructions? http://wiki.gnucash.org/wiki/MacOSXInstallation#guile_1.8.1 Regards, Marc
Yes, that works for me. Thanks for the pointer. Frank On Apr 5, 2007, at 03:33, Marc André Selig wrote:
On 05.04.2007, at 03:15, Frank Mcpherson wrote:
I noticed this problem as well. I took a look at the Portfile and noticed that guile16 was recently changed to be the default variant for Gnucash. That's why it's trying to install guile16, slib-guile16, and g-wrap16 even though you (and I as well) already had guile and slib-guile installed.
And what's worse, you can't install any of the guile16 (and related) ports for guile 1.6.8 when the guile (and related) ports for guile 1.8.1 are present.
Does it work if you follow these instructions?
http://wiki.gnucash.org/wiki/MacOSXInstallation#guile_1.8.1
Regards, Marc
participants (4)
-
Frank McPherson
-
Frank Mcpherson
-
Kurt L
-
Marc André Selig