[GNC-dev] Missing packages

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC-dev] Missing packages

Stephen M. Butler
At the end of this list is the extremely helpful message:  "--
Configuring incomplete, errors occurred!"

Looking further back, it appears that I forgot to install git in the
chroot environment:  "-- Could NOT find Git (missing: GIT_EXECUTABLE)".

And I may need to figure this message out to see what needs to happen: 
"-- Looking for AB_Banking_RuntimeConfig_SetCharValue - not found".  **
AND Maybe NOT! (see next) **


Few minutes later:  After installing the git package into the Disco
chroot (source), managed to get this message instead:  -- Build files
have been written to: /home/steve/Projects/GnuCash/V37

            make will take awhile so will update the mailing list later.


Thanks John for your guidance.  Couldn't do this without the team.

--Steve


For those curious as to the prior cmake output without git:

cmake -G 'Unix Makefiles' -DWITH_PYTHON=ON
-DGTEST_ROOT=/usr/src/googletest/googletest
-DGMOCK_ROOT=/usr/src/googletest/googlemock ../gnucash
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found UnixCommands: /bin/bash 
-- Could NOT find Git (missing: GIT_EXECUTABLE)
CMake Error at CMakeLists.txt:153 (message):
  Looks like we're building from version control, but can't find git
  executable.  Please set GIT_EXECUTABLE.


-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'glib-2.0>=2.40'
--   Found glib-2.0, version 2.60.0
-- Checking for module 'gio-2.0'
--   Found gio-2.0, version 2.60.0
-- Checking for module 'gobject-2.0>=2.20'
--   Found gobject-2.0, version 2.60.0
-- Checking for module 'gmodule-2.0>=2.20'
--   Found gmodule-2.0, version 2.60.0
-- Checking for module 'gthread-2.0>=2.20'
--   Found gthread-2.0, version 2.60.0
-- Checking for module 'libxml-2.0>=2.7.0'
--   Found libxml-2.0, version 2.9.4
-- Checking for module 'libxslt'
--   Found libxslt, version 1.1.32
-- Checking for module 'webkit2gtk-4.0'
--   Found webkit2gtk-4.0, version 2.24.4
-- Checking for module 'gtk+-3.0>=3.10.0'
--   Found gtk+-3.0, version 3.24.8
-- Checking for module 'zlib'
--   Found zlib, version 1.2.11
-- Found Gettext: /usr/bin/msgmerge (found suitable version "0.19.8.1",
minimum required is "0.19.6")
-- Found SWIG: /usr/bin/swig3.0 (found suitable version "3.0.12",
minimum required is "2.0.10")
-- Using guile-2.2.x
-- Using guile SRFI-64
-- Using guile textual-ports
-- Checking for module 'gwenhywfar>=4.9.99'
--   Found gwenhywfar, version 4.20.0
-- Checking for module 'aqbanking>=5.3.4'
--   Found aqbanking, version 5.7.8
-- Looking for AB_Banking_RuntimeConfig_SetCharValue
-- Looking for AB_Banking_RuntimeConfig_SetCharValue - not found
-- Checking for module 'gwengui-gtk3'
--   Found gwengui-gtk3, version 4.20.0
-- Checking for module 'libofx'
--   Found libofx, version 0.9.14
-- Performing Test HAVE_OFX_BUG_39
-- Performing Test HAVE_OFX_BUG_39 - Failed
-- Found LibXslt: xslt;xml2 (found version "1.1.32")
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3",
minimum required is "3")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.7m.so (found
suitable version "3.7.3", minimum required is "3")
-- Found Perl: /usr/bin/perl (found version "5.28.1")
-- Checking for module 'icu-uc'
--   Found icu-uc, version 63.1
-- Checking for module 'icu-i18n'
--   Found icu-i18n, version 63.1
-- Checking for module 'libsecret-1>=0.18'
--   Found libsecret-1, version 0.18.8
-- Performing Test have_stringop_truncation
-- Performing Test have_stringop_truncation - Success
-- Checking for GTEST
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Checking for GMOCK
-- Looking for include file dirent.h
-- Looking for include file dirent.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file glob.h
-- Looking for include file glob.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/times.h
-- Looking for include file sys/times.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file utmp.h
-- Looking for include file utmp.h - found
-- Looking for include file wctype.h
-- Looking for include file wctype.h - found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test have_mod_mask
-- Performing Test have_mod_mask - Success
-- Configuring incomplete, errors occurred!
See also "/home/steve/Projects/GnuCash/V37/CMakeFiles/CMakeOutput.log".
See also "/home/steve/Projects/GnuCash/V37/CMakeFiles/CMakeError.log".



