[GNC-dev] [GNC] UK VAT and "Making Tax Digital"

John Ralls jralls at ceridwen.us
Tue May 14 10:38:22 EDT 2019


Maf, you need to delete your source directory and clone the repository. See https://wiki.gnucash.org/wiki/GnuCash_Sources#Developers_Source_Code

This failure is not at all odd. Building from a Github-generated tarball is guaranteed to fail because it's not pre-swigged and our buildsystem only invokes swig if it detects that it's using a git clone. We should change the build so that it detects the absence of the swigged source files and either sets up to run swig or fails with an intelligible error that one is trying to build in a way that's not supported. I think the former makes more sense.

Regards,
John Ralls

> On May 14, 2019, at 6:49 AM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
> 
> Hmm, that's odd. And your source directory is a git clone ? Or did you 
> download the tarball from git ?
> 
> Regards,
> 
> Geert
> 
> Op dinsdag 14 mei 2019 10:25:03 CEST schreef Maf. King:
>> On Tuesday, 14 May 2019 09:18:02 BST Maf. King wrote:
>>> Geert,
>>> 
>>> No Problem.
>>> 
>>> swig was not installed.  (suse build-deps error?)
>>> 
>>> have installed it and cmake is running at the moment...will report back
>> 
>> cmake failed again - i think identically, but haven't looked closely.
>> 
>> there are files that it is looking for that are not in the source tree.
>> 
>> cmake second run output:
>> 
>> maf at janus:~/src/build-gc-vat> rm -rf *
>> maf at janus:~/src/build-gc-vat> cmake
>> -DCMAKE_INSTALL_PREFIX=$HOME/opt/gnucash- vat ../gnucash-maint-csv-export/
>> -- The C compiler identification is GNU 7.4.0
>> -- The CXX compiler identification is GNU 7.4.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 PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
>> -- Checking for module 'glib-2.0>=2.40'
>> --   Found glib-2.0, version 2.54.3
>> -- Checking for module 'gio-2.0'
>> --   Found gio-2.0, version 2.54.3
>> -- Checking for module 'gobject-2.0>=2.20'
>> --   Found gobject-2.0, version 2.54.3
>> -- Checking for module 'gmodule-2.0>=2.20'
>> --   Found gmodule-2.0, version 2.54.3
>> -- Checking for module 'gthread-2.0>=2.20'
>> --   Found gthread-2.0, version 2.54.3
>> -- Checking for module 'libxml-2.0>=2.7.0'
>> --   Found libxml-2.0, version 2.9.7
>> -- Checking for module 'libxslt'
>> --   Found libxslt, version 1.1.32
>> -- Checking for module 'webkit2gtk-4.0'
>> --   Found webkit2gtk-4.0, version 2.24.1
>> -- Checking for module 'gtk+-3.0>=3.10.0'
>> --   Found gtk+-3.0, version 3.22.30
>> -- 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")
>> -- Using guile-2.0.x
>> -- Using guile SRFI-64
>> -- Checking for module 'gwenhywfar>=4.9.99'
>> --   Found gwenhywfar, version 4.18.0
>> -- Checking for module 'aqbanking>=5.3.4'
>> --   Found aqbanking, version 5.7.8
>> -- Checking for module 'gwengui-gtk3'
>> --   No package 'gwengui-gtk3' found
>> -- Checking for module 'libofx'
>> --   Found libofx, version 0.9.12
>> -- Performing Test HAVE_OFX_BUG_39
>> -- Performing Test HAVE_OFX_BUG_39 - Failed
>> -- Found LibXslt: xslt;xml2;m;xml2 (found version "1.1.32")
>> -- Found Perl: /usr/bin/perl (found version "5.26.1")
>> -- Checking for module 'icu-uc'
>> --   Found icu-uc, version 60.2
>> -- Checking for module 'icu-i18n'
>> --   Found icu-i18n, version 60.2
>> -- Checking for module 'libsecret-1>=0.18'
>> --   Found libsecret-1, version 0.18.5
>> -- Performing Test have_stringop_truncation
>> -- Performing Test have_stringop_truncation - Failed
>> -- 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 done
>> CMake Error at common/test-core/CMakeLists.txt:43 (add_library):
>>  Cannot find source file:
>> 
>>    /home/maf/src/gnucash-maint-csv-export/common/test-core/swig-unittest-
>> support-guile.c
>> 
>>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>  .hxx .in .txx
>> 
>> 
>> CMake Error at libgnucash/app-utils/CMakeLists.txt:94 (add_library):
>>  Cannot find source file:
>> 
>>    /home/maf/src/gnucash-maint-csv-export/libgnucash/app-utils/swig-app-
>> utils-guile.c
>> 
>>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>  .hxx .in .txx
>> 
>> 
>> CMake Error at libgnucash/core-utils/CMakeLists.txt:130 (add_library):
>>  Cannot find source file:
>> 
>>    /home/maf/src/gnucash-maint-csv-export/libgnucash/core-utils/swig-core-
>> utils-guile.c
>> 
>>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>  .hxx .in .txx
>> 
>> 
>> CMake Error at libgnucash/engine/CMakeLists.txt:225 (add_library):
>>  Cannot find source file:
>> 
>>    /home/maf/src/gnucash-maint-csv-export/libgnucash/engine/swig-engine.c
>> 
>>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>  .hxx .in .txx
>> 
>> 
>> CMake Error at libgnucash/gnc-module/CMakeLists.txt:21 (add_library):
>>  Cannot find source file:
>> 
>>    /home/maf/src/gnucash-maint-csv-export/libgnucash/gnc-module/swig-gnc-
>> module.c
>> 
>>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>  .hxx .in .txx
>> 
>> 
>> CMake Error at gnucash/gnome/CMakeLists.txt:126 (add_library):
>>  Cannot find source file:
>> 
>>    /home/maf/src/gnucash-maint-csv-export/gnucash/gnome/swig-gnome.c
>> 
>>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>  .hxx .in .txx
>> 
>> 
>> CMake Error at gnucash/gnome-utils/CMakeLists.txt:206 (add_library):
>>  Cannot find source file:
>> 
>>    /home/maf/src/gnucash-maint-csv-export/gnucash/gnome-utils/swig-gnome-
>> utils.c
>> 
>>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>  .hxx .in .txx
>> 
>> 
>> CMake Error at gnucash/html/CMakeLists.txt:37 (add_library):
>>  Cannot find source file:
>> 
>>    /home/maf/src/gnucash-maint-csv-export/gnucash/html/swig-gnc-html.c
>> 
>>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>  .hxx .in .txx
>> 
>> 
>> CMake Error at gnucash/report/report-gnome/CMakeLists.txt:26 (add_library):
>>  Cannot find source file:
>> 
>>    /home/maf/src/gnucash-maint-csv-export/gnucash/report/report-gnome/swig-
>> report-gnome.c
>> 
>>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>  .hxx .in .txx
>> 
>> 
>> CMake Error at gnucash/report/report-system/CMakeLists.txt:18 (add_library):
>> Cannot find source file:
>> 
>> 
>> /home/maf/src/gnucash-maint-csv-export/gnucash/report/report-system/swig-
>> report-system.c
>> 
>>  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
>>  .hxx .in .txx
>> 
>> 
>> CMake Error: CMake can not determine linker language for target: test-core-
>> guile
>> CMake Error: Cannot determine link language for target "test-core-guile".
>> CMake Error: CMake can not determine linker language for target: gncmod-app-
>> utils
>> CMake Error: Cannot determine link language for target "gncmod-app-utils".
>> CMake Error: CMake can not determine linker language for target: gnc-core-
>> utils
>> CMake Error: Cannot determine link language for target "gnc-core-utils".
>> CMake Error: CMake can not determine linker language for target:
>> gncmod-engine CMake Error: Cannot determine link language for target
>> "gncmod-engine". CMake Error: CMake can not determine linker language for
>> target: gnc-module CMake Error: Cannot determine link language for target
>> "gnc-module". CMake Error: CMake can not determine linker language for
>> target: gnc-gnome CMake Error: Cannot determine link language for target
>> "gnc-gnome". CMake Error: CMake can not determine linker language for
>> target: gncmod-gnome- utils
>> CMake Error: Cannot determine link language for target "gncmod-gnome-utils".
>> CMake Error: CMake can not determine linker language for target:
>> gncmod-html CMake Error: Cannot determine link language for target
>> "gncmod-html". CMake Error: CMake can not determine linker language for
>> target: gncmod- report-gnome
>> CMake Error: Cannot determine link language for target
>> "gncmod-report-gnome". CMake Error: CMake can not determine linker language
>> for target: gncmod- report-system
>> CMake Error: Cannot determine link language for target
>> "gncmod-report-system". -- Generating done
>> -- Build files have been written to: /home/maf/src/build-gc-vat
>> maf at janus:~/src/build-gc-vat>
> 
> 
> 
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel



More information about the gnucash-devel mailing list