-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Conversation
@jacknagel is this submodule issue is on my end or does HB have any control over it? This formula builds tmap-3.2.0 which includes a git submodule called samtools at a specific commit. When I try to build this, it pulls samtools all right, but I don't think it pulls the right commit. Here is the tmap code repo showing samtools submodule Thanks. |
We need to kick upstreams to provide real tarballs; git-flow has submodule issues too. |
It looks like it is checking out the correct submodule commit to me. |
i.e. it matches the submodule commit in the superproject at the 3.2.0 tag: https://github.com/iontorrent/TMAP/tree/tmap.3.2.0/src |
Ok thanks. I tried to use |
In the cache, it is slightly complicated by the fact that submodules are not even cloned until the first installation attempt, so a naive |
I sent a bug report upstream: iontorrent/TMAP#3 about the missing symbols I get atm. |
Thanks for taking the time to update the Formula. I am seeing a similar error. When go to ~Library/Caches/Homebrew/tmap--git after the failed install, and run the same system commands (autogen.sh, configure, make) it works fine, so somehow transferring from the checkout directory to the build directory is not working. This affects sources from the submodule. |
More debugging, working with gcc/g++ it works, but with cc/c++ it fails, hmmn. |
@nh13 thanks for stopping bye and mentioning that. @jacknagel Why would this build successfully inside the cache but not when it's cloned into the buildpath? I even set GIT_DIR during testing as one of the first things just in case. |
I got it to work using std env and llvm. I have no idea why that didn't work before when I tried it, but I must have forgotten to do it. I might not even need the patch. Will test some more later tonight. |
Patch at least needs a comment |
- Upgrade to version 3.2.0 - Use git and a tag for stable so that we pick up the submodule. - Add options for 32-bit, Alignment, Google Perf Tools, and NoColor - Add deps on 'automake' and 'libtool' to generate 'configure' - Add a conditional dep on google-perftools if optioned. - Add `env :std` and `fails_with :clang` otherwise missing symbols.
Rebased and patch removed. It wasn't needed (to stop an issue I thought might be caused by |
- Upgrade to version 3.2.0 - Use git and a tag for stable so that we pick up the submodule. - Add options for 32-bit, Alignment, Google Perf Tools, and NoColor - Add deps on 'automake' and 'libtool' to generate 'configure' - Add a conditional dep on google-perftools if optioned. - Add `env :std` and `fails_with :clang` otherwise missing symbols. Closes Homebrew#15425. Signed-off-by: Adam Vandenberg <[email protected]>
env :std
andfails_with :clang
otherwise missing symbols.