{"action":"created","issue":{"url":"https://api.github.com/repos/ruslo/hunter/issues/478","repository_url":"https://api.github.com/repos/ruslo/hunter","labels_url":"https://api.github.com/repos/ruslo/hunter/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/ruslo/hunter/issues/478/comments","events_url":"https://api.github.com/repos/ruslo/hunter/issues/478/events","html_url":"https://github.com/ruslo/hunter/issues/478","id":168634105,"number":478,"title":"\"Stamp 'done' not found in directory\" when starting from scratch","user":{"login":"Osse","id":794585,"avatar_url":"https://avatars.githubusercontent.com/u/794585?v=3","gravatar_id":"","url":"https://api.github.com/users/Osse","html_url":"https://github.com/Osse","followers_url":"https://api.github.com/users/Osse/followers","following_url":"https://api.github.com/users/Osse/following{/other_user}","gists_url":"https://api.github.com/users/Osse/gists{/gist_id}","starred_url":"https://api.github.com/users/Osse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Osse/subscriptions","organizations_url":"https://api.github.com/users/Osse/orgs","repos_url":"https://api.github.com/users/Osse/repos","events_url":"https://api.github.com/users/Osse/events{/privacy}","received_events_url":"https://api.github.com/users/Osse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ruslo/hunter/labels/discussion","name":"discussion","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-01T12:28:07Z","updated_at":"2016-08-01T14:03:28Z","closed_at":null,"body":"Hi,\r\n\r\nI am not sure if this is a bug in Hunter itself or the Eigen package. Starting with non-existent HUNTER_ROOT I consistently get an error (below) using the following CMakeLists.txt. If I simply rerun the same cmake command (ie. press Up and Enter in the CLI) the dependency is successfully built.\r\n\r\n```CMake\r\ncmake_minimum_required (VERSION 3.2)\r\n\r\nset(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake ${CMAKE_MODULE_PATH})\r\n\r\ninclude(\"HunterGate\")\r\nHunterGate(\r\n    URL \"https://github.com/ruslo/hunter/archive/v0.15.5.tar.gz\"\r\n    SHA1 \"eed19666558a4beee5ad6fb946c3c5ee3a14e33a\"\r\n)\r\n\r\nproject (Eigenbug)\r\n\r\nhunter_add_package(Eigen)\r\n```\r\n\r\nFull CMake output:\r\n\r\n```\r\n$ cmake -G \"MSYS Makefiles\" ../example/\r\n-- [hunter] Initializing Hunter workspace (eed19666558a4beee5ad6fb946c3c5ee3a14e33a)\r\n-- [hunter]   https://github.com/ruslo/hunter/archive/v0.15.5.tar.gz\r\n-- [hunter]   -> c:/Users/ow/.hunter/_Base/Download/Hunter/0.15.5/eed1966\r\n-- [hunter] Calculating Config-SHA1\r\n-- [hunter] Calculating Toolchain-SHA1\r\n-- [hunter] HUNTER_ROOT: c:/Users/ow/.hunter\r\n-- [hunter] [ Hunter-ID: eed1966 | Config-ID: 252be8c | Toolchain-ID: 958c0e3 ]\r\n-- [hunter] EIGEN_ROOT: c:/Users/ow/.hunter/_Base/eed1966/252be8c/958c0e3/Install (ver.: 3.2.4-p0)\r\n-- [hunter] Building Eigen\r\nloading initial cache file c:/Users/ow/.hunter/_Base/eed1966/252be8c/958c0e3/cache.cmake\r\nloading initial cache file c:/Users/ow/.hunter/_Base/eed1966/252be8c/958c0e3/Build/Eigen/args.cmake\r\n-- The C compiler identification is GNU 5.3.0\r\n-- The CXX compiler identification is GNU 5.3.0\r\n-- Check for working C compiler: C:/Qt/Tools/mingw530_32/bin/gcc.exe\r\n-- Check for working C compiler: C:/Qt/Tools/mingw530_32/bin/gcc.exe -- works\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: C:/Qt/Tools/mingw530_32/bin/g++.exe\r\n-- Check for working CXX compiler: C:/Qt/Tools/mingw530_32/bin/g++.exe -- works\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: c:/Users/ow/.hunter/_Base/eed1966/252be8c/958c0e3/Build/Eigen/Build\r\n←[35m←[1mScanning dependencies of target Eigen-Release←[0m\r\nBuilt target Eigen-Release\r\n←[35m←[1mScanning dependencies of target Eigen-Debug←[0m\r\nBuilt target Eigen-Debug\r\n-- [hunter] Build step successful (dir: c:/Users/ow/.hunter/_Base/eed1966/252be8c/958c0e3/Build/Eigen)\r\n\r\n[hunter ** INTERNAL **] Stamp 'done' not found in directory: c:/Users/ow/.hunter/_Base/eed1966/252be8c/958c0e3/Build/Eigen/Build/Eigen-Debug-prefix/src/Eigen-Debug-stamp\r\n[hunter ** INTERNAL **] [Directory:C:/Users/ow/.hunter/_Base/Download/Hunter/0.15.5/eed1966/Unpacked/cmake/projects/Eigen]\r\n\r\n------------------------------ WIKI -------------------------------\r\n    https://github.com/ruslo/hunter/wiki/error.internal\r\n-------------------------------------------------------------------\r\n\r\nCMake Error at C:/Users/ow/.hunter/_Base/Download/Hunter/0.15.5/eed1966/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message):\r\nCall Stack (most recent call first):\r\n  C:/Users/ow/.hunter/_Base/Download/Hunter/0.15.5/eed1966/Unpacked/cmake/modules/hunter_internal_error.cmake:13 (hunter_wiki)\r\n  C:/Users/ow/.hunter/_Base/Download/Hunter/0.15.5/eed1966/Unpacked/cmake/modules/hunter_find_stamps.cmake:35 (hunter_internal_error)\r\n  C:/Users/ow/.hunter/_Base/Download/Hunter/0.15.5/eed1966/Unpacked/cmake/modules/hunter_download.cmake:493 (hunter_find_stamps)\r\n  C:/Users/ow/.hunter/_Base/Download/Hunter/0.15.5/eed1966/Unpacked/cmake/projects/Eigen/hunter.cmake:47 (hunter_download)\r\n  C:/Users/ow/.hunter/_Base/Download/Hunter/0.15.5/eed1966/Unpacked/cmake/modules/hunter_add_package.cmake:87 (include)\r\n  CMakeLists.txt:13 (hunter_add_package)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"C:/Users/ow/bughunter/build/CMakeFiles/CMakeOutput.log\".\r\n```\r\n\r\nI have tested with several generators.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36532202-stamp-done-not-found-in-directory-when-starting-from-scratch?utm_campaign=plugin&utm_content=tracker%2F1032790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1032790&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/ruslo/hunter/issues/comments/236589295","html_url":"https://github.com/ruslo/hunter/issues/478#issuecomment-236589295","issue_url":"https://api.github.com/repos/ruslo/hunter/issues/478","id":236589295,"user":{"login":"Osse","id":794585,"avatar_url":"https://avatars.githubusercontent.com/u/794585?v=3","gravatar_id":"","url":"https://api.github.com/users/Osse","html_url":"https://github.com/Osse","followers_url":"https://api.github.com/users/Osse/followers","following_url":"https://api.github.com/users/Osse/following{/other_user}","gists_url":"https://api.github.com/users/Osse/gists{/gist_id}","starred_url":"https://api.github.com/users/Osse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Osse/subscriptions","organizations_url":"https://api.github.com/users/Osse/orgs","repos_url":"https://api.github.com/users/Osse/repos","events_url":"https://api.github.com/users/Osse/events{/privacy}","received_events_url":"https://api.github.com/users/Osse/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T14:03:28Z","updated_at":"2016-08-01T14:03:28Z","body":"Yes, it seems you **cannot** use a Unix shell then. Both MinGW Makefiles and Ninja worked when run from a Windows command prompt.\r\n\r\nAlso, I tried using Ninja and MSYS Makefiles from an MSYS2 shell and that also worked!"}}
{"actor":{"display_login":"Osse"}}