Open ArunGust opened 3 months ago
I got below error after comping sample . Can someone please help ? I Environment : 2 GB Memory / 60 GB Disk / Ubuntu 22.04 (LTS) x64 Compiling libduckdb-sys v0.9.2 The following warnings were emitted during compilation:
warning: libduckdb-sys@0.9.2: c++: fatal error: Killed signal terminated program cc1plus warning: libduckdb-sys@0.9.2: compilation terminated. warning: libduckdb-sys@0.9.2: ToolExecError: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/third_party/hyperloglog" "-std=c++11" "-w" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out/239a61d5cb207136-ub_src_common.o" "-c" "duckdb/ub_src_common.cpp" with args c++ did not execute successfully (status code exit status: 1). warning: libduckdb-sys@0.9.2: c++: fatal error: Killed signal terminated program cc1plus warning: libduckdb-sys@0.9.2: compilation terminated. warning: libduckdb-sys@0.9.2: ToolExecError: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/third_party/hyperloglog" "-std=c++11" "-w" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out/239a61d5cb207136-ub_src_storage_serialization.o" "-c" "duckdb/ub_src_storage_serialization.cpp" with args c++ did not execute successfully (status code exit status: 1).
error: failed to run custom build command for libduckdb-sys v0.9.2
libduckdb-sys v0.9.2
Caused by: process didn't exit successfully: /home/admins/app/testdb/target/debug/build/libduckdb-sys-2d7e3621e68f5034/build-script-build (exit status: 1) --- stdout cargo:rerun-if-changed=duckdb/manifest.json cargo:rerun-if-changed=duckdb.tar.gz OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) TARGET = Some(x86_64-unknown-linux-gnu) OPT_LEVEL = Some(0) HOST = Some(x86_64-unknown-linux-gnu) cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu CXX_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu CXX_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXX HOST_CXX = None cargo:rerun-if-env-changed=CXX CXX = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT RUSTC_WRAPPER = None cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some(true) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/third_party/hyperloglog" "-std=c++11" "-w" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out/239a61d5cb207136-ub_src_storage_serialization.o" "-c" "duckdb/ub_src_storage_serialization.cpp" with args c++ did not execute successfully (status code exit status: 1).
/home/admins/app/testdb/target/debug/build/libduckdb-sys-2d7e3621e68f5034/build-script-build
OS image issue
I got below error after comping sample . Can someone please help ? I Environment : 2 GB Memory / 60 GB Disk / Ubuntu 22.04 (LTS) x64 Compiling libduckdb-sys v0.9.2 The following warnings were emitted during compilation:
warning: libduckdb-sys@0.9.2: c++: fatal error: Killed signal terminated program cc1plus warning: libduckdb-sys@0.9.2: compilation terminated. warning: libduckdb-sys@0.9.2: ToolExecError: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/third_party/hyperloglog" "-std=c++11" "-w" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out/239a61d5cb207136-ub_src_common.o" "-c" "duckdb/ub_src_common.cpp" with args c++ did not execute successfully (status code exit status: 1). warning: libduckdb-sys@0.9.2: c++: fatal error: Killed signal terminated program cc1plus warning: libduckdb-sys@0.9.2: compilation terminated. warning: libduckdb-sys@0.9.2: ToolExecError: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/third_party/hyperloglog" "-std=c++11" "-w" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out/239a61d5cb207136-ub_src_storage_serialization.o" "-c" "duckdb/ub_src_storage_serialization.cpp" with args c++ did not execute successfully (status code exit status: 1).
error: failed to run custom build command for
libduckdb-sys v0.9.2
Caused by: process didn't exit successfully:
/home/admins/app/testdb/target/debug/build/libduckdb-sys-2d7e3621e68f5034/build-script-build
(exit status: 1) --- stdout cargo:rerun-if-changed=duckdb/manifest.json cargo:rerun-if-changed=duckdb.tar.gz OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) TARGET = Some(x86_64-unknown-linux-gnu) OPT_LEVEL = Some(0) HOST = Some(x86_64-unknown-linux-gnu) cargo:rerun-if-env-changed=CXX_x86_64-unknown-linux-gnu CXX_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXX_x86_64_unknown_linux_gnu CXX_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXX HOST_CXX = None cargo:rerun-if-env-changed=CXX CXX = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT RUSTC_WRAPPER = None cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None DEBUG = Some(true) CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None OUT_DIR = Some(/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out) cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2) cargo:rerun-if-env-changed=CXXFLAGS_x86_64-unknown-linux-gnu CXXFLAGS_x86_64-unknown-linux-gnu = None cargo:rerun-if-env-changed=CXXFLAGS_x86_64_unknown_linux_gnu CXXFLAGS_x86_64_unknown_linux_gnu = None cargo:rerun-if-env-changed=HOST_CXXFLAGS HOST_CXXFLAGS = None cargo:rerun-if-env-changed=CXXFLAGS CXXFLAGS = None error occurred: Command "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/third_party/hyperloglog" "-std=c++11" "-w" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/home/admins/app/testdb/target/debug/build/libduckdb-sys-3cba44153cf97020/out/239a61d5cb207136-ub_src_storage_serialization.o" "-c" "duckdb/ub_src_storage_serialization.cpp" with args c++ did not execute successfully (status code exit status: 1).