{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/180","labels_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/180/comments","events_url":"https://api.github.com/repos/Homebrew/linuxbrew/issues/180/events","html_url":"https://github.com/Homebrew/linuxbrew/issues/180","id":48494426,"number":180,"title":"linuxbrew ignores submodules while copying to temp?","user":{"login":"saketkc","id":682153,"avatar_url":"https://avatars.githubusercontent.com/u/682153?v=3","gravatar_id":"","url":"https://api.github.com/users/saketkc","html_url":"https://github.com/saketkc","followers_url":"https://api.github.com/users/saketkc/followers","following_url":"https://api.github.com/users/saketkc/following{/other_user}","gists_url":"https://api.github.com/users/saketkc/gists{/gist_id}","starred_url":"https://api.github.com/users/saketkc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saketkc/subscriptions","organizations_url":"https://api.github.com/users/saketkc/orgs","repos_url":"https://api.github.com/users/saketkc/repos","events_url":"https://api.github.com/users/saketkc/events{/privacy}","received_events_url":"https://api.github.com/users/saketkc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/linuxbrew/labels/unreproducible","name":"unreproducible","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"sjackman","id":291551,"avatar_url":"https://avatars.githubusercontent.com/u/291551?v=3","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2014-11-12T10:22:32Z","updated_at":"2015-01-17T00:17:14Z","closed_at":"2015-01-17T00:17:14Z","body":"```bash\r\n$ brew install https://raw.githubusercontent.com/saketkc/homebrew-science/sambamba/sambamba.rb -v --HEAD\r\n/usr/bin/curl -fLA Homebrew 0.9.5 (Ruby 2.1.4-265; x86_64-linux) https://raw.githubusercontent.com/saketkc/homebrew-science/sambamba/sambamba.rb -o /home/rcf-40/skchoudh/.cache/Homebrew/Formula/sambamba.rb --insecure\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n114   571  114   571    0     0   6431      0 --:--:-- --:--:-- --:--:--  139k\r\n==> Cloning https://github.com/lomereiter/sambamba.git\r\ngit --git-dir /home/rcf-40/skchoudh/.cache/Homebrew/sambamba--git/.git status -s\r\nUpdating /home/rcf-40/skchoudh/.cache/Homebrew/sambamba--git\r\ngit config remote.origin.url https://github.com/lomereiter/sambamba.git\r\ngit config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master\r\ngit fetch origin\r\ngit checkout -f master\r\nAlready on 'master'\r\nYour branch is up-to-date with 'origin/master'.\r\ngit reset --hard origin/HEAD\r\nHEAD is now at e4ae585 fix cram reading\r\ngit submodule update --init --recursive\r\ngit reset --hard origin/HEAD\r\nHEAD is now at e4ae585 fix cram reading\r\ngit checkout-index -a -f --prefix=/tmp/sambamba-xfCkEU/\r\ngit submodule --quiet foreach --recursive git checkout-index -a -f --prefix=/tmp/sambamba-xfCkEU/${toplevel/\\/home\\/rcf-40\\/skchoudh\\/.cache\\/Homebrew\\/sambamba--git/}/$path/\r\n==> make sambamba-ldmd2-64\r\ncd htslib && make\r\nmake[1]: Entering directory '/tmp/sambamba-xfCkEU/htslib'\r\nmake[1]: *** No targets specified and no makefile found.  Stop.\r\nmake[1]: Leaving directory '/tmp/sambamba-xfCkEU/htslib'\r\nMakefile:24: recipe for target 'htslib-static' failed\r\nmake: *** [htslib-static] Error 2\r\n```\r\n\r\nAll the submodule directories are empty when copied to `/tmp`. For example `ls tmp/sambamba-xfCkEU/htslib` returns nothing."}}