> On Nov 2, 2017, at 8:39 AM, Robert Fewell <14ubo...@gmail.com> wrote: > > Hi, > > Tried to day to build the latest Windows unstable but it failed to build > at... > > > [ 42%] Built target gnc-backend-xml-utils > [ 42%] Linking CXX shared module ../../../bin/libgncmod-backend-xml.dll > [ 42%] Built target gncmod-backend-xml > [ 42%] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/engine.go > wrote > `C:/gcdev64/gnucash/unstable/build/gnucash-git/lib/gnucash/scm/ccache/2.0/gnucash/engine.go' > [ 42%] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/business-core.go > wrote > `C:/gcdev64/gnucash/unstable/build/gnucash-git/lib/gnucash/scm/ccache/2.0/gnucash/business-core.go' > [ 42%] Built target scm-engine-0 > [ 42%] Generating ../../lib/gnucash/scm/ccache/2.0/commodity-table.go > wrote > `C:/gcdev64/gnucash/unstable/build/gnucash-git/lib/gnucash/scm/ccache/2.0/commodity-table.go' > [ 42%] Generating ../../lib/gnucash/scm/ccache/2.0/engine-interface.go > wrote > `C:/gcdev64/gnucash/unstable/build/gnucash-git/lib/gnucash/scm/ccache/2.0/engine-interface.go' > [ 42%] Generating ../../lib/gnucash/scm/ccache/2.0/engine-utilities.go > 3:2017/11/02 > 13-12-25:gwen(7740):C:/gcdev64/gnucash/unstable/src/gwenhywfar-4.17.0/src/base/i18n.c: > 120: No translation found for WIN32 locale [English_United Kingdom.1252] > wrote > `C:/gcdev64/gnucash/unstable/build/gnucash-git/lib/gnucash/scm/ccache/2.0/engine-utilities.go' > [ 42%] Generating ../../lib/gnucash/scm/ccache/2.0/gnc-numeric.go > wrote > `C:/gcdev64/gnucash/unstable/build/gnucash-git/lib/gnucash/scm/ccache/2.0/gnc-numeric.go' > [ 42%] Built target scm-engine-1 > [ 42%] Built target scm-engine > [ 42%] Generating ../../lib/gnucash/scm/ccache/2.0/hooks.go > wrote > `C:/gcdev64/gnucash/unstable/build/gnucash-git/lib/gnucash/scm/ccache/2.0/hooks.go' > [ 42%] Generating ../../lib/gnucash/scm/ccache/2.0/business-options.go > wrote > `C:/gcdev64/gnucash/unstable/build/gnucash-git/lib/gnucash/scm/ccache/2.0/business-options.go' > [ 42%] Generating ../../lib/gnucash/scm/ccache/2.0/c-interface.go > wrote > `C:/gcdev64/gnucash/unstable/build/gnucash-git/lib/gnucash/scm/ccache/2.0/c-interface.go' > > Some deprecated features have been used. Set the environment > variable GUILE_WARN_DEPRECATED to "detailed" and rerun the > program to get more information. Set it to "no" to suppress > this message. > [ 42%] Generating ../../lib/gnucash/scm/ccache/2.0/config-var.go > wrote > `C:/gcdev64/gnucash/unstable/build/gnucash-git/lib/gnucash/scm/ccache/2.0/config-var.go' > [ 44%] Generating ../../lib/gnucash/scm/ccache/2.0/date-utilities.go > Backtrace: > In system/base/compile.scm: > 218: 19 [read-and-compile #<input: date-utilities.scm 5> #:from ...] > 234: 18 [lp () #f #<module (#{ g160}#) 2b6fc80>] > 182: 17 [lp (#<procedure compile-tree-il (x e opts)>) (use-modules # # > ...) ...] > In ice-9/boot-9.scm: > 2412: 16 [save-module-excursion #<procedure 2d330c0 at > language/scheme/compile-tree-il.scm:29:3 ()>] > In language/scheme/compile-tree-il.scm: > 31: 15 [#<procedure 2d330c0 at language/scheme/compile-tree-il.scm:29:3 > ()>] > In ice-9/psyntax.scm: > 1107: 14 [expand-top-sequence ((use-modules # # #)) () ((top)) ...] > 990: 13 [scan ((use-modules (gnucash core-utils) (gnucash printf) ...)) () > ...] > 279: 12 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...] > In ice-9/boot-9.scm: > 3622: 11 [process-use-modules ((#) (#) (#))] > 712: 10 [map #<procedure 28dc6e0 at ice-9/boot-9.scm:3622:25 (mif-args)> > (# # #)] > 3623: 9 [#<procedure 28dc6e0 at ice-9/boot-9.scm:3622:25 (mif-args)> (#)] > 2900: 8 [resolve-interface (gnucash gettext) #:select ...] > 2825: 7 [#<procedure 28d1330 at ice-9/boot-9.scm:2813:4 (name #:optional > autoload version #:key ensure)> # ...] > 3101: 6 [try-module-autoload (gnucash gettext) #f] > 2412: 5 [save-module-excursion #<procedure 32535a0 at > ice-9/boot-9.scm:3102:17 ()>] > 3121: 4 [#<procedure 32535a0 at ice-9/boot-9.scm:3102:17 ()>] > In unknown file: > ?: 3 [primitive-load-path "gnucash/gettext" ...] > In gettext.scm: > 27: 2 [#<procedure 32704d0 ()>] > In unknown file: > ?: 1 [load-extension "libgncmod-app-utils" > "scm_init_sw_app_utils_module"] > In ice-9/boot-9.scm: > 109: 0 [#<procedure 2a960e0 at ice-9/boot-9.scm:100:6 (thrown-k . args)> > misc-error ...] > > ice-9/boot-9.scm:109:20: In procedure #<procedure 2a960e0 at > ice-9/boot-9.scm:100:6 (thrown-k . args)>: > ice-9/boot-9.scm:109:20: In procedure dynamic-link: file: > "libgncmod-app-utils", message: "The specified module could not be found." > make[2]: *** > [libgnucash/app-utils/CMakeFiles/scm-app-utils-1.dir/build.make:90: > lib/gnucash/scm/ccache/2.0/date-utilities.go] Error 1 > make[1]: *** [CMakeFiles/Makefile2:1975: > libgnucash/app-utils/CMakeFiles/scm-app-utils-1.dir/all] Error 2 > make: *** [Makefile:163: all] Error 2 > *** Error during phase build of gnucash-git: ########## Error running make > -j 1 *** [15/17] > > And if I comment out the gettext in date-utilities.scm it just fails some > where else in a similar manor. > > After finding the jhbuild --no-network option, I was able to narrowed it > down to the commit Fix Windows crash-on-throw. > <https://github.com/Gnucash/gnucash/commit/a3003043540daa9e6f03fa248c7adc2fff908f61> > > If I comment out SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES ""), it builds, I > added a couple of message lines to see what was being removed... > > # SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") > CMAKE_C_IMPLICIT_LINK_LIBRARIES=mingw32;gcc;gcc_eh;moldname;mingwex;pthread;advapi32;shell32;user32;kernel32;mingw32;gcc;gcc_eh;moldname;mingwex > CMAKE_CXX_IMPLICIT_LINK_LIBRARIES=stdc++;mingw32;gcc_s;gcc;moldname;mingwex;pthread;advapi32;shell32;user32;kernel32;mingw32;gcc_s;gcc;moldname;mingwex > > and with it... > > SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") > CMAKE_C_IMPLICIT_LINK_LIBRARIES= > CMAKE_CXX_IMPLICIT_LINK_LIBRARIES=stdc++;mingw32;gcc_s;gcc;moldname;mingwex;pthread;advapi32;shell32;user32;kernel32;mingw32;gcc_s;gcc;moldname;mingwex > > Does any body else see this or is it my setup ? > Do not mind trashing my build directory but it just takes a while to build > every thing again. > Bob,
Yeah, I had that problem on the build server after pushing that. I fixed it there by just blowing everything away (i.e. rm -rf gnucash/unstable) but it occurs to me that just `pushd gnucash/unstable/build/gnucash-git && xargs rm < install_manifest.txt && popd` might be sufficient. It also occurs to me that I should figure out how to do that as part of build_package.ps1 because the linker is going to have the same problem here that it has on Unix: It will link in installed libraries instead of freshly built ones. Regards, John Ralls _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel