Skip to content

Build Failures with CMake 3.12 and earlier #261

@justsmth

Description

@justsmth

Something changed with the cmake v0.1.55 release that's causing the CI for aws-lc-rs to fail when using older versions of CMake.

For example, CI for this PR successfully ran yesterday. But today, I started noticing strange CI failures, so I pushed a no-op change to it and the failures started showing up here as well:

https://github.com/aws/aws-lc-rs/actions/runs/20176069574/job/57924339340?pr=970

  --- stderr
  running: cd "/__w/aws-lc-rs/aws-lc-rs/target/debug/build/aws-lc-sys-82b618269e372d26/out/build" && CMAKE_PREFIX_PATH="" LC_ALL="C" "cmake" "/__w/aws-lc-rs/aws-lc-rs/aws-lc-sys" "-B" "/__w/aws-lc-rs/aws-lc-rs/target/debug/build/aws-lc-sys-82b618269e372d26/out/build" "-DBUILD_SHARED_LIBS=0" "-DBORINGSSL_PREFIX=aws_lc_0_34_0_" "-DBORINGSSL_PREFIX_HEADERS=/__w/aws-lc-rs/aws-lc-rs/aws-lc-sys/generated-include" "-DBUILD_TESTING=OFF" "-DBUILD_TOOL=OFF" "-DENABLE_SOURCE_MODIFICATION=OFF" "-DBUILD_LIBSSL=OFF" "-DDISABLE_PERL=ON" "-DDISABLE_GO=ON" "-DCMAKE_C_STANDARD=99" "-DCMAKE_INSTALL_PREFIX=/__w/aws-lc-rs/aws-lc-rs/target/debug/build/aws-lc-sys-82b618269e372d26/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" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug" "--no-warn-unused-cli"
  CMake Error: The source directory "/__w/aws-lc-rs/aws-lc-rs/target/debug/build/aws-lc-sys-82b618269e372d26/out/build" does not appear to contain CMakeLists.txt.

I've not yet isolated the specific problem, as I don't have an environment setup to reproduce it. I will update this Issue w/ more information once I have it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions