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

cmake build system fails in FindSuiteSparse #131

Closed
andlaus opened this issue Jan 24, 2013 · 2 comments
Closed

cmake build system fails in FindSuiteSparse #131

andlaus opened this issue Jan 24, 2013 · 2 comments

Comments

@andlaus
Copy link
Contributor

andlaus commented Jan 24, 2013

During enablement of CDash, I tried out the new cmake build system (using the 'cmake' branch) on openSUSE Tumbleweed.

It failed and produced the following logfiles:

http://poware.org/opm-core/CMakeError.log
http://poware.org/opm-core/CMakeOutput.log

(BTW: does anybody know if there is a more convenient way to attach files to the github bugtracker than gists?) The output on the terminal was the following:

lauser@jabba:/temp/lauser/build/opm-core > cmake ~/src/opm-core/
-- The C compiler identification is GNU 4.7.1
-- The CXX compiler identification is GNU 4.7.1
-- 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
-- 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
-- Build type: Debug
-- Performing Test HAVE_C99
-- Performing Test HAVE_C99 - Success
-- Found C99: -std=c99

-- Checking to see if CXX compiler accepts flag -std=c++11
-- Checking to see if CXX compiler accepts flag -std=c++11 - yes
-- Performing Test HAVE_NULLPTR
-- Performing Test HAVE_NULLPTR - Success
-- Performing Test HAVE_ARRAY
-- Performing Test HAVE_ARRAY - Success
-- Performing Test HAVE_INTEGRAL_CONSTANT
-- Performing Test HAVE_INTEGRAL_CONSTANT - Success
-- Performing Test HAVE_ATTRIBUTE_ALWAYS_INLINE
-- Performing Test HAVE_ATTRIBUTE_ALWAYS_INLINE - Success
-- Performing Test HAS_ATTRIBUTE_UNUSED
-- Performing Test HAS_ATTRIBUTE_UNUSED - Success
-- Performing Test HAS_ATTRIBUTE_DEPRECATED
-- Performing Test HAS_ATTRIBUTE_DEPRECATED - Success
-- Performing Test HAS_ATTRIBUTE_DEPRECATED_MSG
-- Performing Test HAS_ATTRIBUTE_DEPRECATED_MSG - Success
-- Performing Test HAVE_STATIC_ASSERT
-- Performing Test HAVE_STATIC_ASSERT - Success
-- Performing Test HAVE_VARIADIC_TEMPLATES
-- Performing Test HAVE_VARIADIC_TEMPLATES - Success
-- Performing Test HAVE_VARIADIC_CONSTRUCTOR_SFINAE
-- Performing Test HAVE_VARIADIC_CONSTRUCTOR_SFINAE - Success
-- Performing Test HAVE_RVALUE_REFERENCES
-- Performing Test HAVE_RVALUE_REFERENCES - Success
-- Looking for C++ include tuple
-- Looking for C++ include tuple - found
-- Looking for C++ include tr1/tuple
-- Looking for C++ include tr1/tuple - found
-- Looking for C++ include type_traits
-- Looking for C++ include type_traits - found
-- Looking for C++ include tr1/type_traits
-- Looking for C++ include tr1/type_traits - found
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE

-- A library with BLAS API found.
-- A library with BLAS API found.
-- Looking for cheev_
-- Looking for cheev_ - found
-- A library with LAPACK API found.
CMake Error at cmake/Modules/FindSuiteSparse.cmake:153 (list):
list sub-command REMOVE_DUPLICATES requires list to be present.
Call Stack (most recent call first):
cmake/Modules/OpmFind.cmake:69 (find_package)
cmake/Modules/OpmFind.cmake:98 (find_and_append_package_to)
cmake/Modules/OpmFind.cmake:104 (find_and_append_package_list_to)
CMakeLists.txt:53 (find_and_append_package_list)

CMake Error at cmake/Modules/FindSuiteSparse.cmake:154 (list):
list sub-command REVERSE requires list to be present.
Call Stack (most recent call first):
cmake/Modules/OpmFind.cmake:69 (find_package)
cmake/Modules/OpmFind.cmake:98 (find_and_append_package_to)
cmake/Modules/OpmFind.cmake:104 (find_and_append_package_list_to)
CMakeLists.txt:53 (find_and_append_package_list)

CMake Error at cmake/Modules/FindSuiteSparse.cmake:155 (list):
list sub-command REMOVE_DUPLICATES requires list to be present.
Call Stack (most recent call first):
cmake/Modules/OpmFind.cmake:69 (find_package)
cmake/Modules/OpmFind.cmake:98 (find_and_append_package_to)
cmake/Modules/OpmFind.cmake:104 (find_and_append_package_list_to)
CMakeLists.txt:53 (find_and_append_package_list)

CMake Error at cmake/Modules/FindSuiteSparse.cmake:156 (list):
list sub-command REVERSE requires list to be present.
Call Stack (most recent call first):
cmake/Modules/OpmFind.cmake:69 (find_package)
cmake/Modules/OpmFind.cmake:98 (find_and_append_package_to)
cmake/Modules/OpmFind.cmake:104 (find_and_append_package_list_to)
CMakeLists.txt:53 (find_and_append_package_list)

-- Could NOT find SuiteSparse (missing: SuiteSparse_LIBRARIES SuiteSparse_INCLUDE_DIRS)
-- Performing Test HAVE_MEM_USAGE_T_EXPANSIONS
-- Performing Test HAVE_MEM_USAGE_T_EXPANSIONS - Failed
-- Performing Test SUPERLU_MIN_VERSION_4_3
-- Performing Test SUPERLU_MIN_VERSION_4_3 - Failed
-- Performing Test SUPERLU_POST_2005_VERSION
-- Performing Test SUPERLU_POST_2005_VERSION - Failed
-- Could NOT find SuperLU (missing: SUPERLU_INCLUDE_DIR SUPERLU_LIBRARY)
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.7.8")
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- date_time
-- filesystem
-- system
-- unit_test_framework
-- A library with BLAS API found.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.25")
-- Performing Test HAVE_DUNE_COMMON
-- Performing Test HAVE_DUNE_COMMON - Failed
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:97 (message):
Could NOT find dune-common (missing: _req_vars)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:291 (_FPHSA_FAILURE_MESSAGE)
cmake/Modules/OpmPackage.cmake:164 (find_package_handle_standard_args)
cmake/Modules/Finddune-common.cmake:14 (find_opm_package)
cmake/Modules/OpmPackage.cmake:69 (find_package)
cmake/Modules/Finddune-istl.cmake:14 (find_opm_package)
cmake/Modules/OpmFind.cmake:69 (find_package)
cmake/Modules/OpmFind.cmake:98 (find_and_append_package_to)
cmake/Modules/OpmFind.cmake:104 (find_and_append_package_list_to)
CMakeLists.txt:53 (find_and_append_package_list)

-- Configuring incomplete, errors occurred!

@andlaus
Copy link
Contributor Author

andlaus commented Jan 24, 2013

It seems like this is an issue with the FindSuiteSparse macro. I would normally investigate this myself, but I'm currently a bit short on time since I want to finish my thesis..

@andlaus
Copy link
Contributor Author

andlaus commented Jan 24, 2013

dupe of #130, due to github taking its time to update its issue list. sorry for the noise.

@andlaus andlaus closed this as completed Jan 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant