all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: guix--- via Guix-patches via <guix-patches@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 71146@debbugs.gnu.org
Subject: [bug#71146] [PATCH] gnu: kallisto: Update to 0.50.1
Date: Tue, 04 Jun 2024 15:36:41 +0000	[thread overview]
Message-ID: <171751540946.7.6431104630771377265.346935814@mawumag.com> (raw)
In-Reply-To: <87le3ojx2x.fsf@elephly.net>

> Ricardo Wurmus rekado@elephly.net writes:
> 
> Turns out it's not actually using htslib at all, because USE_BAM is not
> set. It uses a bundled copy of bifrost instead. If we want to build
> kallisto with bifrost only then we should remove htslib from the inputs,
> package bifrost (https://github.com/pmelsted/bifrost) and unbundle it
> from kallisto, linking with the shared library.
> 
> Does this sound like a good plan or should we use htslib instead?

My initial attempt was to unbundle bifrost from kallisto, but I had two concerns:

- I was not able to determine the exact version of bifrost that was bundled with kallisto (it is definitely not the latest one, as the relevant ext/bifrost directory in kallisto is older).
This is also a problem with htslib, I am sure whoever packaged kallisto 0.48.0 was careful to choose the correct version, but I would not know how to verify this.
This has the potential to lead to mismatches (or even bugs) between the guix version and the official one compiled from their sources.

- Some header files of bifrost appear to be included in kallisto source code directly, but it was not clear to me how to include bifrost in guix in a way that exports its libraries and headers.

Especially for the first reason, I would actually propose to use the bundled htslib and bifrost for kallisto. Both are bundled as source code and are compiled during the build process, so this should not pose a concern (bifrost is released under BSD 2-Clause License, like kallisto, while htslib is released under expat).

Please let me know what you think.

Cheers,
Marco





  reply	other threads:[~2024-06-04 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-23  9:53 [bug#71146] [PATCH] gnu: kallisto: Update to 0.50.1 guix--- via Guix-patches via
     [not found] ` <87wmn8kcpa.fsf@elephly.net>
2024-06-01 19:13   ` Ricardo Wurmus
2024-06-04 15:36     ` guix--- via Guix-patches via [this message]
2024-06-01 19:13 ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=171751540946.7.6431104630771377265.346935814@mawumag.com \
    --to=guix-patches@gnu.org \
    --cc=71146@debbugs.gnu.org \
    --cc=guix@mawumag.com \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.