[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I always forget how to fix 'cannot find -lpthreads' (Was: vcflib new release)



On 1/22/22 3:50 PM, Andreas Tille wrote:
Hi,

Am Sat, Jan 22, 2022 at 09:17:07AM +0100 schrieb Pjotr Prins:
thanks Andreas! I also bumped vcflib

https://github.com/vcflib/vcflib/releases/tag/v1.0.3

It should build as before.

I adapted some patches and now I'm running into[1]

You are looking at the wrong part of the log, the real error is:

CMake Error at CMakeLists.txt:75 (add_library):
  Cannot find source file:
    filevercmp/filevercmp.c
  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
  .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
CMake Error at CMakeLists.txt:75 (add_library):
  No SOURCES given to target: vcflib


This is because of your watch file 'fix' commit[1].
The earlier watch file was pulling these despite them being submodules because of different download API:

	https://github.com/vcflib/vcflib/releases/download/v1.0.2/vcflib-1.0.2-src.tar.gz

However, the same for 1.0.3 does not exist, and I am not sure if there's a way to propagate this.
@Pjotr, would you know?

Another idea I have is to embed these as multi-orig tarballs, but admittedly that'd be messy.
Let me know what you think?

[1]: https://salsa.debian.org/med-team/libvcflib/-/commit/a714323111b77ffc023e1efde1d539e91ee1f804

Regards,
Nilesh

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: