New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
samtools: 1.10 -> 1.11 , lumpy: 0.3.0 -> 0.3.1 #100814
Conversation
Fails to build for me on NixOS:
|
@SuperSandro2000 can you try this after #100812 ? I suspect that's the cause of this error. |
@unode ping me if it is merged |
@SuperSandro2000 #100812 was just merged, whenever possible can you give this one another try? Thanks! |
Result of 13 packages failed to build:
|
Thanks! Will work on getting the other packages fixed. |
I think you need to rebase this PR and to pull in the other PR.
This is what nixpkgs-review logged. You probably need to use patchShebangs. |
@@ -2,11 +2,11 @@ | |||
|
|||
stdenv.mkDerivation rec { | |||
pname = "samtools"; | |||
version = "1.10"; | |||
version = "1.11"; | |||
|
|||
src = fetchurl { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use fetchGithub please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately not in this case. The automatic package generated by GitHub is incomplete as stated by the authors on the releases page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are not using the bundled library. They generated files are used and would be pointless to regenerate, right?
After rebasing I was still getting test failures from |
nixpkgs-review now reports 13 successes on my end. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lumpy compiles but does not function:
/nix/store/a3zwdl2m606mynzxcqa77ymk6a3j9nnf-python-2.7.18/bin/python: can't open file '/nix/store/wpzji1i2wgnn9b9y6jkqwpclp15w5bvf-lumpy-0.3.1//scripts/bamkit/bamlibs.py': [Errno 2] No such file or directory
Error is caused by the new bamkit submodule, so fix is to fetch submodules as well.
Samtools tested fine for me.
These will be fixed upstream and are due to format changes introduced in samtools and htslib 1.11
Had to include an additional |
The following report might be wrong as I hit some strange error: Result of 10 packages failed to build:
3 packages built:
|
We are getting there. Only 9 more builds and we are green. Result of 9 packages failed to build:
4 packages built:
|
Lumpy works perfectly now, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. FWIW nix-review
is building all packages successfully for me on x86_64-linux.
Result of 8 packages marked as broken and skipped:
1 package built:
|
Hum... I don't have a darwin system to test on. @SuperSandro2000 can you pull any logs out? |
@unode those packages have a |
@SuperSandro2000 ah thanks! Give them a try in case the updates fixed some of them but I agree we should move to a different PR. Then any objections or do we have green light here? If so, I'll ask for a merge. |
I am not sure why the linux nixpkgs-review is so flaky. I build all packages manually and they succeeded. Maybe something about machine is not quite right. Edit:
|
I had similar issues here. Still getting used to it. In a few cases had to modify the code to trigger a rebuild. It might just be the way it works with the nixpkgs cache... |
I just build the packages on darwin: python27Packages.pysam But please mark this in a separate PR. |
Motivation for this change
Needs #100812 to be merged first or the wrong version of
htslib
will be used.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)