[06:43:56] fresh built a 20.04 and same issue [14:11:24] does that work now for you? [14:11:27] @salmonskinroll [15:33:31] now it requries cmake [15:34:29] CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GMP_INCLUDES (ADVANCED) used as include directory in directory /home/bluefintuna/navcoin-core/src/bls/src used as include directory in directory /home/bluefintuna/navcoin-core/src/bls/src used as include directory in directory [15:34:29] /home/bluefintuna/navcoin-core/src/bls/src used as include directory in directory /home/bluefintuna/navcoin-core/src/bls/src used as include directory in directory /home/bluefintuna/navcoin-core/src/bls/src used as include directory in directory /home/bluefintuna/navcoin-core/src/bls/src used as include directory in directory /home/bluefintuna/navcoin-core/src/bls/src used as include directory in directory [15:34:30] /home/bluefintuna/navcoin-core/src/bls/src used as include directory in directory /home/bluefintuna/navcoin-core/src/bls/src used as include directory in directory /home/bluefintuna/navcoin-core/src/bls/src used as include directory in directory /home/bluefintuna/navcoin-core/src/bls/src -- Configuring incomplete, errors occurred! See also "/home/bluefintuna/navcoin-core/src/bls/build/CMakeFiles/CMakeOutput.log". See also [15:34:30] "/home/bluefintuna/navcoin-core/src/bls/build/CMakeFiles/CMakeError.log". bluefintuna@bluefintuna-VirtualBox:~/navcoin-core$ vim src/bls/build/CMakeFiles/CMakeError.log [15:35:06] Change Dir: /home/bluefintuna/navcoin-core/src/bls/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_bc4d9/fast && /usr/bin/make -f CMakeFiles/cmTC_bc4d9.dir/build.make CMakeFiles/cmTC_bc4d9.dir/build make[1]: Entering directory '/home/bluefintuna/navcoin-core/src/bls/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bc4d9.dir/src.c.o /usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -fPIE -o [15:35:06] CMakeFiles/cmTC_bc4d9.dir/src.c.o -c /home/bluefintuna/navcoin-core/src/bls/build/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_bc4d9 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bc4d9.dir/link.txt --verbose=1 /usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -rdynamic CMakeFiles/cmTC_bc4d9.dir/src.c.o -o cmTC_bc4d9 /usr/bin/ld: CMakeFiles/cmTC_bc4d9.dir/src.c.o: in function `main': src.c:(.text+0x46): undefined reference to [15:35:07] `pthread_create' /usr/bin/ld: src.c:(.text+0x52): undefined reference to `pthread_detach' /usr/bin/ld: src.c:(.text+0x63): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status make[1]: *** [CMakeFiles/cmTC_bc4d9.dir/build.make:87: cmTC_bc4d9] Error 1 make[1]: Leaving directory '/home/bluefintuna/navcoin-core/src/bls/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_bc4d9/fast] Error 2 [15:35:20] Source file was: #include void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: [15:35:21] /home/bluefintuna/navcoin-core/src/bls/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make cmTC_e8de5/fast && /usr/bin/make -f CMakeFiles/cmTC_e8de5.dir/build.make CMakeFiles/cmTC_e8de5.dir/build make[1]: Entering directory '/home/bluefintuna/navcoin-core/src/bls/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_e8de5.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -fPIE -o [15:35:21] CMakeFiles/cmTC_e8de5.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.16/Modules/CheckFunctionExists.c Linking C executable cmTC_e8de5 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e8de5.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_e8de5.dir/CheckFunctionExists.c.o -o cmTC_e8de5 -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status [15:35:22] make[1]: *** [CMakeFiles/cmTC_e8de5.dir/build.make:87: cmTC_e8de5] Error 1 make[1]: Leaving directory '/home/bluefintuna/navcoin-core/src/bls/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_e8de5/fast] Error 2 [15:35:22] @aguycalled [19:09:47] try sudo apt install libgmp-dev [19:19:17] -- Configured operating system: LINUX -- Compiler flags: -pipe -std=c99 -m64 -Wall -O3 -funroll-loops -fomit-frame-pointer -pthread -- Linker flags: -L/home/bluefintuna/navcoin-core/src/bls/build/_deps/chia-relic-src/src/low/easy/ -static -- Configured /home/bluefintuna/navcoin-core/src/bls/build/_deps/chia-relic-src/include/relic_conf.h.in CMake Error at build/_deps/pybind11-src/tools/FindPythonLibsNew.cmake:96 (message): [19:19:18] Python config failure: Traceback (most recent call last): File "", line 1, in ImportError: cannot import name 'sysconfig' from 'distutils' (/usr/lib/python3.8/distutils/init.py) [19:19:46] sudo apt install python3-distutils [19:20:35] -- Could NOT find sodium (missing: sodium_LIBRARY_RELEASE sodium_LIBRARY_DEBUG sodium_INCLUDE_DIR) GMP_INCLUDES=/usr/include/x86_64-linux-gnu [19:20:39] noticec that [19:20:45] will try python [19:21:07] sudo apt install libsodium-dev [19:21:49] so i bascually just missed a bunch of packages [19:22:16] should not be necessary, it should be enough with the depends build so something to look at [19:23:16] Seems to be building now [19:23:21] Will let u know [19:23:25] Thanks for the help [19:23:30] 👍 [19:26:32] /home/bluefintuna/navcoin-core/src/bls/build/_deps/pybind11-src/include/pybind11/detail/common.h:112:10: fatal error: Python.h: No such file or directory 112 | #include | ^~~~~~~~~~ compilation terminated. [19:27:00] is it lower case? [19:27:15] sudo apt install python3-dev [19:32:28] [ 99%] Built target bls [ 99%] Linking CXX shared module blspy.cpython-38-x86_64-linux-gnu.so /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libsodium.a(libsodium_la-randombytes.o): relocation R_X86_64_PC32 against symbol `randombytes_sysrandom_implementation' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[3]: [19:32:29] [python-bindings/CMakeFiles/blspy.dir/build.make:88: python-bindings/blspy.cpython-38-x86_64-linux-gnu.so] Error 1 make[3]: Leaving directory '/home/bluefintuna/navcoin-core/src/bls/build' make[2]: [CMakeFiles/Makefile2:374: python-bindings/CMakeFiles/blspy.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [19:40:00] https://github.com/Chia-Network/bls-signatures/issues/133 [19:42:42] I'll try 18.04 I guess. You said it's working on osx? [19:42:55] yes it builds for me [20:07:06] Same in 18.04.