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

docker: build fails #55

Closed
PolynomialDivision opened this issue Jul 13, 2020 · 1 comment
Closed

docker: build fails #55

PolynomialDivision opened this issue Jul 13, 2020 · 1 comment
Assignees
Labels
bug docker Issues related to our docker builds

Comments

@PolynomialDivision
Copy link

PolynomialDivision commented Jul 13, 2020

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.

@cooperlees cooperlees self-assigned this Jul 17, 2020
@cooperlees cooperlees added bug docker Issues related to our docker builds labels Jul 17, 2020
@cooperlees
Copy link
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
Labels
bug docker Issues related to our docker builds
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants