{"action":"created","issue":{"url":"https://api.github.com/repos/mbrucher/AudioTK/issues/15","repository_url":"https://api.github.com/repos/mbrucher/AudioTK","labels_url":"https://api.github.com/repos/mbrucher/AudioTK/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/mbrucher/AudioTK/issues/15/comments","events_url":"https://api.github.com/repos/mbrucher/AudioTK/issues/15/events","html_url":"https://github.com/mbrucher/AudioTK/issues/15","id":239970262,"number":15,"title":"Unable to build from git checkout (no CMakeLists.txt in pybind11 directory)","user":{"login":"SpotlightKid","id":5719151,"avatar_url":"https://avatars0.githubusercontent.com/u/5719151?v=3","gravatar_id":"","url":"https://api.github.com/users/SpotlightKid","html_url":"https://github.com/SpotlightKid","followers_url":"https://api.github.com/users/SpotlightKid/followers","following_url":"https://api.github.com/users/SpotlightKid/following{/other_user}","gists_url":"https://api.github.com/users/SpotlightKid/gists{/gist_id}","starred_url":"https://api.github.com/users/SpotlightKid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpotlightKid/subscriptions","organizations_url":"https://api.github.com/users/SpotlightKid/orgs","repos_url":"https://api.github.com/users/SpotlightKid/repos","events_url":"https://api.github.com/users/SpotlightKid/events{/privacy}","received_events_url":"https://api.github.com/users/SpotlightKid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-01T20:17:45Z","updated_at":"2017-07-01T23:15:08Z","closed_at":null,"body":"I'm trying to build the latest AudioTK version from a git checkout for the [audiotk-git AUR package](https://aur.archlinux.org/packages/audiotk-git/). I get the following error at the cmake stage:\r\n\r\n```\r\n-- The C compiler identification is GNU 7.1.1\r\n-- The CXX compiler identification is GNU 7.1.1\r\n-- Check for working C compiler: /usr/lib/ccache/bin/cc\r\n-- Check for working C compiler: /usr/lib/ccache/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /usr/lib/ccache/bin/c++\r\n-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\nINFO Build shared libraries: ON\r\nINFO Build static libraries: OFF\r\nINFO Build tests: 1\r\n-- Performing Test COMPILER_SUPPORTS_CXX14\r\n-- Performing Test COMPILER_SUPPORTS_CXX14 - Success\r\n-- Performing Test COMPILER_SUPPORTS_PTHREAD\r\n-- Performing Test COMPILER_SUPPORTS_PTHREAD - Success\r\n-- Performing Test COMPILER_SUPPORTS_restrict\r\n-- Performing Test COMPILER_SUPPORTS_restrict - Failed\r\n-- The compiler /usr/lib/ccache/bin/c++ doesn't support -restrict.\r\n-- Performing Test COMPILER_SUPPORTS_ftz\r\n-- Performing Test COMPILER_SUPPORTS_ftz - Failed\r\n-- The compiler /usr/lib/ccache/bin/c++ doesn't support -ftz.\r\n-- Performing Test COMPILER_SUPPORTS_ftpz\r\n-- Performing Test COMPILER_SUPPORTS_ftpz - Failed\r\n-- The compiler /usr/lib/ccache/bin/c++ doesn't support -fdenormal-fp-math=positive-zero.\r\n-- Performing Test COMPILER_SUPPORTS_ftree_vectorize\r\n-- Performing Test COMPILER_SUPPORTS_ftree_vectorize - Success\r\n-- Performing Test COMPILER_SUPPORTS_AVX\r\n-- Performing Test COMPILER_SUPPORTS_AVX - Failed\r\n-- The compiler /usr/lib/ccache/bin/c++ doesn't support -xAVX -axCORE-AVX2.\r\n-- Performing Test HAS_STD_ALIGN2\r\n-- Performing Test HAS_STD_ALIGN2 - Success\r\n-- Found Git: /usr/bin/git  \r\n-- Found LIBSNDFILE: /usr/include  \r\n-- Boost version: 1.64.0\r\n-- Found Eigen: /usr/include/eigen3 (found version \"3.3.4\") \r\n-- Found FFTW: /usr/lib/libfftw3.so  \r\n-- Boost version: 1.64.0\r\n-- Found the following Boost libraries:\r\n--   unit_test_framework\r\n--   system\r\n-- Boost version: 1.64.0\r\n-- Found the following Boost libraries:\r\n--   unit_test_framework\r\n--   system\r\n-- Found PythonInterp: /usr/bin/python (found version \"3.6.1\") \r\n-- Found NumPy: /usr/lib/python3.6/site-packages/numpy/core/include (found version \"1.13.0\") \r\nCMake Error at Python/CMakeLists.txt:4 (add_subdirectory):\r\n  The source directory\r\n\r\n    /home/chris/src/arch/aur/audiotk-git/src/audiotk/Python/pybind11\r\n\r\n  does not contain a CMakeLists.txt file.\r\n\r\n\r\nCMake Error at Python/CMakeLists.txt:7 (FIND_PACKAGE):\r\n  By not providing \"FindPythonLibsNew.cmake\" in CMAKE_MODULE_PATH this\r\n  project has asked CMake to find a package configuration file provided by\r\n  \"PythonLibsNew\", but CMake did not find one.\r\n\r\n  Could not find a package configuration file provided by \"PythonLibsNew\"\r\n  with any of the following names:\r\n\r\n    PythonLibsNewConfig.cmake\r\n    pythonlibsnew-config.cmake\r\n\r\n  Add the installation prefix of \"PythonLibsNew\" to CMAKE_PREFIX_PATH or set\r\n  \"PythonLibsNew_DIR\" to a directory containing one of the above files.  If\r\n  \"PythonLibsNew\" provides a separate development package or SDK, be sure it\r\n  has been installed.\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/home/chris/src/arch/aur/audiotk-git/src/audiotk/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/home/chris/src/arch/aur/audiotk-git/src/audiotk/build/CMakeFiles/CMakeError.log\".\r\n```\r\n\r\nHere are the commands I'm using (adapted from the examples found in the `.travis.yml` file:\r\n\r\n```\r\nrm -rf build\r\nmkdir build\r\ngit checkout develop\r\ngit pull\r\ncd build\r\nlocal py_ver=$(python -c 'import sys; print(\"%s.%s.%s\" % sys.version_info[:3])')\r\nlocal py_maj_ver=$(python -c 'import sys; print(\"%s.%s\" % sys.version_info[:2])')\r\ncmake .. \\\r\n  -DCMAKE_BUILD_TYPE=Release \\\r\n  -DCMAKE_INSTALL_PREFIX=/usr \\\r\n  -DDISABLE_EIGEN_WARNINGS=1 \\\r\n  -DENABLE_PYTHON=1 \\\r\n  -DPYTHON_VERSION=${py_maj_ver} \\\r\n  -DPYTHON=python${py_maj_ver} \\\r\n  -DPython_ADDITIONAL_VERSIONS=${py_ver} \\\r\n  -DENABLE_TESTS=1 \\\r\n  -DBUILD_DOC=1 \\\r\n  -DENABLE_GPL=1\r\n```\r\n\r\nThe `Python/pybind11` directory is empty in the git checkout . What am I missing?\r\n"},"comment":{"url":"https://api.github.com/repos/mbrucher/AudioTK/issues/comments/312460612","html_url":"https://github.com/mbrucher/AudioTK/issues/15#issuecomment-312460612","issue_url":"https://api.github.com/repos/mbrucher/AudioTK/issues/15","id":312460612,"user":{"login":"SpotlightKid","id":5719151,"avatar_url":"https://avatars0.githubusercontent.com/u/5719151?v=3","gravatar_id":"","url":"https://api.github.com/users/SpotlightKid","html_url":"https://github.com/SpotlightKid","followers_url":"https://api.github.com/users/SpotlightKid/followers","following_url":"https://api.github.com/users/SpotlightKid/following{/other_user}","gists_url":"https://api.github.com/users/SpotlightKid/gists{/gist_id}","starred_url":"https://api.github.com/users/SpotlightKid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpotlightKid/subscriptions","organizations_url":"https://api.github.com/users/SpotlightKid/orgs","repos_url":"https://api.github.com/users/SpotlightKid/repos","events_url":"https://api.github.com/users/SpotlightKid/events{/privacy}","received_events_url":"https://api.github.com/users/SpotlightKid/received_events","type":"User","site_admin":false},"created_at":"2017-07-01T23:15:08Z","updated_at":"2017-07-01T23:15:08Z","body":"> Perhaps a missing git submodule init?\r\n\r\nDoh. That was it. Thanks!\r\n\r\nI pushed a new PKGBUILD to the AUR repo.\r\n\r\n> If there is something I can do to ease the integration of the package, please let me know\r\n\r\nMaybe you could include a \"Compiling\" section in the readme or dedicated document in the `doc` directory?\r\n\r\n----\r\n\r\nCompiling succeeds now I, but \"make test\" fails:\r\n\r\n```\r\nTest project /home/chris/src/arch/aur/audiotk-git/src/audiotk/build\r\n      Start  1: AudioTKAdaptive\r\n 1/31 Test  #1: AudioTKAdaptive ..................   Passed    0.56 sec\r\n      Start  2: AudioTKCore\r\n 2/31 Test  #2: AudioTKCore ......................   Passed   17.83 sec\r\n      Start  3: AudioTKDelay\r\n 3/31 Test  #3: AudioTKDelay .....................   Passed    7.80 sec\r\n      Start  4: AudioTKDistortion\r\n 4/31 Test  #4: AudioTKDistortion ................   Passed    0.02 sec\r\n      Start  5: AudioTKDynamic\r\n 5/31 Test  #5: AudioTKDynamic ...................   Passed    0.39 sec\r\n      Start  6: AudioTKEQ\r\n 6/31 Test  #6: AudioTKEQ ........................   Passed    4.47 sec\r\n      Start  7: AudioTKIO\r\n 7/31 Test  #7: AudioTKIO ........................   Passed    0.04 sec\r\n      Start  8: AudioTKMock\r\n 8/31 Test  #8: AudioTKMock ......................   Passed    0.06 sec\r\n      Start  9: AudioTKPreamplifier\r\n 9/31 Test  #9: AudioTKPreamplifier ..............   Passed    0.05 sec\r\n      Start 10: PyAdaptive\r\n10/31 Test #10: PyAdaptive .......................***Failed    1.37 sec\r\n      Start 11: PyAdaptive_Eigen\r\n11/31 Test #11: PyAdaptive_Eigen .................   Passed    1.01 sec\r\n      Start 12: PyCore\r\n12/31 Test #12: PyCore ...........................***Failed    0.74 sec\r\n      Start 13: PyCore_Eigen\r\n13/31 Test #13: PyCore_Eigen .....................   Passed    0.68 sec\r\n      Start 14: PyDelay\r\n14/31 Test #14: PyDelay ..........................***Failed    1.04 sec\r\n      Start 15: PyDelay_Eigen\r\n15/31 Test #15: PyDelay_Eigen ....................***Failed    1.07 sec\r\n      Start 16: PyDynamic\r\n16/31 Test #16: PyDynamic ........................***Failed    0.91 sec\r\n      Start 17: PyDynamic_Eigen\r\n17/31 Test #17: PyDynamic_Eigen ..................***Failed    0.86 sec\r\n      Start 18: PyEQ\r\n18/31 Test #18: PyEQ .............................***Failed    1.31 sec\r\n      Start 19: PyEQ_Eigen\r\n19/31 Test #19: PyEQ_Eigen .......................***Failed    1.12 sec\r\n      Start 20: PyPreamplifier\r\n20/31 Test #20: PyPreamplifier ...................***Failed    1.65 sec\r\n      Start 21: PyPreamplifier_Eigen\r\n21/31 Test #21: PyPreamplifier_Eigen .............***Failed    1.51 sec\r\n      Start 22: PyReverberation\r\n22/31 Test #22: PyReverberation ..................   Passed    0.68 sec\r\n      Start 23: PyReverberation_Eigen\r\n23/31 Test #23: PyReverberation_Eigen ............   Passed    0.65 sec\r\n      Start 24: PySpecial\r\n24/31 Test #24: PySpecial ........................***Failed    0.71 sec\r\n      Start 25: PySpecial_Eigen\r\n25/31 Test #25: PySpecial_Eigen ..................   Passed    0.64 sec\r\n      Start 26: PyTools\r\n26/31 Test #26: PyTools ..........................***Failed    0.90 sec\r\n      Start 27: PyTools_Eigen\r\n27/31 Test #27: PyTools_Eigen ....................   Passed    0.78 sec\r\n      Start 28: AudioTKReverberation\r\n28/31 Test #28: AudioTKReverberation .............   Passed    0.75 sec\r\n      Start 29: AudioTKSpecial\r\n29/31 Test #29: AudioTKSpecial ...................   Passed   17.60 sec\r\n      Start 30: AudioTKTools\r\n30/31 Test #30: AudioTKTools .....................   Passed    0.34 sec\r\n      Start 31: AudioTKUtility\r\n31/31 Test #31: AudioTKUtility ...................   Passed    0.01 sec\r\n\r\n61% tests passed, 12 tests failed out of 31\r\n\r\nTotal Test time (real) =  67.57 sec\r\n\r\nThe following tests FAILED:\r\n\t 10 - PyAdaptive (Failed)\r\n\t 12 - PyCore (Failed)\r\n\t 14 - PyDelay (Failed)\r\n\t 15 - PyDelay_Eigen (Failed)\r\n\t 16 - PyDynamic (Failed)\r\n\t 17 - PyDynamic_Eigen (Failed)\r\n\t 18 - PyEQ (Failed)\r\n\t 19 - PyEQ_Eigen (Failed)\r\n\t 20 - PyPreamplifier (Failed)\r\n\t 21 - PyPreamplifier_Eigen (Failed)\r\n\t 24 - PySpecial (Failed)\r\n\t 26 - PyTools (Failed)\r\nErrors while running CTest\r\nmake: *** [Makefile:109: test] Fehler 8\r\n```\r\n\r\nAre these supposed to pass?\r\n\r\nLastly, what happened to the examples in the `Examples` dir?"}}
{"actor":{"display_login":"SpotlightKid"}}