Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed build #67

Closed
IntinteDAO opened this issue Nov 7, 2020 · 16 comments
Closed

Failed build #67

IntinteDAO opened this issue Nov 7, 2020 · 16 comments
Assignees

Comments

@IntinteDAO
Copy link

Debian Sid. If you need any info - just ask.


FAILED: src/25a6634@@greenaddress@sha/sqlite3_sqlite3.c.o 
gcc -Isrc/25a6634@@greenaddress@sha -Isrc -I../src -I. -I../ -I../subprojects/libwally-core-5776668e5dfa70f6c2d2ec8beaef319ba37beade/../../build-gcc/libwally-core/build/include -Isubprojects/autobahn-cpp-bf40951174ab34b0202a0bab4c200237ee4d6e71 -I../subprojects/autobahn-cpp-bf40951174ab34b0202a0bab4c200237ee4d6e71 -I../subprojects/boost_1_72_0/../../build-gcc/boost/build/include -I../subprojects/GSL-7e99e76c9761d0d0b0848b91f8648830670ee872/include -I../subprojects/json-3.8.0/single_include -I../subprojects/msgpack-3.2.1/include -I../subprojects/openssl-OpenSSL_1_1_1g/../../build-gcc/openssl/build/include -Isubprojects/websocketpp-1026e877449aeee27e0bb51746a96ab42d133652 -I../subprojects/websocketpp-1026e877449aeee27e0bb51746a96ab42d133652 -I../subprojects/tor-tor-0.4.2.7/../../build-gcc/tor/src/feature/api -I../subprojects/zlib-1.2.11/../../build-gcc/zlib -I../subprojects/libevent-release-2.1.11-stable/../../build-gcc/libevent/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -Wextra -D_FORTIFY_SOURCE=2 -fasynchronous-unwind-tables -fexceptions -fstack-protector-strong -fvisibility=hidden -DGDK_BUILD -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -fPIC -pthread -MD -MQ 'src/25a6634@@greenaddress@sha/sqlite3_sqlite3.c.o' -MF 'src/25a6634@@greenaddress@sha/sqlite3_sqlite3.c.o.d' -o 'src/25a6634@@greenaddress@sha/sqlite3_sqlite3.c.o' -c ../src/sqlite3/sqlite3.c
../src/sqlite3/sqlite3.c: In function ‘sqlite3SelectNew’:
../src/sqlite3/sqlite3.c:129137:10: error: function may return address of local variable [-Werror=return-local-addr]
129137 |   return pNew;
       |          ^~~~
../src/sqlite3/sqlite3.c:129097:10: note: declared here
129097 |   Select standin;
       |          ^~~~~~~
../src/sqlite3/sqlite3.c:129097:10: note: declared here
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.

@IntinteDAO IntinteDAO changed the title Failed building Failed build Nov 7, 2020
@jgriffiths
Copy link
Contributor

Hi, this is a false positive, your gcc version is probably too old to notice that this path cant happen.

Can you try building either optimised instead of debug, or with clang?

@IntinteDAO
Copy link
Author

IntinteDAO commented Nov 9, 2020

My GCC version is 10.2.0, but works with clang

I have a stupid question. I thought that GDK is the same as a pack of greenaddresses for Python 3, but not (?). I built "Java and Python wrappers", but Green CLI does not detect it as a pack of greenaddresses. What should I do?

Traceback (most recent call last):
  File "/usr/local/bin/green-cli", line 5, in <module>
    from green_cli.green import main
  File "/usr/local/lib/python3.8/dist-packages/green_cli/green.py", line 18, in <module>
    import greenaddress as gdk
ModuleNotFoundError: No module named 'greenaddress'
ninja: Entering directory `build-clang'
[1/2] Installing files.
Installing src/libgreenaddress.so to /usr/local/lib
Stripping target 'src/libgreenaddress.so'
Installing src/libgreenaddress.a to /usr/local/lib
Stripping target 'src/libgreenaddress.a'
Installing src/libgreenaddress_full.a to /usr/local/lib
Installing src/libgreenaddress.syms to /usr/local/lib
This file does not have an rpath.
This file does not have a runpath.
Installing /home/fervi/green_cli/gdk/src/../include/gdk.h to /usr/local/include/gdk
Installing /home/fervi/green_cli/gdk/src/../include/wally_wrapper.h to /usr/local/include/gdk
Installing /home/fervi/green_cli/gdk/build-clang/libwally-core/build/include/wally_address.h to /usr/local/include/gdk/libwally-core
Installing /home/fervi/green_cli/gdk/build-clang/libwally-core/build/include/wally_bip32.h to /usr/local/include/gdk/libwally-core
Installing /home/fervi/green_cli/gdk/build-clang/libwally-core/build/include/wally_bip38.h to /usr/local/include/gdk/libwally-core
Installing /home/fervi/green_cli/gdk/build-clang/libwally-core/build/include/wally_bip39.h to /usr/local/include/gdk/libwally-core
Installing /home/fervi/green_cli/gdk/build-clang/libwally-core/build/include/wally_core.h to /usr/local/include/gdk/libwally-core
Installing /home/fervi/green_cli/gdk/build-clang/libwally-core/build/include/wally_crypto.h to /usr/local/include/gdk/libwally-core
Installing /home/fervi/green_cli/gdk/build-clang/libwally-core/build/include/wally_elements.h to /usr/local/include/gdk/libwally-core
Installing /home/fervi/green_cli/gdk/build-clang/libwally-core/build/include/wally_script.h to /usr/local/include/gdk/libwally-core
Installing /home/fervi/green_cli/gdk/build-clang/libwally-core/build/include/wally_transaction.h to /usr/local/include/gdk/libwally-core
Installing /home/fervi/green_cli/gdk/src/../include/module.modulemap to /usr/local/include/gdk
Installing /home/fervi/green_cli/gdk/src/swift/GreenAddress/Sources/GreenAddress/GreenAddress.swift to /usr/local/share/gdk

@jgriffiths
Copy link
Contributor

jgriffiths commented Nov 10, 2020

I'm confused by what you are trying to do.

To use green-cli you should just pip install -r requirements.txt as per its README, that should install gdk automatically.

To build your own copy of gdk, use ./tools/build.sh as per its README. if you pass --install /path/to/some/dir and have enabled python then you should find a wheel file there which you can pip install for use with green-cli or your own python code.

Make sure you know which venv you are working in when installing different libraries for different purposes.

@IntinteDAO
Copy link
Author

To use green-cli you should just pip install -r requirements.txt as per its README, that should install gdk automatically.

Yep, but it's for outdated version of Python. On Debian you have Python 3.8, the newest version is 3.9, but GDK repository have 3.7 only.

ERROR: Could not find a version that satisfies the requirement greenaddress (from green-cli==0.1) (from versions: none)
ERROR: No matching distribution found for greenaddress (from green-cli==0.1)

So I try to build gdk for Python to use Green CLI, but it's very ... hard?

Well, I should use Python 3.7 probably and binaries.

@jgriffiths
Copy link
Contributor

Yep, but it's for outdated version of Python. On Debian you have Python 3.8, the newest version is 3.9, but GDK repository have 3.7 only.

OK, this should be fixed fairly soon by the adoption of manylinux support from libwally.

So I try to build gdk for Python to use Green CLI, but it's very ... hard?

Please download the master branch and try mkdir foo; ./tools/build.sh ---clang --python-version=3.8 --install $PWD/foo; ls foo/*.whl.

Assuming the wheel file is found you can pip install it into your green-cli virtualenv and remove it from the requirements.txt file.

@IntinteDAO
Copy link
Author

@jgriffiths Thanks for helping :P But maybe something need to be fixed in code (or what should I do). Doesn't work with 0.0.35 and master branch

Dependency external_tor from subproject subprojects/tor found: YES
Message: Disabled JNI bindings
Message: Building Python bindings...
Compiler for C++ supports arguments -Wno-error=cast-function-type: NO
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES
Program /home/fervi/gdk/tools/install_python.sh found: YES (/home/fervi/gdk/tools/install_python.sh)
Build targets in project: 7
Found ninja-1.10.1 at /usr/bin/ninja
ninja: Entering directory `build-clang'
[28/31] Linking target src/libgreenaddress.so.
FAILED: src/libgreenaddress.so
clang++  -o src/libgreenaddress.so 'src/25a6634@@greenaddress@sha/amount.cpp.o' 'src/25a6634@@greenaddress@sha/assertion.cpp.o' 'src/25a6634@@greenaddress@sha/containers.cpp.o' 'src/25a6634@@greenaddress@sha/exception.cpp.o' 'src/25a6634@@greenaddress@sha/ffi_c.cpp.o' 'src/25a6634@@greenaddress@sha/ga_auth_handlers.cpp.o' 'src/25a6634@@greenaddress@sha/ga_cache.cpp.o' 'src/25a6634@@greenaddress@sha/ga_wally.cpp.o' 'src/25a6634@@greenaddress@sha/ga_session.cpp.o' 'src/25a6634@@greenaddress@sha/ga_strings.cpp.o' 'src/25a6634@@greenaddress@sha/ga_tor.cpp.o' 'src/25a6634@@greenaddress@sha/ga_tx.cpp.o' 'src/25a6634@@greenaddress@sha/http_client.cpp.o' 'src/25a6634@@greenaddress@sha/network_parameters.cpp.o' 'src/25a6634@@greenaddress@sha/session.cpp.o' 'src/25a6634@@greenaddress@sha/signer.cpp.o' 'src/25a6634@@greenaddress@sha/socks_client.cpp.o' 'src/25a6634@@greenaddress@sha/sqlite3_sqlite3.c.o' 'src/25a6634@@greenaddress@sha/transaction_utils.cpp.o' 'src/25a6634@@greenaddress@sha/tx_list_cache.cpp.o' 'src/25a6634@@greenaddress@sha/utils.cpp.o' 'src/25a6634@@greenaddress@sha/xpub_hdkey.cpp.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libgreenaddress.so -Wl,--whole-archive src/swig_python/libswig_python.a -Wl,--no-whole-archive -fuse-ld=gold -ldl -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--whole-archive /home/fervi/gdk/build-clang/libwally-core/build/lib/libwallycore.a -Wl,--no-whole-archive /home/fervi/gdk/build-clang/libwally-core/build/lib/libsecp256k1.a /home/fervi/gdk/build-clang/boost/build/lib/libboost_chrono.a /home/fervi/gdk/build-clang/boost/build/lib/libboost_log.a /home/fervi/gdk/build-clang/boost/build/lib/libboost_system.a /home/fervi/gdk/build-clang/boost/build/lib/libboost_thread.a /home/fervi/gdk/build-clang/openssl/build/lib/libssl.a /home/fervi/gdk/build-clang/openssl/build/lib/libcrypto.a /home/fervi/gdk/build-clang/zlib/libz.a /home/fervi/gdk/build-clang/libevent/build/lib/libevent_core.a /home/fervi/gdk/build-clang/libevent/build/lib/libevent_pthreads.a /home/fervi/gdk/build-clang/libevent/build/lib/libevent_extra.a /home/fervi/gdk/build-clang/tor/src/core/libtor-app.a /home/fervi/gdk/build-clang/tor/src/ext/ed25519/donna/libed25519_donna.a /home/fervi/gdk/build-clang/tor/src/ext/ed25519/ref10/libed25519_ref10.a /home/fervi/gdk/build-clang/tor/src/ext/keccak-tiny/libkeccak-tiny.a /home/fervi/gdk/build-clang/tor/src/lib/libcurve25519_donna.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-buf.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-compress.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-confmgt.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-container.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-crypt-ops.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-ctime.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-dispatch.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-encoding.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-err.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-evloop.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-fdio.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-fs.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-geoip.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-intmath.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-lock.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-log.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-malloc.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-math.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-memarea.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-meminfo.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-net.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-osinfo.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-process.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-pubsub.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-sandbox.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-smartlist-core.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-string.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-term.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-thread.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-time.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-tls.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-trace.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-version.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-wallclock.a /home/fervi/gdk/build-clang/tor/src/trunnel/libor-trunnel.a -pthread -lm -latomic -latomic -Wl,--end-group
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyUnicode_FromString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyDict_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyType_Ready'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyType_Ready'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyModule_Create2'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyModule_GetDict'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyCapsule_Import'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyErr_Occurred'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyErr_Clear'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyImport_AddModule'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyCapsule_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyModule_AddObject'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to '_Py_Dealloc'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyLong_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyDict_SetItemString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to '_Py_Dealloc'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyLong_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyDict_SetItemString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to '_Py_Dealloc'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyLong_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyDict_SetItemString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to '_Py_Dealloc'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyLong_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyDict_SetItemString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyEval_InitThreads'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_PyInstanceMethod_New: error: undefined reference to 'PyCFunction_Type'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_PyInstanceMethod_New: error: undefined reference to 'PyInstanceMethod_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_PyInstanceMethod_New: error: undefined reference to 'PyCFunction_NewEx'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'PyEval_SaveThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'PyEval_RestoreThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'PyExc_RuntimeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'PyExc_RuntimeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to '_Py_NoneStruct'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'Py_IncRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'PyErr_SetString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyExc_SystemError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyExc_TypeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyErr_Format'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyEval_SaveThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyEval_RestoreThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyExc_RuntimeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyExc_RuntimeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to '_Py_NoneStruct'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'Py_IncRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to '_Py_NoneStruct'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'Py_DecRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyCapsule_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyErr_SetString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to '_Py_NoneStruct'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to 'PyCapsule_GetPointer'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to 'PyEval_SaveThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to 'PyEval_RestoreThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to 'Py_IncRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to 'PyErr_SetString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_connect: error: undefined reference to 'PyCapsule_GetPointer'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_connect: error: undefined reference to 'PyEval_SaveThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_connect: error: undefined reference to 'PyEval_RestoreThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_connect: error: undefined reference to 'Py_IncRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_connect: error: undefined reference to 'PyErr_SetString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_disconnect: error: undefined reference to 'PyCapsule_GetPointer'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_reconnect_hint: error: undefined reference to 'PyCapsule_GetPointer'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_tor_socks5: error: undefined reference to 'Py_DecRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_tor_socks5: error: undefined reference to 'PyUnicode_FromString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_http_request: error: undefined reference to 'Py_DecRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_http_request: error: undefined reference to 'PyUnicode_FromString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_refresh_assets: error: undefined reference to 'Py_DecRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_refresh_assets: error: undefined reference to 'PyUnicode_FromString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_register_user: error: undefined reference to 'PyGILState_Ensure'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_register_user: error: undefined reference to 'PyGILState_Release'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_register_user: error: undefined reference to 'PyCapsule_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login: error: undefined reference to 'PyGILState_Ensure'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login: error: undefined reference to 'PyGILState_Ensure'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login: error: undefined reference to 'PyGILState_Release'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login: error: undefined reference to 'PyCapsule_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login_with_pin: error: undefined reference to 'PyGILState_Ensure'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login_with_pin: error: undefined reference to 'PyGILState_Release'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_set_watch_only: error: undefined reference to 'PyGILState_Release'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_subaccount: error: undefined reference to 'PyExc_TypeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_subaccount: error: undefined reference to 'PyLong_AsUnsignedLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_subaccount: error: undefined reference to 'PyErr_Occurred'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_subaccount: error: undefined reference to 'PyErr_Clear'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_subaccount: error: undefined reference to 'PyExc_OverflowError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_rename_subaccount: error: undefined reference to 'PyExc_TypeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_rename_subaccount: error: undefined reference to 'PyLong_AsUnsignedLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_rename_subaccount: error: undefined reference to 'PyErr_Occurred'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_rename_subaccount: error: undefined reference to 'PyErr_Clear'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_rename_subaccount: error: undefined reference to 'PyExc_OverflowError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_unspent_outputs_for_private_key: error: undefined reference to 'PyExc_TypeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_unspent_outputs_for_private_key: error: undefined reference to 'PyLong_AsUnsignedLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_unspent_outputs_for_private_key: error: undefined reference to 'PyErr_Occurred'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_unspent_outputs_for_private_key: error: undefined reference to 'PyErr_Clear'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_unspent_outputs_for_private_key: error: undefined reference to 'PyExc_OverflowError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_set_transaction_memo: error: undefined reference to 'PyLong_AsUnsignedLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_set_transaction_memo: error: undefined reference to 'PyExc_OverflowError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_random_bytes: error: undefined reference to 'PyObject_GetBuffer'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_random_bytes: error: undefined reference to 'PyBuffer_Release'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_generate_mnemonic: error: undefined reference to 'PyExc_SystemError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_generate_mnemonic: error: undefined reference to 'PyErr_Format'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_generate_mnemonic_12: error: undefined reference to 'PyExc_SystemError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_generate_mnemonic_12: error: undefined reference to 'PyErr_Format'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_networks: error: undefined reference to 'PyExc_SystemError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_networks: error: undefined reference to 'PyErr_Format'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap__python_set_callback_handler: error: undefined reference to 'PyCapsule_SetContext'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function python_string_to_GA_json: error: undefined reference to 'PyUnicode_AsEncodedString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function python_string_to_GA_json: error: undefined reference to 'PyBytes_AsString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function python_string_to_GA_json: error: undefined reference to 'PyExc_UnicodeEncodeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyType_Ready'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyObject_GetAttr'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyType_Ready'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyUnicode_AsUTF8String'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyBytes_AsStringAndSize'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyDict_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyDict_GetItem'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyCapsule_Import'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyBytes_AsStringAndSize'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyDict_SetItem'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function notification_handler: error: undefined reference to 'PyCapsule_GetContext'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function notification_handler: error: undefined reference to 'Py_BuildValue'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function notification_handler: error: undefined reference to 'PyEval_CallObjectWithKeywords'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyPacked_dealloc: error: undefined reference to 'PyObject_Free'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyPacked_repr: error: undefined reference to 'PyUnicode_FromFormat'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyPacked_repr: error: undefined reference to 'PyUnicode_FromFormat'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyPacked_str: error: undefined reference to 'PyUnicode_FromFormat'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_long: error: undefined reference to 'PyLong_FromVoidPtr'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyErr_Fetch'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyObject_Malloc'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyObject_Init'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyObject_CallFunctionObjArgs'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyObject_Free'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyErr_Restore'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyErr_WriteUnraisable'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyErr_Restore'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_repr: error: undefined reference to 'PyUnicode_FromFormat'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_repr: error: undefined reference to 'PyUnicode_Concat'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_richcompare: error: undefined reference to 'PyBool_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_richcompare: error: undefined reference to '_Py_NotImplementedStruct'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_own: error: undefined reference to 'PyArg_UnpackTuple'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_own: error: undefined reference to 'PyBool_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_own: error: undefined reference to 'PyObject_IsTrue'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x90): error: undefined reference to 'PyObject_GenericGetAttr'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x230): error: undefined reference to 'PyObject_GenericGetAttr'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x340): error: undefined reference to 'PyExc_MemoryError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x348): error: undefined reference to 'PyExc_AttributeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x358): error: undefined reference to 'PyExc_ValueError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x360): error: undefined reference to 'PyExc_SyntaxError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x370): error: undefined reference to 'PyExc_ZeroDivisionError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x380): error: undefined reference to 'PyExc_IndexError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x390): error: undefined reference to 'PyExc_IOError'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[29/31] Generating archiver with a custom command.
ninja: build stopped: subcommand failed.

@jgriffiths
Copy link
Contributor

@IntinteDAO It seems that the python dependency has not attempted to link the python library, which gdk currently expects to be able to do.

This is in fact the 'proper' way to build python modules, and is required for manylinux support (e.g. pypy releases of gdk). But currently the build system expects to link the shared library with no undefined symbols, so that the library can be used from both python and C/C++.

In your case I don't know if thats because your version of meson combined with our quite non-standard module building is the issue, or because you don't have the dependencies installed where meson expects them.

Can you apply #71 to your master branch and re-try the build? If that fails please pastebin the full build output including the command line you used and link it here, thanks.

@IntinteDAO
Copy link
Author

https://pastebin.com/G2MK2Sx9

I just download your fork of gdk and change branch, but should be ok. If you want access to my server (to check it manually) I can give you

@jgriffiths
Copy link
Contributor

Thanks for that - can you pastebin the build-clang/meson-logs/meson-log.txt file?

@IntinteDAO
Copy link
Author

@jgriffiths
Copy link
Contributor

Hi @IntinteDAO I've updated #71 to hopefully ensure that the dependency includes libpython, the lack of which being the cause of your build failure. Can you try the updated PR?

@IntinteDAO
Copy link
Author

IntinteDAO commented Nov 16, 2020

The problem is probably the same, but I have libpython3.8-dev and libpython3.8 in my system. Maybe some Python3.8 regression?

Dependency external_tor from subproject subprojects/tor found: YES
Message: Disabled JNI bindings
Message: Building Python bindings...
Compiler for C++ supports arguments -Wno-error=cast-function-type: NO 
Compiler for C++ supports arguments -Wno-missing-field-initializers: YES 
Program /home/fervi/gdk/tools/install_python.sh found: YES (/home/fervi/gdk/tools/install_python.sh)
Build targets in project: 7
Found ninja-1.10.1 at /usr/bin/ninja
ninja: Entering directory `build-clang'
[28/31] Linking target src/libgreenaddress.so.
FAILED: src/libgreenaddress.so 
clang++  -o src/libgreenaddress.so 'src/25a6634@@greenaddress@sha/amount.cpp.o' 'src/25a6634@@greenaddress@sha/assertion.cpp.o' 'src/25a6634@@greenaddress@sha/containers.cpp.o' 'src/25a6634@@greenaddress@sha/exception.cpp.o' 'src/25a6634@@greenaddress@sha/ffi_c.cpp.o' 'src/25a6634@@greenaddress@sha/ga_auth_handlers.cpp.o' 'src/25a6634@@greenaddress@sha/ga_cache.cpp.o' 'src/25a6634@@greenaddress@sha/ga_wally.cpp.o' 'src/25a6634@@greenaddress@sha/ga_session.cpp.o' 'src/25a6634@@greenaddress@sha/ga_strings.cpp.o' 'src/25a6634@@greenaddress@sha/ga_tor.cpp.o' 'src/25a6634@@greenaddress@sha/ga_tx.cpp.o' 'src/25a6634@@greenaddress@sha/http_client.cpp.o' 'src/25a6634@@greenaddress@sha/network_parameters.cpp.o' 'src/25a6634@@greenaddress@sha/session.cpp.o' 'src/25a6634@@greenaddress@sha/signer.cpp.o' 'src/25a6634@@greenaddress@sha/socks_client.cpp.o' 'src/25a6634@@greenaddress@sha/sqlite3_sqlite3.c.o' 'src/25a6634@@greenaddress@sha/transaction_utils.cpp.o' 'src/25a6634@@greenaddress@sha/tx_list_cache.cpp.o' 'src/25a6634@@greenaddress@sha/utils.cpp.o' 'src/25a6634@@greenaddress@sha/xpub_hdkey.cpp.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libgreenaddress.so -Wl,--whole-archive src/swig_python/libswig_python.a -Wl,--no-whole-archive -fuse-ld=gold -ldl -Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,--whole-archive /home/fervi/gdk/build-clang/libwally-core/build/lib/libwallycore.a -Wl,--no-whole-archive /home/fervi/gdk/build-clang/libwally-core/build/lib/libsecp256k1.a /home/fervi/gdk/build-clang/boost/build/lib/libboost_chrono.a /home/fervi/gdk/build-clang/boost/build/lib/libboost_log.a /home/fervi/gdk/build-clang/boost/build/lib/libboost_system.a /home/fervi/gdk/build-clang/boost/build/lib/libboost_thread.a /home/fervi/gdk/build-clang/openssl/build/lib/libssl.a /home/fervi/gdk/build-clang/openssl/build/lib/libcrypto.a /home/fervi/gdk/build-clang/zlib/libz.a /home/fervi/gdk/build-clang/libevent/build/lib/libevent_core.a /home/fervi/gdk/build-clang/libevent/build/lib/libevent_pthreads.a /home/fervi/gdk/build-clang/libevent/build/lib/libevent_extra.a /home/fervi/gdk/build-clang/tor/src/core/libtor-app.a /home/fervi/gdk/build-clang/tor/src/ext/ed25519/donna/libed25519_donna.a /home/fervi/gdk/build-clang/tor/src/ext/ed25519/ref10/libed25519_ref10.a /home/fervi/gdk/build-clang/tor/src/ext/keccak-tiny/libkeccak-tiny.a /home/fervi/gdk/build-clang/tor/src/lib/libcurve25519_donna.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-buf.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-compress.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-confmgt.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-container.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-crypt-ops.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-ctime.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-dispatch.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-encoding.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-err.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-evloop.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-fdio.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-fs.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-geoip.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-intmath.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-lock.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-log.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-malloc.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-math.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-memarea.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-meminfo.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-net.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-osinfo.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-process.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-pubsub.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-sandbox.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-smartlist-core.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-string.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-term.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-thread.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-time.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-tls.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-trace.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-version.a /home/fervi/gdk/build-clang/tor/src/lib/libtor-wallclock.a /home/fervi/gdk/build-clang/tor/src/trunnel/libor-trunnel.a -pthread -lm -latomic -latomic -Wl,--end-group
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyUnicode_FromString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyDict_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyType_Ready'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyType_Ready'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyModule_Create2'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyModule_GetDict'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyCapsule_Import'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyErr_Occurred'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyErr_Clear'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyImport_AddModule'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyCapsule_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyModule_AddObject'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to '_Py_Dealloc'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyLong_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyDict_SetItemString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to '_Py_Dealloc'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyLong_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyDict_SetItemString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to '_Py_Dealloc'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyLong_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyDict_SetItemString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to '_Py_Dealloc'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyLong_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyDict_SetItemString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function PyInit_libgreenaddress: error: undefined reference to 'PyEval_InitThreads'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_PyInstanceMethod_New: error: undefined reference to 'PyCFunction_Type'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_PyInstanceMethod_New: error: undefined reference to 'PyInstanceMethod_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_PyInstanceMethod_New: error: undefined reference to 'PyCFunction_NewEx'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'PyEval_SaveThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'PyEval_RestoreThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'PyExc_RuntimeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'PyExc_RuntimeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to '_Py_NoneStruct'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'Py_IncRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_init: error: undefined reference to 'PyErr_SetString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyExc_SystemError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyExc_TypeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyErr_Format'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyEval_SaveThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyEval_RestoreThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyExc_RuntimeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyExc_RuntimeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to '_Py_NoneStruct'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'Py_IncRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to '_Py_NoneStruct'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'Py_DecRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyCapsule_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_create_session: error: undefined reference to 'PyErr_SetString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to '_Py_NoneStruct'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to 'PyCapsule_GetPointer'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to 'PyEval_SaveThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to 'PyEval_RestoreThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to 'Py_IncRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_destroy_session: error: undefined reference to 'PyErr_SetString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_connect: error: undefined reference to 'PyCapsule_GetPointer'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_connect: error: undefined reference to 'PyEval_SaveThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_connect: error: undefined reference to 'PyEval_RestoreThread'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_connect: error: undefined reference to 'Py_IncRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_connect: error: undefined reference to 'PyErr_SetString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_disconnect: error: undefined reference to 'PyCapsule_GetPointer'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_reconnect_hint: error: undefined reference to 'PyCapsule_GetPointer'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_tor_socks5: error: undefined reference to 'Py_DecRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_tor_socks5: error: undefined reference to 'PyUnicode_FromString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_http_request: error: undefined reference to 'Py_DecRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_http_request: error: undefined reference to 'PyUnicode_FromString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_refresh_assets: error: undefined reference to 'Py_DecRef'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_refresh_assets: error: undefined reference to 'PyUnicode_FromString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_register_user: error: undefined reference to 'PyGILState_Ensure'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_register_user: error: undefined reference to 'PyGILState_Release'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_register_user: error: undefined reference to 'PyCapsule_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login: error: undefined reference to 'PyGILState_Ensure'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login: error: undefined reference to 'PyGILState_Ensure'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login: error: undefined reference to 'PyGILState_Release'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login: error: undefined reference to 'PyCapsule_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login_with_pin: error: undefined reference to 'PyGILState_Ensure'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_login_with_pin: error: undefined reference to 'PyGILState_Release'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_set_watch_only: error: undefined reference to 'PyGILState_Release'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_subaccount: error: undefined reference to 'PyExc_TypeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_subaccount: error: undefined reference to 'PyLong_AsUnsignedLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_subaccount: error: undefined reference to 'PyErr_Occurred'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_subaccount: error: undefined reference to 'PyErr_Clear'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_subaccount: error: undefined reference to 'PyExc_OverflowError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_rename_subaccount: error: undefined reference to 'PyExc_TypeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_rename_subaccount: error: undefined reference to 'PyLong_AsUnsignedLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_rename_subaccount: error: undefined reference to 'PyErr_Occurred'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_rename_subaccount: error: undefined reference to 'PyErr_Clear'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_rename_subaccount: error: undefined reference to 'PyExc_OverflowError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_unspent_outputs_for_private_key: error: undefined reference to 'PyExc_TypeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_unspent_outputs_for_private_key: error: undefined reference to 'PyLong_AsUnsignedLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_unspent_outputs_for_private_key: error: undefined reference to 'PyErr_Occurred'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_unspent_outputs_for_private_key: error: undefined reference to 'PyErr_Clear'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_unspent_outputs_for_private_key: error: undefined reference to 'PyExc_OverflowError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_set_transaction_memo: error: undefined reference to 'PyLong_AsUnsignedLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_set_transaction_memo: error: undefined reference to 'PyExc_OverflowError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_random_bytes: error: undefined reference to 'PyObject_GetBuffer'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_random_bytes: error: undefined reference to 'PyBuffer_Release'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_generate_mnemonic: error: undefined reference to 'PyExc_SystemError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_generate_mnemonic: error: undefined reference to 'PyErr_Format'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_generate_mnemonic_12: error: undefined reference to 'PyExc_SystemError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_generate_mnemonic_12: error: undefined reference to 'PyErr_Format'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_networks: error: undefined reference to 'PyExc_SystemError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap_get_networks: error: undefined reference to 'PyErr_Format'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function _wrap__python_set_callback_handler: error: undefined reference to 'PyCapsule_SetContext'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function python_string_to_GA_json: error: undefined reference to 'PyUnicode_AsEncodedString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function python_string_to_GA_json: error: undefined reference to 'PyBytes_AsString'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function python_string_to_GA_json: error: undefined reference to 'PyExc_UnicodeEncodeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyType_Ready'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyObject_GetAttr'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyType_Ready'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyUnicode_AsUTF8String'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyBytes_AsStringAndSize'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyDict_New'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyDict_GetItem'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyCapsule_Import'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyBytes_AsStringAndSize'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SWIG_AsCharPtrAndSize: error: undefined reference to 'PyDict_SetItem'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function notification_handler: error: undefined reference to 'PyCapsule_GetContext'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function notification_handler: error: undefined reference to 'Py_BuildValue'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function notification_handler: error: undefined reference to 'PyEval_CallObjectWithKeywords'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyPacked_dealloc: error: undefined reference to 'PyObject_Free'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyPacked_repr: error: undefined reference to 'PyUnicode_FromFormat'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyPacked_repr: error: undefined reference to 'PyUnicode_FromFormat'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyPacked_str: error: undefined reference to 'PyUnicode_FromFormat'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_long: error: undefined reference to 'PyLong_FromVoidPtr'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyErr_Fetch'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyObject_Malloc'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyObject_Init'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyObject_CallFunctionObjArgs'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyObject_Free'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyErr_Restore'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyErr_WriteUnraisable'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_dealloc: error: undefined reference to 'PyErr_Restore'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_repr: error: undefined reference to 'PyUnicode_FromFormat'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_repr: error: undefined reference to 'PyUnicode_Concat'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_richcompare: error: undefined reference to 'PyBool_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_richcompare: error: undefined reference to '_Py_NotImplementedStruct'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_own: error: undefined reference to 'PyArg_UnpackTuple'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_own: error: undefined reference to 'PyBool_FromLong'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o):gasdk_py_wrap.c:function SwigPyObject_own: error: undefined reference to 'PyObject_IsTrue'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x90): error: undefined reference to 'PyObject_GenericGetAttr'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x230): error: undefined reference to 'PyObject_GenericGetAttr'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x340): error: undefined reference to 'PyExc_MemoryError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x348): error: undefined reference to 'PyExc_AttributeError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x358): error: undefined reference to 'PyExc_ValueError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x360): error: undefined reference to 'PyExc_SyntaxError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x370): error: undefined reference to 'PyExc_ZeroDivisionError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x380): error: undefined reference to 'PyExc_IndexError'
src/swig_python/libswig_python.a(meson-generated_.._gasdk_py_wrap.c.o)(.data.rel.ro+0x390): error: undefined reference to 'PyExc_IOError'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[29/31] Generating archiver with a custom command.
ninja: build stopped: subcommand failed.

@jgriffiths
Copy link
Contributor

@IntinteDAO seems to be mesonbuild/meson#5629 - I've pushed an attempted work around to that PR if you could try again?

@jgriffiths
Copy link
Contributor

the travis OSX build moved to python 3.9 and the updated PR fixed the same issue there, so I'm closing this as the fix should work for you too @IntinteDAO.

I'll merge following code review, many thanks for your patience investigating this!

@jgriffiths jgriffiths self-assigned this Nov 16, 2020
@IntinteDAO
Copy link
Author

Works! :)

@jgriffiths
Copy link
Contributor

Fantastic, thanks for confirming :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants