some bindgen wrapper.c objects fail with htslib 1.11 upgrade#275
Conversation
… via a fork in FiloSottile/homebrew-musl-cross#13 (comment), so now it's fast to install (just a bottle pour) :)
Pull Request Test Coverage Report for Build 365004060
💛 - Coveralls |
|
There might be an issue upstream with the OSX runner?: actions-rs/cargo#113 |
|
The current error is: error: could not find `Cargo.toml` in `/Users/runner/work/rust-htslib/rust-htslib` or any parent directorySo On the other hand, the OSX runner is using exactly the same github action parameters as the rest of the .github/workflows/rust.yml 🤔 |
|
@brainstorm, it is missing the previous steps the other jobs have; most importantly |
|
Oh, bummer, thanks for letting me know, I'll fix that in the next few hours
(AFK now).
|
…rust-htslib into htslib_1.11_osx_fix_upstream
…-submodule-action@2.0.0)
…ch possibly suggests a missing submodule? Use actions/checkout 'submodules' attribute...
|
… see if updating the submodule as @mbargull suggested does the trick
@mbargull Good guess, but I don't think so, that commit was included in this PR and I just forwarded the submodule to the latest commit from upstream, same effect: |
|
I believe that the wrapper from PR #107 by @johanneskoester is now interfering with the MUSL static build for htslib 1.11. EDIT: I guess that we need to regenerate the osx bindgen bindings. |
The build I was referring to definitely didn't have the submodule updated to include the |
|
As suspected/expected, the manually re-generated @pmarks, let me know how you generated those last time and how can I generate them now, I'm very curious to know what's going on here now :) |
|
You can find the generated bindings in the You can also generate binding with the bindgen CLI. Note -- the latest bindgen rename the Here's the cmd-line: |
|
I just tried by
Would that alternative way to generate bindings help? |
|
I think the issue is that those wrapper methods are in Line 18 in 000eed9 |
pmarks
left a comment
There was a problem hiding this comment.
LGTM once the build is fixed.
But the Besides, isn't https://github.com/rust-bio/rust-htslib/blob/master/hts-sys/build.rs#L197 |
|
I'm not familiar with the release cycles of rust-htslib, but is there a timeline for the next release that will include these changes? (I'm not trying to be pushy! I just want to know whether it is worth holding up some releases of my own to wait for it, or to proceed with linux only releases for now.) |
|
@johanneskoester Has been the release master so far ;) |
Related with samtools/htslib#1143 and #274.