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

homebrew build is broken #23

Closed
osrf-migration opened this issue Mar 22, 2018 · 5 comments
Closed

homebrew build is broken #23

osrf-migration opened this issue Mar 22, 2018 · 5 comments
Labels
bug Something isn't working

Comments

@osrf-migration
Copy link

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Since the ign-cmake branch was merged in pull request #51, several CI builds have been broken, including homebrew. I just added a homebrew formula for ignition-cmake1 and updated the ignition-rendering formula to a more recent commit and to use the newer version.

It's still failing though: Build Status https://build.osrfoundation.org/job/ignition_sensors-ci-default-homebrew-amd64/12/

==> cmake . -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/ignition-rendering0/0.0.0~20180315~548b9d9bd8afdae34746db8e4d992a6b33c74f73 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev

Last 15 lines from /Users/jenkins/Library/Logs/Homebrew/ignition-rendering0/01.cmake:
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Adding 11 UNIT tests
-- Adding 2 INTEGRATION tests
-- No tests have been specified for PERFORMANCE
-- No tests have been specified for REGRESSION
-- Configuring library: ignition-rendering0-ogre
-- Found OpenGL: /System/Library/Frameworks/OpenGL.framework   
-- No tests have been specified for UNIT
-- Skipping the component [optix] because the following packages are missing: OptiX
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.8.14") found components:  doxygen missing components:  dot
-- Build configuration successful
-- Build type: Release
-- Install prefix: /usr/local/Cellar/ignition-rendering0/0.0.0~20180315~548b9d9bd8afdae34746db8e4d992a6b33c74f73
-- Configuring incomplete, errors occurred!
See also "/tmp/ignition-rendering0-20180322-77039-1r44wxb/ignitionrobotics-ign-rendering-548b9d9bd8afdae34746db8e4d992a6b33c74f73/CMakeFiles/CMakeOutput.log".
@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


a little more context after reproducing locally with --verbose:

-- Looking for OGRE - found

CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) 
-- optix library not found.  Please locate before proceeding.
-- OptiX headers (optix.h and friends) not found.  Please locate before proceeding.
-- optix Prime library not found.  Please locate before proceeding.
CMake Error at /usr/local/lib/cmake/ignition-cmake1/cmake1/FindOptiX.cmake:212 (list):
  list sub-command REMOVE_DUPLICATES requires list to be present.
Call Stack (most recent call first):
  /usr/local/lib/cmake/ignition-cmake1/cmake1/IgnUtils.cmake:188 (find_package)
  CMakeLists.txt:67 (ign_find_package)


-- Could NOT find OptiX (missing: OptiX_FOUND) (Required is at least version "3.8.0")
-- Looking for OptiX - not found

-- BUILD WARNINGS
-- 	Cannot build component [optix] - Missing: OptiX
-- END BUILD WARNINGS

seems like a problem with FindOptiX? cc @mxgrey

@osrf-migration
Copy link
Author

Original comment by Michael Grey (Bitbucket: mxgrey, GitHub: mxgrey).


My best guess at the moment is that maybe the optix_rpath variable is blank, causing cmake to have an error.

@osrf-migration
Copy link
Author

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


merged that PR, new build:

Build Status https://build.osrfoundation.org/job/ignition_sensors-ci-default-homebrew-amd64/13

@osrf-migration
Copy link
Author

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


  • changed state from "new" to "resolved"

fixed by https://osrf-migration.github.io/ignition-gh-pages/#!/ignitionrobotics/ign-cmake/pull-requests/53/fix-findoptix-bug-on-homebrew-when-optix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant