Re: Attempt to upgrade sra-sdk

"Aaron M. Ucko" <[email protected]>
Newsgroups gmane.linux.debian.devel.medical
Message-ID <[email protected]>
Andreas Tille <[email protected]> writes:

> No mbedtls libs found installed in the system, using local copy...

Because env/common.cmake doesn't actually try to use a system
installation:

  #check_include_file_cxx(mbedtls/md.h HAVE_MBEDTLS_H)
  set(HAVE_MBEDTLS_H 0) # TODO: disabling system mbedtls since it may be outdated

Patching that logic to enable and honor the check reveals that its
concerns are legitimate, with upstream bundling and evidently relying on
a 3.x version whereas Debian still ships 2.28.5; arranging to use the
Debian version yields several compilation errors in libs/cloud/gcp.c's
Sign_RSA_SHA256, and quite possibly more errors elsewhere.

Per https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036231, Debian
packaging of mbed TLS 3.x is waiting on a long-term-support release
series thereof, so our options are either backporting ncbi-vdb to build
against 2.28. (perhaps with the help of reverse cherry-picks) or
reinstating the bundled 3.x copy.

> Hope my preparation is some welcome kick-start.  I wonder whether some
> of our patches could be forwarded upstream to reduce the number of edits
> for any new version. 

Upstream still has bigger fish to fry. :-/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.