[MacPorts] #51456: gnucash @2.6.12_1 build failure
#51456: gnucash @2.6.12_1 build failure ------------------------+-------------------------------- Reporter: mopihopi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: gnucash ------------------------+-------------------------------- Upgrading gnucash to @2.6.12_1, on OS X 10.10.5 with XCode 7.2.1 Build version 7C1002, with webkit-gtk +quartz, an error is encountered: {{{ $ sudo port upgrade gnucash ---> Computing dependencies for gnucash ---> Fetching archive for gnucash ---> Attempting to fetch gnucash-2.6.12_1+hbci+ofx.darwin_14.x86_64.tbz2 from https://packages.macports.org/gnucash ---> Attempting to fetch gnucash-2.6.12_1+hbci+ofx.darwin_14.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/gnucash ---> Attempting to fetch gnucash-2.6.12_1+hbci+ofx.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnucash ---> Fetching distfiles for gnucash ---> Verifying checksums for gnucash ---> Extracting gnucash ---> Applying patches to gnucash ---> Configuring gnucash ---> Building gnucash Error: org.macports.build for port gnucash returned: command execution failed Please see the log file for port gnucash for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/main.log Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets $ }}} {{{ ... :info:build libtool: link: /usr/bin/clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libtest-core-guile.0.dylib .libs /libtest_core_guile_la-swig-unittest-support-guile.o -L/opt/local/lib -lguile-2.0 -lgc ./.libs/libtest-core.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-2.6.12/src/libqof/qof/.libs /libgnc-qof.dylib -lgio-2.0 -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lm -Os -arch x86_64 -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-dylib_file -Wl,/opt/local/lib/libgnc- qof.1.dylib:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-2.6.12/src/libqof/qof/.libs /libgnc-qof.dylib -install_name /lib/libtest-core-guile.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module :info:build libtool: link: (cd ".libs" && rm -f "libtest-core-guile.dylib" && ln -s "libtest-core-guile.0.dylib" "libtest-core-guile.dylib") :info:build libtool: link: ( cd ".libs" && rm -f "libtest-core-guile.la" && ln -s "../libtest-core-guile.la" "libtest-core-guile.la" ) :info:build GNC_UNINSTALLED=yes \ :info:build GNC_BUILDDIR=../.. \ :info:build LD_LIBRARY_PATH="../../src/test- core/.libs:../../src/libqof/qof/.libs:${LD_LIBRARY_PATH}" DYLD_LIBRARY_PATH="../../src/test- core/.libs:../../src/libqof/qof/.libs:${DYLD_LIBRARY_PATH}" \ :info:build /opt/local/bin/guild compile -o unittest-support.go unittest-support.scm :info:build ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 :info:build ;;; or pass the --no-auto-compile argument to disable. :info:build ;;; compiling /opt/local/bin/guild :info:build ;;; compiled /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/.home/.cache/guile/ccache/2.0-LE-8-2.0/opt/local/bin/guild.go :info:build Backtrace: :info:build In /opt/local/bin/guild: :info:build 74: 19 [main ("/opt/local/bin/guild" "compile" "-o" ...)] :info:build In srfi/srfi-1.scm: :info:build 619: 18 [for-each #<procedure 10f69a500 at scripts/compile.scm:179:14 (file)> #] :info:build In scripts/compile.scm: :info:build 182: 17 [#<procedure 10f69a500 at scripts/compile.scm:179:14 (file)> "unittest-support.scm"] :info:build In system/base/target.scm: :info:build 59: 16 [with-target "x86_64-apple-darwin14" ...] :info:build In system/base/compile.scm: :info:build 150: 15 [compile-file "unittest-support.scm" #:output-file ...] :info:build 43: 14 [call-once #<procedure 10f69a400 at system/base/compile.scm:56:5 ()>] :info:build In ice-9/boot-9.scm: :info:build 171: 13 [with-throw-handler #t ...] :info:build In system/base/compile.scm: :info:build 59: 12 [#<procedure 10f69a3c0 at system/base/compile.scm:58:9 ()>] :info:build 153: 11 [#<procedure 10f69a440 at system/base/compile.scm:151:8 (port)> #<closed: file 0>] :info:build 216: 10 [read-and-compile #<input: unittest-support.scm 16> #:from ...] :info:build 232: 9 [lp (#<tree-il #>) #<directory (gnucash unittest- support) 10f59d750> ...] :info:build 180: 8 [lp (#<procedure compile-tree-il (x e opts)>) (cond- expand # #) ...] :info:build In ice-9/boot-9.scm: :info:build 2401: 7 [save-module-excursion #<procedure 10f6d4ba0 at language/scheme/compile-tree-il.scm:29:3 ()>] :info:build In language/scheme/compile-tree-il.scm: :info:build 31: 6 [#<procedure 10f6d4ba0 at language/scheme/compile- tree-il.scm:29:3 ()>] :info:build In ice-9/psyntax.scm: :info:build 106: 0 [#<procedure 10f69a380 at ice-9/boot-9.scm:97:6 (thrown-k . args)> misc-error ...] :info:build :info:build ice-9/boot-9.scm:106:20: In procedure #<procedure 10f69a380 at ice-9/boot-9.scm:97:6 (thrown-k . args)>: :info:build ice-9/boot-9.scm:106:20: In procedure dynamic-link: file: "libtest-core-guile", message: "file not found" :info:build make[3]: *** [unittest-support.go] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-2.6.12/src /test-core' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-2.6.12/src' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-2.6.12' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/work/gnucash-2.6.12' :info:build 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.12" && /usr/bin/make -j8 -w all :info:build Exit code: 2 :error:build org.macports.build for port gnucash returned: command execution failed :debug:build Error code: CHILDSTATUS 32600 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for gnucash: org.macports.install org.macports.build org.macports.destroot :notice:build Please see the log file for port gnucash for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gnucash/gnucash/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/51456> MacPorts <https://www.macports.org/> Ports system for OS X
#51456: gnucash @2.6.12_1 build failure -------------------------+---------------------- Reporter: mopihopi@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+---------------------- Changes (by mf2k@…): * owner: macports-tickets@… => dports@… * cc: dports@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/51456#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51456: gnucash @2.6.12_1 build failure -------------------------+---------------------- Reporter: mopihopi@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+---------------------- Comment (by rderosa86@…): Just a heads up that the problem still exists with version 2.6.13_0 -- Ticket URL: <https://trac.macports.org/ticket/51456#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#51456: gnucash @2.6.12_1 build failure -------------------------+---------------------- Reporter: mopihopi@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+---------------------- Comment (by leonardo.f.cardoso@…): Somehow, another guile installation was causing this issue in my machine. {{{ $sudo port installed | grep -i guile guile @2.0.11_3 (active) guile18 @1.8.8_3 guile18 @1.8.8_4 (active) }}} So, I decided to remove all guile packages. {{{ $ sudo port -f uninstall guile ---> Deactivating guile @2.0.11_3 ---> Cleaning guile ---> Uninstalling guile @2.0.11_3 ---> Cleaning guile }}} {{{ $ sudo port -f uninstall guile18@1.8.8_4 ---> Unable to uninstall guile18 @1.8.8_4, the following ports depend on it: ---> gnucash @2.6.9_0+hbci+ofx ---> gnucash @2.6.10_0+hbci+ofx ---> gnucash @2.6.11_0+hbci+ofx Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating guile18 @1.8.8_4 ---> Unable to deactivate guile18 @1.8.8_4, the following ports depend on it: ---> gnucash @2.6.11_0+hbci+ofx Warning: Deactivate forced. Proceeding despite dependencies. ---> Cleaning guile18 ---> Uninstalling guile18 @1.8.8_4 ---> Cleaning guile18 }}} {{{ $ sudo port -f uninstall guile18 ---> Unable to uninstall guile18 @1.8.8_3, the following ports depend on it: ---> gnucash @2.6.9_0+hbci+ofx ---> gnucash @2.6.10_0+hbci+ofx ---> gnucash @2.6.11_0+hbci+ofx Warning: Uninstall forced. Proceeding despite dependencies. ---> Uninstalling guile18 @1.8.8_3 ---> Cleaning guile18 }}} After that... $ sudo port clean gnucash $ sudo port upgrade gnucash It works. ---> No broken files found. :-) Hope this post help other users. -- Ticket URL: <https://trac.macports.org/ticket/51456#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#51456: gnucash @2.6.12_1 build failure -------------------------+---------------------- Reporter: mopihopi@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+---------------------- Comment (by mopihopi@…): Thank you! After force-uninstalling all versions of guile* the upgrade completed for me without error. -- Ticket URL: <https://trac.macports.org/ticket/51456#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#51456: gnucash @2.6.12_1 build failure -------------------------+---------------------- Reporter: mopihopi@… | Owner: dports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+---------------------- Comment (by jo.vanoost@…): Replying to [comment:8 mopihopi@…]:
Thank you! After force-uninstalling all versions of guile* the upgrade completed for me without error.
Thanks!, Fixed this issue for me too. As I prefer the Spartan X-style, happily back to GnuCash in X-windows. -- Ticket URL: <https://trac.macports.org/ticket/51456#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#51456: gnucash @2.6.12_1 build failure -------------------------+------------------- Reporter: mopihopi@… | Owner: drkp Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+------------------- Comment (by drkp): Is this still an issue with 2.6.14? I'm able to build with both guile (2.0) and guile18 installed. -- Ticket URL: <https://trac.macports.org/ticket/51456#comment:10> MacPorts <https://www.macports.org/> Ports system for macOS
#51456: gnucash @2.6.12_1 build failure -------------------------+------------------- Reporter: mopihopi@… | Owner: drkp Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+------------------- Comment (by Blokkendoos): Replying to [comment:10 drkp]:
Is this still an issue with 2.6.14? I'm able to build with both guile (2.0) and guile18 installed.
Tested these two scenario's, both on OS X 10.10 and 10.8: 1. guile + guile18 + gnucash => fails (libtest-core-guile not found) 2. guile18 + gnucash => ok Though, as long as GC installs with or w/o workaround, it is not critical for me. -- Ticket URL: <https://trac.macports.org/ticket/51456#comment:11> MacPorts <https://www.macports.org/> Ports system for macOS
#51456: gnucash @2.6.12_1 build failure -------------------------+------------------- Reporter: mopihopi@… | Owner: drkp Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+------------------- Changes (by Blokkendoos): * Attachment "2016-11-02 gnucash main w guile 2.013 and guile18 - OS X 10.10.log.zip" added. gc install fails with guile(2) and guile18 installed -- Ticket URL: <https://trac.macports.org/ticket/51456> MacPorts <https://www.macports.org/> Ports system for macOS
#51456: gnucash build failure with guile and guile18 installed -------------------------+------------------- Reporter: mopihopi@… | Owner: drkp Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+------------------- Comment (by drkp): Thanks! I'll check it out. -- Ticket URL: <https://trac.macports.org/ticket/51456#comment:12> MacPorts <https://www.macports.org/> Ports system for macOS
#51456: gnucash build failure with guile and guile18 installed -------------------------+------------------- Reporter: mopihopi@… | Owner: drkp Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+------------------- Comment (by drkp): In [changeset:"a12ba5abcba593cac5e4114572cfc3937d9d9a90/macports-ports" a12ba5ab/macports-ports]: {{{ #!ConfigurableCommitTicketReference repository="macports-ports" revision="a12ba5abcba593cac5e4114572cfc3937d9d9a90" gnucash, gnucash-devel: explicitly specify guile 1.8 in configure.args Possibly fixes build problems when both guile and guile18 are installed; see https://trac.macports.org/ticket/51456 }}} -- Ticket URL: <https://trac.macports.org/ticket/51456#comment:13> MacPorts <https://www.macports.org/> Ports system for macOS
#51456: gnucash build failure with guile and guile18 installed -------------------------+------------------- Reporter: mopihopi@… | Owner: drkp Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+------------------- Comment (by drkp): I still can't reproduce this for some reason, but can you see whether the above commit fixes it? -- Ticket URL: <https://trac.macports.org/ticket/51456#comment:14> MacPorts <https://www.macports.org/> Ports system for macOS
#51456: gnucash build failure with guile and guile18 installed -------------------------+------------------- Reporter: mopihopi@… | Owner: drkp Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gnucash | -------------------------+------------------- Comment (by Blokkendoos): Replying to [comment:14 drkp]:
I still can't reproduce this for some reason, but can you see whether the above commit fixes it? Still the same ("libtest-core-guile" not found) Here in short what I did: {{{ #!div style="font-size: 80%" $ port -f selfupdate\\ $ port installed | grep "guile\|gnucash"\\ gnucash-docs @2.2.0_0 (active)\\ guile @2.0.13_0 (active)\\ guile18 @1.8.8_4\\ guile18 @1.8.8_5 (active)\\ slib-guile @1.0_4 (active)\\ $ port install gnucash }}} Both on OS X 10.10 and 10.8. It's a rainy day.
-- Ticket URL: <https://trac.macports.org/ticket/51456#comment:15> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts