On 5/3/19 3:07 PM, Stephen M. Butler wrote: > On 5/3/19 2:57 PM, John Ralls wrote: >> <<snip>> >> Please copy All of the lines beginning with GTEST from the >> CMakeCache.txt in your debian-build controlled build directory. You >> can get that easily with >> grep ^GTEST path/to/CMakeCache.txt >> >> CMake doesn't care if there's whitespace between the -D and the variable >> name. >> >> Regars, >> John Ralls > grep -i gtest CM*.txt > GMOCK_INCLUDE_DIR:PATH=/home/steve/Projects/GnuCash/gnucash/.build/__gtest/googlemock/include > GMOCK_SRC_DIR:PATH=/home/steve/Projects/GnuCash/gnucash/.build/__gtest/googlemock > GTEST_INCLUDE_DIR:PATH=/home/steve/Projects/GnuCash/gnucash/.build/__gtest/googletest/include > GTEST_MAIN_LIB:FILEPATH=/usr/lib/x86_64-linux-gnu/libgtest_main.a > GTEST_ROOT:UNINITIALIZED=/usr/src/googletest/googletest > GTEST_SHARED_LIB:FILEPATH=/usr/lib/x86_64-linux-gnu/libgtest.a<snip > //Found GTest > GTEST_FOUND:INTERNAL=YES > > > Part of the build rules copies /usr/src/googletest down to the build folder: > > mkdir -p .build/__gtest > cp -Rv /usr/src/googletest/* .build/__gtest/ > > Perhaps I should point cmake to that location instead? > I made the change to point to the copy as noted above and hit same snag. Then tried to bypass the auto test and ran into this much further down the road:
debian/rules override_dh_install make[1]: Entering directory '/home/steve/Projects/GnuCash/gnucash' rm -f -fv debian/tmp/usr/share/glib-2.0/schemas/gschemas.compiled # L:package-contains-compiled-glib-schema removed 'debian/tmp/usr/share/glib-2.0/schemas/gschemas.compiled' pod2man -s1 --stderr --utf8 debian/tmp/usr/bin/gnc-fq-check debian/tmp/gnc-fq-check.1 find debian/tmp/usr/lib -name \*.la -exec rm -v \{\} \; dh_install make[1]: Leaving directory '/home/steve/Projects/GnuCash/gnucash' dh_installdocs -O--buildsystem=cmake -O--builddirectory=.build dh_installchangelogs -O--buildsystem=cmake -O--builddirectory=.build dh_installexamples -O--buildsystem=cmake -O--builddirectory=.build dh_installman -O--buildsystem=cmake -O--builddirectory=.build dh_installinfo -O--buildsystem=cmake -O--builddirectory=.build dh_installinfo: Cannot find (any matches for) "libgnucash/doc/design/gnucash-design.info" (tried in .) make: *** [debian/rules:24: binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 ---------------------- override_dh_install has these lines: override_dh_install: $(RM) -fv debian/tmp/usr/share/glib-2.0/schemas/gschemas.compiled # L:package-contains-compiled-glib-schema pod2man -s1 --stderr --utf8 debian/tmp/usr/bin/gnc-fq-check debian/tmp/gnc-fq-check.1 find debian/tmp/usr/lib -name \*.la -exec rm -v \{\} \; dh_install -------------------------- gnucash.install has these lines: ## https://bugzilla.gnome.org/show_bug.cgi?id=790840 usr/lib/*/gnucash/ usr/bin/gnucash usr/bin/gnc-fq-check usr/bin/gnc-fq-dump usr/bin/gnc-fq-helper usr/bin/gnc-fq-update usr/share/applications/gnucash.desktop etc --------------------------- gnucash-common.install has this: usr/share/glib-2.0/schemas usr/share/gnucash usr/share/icons usr/share/locale usr/include -------------------------------- python3-gnucash.install has these: ## https://bugzilla.gnome.org/show_bug.cgi?id=790550 usr/lib/python*/dist-packages/gnucash/*.so ================================= not sure which one was being processed. -- Stephen M Butler, PMP, PSM stephen.m.butle...@gmail.com kg...@arrl.net 253-350-0166 ------------------------------------------- GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel