Control: tag -1 + patch

On Sun, 03 Nov 2013 18:33:25 +0100, David Suárez wrote:

> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Debian now contains samba 4, which has header files in a special directory:   
>        
>   /usr/include/samba-4.0/libsmbclient.h  
> 
> Relevant part (hopefully):
> > checking fuse.h presence... yes
> > checking for fuse.h... yes
> > checking libsmbclient.h usability... no
> > checking libsmbclient.h presence... no
> > checking for libsmbclient.h... no
> > configure: error: Please install libsmbclient header files.

The build failure itself can be fixed with something like the
attached patch.

Since the deprecation warnings are scary and I don't know if the
package actually works with samba4, I'm a bit reluctant to upload it
...

Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Ike & Tina Turner: Poor Fool
diff -u fusesmb-0.8.7/debian/control fusesmb-0.8.7/debian/control
--- fusesmb-0.8.7/debian/control
+++ fusesmb-0.8.7/debian/control
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Samuel Mimram <smim...@debian.org>
-Build-Depends: debhelper (>= 4.0.0), autotools-dev, samba-common, libsmbclient-dev, libfuse-dev, samba-common-bin
+Build-Depends: debhelper (>= 4.0.0), autotools-dev, samba-common, libsmbclient-dev, libfuse-dev, samba-common-bin, pkg-config
 Standards-Version: 3.7.2
 
 Package: fusesmb
diff -u fusesmb-0.8.7/debian/rules fusesmb-0.8.7/debian/rules
--- fusesmb-0.8.7/debian/rules
+++ fusesmb-0.8.7/debian/rules
@@ -23,6 +23,8 @@
 	CFLAGS += -O2
 endif
 
+CFLAGS += $(shell pkg-config --cflags smbclient)
+
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
   confflags += --build $(DEB_HOST_GNU_TYPE)
 else
diff -u fusesmb-0.8.7/debian/changelog fusesmb-0.8.7/debian/changelog
--- fusesmb-0.8.7/debian/changelog
+++ fusesmb-0.8.7/debian/changelog
@@ -1,3 +1,13 @@
+fusesmb (0.8.7-1.3) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: configure: error: Please install libsmbclient header
+    files.":
+    use pkg-config to find smbclient headers.
+    (Closes: #728634)
+
+ -- gregor herrmann <gre...@debian.org>  Mon, 18 Nov 2013 18:51:27 +0100
+
 fusesmb (0.8.7-1.2) unstable; urgency=low
 
   * Non-maintainer upload.

Attachment: signature.asc
Description: Digital signature

Reply via email to