[Debian-med-packaging] cmake help needed for metabat

Andreas Tille andreas at an3as.eu
Thu May 28 19:33:19 BST 2020


Hi,

I'm trying to package metabat[1] in the COVID-19 effort of the Debian
Med team.  I went forward with tweaking cmake but I'm now struck with:

Installing None MetaBAT into /usr
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11").
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2").
-- Checking for module 'htslib'
--   Found htslib, version 1.10.2-3
-- Found Boost: /usr/include (found suitable version "1.67.0", minimum required is "1.55.0") found components: program_options filesystem system graph serialization iostreams regex.

...

-- Configuring done
CMake Error at src/CMakeLists.txt:51 (add_dependencies):
  The dependency target "htslib" of target "contigOverlaps" does not exist.


CMake Error at src/CMakeLists.txt:51 (add_dependencies):
  The dependency target "zlib" of target "contigOverlaps" does not exist.


CMake Error at src/CMakeLists.txt:51 (add_dependencies):
  The dependency target "htslib" of target "jgi_summarize_bam_contig_depths"
  does not exist.


CMake Error at src/CMakeLists.txt:51 (add_dependencies):
  The dependency target "zlib" of target "jgi_summarize_bam_contig_depths"
  does not exist.


CMake Error at src/CMakeLists.txt:39 (add_dependencies):
  The dependency target "htslib" of target "metabat2" does not exist.


CMake Error at src/CMakeLists.txt:39 (add_dependencies):
  The dependency target "zlib" of target "metabat2" does not exist.


CMake Error at src/CMakeLists.txt:39 (add_dependencies):
  The dependency target "htslib" of target "metabat1" does not exist.


CMake Error at src/CMakeLists.txt:39 (add_dependencies):
  The dependency target "zlib" of target "metabat1" does not exist.

...

This is strange since in the beginning zlib and htslib were found
due to the means I did.  Any hint would be welcome.

Kind regards

       Andreas.

[1] https://salsa.debian.org/med-team/metabat

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list