Skip to content

docker: build fails #55

Closed
Closed

Description

@PolynomialDivision

Description

Openr does not build with docker.

Environment

  • 54a7021
  • OS version: Docker
  • Host version: CentOS 7

Minimal test code / Steps to reproduce the issue

Build docker config file:

python fbcode_builder/make_docker_context.py

Build:

sudo docker build -t openr-build . | tee log

What's the actual result?

Step 65/186 : RUN CXXFLAGS="$CXXFLAGS -fPIC -isystem "'/home/install'"/include" CFLAGS="$CFLAGS -fPIC -isystem "'/home/install'"/include" cmake -D'CMAKE_INSTALL_PREFIX'='/home/install' -D'BUILD_SHARED_LIBS'='ON' -D'BUILD_TESTS'='ON' '..'
 ---> Running in c0a64b62f155
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at /usr/share/cmake-3.5/Modules/CMakeFindDependencyMacro.cmake:45 (message):
  Invalid arguments to find_dependency
Call Stack (most recent call first):
  /home/install/lib/cmake/folly/folly-config.cmake:58 (find_dependency)
  CMakeLists.txt:36 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/fizz/fizz/build/CMakeFiles/CMakeOutput.log".
The command '/bin/bash -c CXXFLAGS="$CXXFLAGS -fPIC -isystem "'/home/install'"/include" CFLAGS="$CFLAGS -fPIC -isystem "'/home/install'"/include" cmake -D'CMAKE_INSTALL_PREFIX'='/home/install' -D'BUILD_SHARED_LIBS'='ON' -D'BUILD_TESTS'='ON' '..'' returned a non-zero code: 1

What's the expected result?

Should build openr.

Activity

  1. self-assigned this
    on Jul 17, 2020
  2. added
    docker
    on Jul 17, 2020
  3. cooperlees commented on Jul 24, 2020

    @cooperlees
    Contributor

    Hi, once I close #56 I'll try make the docker builds all work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdocker

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions