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

error: failed to run custom build command for libduckdb-sys v0.9.2 #371

Open
ArunGust opened this issue Aug 14, 2024 · 1 comment
Open

Comments

@ArunGust
Copy link

ArunGust commented Aug 14, 2024

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: [email protected]: c++: fatal error: Killed signal terminated program cc1plus
warning: [email protected]: compilation terminated.
warning: [email protected]: 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: [email protected]: c++: fatal error: Killed signal terminated program cc1plus
warning: [email protected]: compilation terminated.
warning: [email protected]: 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).

@ArunGust ArunGust reopened this Aug 19, 2024
@ArunGust
Copy link
Author

OS image issue

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

1 participant