Package: smbc Version: 1.2.25 Severity: important Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el
Hi, As I understand, newer samba version changed the place of the header from /usr/include/libsmbclient.h to /usr/include/samba-4.0/libsmbclient.h. This causes a fail to build on different architectures. The log for the ppc64el build could be found at http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/smbc_1.2.2-3_ppc64el.build I am testing against samba version 2:4.1.4+dfsg-2. I also find something similar for xmbc package: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728594 Thank you, Breno -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Index: smbc-1.2.2/src/bookmarks.c =================================================================== --- smbc-1.2.2.orig/src/bookmarks.c 2005-06-29 12:14:02.000000000 +0000 +++ smbc-1.2.2/src/bookmarks.c 2014-04-30 21:08:23.000000000 +0000 @@ -23,7 +23,7 @@ #endif /* not HAVE_STRING_H */ #include <libintl.h> -#include <libsmbclient.h> +#include <samba-4.0/libsmbclient.h> #include <unistd.h> #include <stdlib.h> #include "dulist.h" Index: smbc-1.2.2/src/dulist.c =================================================================== --- smbc-1.2.2.orig/src/dulist.c 2005-06-29 12:14:02.000000000 +0000 +++ smbc-1.2.2/src/dulist.c 2014-04-30 21:06:24.000000000 +0000 @@ -22,7 +22,7 @@ #include <libintl.h> #include <dirent.h> -#include <libsmbclient.h> +#include <samba-4.0/libsmbclient.h> #include <unistd.h> #include <stdlib.h> #include "fnet.h" Index: smbc-1.2.2/src/find-index-manage.c =================================================================== --- smbc-1.2.2.orig/src/find-index-manage.c 2005-06-29 12:14:02.000000000 +0000 +++ smbc-1.2.2/src/find-index-manage.c 2014-04-30 21:06:20.000000000 +0000 @@ -23,7 +23,7 @@ #include <stdio.h> #include <sys/types.h> #include <unistd.h> -#include <libsmbclient.h> +#include <samba-4.0/libsmbclient.h> #include <stdlib.h> #include <math.h> #include "find-index-manage.h" Index: smbc-1.2.2/src/fnet.c =================================================================== --- smbc-1.2.2.orig/src/fnet.c 2005-06-29 12:14:02.000000000 +0000 +++ smbc-1.2.2/src/fnet.c 2014-04-30 21:07:22.000000000 +0000 @@ -20,7 +20,7 @@ #endif /* HAVE_STRINGS_H */ #endif /* not HAVE_STRING_H */ -#include <libsmbclient.h> +#include <samba-4.0/libsmbclient.h> #include <fcntl.h> #include <stdio.h> #include <unistd.h> Index: smbc-1.2.2/src/smb-pack.c =================================================================== --- smbc-1.2.2.orig/src/smb-pack.c 2005-06-29 12:14:02.000000000 +0000 +++ smbc-1.2.2/src/smb-pack.c 2014-04-30 21:04:50.000000000 +0000 @@ -21,7 +21,7 @@ #include <sys/types.h> #include <signal.h> #include <curses.h> -#include <libsmbclient.h> +#include <samba-4.0/libsmbclient.h> #include <unistd.h> #include <stdlib.h> #include "smb-pack.h" Index: smbc-1.2.2/src/smb-pack.h =================================================================== --- smbc-1.2.2.orig/src/smb-pack.h 2005-06-29 12:14:02.000000000 +0000 +++ smbc-1.2.2/src/smb-pack.h 2014-04-30 21:03:35.000000000 +0000 @@ -18,7 +18,7 @@ #endif /* HAVE_STRINGS_H */ #endif /* not HAVE_STRING_H */ -#include <libsmbclient.h> +#include <samba-4.0/libsmbclient.h> #define RstrCmp(src, dst) (!strcmp(src, dst)) Index: smbc-1.2.2/src/smbc.c =================================================================== --- smbc-1.2.2.orig/src/smbc.c 2005-06-29 12:14:02.000000000 +0000 +++ smbc-1.2.2/src/smbc.c 2014-04-30 21:02:41.000000000 +0000 @@ -31,7 +31,7 @@ #include <dirent.h> #include <time.h> #include <errno.h> -#include <libsmbclient.h> +#include <samba-4.0/libsmbclient.h> #include <popt.h> #include <unistd.h> #include <stdlib.h> Index: smbc-1.2.2/src/ttlist.c =================================================================== --- smbc-1.2.2.orig/src/ttlist.c 2005-06-29 12:14:02.000000000 +0000 +++ smbc-1.2.2/src/ttlist.c 2014-04-30 21:06:30.000000000 +0000 @@ -20,7 +20,7 @@ #endif /* HAVE_STRINGS_H */ #endif /* not HAVE_STRING_H */ -#include <libsmbclient.h> +#include <samba-4.0/libsmbclient.h> #include <fcntl.h> #include <stdio.h> #include <unistd.h> Index: smbc-1.2.2/src/winpopup.c =================================================================== --- smbc-1.2.2.orig/src/winpopup.c 2005-06-29 12:14:02.000000000 +0000 +++ smbc-1.2.2/src/winpopup.c 2014-04-30 21:06:16.000000000 +0000 @@ -11,7 +11,7 @@ #include <stdio.h> #include <stdlib.h> -#include <libsmbclient.h> +#include <samba-4.0/libsmbclient.h> #include <unistd.h> #include "winpopup.h" #include "debug.h"