[Pkg-samba-maint] Bug#849296: libsmbclient-dev: Incorrect version (0.2.1 instead of 4.2.14) in pkgconfig/smbclient.pc

Konstantin Gribov grossws at gmail.com
Sat Dec 24 22:31:32 UTC 2016


Package: libsmbclient-dev
Version: 2:4.2.14+dfsg-0+deb8u2
Severity: important

Hello, Debian maintainers.

-- Steps to reproduce:
$ apt-get install -y libsmbclient-dev pkg-config
$ pkg-config --cflags --libs 'smbclient >= 4.0'
Requested 'smbclient >= 4.0' but version of smbclient is 0.2.1
You may find new versions of smbclient at http://www.samba.org/
$ pkg-config --modversion smbclient
0.2.1

-- Expected output:
$ pkg-config --cflags --libs 'smbclient >= 4.0'
-I/usr/include/samba-4.0 -lsmbclient
$ pkg-config --modversion smbclient
4.2.14

-- Patch:
--- /usr/lib/x86_64-linux-gnu/pkgconfig/smbclient.pc    2016-12-17
20:07:34.000000000 +0000
+++ smbclient.pc        2016-12-24 22:26:04.517089847 +0000
@@ -5,7 +5,7 @@

Name: smbclient
Description: A SMB library interface
-Version: 0.2.1
+Version: 4.2.14
Libs:  -L${libdir} -lsmbclient
Cflags: -I${includedir}
URL: http://www.samba.org/

-- System Information:
Debian Release: 8.6
 APT prefers stable-updates
 APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.13-1-ARCH (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages libsmbclient-dev depends on:
ii  dpkg          1.17.27
ii  libsmbclient  2:4.2.14+dfsg-0+deb8u2

libsmbclient-dev recommends no packages.

libsmbclient-dev suggests no packages.

-- no debconf information

Additional notes:
- Debian is running in Docker container but it doesn't change anything for
this bug.

-- 

Best regards,
Konstantin Gribov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20161224/6db40b0d/attachment.html>


More information about the Pkg-samba-maint mailing list