#1553 duneproject generates buggy module dune-foo-test
Metadata
Property | Value |
---|---|
Reported by | Martin Nolte (nolte@mathematik.uni-freiburg.de) |
Reported at | Jan 15, 2015 10:24 |
Type | Bug Report |
Version | Git (pre2.4) [cmake] |
Operating System | Unspecified / All |
Last edited by | Christoph Grüninger (gruenich@iws.uni-stuttgart.de) |
Last edited at | Jan 15, 2015 17:16 |
Closed by | Christoph Grüninger (gruenich@iws.uni-stuttgart.de) |
Closed at | Jan 15, 2015 17:16 |
Closed in version | Unknown |
Resolution | Fixed |
Comment |
Description
Man erstelle folgende Dune-Projekt:
$ ./dune-common/bin/duneproject dune-foo-test
== Dune project/module generator ==
duneproject will assist you in the creation of a new Dune application. During this process a new directory with the name of your project will be created. This directory will hold all configuration and Makefiles and a simple example application.
- Which modules should this module depend on? Following modules are found: dune-common Enter space separated list: dune-common
- Project/Module version? 1.0
- Maintainer's email address? none
creating Project "dune-foo-test", version 1.0 which depends on "dune-common" with maintainer "none" Are these informations correct? [y/N] y
Dann bekomme ich beim Bauen folgende Ausgabe:
$ ./dune-common/bin/dunecontrol all
--- going to build dune-common dune-foo-test --- --- calling all for dune-common --- --- calling vcsetup for dune-common --- --- calling autogen for dune-common --- Skipping dune-autogen because of CMake --- calling configure for dune-common --- cmake -DCMAKE_MODULE_PATH="" -DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE "/home/martin/numerics/test/dune-common" -- Performing tests specific to dune-common from file /home/martin/numerics/test/dune-common/cmake/modules/DuneCommonMacros.cmake. -- Using scripts from /home/martin/numerics/test/dune-common/cmake/scripts for creating doxygen stuff. -- using /home/martin/numerics/test/dune-common/doc/doxygen/Doxystyle to create doxystyle file -- Not adding custom target for config.h generation
-- The following OPTIONAL packages have been found:
- Doxygen
- LAPACK
- GMP
- Inkscape
- Threads
-- The following REQUIRED packages have been found:
- PkgConfig
-- The following OPTIONAL packages have not been found:
- LATEX
- UnixCommands
-- Configuring done
-- Generating done
-- Build files have been written to: /home/martin/numerics/test/dune-common/build-cmake
--- calling make for dune-common ---
build directory: build-cmake
cmake --build .
[ 66%] Built target dunecommon
[ 83%] Built target indexset
[ 83%] Built target poosc08
[100%] Built target poosc08_test
--- dune-common done ---
--- calling all for dune-foo-test ---
--- calling vcsetup for dune-foo-test ---
--- calling autogen for dune-foo-test ---
Skipping dune-autogen because of CMake
--- calling configure for dune-foo-test ---
/home/martin/numerics/test/dune-foo-test/lib/dunefootestam2cmake.lib for converting options does not exist
cmake -DCMAKE_MODULE_PATH="" -DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE "-Ddune-common_DIR=/home/martin/numerics/test/dune-common/build-cmake" "/home/martin/numerics/test/dune-foo-test"
-- The CXX compiler identification is GNU 4.8.4
-- 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
-- The C compiler identification is GNU 4.8.4
-- 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
-- Dependencies for dune-foo-test: dune-common
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- 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 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_CONSTEXPR
-- Performing Test HAVE_CONSTEXPR - Success
-- Performing Test HAVE_KEYWORD_FINAL
-- Performing Test HAVE_KEYWORD_FINAL - Success
-- Performing Test HAVE_RANGE_BASED_FOR
-- Performing Test HAVE_RANGE_BASED_FOR - Success
-- Performing Test HAVE_NOEXCEPT_SPECIFIER
-- Performing Test HAVE_NOEXCEPT_SPECIFIER - Success
-- Performing Test HAVE_CXA_DEMANGLE
-- Performing Test HAVE_CXA_DEMANGLE - Success
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for C++ include memory
-- Looking for C++ include memory - 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
-- Detecting Fortran/C Interface
-- Detecting Fortran/C Interface - Found GLOBAL and MODULE mangling
-- Verifying Fortran/CXX Compiler Compatibility
-- Verifying Fortran/CXX Compiler Compatibility - Success
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.8")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- Performing tests specific to dune-common from file /home/martin/numerics/test/dune-common/cmake/modules/DuneCommonMacros.cmake.
-- checking for module 'lapack'
-- found lapack, version 3.1.1
-- Found LAPACK: /usr/lib64/liblapack.so;/usr/lib64/libblas.so
-- Looking for C++ include gmpxx.h
-- Looking for C++ include gmpxx.h - found
-- Looking for __gmpz_abs in /usr/lib64/libgmp.so
-- Looking for __gmpz_abs in /usr/lib64/libgmp.so - found
-- Found GMP: /usr/include
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Performing Test HAVE_MPROTECT
-- Performing Test HAVE_MPROTECT - Success
-- Setting dune-common_INCLUDE_DIRS=/home/martin/numerics/test/dune-common
-- Setting dune-common_LIBRARIES=dunecommon
-- Performing tests specific to dune-foo-test from file /home/martin/numerics/test/dune-foo-test/cmake/modules/DuneFooTestMacros.cmake.
-- Using scripts from /home/martin/numerics/test/dune-common/cmake/scripts for creating doxygen stuff.
-- using /home/martin/numerics/test/dune-common/doc/doxygen/Doxystyle to create doxystyle file
-- Adding custom target for config.h generation
CMake Error at /home/martin/numerics/test/dune-common/cmake/modules/DuneTestMacros.cmake:31 (set_property):
set_property DIRECTORY scope provided but requested directory was not
found. This could be because the directory argument was invalid or, it is
valid but has not been processed yet.
Call Stack (most recent call first):
/home/martin/numerics/test/dune-common/cmake/modules/DuneMacros.cmake:860 (test_dep)
CMakeLists.txt:28 (finalize_dune_project)
-- -- The following OPTIONAL packages have been found:
- Threads
- Doxygen
- LAPACK
- GMP
- Inkscape
-- The following REQUIRED packages have been found:
- dune-common
- PkgConfig
-- The following OPTIONAL packages have not been found:
- LATEX
- UnixCommands
-- Configuring incomplete, errors occurred! See also "/home/martin/numerics/test/dune-foo-test/build-cmake/CMakeFiles/CMakeOutput.log". See also "/home/martin/numerics/test/dune-foo-test/build-cmake/CMakeFiles/CMakeError.log". --- Failed to build dune-foo-test --- Terminating dunecontrol due to previous errors!