GNU bug report logs -
#44613
[PATCH] Fix build for bedtools
Previous Next
Reported by: Roel Janssen <roel <at> gnu.org>
Date: Fri, 13 Nov 2020 11:02:01 UTC
Severity: normal
Tags: patch
Done: Roel Janssen <roel <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 44613 <at> debbugs.gnu.org (full text, mbox):
Hi Simon,
On Fri, 2020-11-13 at 13:39 +0100, zimoun wrote:
> Hi Roel,
>
> On Fri, 13 Nov 2020 at 12:01, Roel Janssen <roel <at> gnu.org> wrote:
>
> > With the following patches, I'd like to add samtools-1.9, htslib-
> > 1.9
> > (samtools depends on that) to fix this problem with bedtools.
>
> Recently, investigating why the substitute of ’python-pysam’ was not
> available, I decided then to give a try at fixing the TODO:
>
> --8<---------------cut here---------------start------------->8---
> (snippet '(begin
> ;; Drop bundled htslib. TODO: Also remove
> samtools
> ;; and bcftools.
> (delete-file-recursively "htslib")
> #t))))
> --8<---------------cut here---------------end--------------->8---
>
> And the bundled version is 1.9 (if I remember correctly), therefore
> because of:
>
> --8<---------------cut here---------------start------------->8---
> (native-inputs
> `(("python-cython" ,python-cython)
> ;; Dependencies below are are for tests only.
> ("samtools" ,samtools)
> ("bcftools" ,bcftools)
> ("python-nose" ,python-nose)))
> --8<---------------cut here---------------end--------------->8---
>
> some tests are unhappy.
>
> That’s said, these additions seem fine with me. :-)
>
I also tried removing the bundled htslib for bedtools, but didn't go
this route for two reasons:
- The bundled htslib for bedtools seems "slightly modified" (I didn't
investigate further)
- Replacing the references to libhts.a with $(pkg-config htslib --
cflags --libs) produced various linker errors. So I stopped right
there.
I'm sure more tools will likely have failed because of the htslib
upgrade (sorry about this!), so having htslib-1.9 around for some time
may be a good fallback for now.
Just to double-check: Is it OK to push the proposed patches?
Kind regards,
Roel Janssen
This bug report was last modified 4 years and 250 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.