Skip to content

Compling issue #1

@hangsuUNC

Description

@hangsuUNC

Hi,

Thanks for this nice tool! I was trying to build a docker using your crates "rust-spoa v0.2.4". However, I had an issue with error message:

#12 249.1 error: failed to run custom build command for `rust-spoa v0.2.4`
#12 249.1 
#12 249.1 Caused by:
#12 249.1   process didn't exit successfully: `/hidive/target/release/build/rust-spoa-9c5f236ca6233451/build-script-build` (exit status: 101)
#12 249.1   --- stdout
#12 249.1   CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
#12 249.1   CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
#12 249.1   HOST_CMAKE_TOOLCHAIN_FILE = None
#12 249.1   CMAKE_TOOLCHAIN_FILE = None
#12 249.1   CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
#12 249.1   CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
#12 249.1   HOST_CMAKE_GENERATOR = None
#12 249.1   CMAKE_GENERATOR = None
#12 249.1   CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
#12 249.1   CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
#12 249.1   HOST_CMAKE_PREFIX_PATH = None
#12 249.1   CMAKE_PREFIX_PATH = None
#12 249.1   CMAKE_x86_64-unknown-linux-gnu = None
#12 249.1   CMAKE_x86_64_unknown_linux_gnu = None
#12 249.1   HOST_CMAKE = None
#12 249.1   CMAKE = None
#12 249.1   running: cd "/hidive/target/release/build/rust-spoa-b5ced17d63087484/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rust-spoa-0.2.4/src/spoa" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/hidive/target/release/build/rust-spoa-b5ced17d63087484/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64 --target=x86_64-unknown-linux-gnu" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc"
#12 249.1   -- The CXX compiler identification is Clang 14.0.6
#12 249.1   -- Detecting CXX compiler ABI info
#12 249.1   -- Detecting CXX compiler ABI info - done
#12 249.1   -- Check for working CXX compiler: /usr/bin/c++ - skipped
#12 249.1   -- Detecting CXX compile features
#12 249.1   -- Detecting CXX compile features - done
#12 249.1   -- Configuring done
#12 249.1   -- Generating done
#12 249.1   -- Build files have been written to: /hidive/target/release/build/rust-spoa-b5ced17d63087484/out/build
#12 249.1   running: cd "/hidive/target/release/build/rust-spoa-b5ced17d63087484/out/build" && MAKEFLAGS="-j --jobserver-fds=13,16 --jobserver-auth=13,16" "cmake" "--build" "." "--target" "install" "--config" "Release"
#12 249.1   [ 20%] Building CXX object CMakeFiles/spoa.dir/src/alignment_engine.cpp.o
#12 249.1 
#12 249.1   --- stderr
#12 249.1   CMake Warning:
#12 249.1     Manually-specified variables were not used by the project:
#12 249.1 
#12 249.1       CMAKE_ASM_COMPILER
#12 249.1       CMAKE_ASM_FLAGS
#12 249.1       CMAKE_C_COMPILER
#12 249.1       CMAKE_C_FLAGS
#12 249.1 
#12 249.1 
#12 249.1   /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rust-spoa-0.2.4/src/spoa/src/alignment_engine.cpp:30:20: error: no member named 'invalid_argument' in namespace 'std'
#12 249.1           throw std::invalid_argument("[spoa::createAlignmentEngine] error: "
#12 249.1                 ~~~~~^
#12 249.1   /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rust-spoa-0.2.4/src/spoa/src/alignment_engine.cpp:34:20: error: no member named 'invalid_argument' in namespace 'std'
#12 249.1           throw std::invalid_argument("[spoa::createAlignmentEngine] error: "
#12 249.1                 ~~~~~^
#12 249.1   /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rust-spoa-0.2.4/src/spoa/src/alignment_engine.cpp:38:20: error: no member named 'invalid_argument' in namespace 'std'
#12 249.1           throw std::invalid_argument("[spoa::createAlignmentEngine] error: "
#12 249.1                 ~~~~~^
#12 249.1   3 errors generated.
#12 249.1   gmake[2]: *** [CMakeFiles/spoa.dir/build.make:76: CMakeFiles/spoa.dir/src/alignment_engine.cpp.o] Error 1
#12 249.1   gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/spoa.dir/all] Error 2
#12 249.1   gmake: *** [Makefile:136: all] Error 2
#12 249.1   thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5:
#12 249.1 
#12 249.1   command did not execute successfully, got: exit status: 2
#12 249.1 

Could you please provide some suggestions how to resolve this?

Thanks,

Hang

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions