Bug#942795: libsoxr: Building with "nocheck" results in a broken soxr.pc pkg-config file

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.superh
Message-ID <157166954423.1997.6408254506472892461.reportbug__30275.0401011266$1571670392$gmane$org@z6.physik.fu-berlin.de>
Source: libsoxr
Version: 0.1.3-1
Severity: important
User: [email protected]
Usertags: rebootstrap

Hello!

While working on fixing #942746, I noticed that building src:libsoxr with "nocheck"
results in the soxr.pc pkg-config file being broken:

glaubitz@z6:/tmp/libsoxr> dpkg-deb -x libsoxr-dev_0.1.3-2_amd64.deb test
glaubitz@z6:/tmp/libsoxr> cat test/usr/lib/x86_64-linux-gnu/pkgconfig/soxr.pc 
Name: soxr
Description: High quality, one-dimensional sample-rate conversion library
Version: ..
Libs: -L/usr/lib/x86_64-linux-gnu -lsoxr
Cflags: -I/usr/include
glaubitz@z6:/tmp/libsoxr>

What happens is that the version number in the soxr.pc.in is not filled in with the
version information from CMakeLists.txt. I have not checked yet whether this is a
Debian packaging problem or an upstream bug. However, since building with "nocheck"
is necessary for example when cross-building the package, I think the issue should
be fixed.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
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.