Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#950 closed request (fixed)

spurious failures in

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.17.2
Component: test Version: trunk
Keywords: Cc:


The tries to build against yat using pkg-config. Because it's trying to build with the -static flag, pkg-config is listing all the Libs.private from htslib.pc. On ubuntu that is

Libs.private: -L${libdir} -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,-flto -fvisibility=hidden -lbz2 -ldeflate -lhts -lm -lpthread

and the linking fails if e.g. libbz2 or libdeflate is not installed. Since those libraries are not really used in yat, the test is overly sensitive. IIRC, there was some thought behind the static, related to capturing problem with cblas linking, but I suggest we change the test case to a more realistic use with using pkg-config linking dynamically.

Change History (4)

comment:1 Changed 2 years ago by Peter

Owner: changed from Jari Häkkinen to Peter
Status: newaccepted

comment:2 Changed 2 years ago by Peter

Milestone: yat 0.18yat 0.17.2

Ticket #952 was marked related.

comment:3 Changed 2 years ago by Peter

Resolution: fixed
Status: acceptedclosed

In 3950:

Double-quote 2nd argument in YAT_SET_CONTAINS to allow expansion of
shell variables.

test/ remove --static in invocation of pkg-config
(fixes #950) GSL, htslib and boost libraries that are exposed in
header files are not declared as private in yat.pc (fixes #952).

NEWS: record ticket #952

comment:4 Changed 2 years ago by Peter

Priority: majorminor
Note: See TracTickets for help on using tickets.