--
Stephen M Butler, PMP, PSM
[hidden email]
[hidden email]
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8


_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GNC-dev] Missing packages

Stephen M. Butler
make went faster than expected.  Ended with these beautiful lines:

[100%] Built target gnucash_core_c
Scanning dependencies of target swig-gnucash-core
[100%] Built target swig-gnucash-core
Scanning dependencies of target gnucash-core-c-py
[100%] Built target gnucash-core-c-py
Scanning dependencies of target gnucash-core-c-build
[100%] Built target gnucash-core-c-build
Scanning dependencies of target test-python-bindings
[100%] Built target test-python-bindings


Now to revert back to dpkg-buildpackage and see if git was the
underlying problem there.

--Steve


On 9/26/19 5:46 PM, Stephen M. Butler wrote:

> At the end of this list is the extremely helpful message:  "--
> Configuring incomplete, errors occurred!"
>
> Looking further back, it appears that I forgot to install git in the
> chroot environment:  "-- Could NOT find Git (missing: GIT_EXECUTABLE)".
>
> And I may need to figure this message out to see what needs to happen: 
> "-- Looking for AB_Banking_RuntimeConfig_SetCharValue - not found".  **
> AND Maybe NOT! (see next) **
>
>
> Few minutes later:  After installing the git package into the Disco
> chroot (source), managed to get this message instead:  -- Build files
> have been written to: /home/steve/Projects/GnuCash/V37
>
>             make will take awhile so will update the mailing list later.
>
>
> Thanks John for your guidance.  Couldn't do this without the team.
>
> --Steve
>
>
> For those curious as to the prior cmake output without git:
>
> cmake -G 'Unix Makefiles' -DWITH_PYTHON=ON
> -DGTEST_ROOT=/usr/src/googletest/googletest
> -DGMOCK_ROOT=/usr/src/googletest/googlemock ../gnucash
> -- The C compiler identification is GNU 8.3.0
> -- The CXX compiler identification is GNU 8.3.0
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Found UnixCommands: /bin/bash 
> -- Could NOT find Git (missing: GIT_EXECUTABLE)
> CMake Error at CMakeLists.txt:153 (message):
>   Looks like we're building from version control, but can't find git
>   executable.  Please set GIT_EXECUTABLE.
>
>
> -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
> -- Checking for module 'glib-2.0>=2.40'
> --   Found glib-2.0, version 2.60.0
> -- Checking for module 'gio-2.0'
> --   Found gio-2.0, version 2.60.0
> -- Checking for module 'gobject-2.0>=2.20'
> --   Found gobject-2.0, version 2.60.0
> -- Checking for module 'gmodule-2.0>=2.20'
> --   Found gmodule-2.0, version 2.60.0
> -- Checking for module 'gthread-2.0>=2.20'
> --   Found gthread-2.0, version 2.60.0
> -- Checking for module 'libxml-2.0>=2.7.0'
> --   Found libxml-2.0, version 2.9.4
> -- Checking for module 'libxslt'
> --   Found libxslt, version 1.1.32
> -- Checking for module 'webkit2gtk-4.0'
> --   Found webkit2gtk-4.0, version 2.24.4
> -- Checking for module 'gtk+-3.0>=3.10.0'
> --   Found gtk+-3.0, version 3.24.8
> -- Checking for module 'zlib'
> --   Found zlib, version 1.2.11
> -- Found Gettext: /usr/bin/msgmerge (found suitable version "0.19.8.1",
> minimum required is "0.19.6")
> -- Found SWIG: /usr/bin/swig3.0 (found suitable version "3.0.12",
> minimum required is "2.0.10")
> -- Using guile-2.2.x
> -- Using guile SRFI-64
> -- Using guile textual-ports
> -- Checking for module 'gwenhywfar>=4.9.99'
> --   Found gwenhywfar, version 4.20.0
> -- Checking for module 'aqbanking>=5.3.4'
> --   Found aqbanking, version 5.7.8
> -- Looking for AB_Banking_RuntimeConfig_SetCharValue
> -- Looking for AB_Banking_RuntimeConfig_SetCharValue - not found
> -- Checking for module 'gwengui-gtk3'
> --   Found gwengui-gtk3, version 4.20.0
> -- Checking for module 'libofx'
> --   Found libofx, version 0.9.14
> -- Performing Test HAVE_OFX_BUG_39
> -- Performing Test HAVE_OFX_BUG_39 - Failed
> -- Found LibXslt: xslt;xml2 (found version "1.1.32")
> -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3",
> minimum required is "3")
> -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.7m.so (found
> suitable version "3.7.3", minimum required is "3")
> -- Found Perl: /usr/bin/perl (found version "5.28.1")
> -- Checking for module 'icu-uc'
> --   Found icu-uc, version 63.1
> -- Checking for module 'icu-i18n'
> --   Found icu-i18n, version 63.1
> -- Checking for module 'libsecret-1>=0.18'
> --   Found libsecret-1, version 0.18.8
> -- Performing Test have_stringop_truncation
> -- Performing Test have_stringop_truncation - Success
> -- Checking for GTEST
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - not found
> -- Check if compiler accepts -pthread
> -- Check if compiler accepts -pthread - no
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE 
> -- Checking for GMOCK
> -- Looking for include file dirent.h
> -- Looking for include file dirent.h - found
> -- Looking for include file dlfcn.h
> -- Looking for include file dlfcn.h - found
> -- Looking for include file glob.h
> -- Looking for include file glob.h - found
> -- Looking for include file inttypes.h
> -- Looking for include file inttypes.h - found
> -- Looking for include file limits.h
> -- Looking for include file limits.h - found
> -- Looking for include file locale.h
> -- Looking for include file locale.h - found
> -- Looking for include file memory.h
> -- Looking for include file memory.h - found
> -- Looking for include file stdint.h
> -- Looking for include file stdint.h - found
> -- Looking for include file stdlib.h
> -- Looking for include file stdlib.h - found
> -- Looking for include file string.h
> -- Looking for include file string.h - found
> -- Looking for include file strings.h
> -- Looking for include file strings.h - found
> -- Looking for include file sys/stat.h
> -- Looking for include file sys/stat.h - found
> -- Looking for include file sys/time.h
> -- Looking for include file sys/time.h - found
> -- Looking for include file sys/times.h
> -- Looking for include file sys/times.h - found
> -- Looking for include file sys/types.h
> -- Looking for include file sys/types.h - found
> -- Looking for include file sys/wait.h
> -- Looking for include file sys/wait.h - found
> -- Looking for include file unistd.h
> -- Looking for include file unistd.h - found
> -- Looking for include file utmp.h
> -- Looking for include file utmp.h - found
> -- Looking for include file wctype.h
> -- Looking for include file wctype.h - found
> -- Check if the system is big endian
> -- Searching 16 bit integer
> -- Looking for stddef.h
> -- Looking for stddef.h - found
> -- Check size of unsigned short
> -- Check size of unsigned short - done
> -- Using unsigned short
> -- Check if the system is big endian - little endian
> -- Performing Test have_mod_mask
> -- Performing Test have_mod_mask - Success
> -- Configuring incomplete, errors occurred!
> See also "/home/steve/Projects/GnuCash/V37/CMakeFiles/CMakeOutput.log".
> See also "/home/steve/Projects/GnuCash/V37/CMakeFiles/CMakeError.log".
>
>
>

--
Stephen M Butler, PMP, PSM
[hidden email]
[hidden email]
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GNC-dev] Missing packages

Stephen M. Butler
On 9/26/19 5:53 PM, Stephen M. Butler wrote:

> make went faster than expected.  Ended with these beautiful lines:
>
> [100%] Built target gnucash_core_c
> Scanning dependencies of target swig-gnucash-core
> [100%] Built target swig-gnucash-core
> Scanning dependencies of target gnucash-core-c-py
> [100%] Built target gnucash-core-c-py
> Scanning dependencies of target gnucash-core-c-build
> [100%] Built target gnucash-core-c-build
> Scanning dependencies of target test-python-bindings
> [100%] Built target test-python-bindings
>
>
> Now to revert back to dpkg-buildpackage and see if git was the
> underlying problem there.
>
> --Steve
>
>

It wasn't.  While these commands work in the Disco schroot:

cmake -G 'Unix Makefiles" -DWITH_PYTHON=ON
-DGTEST_ROOT=/usr/src/googletest/googletest
-DGMOCK_ROOT=/usr/src/googletest/googlemock ../gnucash
make

This command fails:

dpkg-buildpackage -rfakeroot -b -uc

So, what other flags should I add to the above cmake to see if I can
replicate what dpkg-buildpackage is doing?

I see this inside the debian/rules file:  (*bolded* lines are of interest)

#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_OPTIONS=-v

include /usr/share/dpkg/pkg-info.mk
include /usr/share/dpkg/architecture.mk

ifeq ($(DEB_TARGET_ARCH_ENDIAN),big)
    CMAKE_WORDS_BIGENDIAN = -DWORDS_BIGENDIAN=1
endif

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

*export GMOCK_ROOT=$(CURDIR)/.build/__gtest/googlemock**
**export GTEST_ROOT=$(CURDIR)/.build/__gtest/googletest**
*export HOME=$(CURDIR)/debian/tmp

export GUILE_AUTO_COMPILE=0

%:
        dh $@ --buildsystem=*cmake --with python3,aqbanking*
--builddirectory=.build

override_dh_auto_clean:
        $(RM) -rv .build/__gtest */*/*/.libs */*/.libs
        find . -type l -exec rm -v \{\} \;
        rm -fv debian/gnucash-icon-32x32.xpm
        dh_auto_clean


override_dh_auto_configure:
        ## copy gtest sources
*        mkdir -p .build/__gtest**
**        cp -Rv /usr/src/googletest/* .build/__gtest/**
*        env    ## debug
        mkdir -v -p \
            "$${HOME}"/.local/share/GnuCash/books \
            "$${HOME}"/.local/share/GnuCash/checks \
            "$${HOME}"/.local/share/GnuCash/translog
*        dh_auto_configure -- -Wdev \**
**               -DCMAKE_VERBOSE_MAKEFILE=ON  \**
**               -DCMAKE_BUILD_TYPE=Release   \**
**               -DCMAKE_CXX_FLAGS="$(CXXFLAGS) $(CPPFLAGS)" \**
**               -DWITH_PYTHON=ON             \**
**              
-DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/gnucash \**
**               -DGTEST_ROOT=$GTEST_ROOT \**
**               -DGMOCK_ROOT=$GMOCK_ROOT \**
**               $(CMAKE_WORDS_BIGENDIAN) \**
*        ;

override_dh_auto_install:
        dh_auto_install --max-parallel=1

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

override_dh_compress:
        ## Don't compress certain files (#895256):
        dh_compress -XAUTHORS -XDOCUMENTERS -XLICENSE

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        $(MAKE) -C .build check; sh -x -c 'RV=$$0; [ "$${RV}" -eq 0 ] ||
cat ".build/Testing/Temporary/LastTest.log"; exit $${RV}' $$?
endif

override_dh_strip:
        dh_strip --dbgsym-migration='gnucash-dbg (<< 1:2.6.13~)' -X.go

override_dh_gencontrol:
        dh_gencontrol -- -Vmy:Built-Using="$(foreach
pkg,googletest,$(word 2,$(shell dpkg --status $(pkg) | grep ^Package))
(=$(word 2,$(shell dpkg --status $(pkg) | grep Version))),)"

override_dh_makeshlibs:
        dh_makeshlibs -n --version-info="gnucash (= ${DEB_VERSION})"

override_dh_shlibdeps:
        dh_shlibdeps
        rm -f debian/gnucash/DEBIAN/shlibs

--
Stephen M Butler, PMP, PSM
[hidden email]
[hidden email]
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GNC-dev] Missing packages

John Ralls-2
Your first post in this thread ended with a cmake command line with a bunch of extra options. I guess try using the whole lot of them and see if that works and what errors you get.

Regards,
John Ralls


> On Sep 27, 2019, at 10:43 AM, Stephen M. Butler <[hidden email]> wrote:
>
> On 9/26/19 5:53 PM, Stephen M. Butler wrote:
>> make went faster than expected.  Ended with these beautiful lines:
>>
>> [100%] Built target gnucash_core_c
>> Scanning dependencies of target swig-gnucash-core
>> [100%] Built target swig-gnucash-core
>> Scanning dependencies of target gnucash-core-c-py
>> [100%] Built target gnucash-core-c-py
>> Scanning dependencies of target gnucash-core-c-build
>> [100%] Built target gnucash-core-c-build
>> Scanning dependencies of target test-python-bindings
>> [100%] Built target test-python-bindings
>>
>>
>> Now to revert back to dpkg-buildpackage and see if git was the
>> underlying problem there.
>>
>> --Steve
>>
>>
>
> It wasn't.  While these commands work in the Disco schroot:
>
> cmake -G 'Unix Makefiles" -DWITH_PYTHON=ON
> -DGTEST_ROOT=/usr/src/googletest/googletest
> -DGMOCK_ROOT=/usr/src/googletest/googlemock ../gnucash
> make
>
> This command fails:
>
> dpkg-buildpackage -rfakeroot -b -uc
>
> So, what other flags should I add to the above cmake to see if I can
> replicate what dpkg-buildpackage is doing?
>
> I see this inside the debian/rules file:  (*bolded* lines are of interest)
>
> #!/usr/bin/make -f
>
> # Uncomment this to turn on verbose mode.
> #export DH_VERBOSE=1
> #export DH_OPTIONS=-v
>
> include /usr/share/dpkg/pkg-info.mk
> include /usr/share/dpkg/architecture.mk
>
> ifeq ($(DEB_TARGET_ARCH_ENDIAN),big)
>     CMAKE_WORDS_BIGENDIAN = -DWORDS_BIGENDIAN=1
> endif
>
> export DEB_BUILD_MAINT_OPTIONS = hardening=+all
>
> *export GMOCK_ROOT=$(CURDIR)/.build/__gtest/googlemock**
> **export GTEST_ROOT=$(CURDIR)/.build/__gtest/googletest**
> *export HOME=$(CURDIR)/debian/tmp
>
> export GUILE_AUTO_COMPILE=0
>
> %:
>         dh $@ --buildsystem=*cmake --with python3,aqbanking*
> --builddirectory=.build
>
> override_dh_auto_clean:
>         $(RM) -rv .build/__gtest */*/*/.libs */*/.libs
>         find . -type l -exec rm -v \{\} \;
>         rm -fv debian/gnucash-icon-32x32.xpm
>         dh_auto_clean
>
>
> override_dh_auto_configure:
>         ## copy gtest sources
> *        mkdir -p .build/__gtest**
> **        cp -Rv /usr/src/googletest/* .build/__gtest/**
> *        env    ## debug
>         mkdir -v -p \
>             "$${HOME}"/.local/share/GnuCash/books \
>             "$${HOME}"/.local/share/GnuCash/checks \
>             "$${HOME}"/.local/share/GnuCash/translog
> *        dh_auto_configure -- -Wdev \**
> **               -DCMAKE_VERBOSE_MAKEFILE=ON  \**
> **               -DCMAKE_BUILD_TYPE=Release   \**
> **               -DCMAKE_CXX_FLAGS="$(CXXFLAGS) $(CPPFLAGS)" \**
> **               -DWITH_PYTHON=ON             \**
> **              
> -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/gnucash \**
> **               -DGTEST_ROOT=$GTEST_ROOT \**
> **               -DGMOCK_ROOT=$GMOCK_ROOT \**
> **               $(CMAKE_WORDS_BIGENDIAN) \**
> *        ;
>
> override_dh_auto_install:
>         dh_auto_install --max-parallel=1
>
> 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
>
> override_dh_compress:
>         ## Don't compress certain files (#895256):
>         dh_compress -XAUTHORS -XDOCUMENTERS -XLICENSE
>
> override_dh_auto_test:
> ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
>         $(MAKE) -C .build check; sh -x -c 'RV=$$0; [ "$${RV}" -eq 0 ] ||
> cat ".build/Testing/Temporary/LastTest.log"; exit $${RV}' $$?
> endif
>
> override_dh_strip:
>         dh_strip --dbgsym-migration='gnucash-dbg (<< 1:2.6.13~)' -X.go
>
> override_dh_gencontrol:
>         dh_gencontrol -- -Vmy:Built-Using="$(foreach
> pkg,googletest,$(word 2,$(shell dpkg --status $(pkg) | grep ^Package))
> (=$(word 2,$(shell dpkg --status $(pkg) | grep Version))),)"
>
> override_dh_makeshlibs:
>         dh_makeshlibs -n --version-info="gnucash (= ${DEB_VERSION})"
>
> override_dh_shlibdeps:
>         dh_shlibdeps
>         rm -f debian/gnucash/DEBIAN/shlibs
>
> --
> Stephen M Butler, PMP, PSM
> [hidden email]
> [hidden email]
> 253-350-0166
> -------------------------------------------
> GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>
> _______________________________________________
> gnucash-devel mailing list
> [hidden email]
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GNC-dev] Missing packages

Stephen M. Butler
On 9/27/19 11:00 AM, John Ralls wrote:
> Your first post in this thread ended with a cmake command line with a bunch of extra options. I guess try using the whole lot of them and see if that works and what errors you get.
>
> Regards,
> John Ralls

That cmake/make combination appeared to work.  So, back to
dpkg-buildpackage and captured the terminal output (attached).  I
scanned it and saw these items buried deep inside:

        Start  10: test-app-utils
 10/127 Test  #10: test-app-utils
...............................***Failed    0.18 sec

        Start  13: test-load-backend
 13/127 Test  #13: test-load-backend
............................***Failed    0.01 sec
        Start  14: test-load-xml2
 14/127 Test  #14: test-load-xml2
...............................***Failed    0.04 sec

       Start  23: test-backend-dbi
 23/127 Test  #23: test-backend-dbi .............................Child
aborted***Exception:   0.10 sec

       Start  60: test-gnc-timezone
 60/127 Test  #60: test-gnc-timezone
............................***Failed    0.01 sec

       Start  88: test-aqb
 88/127 Test  #88: test-aqb
.....................................***Failed    0.14 sec

The following tests FAILED:
         10 - test-app-utils (Failed)
         13 - test-load-backend (Failed)
         14 - test-load-xml2 (Failed)
         23 - test-backend-dbi (Child aborted)
         60 - test-gnc-timezone (Failed)
         88 - test-aqb (Failed)

"test-exp-parser" start time: Sep 28 01:04 UTC
Output:
----------------------------------------------------------

(process:2885): qof-WARNING **: 01:04:10.976: [gnc_numeric_div()] Divide
by 0.
<CRITICAL> (gnc.gui) [func_op()] function eval error: [À°7<97>àU]

"test-link-module-app-utils" start time: Sep 28 01:04 UTC
Output:
----------------------------------------------------------
* 01:04:11  WARN <gnc.engine> failed to load gncmod-backend-dbi from
relative path
* 01:04:11 ERROR <gnc.engine> required library gncmod-backend-dbi not found.
* 01:04:11  WARN <gnc.engine> failed to load gncmod-backend-xml from
relative path
* 01:04:11 ERROR <gnc.engine> required library gncmod-backend-xml not found.
<end of output>

The above repeated throughout the rest of the file.

 "test-print-parse-amount" start time: Sep 28 01:04 UTC
Output:
----------------------------------------------------------
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t
<WARNING> (qof) [gnc_numeric_mul()] Value too large to represent as int64_t


several of these:  * 01:04:11 ERROR <gnc.engine> QofQueryPredData*
qof_query_string_predicate(QofQueryCompare, const char*, QofStringMatch,
gboolean): assertion 'how == QOF_COMPARE_CONTAINS || how ==
QOF_COMPARE_NCONTAINS || how == QOF_COMPARE_EQUAL || how ==
QOF_COMPARE_NEQ' failed


several of these: * 01:04:11 ERROR <GLib> g_date_add_days: assertion
'ndays <= G_MAXUINT32 - d->julian_days' failed

23/127 Test: test-backend-dbi
Command: "/home/steve/Projects/GnuCash/gnucash/.build/bin/test-backend-dbi"
Directory:
/home/steve/Projects/GnuCash/gnucash/.build/libgnucash/backend/dbi/test
"test-backend-dbi" start time: Sep 28 01:04 UTC
Output:
----------------------------------------------------------
**
ERROR:/home/steve/Projects/GnuCash/gnucash/libgnucash/backend/dbi/test/test-backend-dbi.cpp:47:int
main(int, char**): assertion failed: (qof_load_backend_library
(GNC_LIB_REL_PATH_1, GNC_LIB_NAME_1))
<end of output>
Test time =   0.10 sec
----------------------------------------------------------
Test Failed.

  10800
[  FAILED  ] gnc_timezone_constructors.test_IANA_Minsk_tz (3 ms)
[ RUN      ] gnc_timezone_constructors.test_bogus_time_constructor
[       OK ] gnc_timezone_constructors.test_bogus_time_constructor (0 ms)
[----------] 9 tests from gnc_timezone_constructors (8 ms total)

[----------] Global test environment tear-down
[==========] 9 tests from 1 test case ran. (8 ms total)
[  PASSED  ] 4 tests.
[  FAILED  ] 5 tests, listed below:
[  FAILED  ] gnc_timezone_constructors.test_pacific_time_constructor
[  FAILED  ] gnc_timezone_constructors.test_GMT_plus_7_timezone
[  FAILED  ] gnc_timezone_constructors.test_IANA_Belize_tz
[  FAILED  ] gnc_timezone_constructors.test_IANA_Perth_tz
[  FAILED  ] gnc_timezone_constructors.test_IANA_Minsk_tz

"test-gnc-module-scm-module" start time: Sep 28 01:04 UTC
Output:
----------------------------------------------------------
<WARNING> (gnc.module) Module
'/home/steve/Projects/GnuCash/gnucash/.build//lib/x86_64-linux-gnu/gnucash/gnucash/test/libgncmod-futuremodsys.so'
requires newer module system

I guess the first task is to figure out why gncmod-backend-dbi  and -xml
are not found.  They appear to have been built based on searching the
terminal output.

--
Stephen M Butler, PMP, PSM
[hidden email]
[hidden email]
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8


_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Disco_Build_dpkg (4M) Download Attachment