Bug#728630: smbc: FTBFS: smbc.c:34:26: fatal error: libsmbclient.h: No such file or directory

2014-03-10 Thread Hideki Yamane
Control: tags -1 +patch +pending

Hi,

 Attached patch would fix this FTBFS (and all other bugs filed against
 smbc package). It's better fix sicne not modify upstream source.
 Please consider to apply it, or just I'll upload to delayed queue.


-- 
Regards,

 Hideki Yamane henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane
diff -Nru smbc-1.2.2/debian/changelog smbc-1.2.2/debian/changelog
--- smbc-1.2.2/debian/changelog	2014-03-10 11:16:58.0 +0900
+++ smbc-1.2.2/debian/changelog	2014-03-10 11:16:24.0 +0900
@@ -1,3 +1,25 @@
+smbc (1.2.2-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules
+- make it DH7 style, use dh-autoreconf to make package enable to find
+  smbclient.h (Closes: #728630, #544370, #727969)
+- remove upstream Makefile to ignore hardcoded path in rules.
+  * debian/control
+- add dh-autoreconf
+- add texinfo to avoid FTBFS
+- set Standards-Version: 3.9.5
+  * debian/compat
+- set 9
+  * debian/patches
+- add avoid-build-failure.patch
+- add bug562107_de-po.patch (Closes: #562107)
+- add info.patch (Closes: #528903)
+  * debian/source/lintian-overrides
+- ignore false-positive error about GFDL
+
+ -- Hideki Yamane henr...@debian.org  Mon, 10 Mar 2014 10:48:32 +0900
+
 smbc (1.2.2-3) unstable; urgency=low
 
   * acknowledge NMU
diff -Nru smbc-1.2.2/debian/clean smbc-1.2.2/debian/clean
--- smbc-1.2.2/debian/clean	1970-01-01 09:00:00.0 +0900
+++ smbc-1.2.2/debian/clean	2014-03-10 10:34:32.0 +0900
@@ -0,0 +1 @@
+po/*.gmo
diff -Nru smbc-1.2.2/debian/compat smbc-1.2.2/debian/compat
--- smbc-1.2.2/debian/compat	2014-03-10 11:16:58.0 +0900
+++ smbc-1.2.2/debian/compat	2014-03-10 09:52:49.0 +0900
@@ -1 +1 @@
-4
+9
diff -Nru smbc-1.2.2/debian/control smbc-1.2.2/debian/control
--- smbc-1.2.2/debian/control	2014-03-10 11:16:58.0 +0900
+++ smbc-1.2.2/debian/control	2014-03-10 10:34:00.0 +0900
@@ -2,8 +2,9 @@
 Section: net
 Priority: optional
 Maintainer: Noèl Köthe n...@debian.org
-Build-Depends: debhelper (= 4.0.0), gawk, gettext, libsmbclient-dev (3.0.0), libncurses5-dev, libpopt-dev
-Standards-Version: 3.7.3
+Build-Depends: debhelper (= 9), gawk, gettext, libsmbclient-dev (3.0.0), 
+ libncurses5-dev, libpopt-dev, texinfo, dh-autoreconf
+Standards-Version: 3.9.5
 Homepage: http://smbc.airm.net/
 
 Package: smbc
diff -Nru smbc-1.2.2/debian/patches/avoid-build-failure.patch smbc-1.2.2/debian/patches/avoid-build-failure.patch
--- smbc-1.2.2/debian/patches/avoid-build-failure.patch	1970-01-01 09:00:00.0 +0900
+++ smbc-1.2.2/debian/patches/avoid-build-failure.patch	2014-03-10 10:41:53.0 +0900
@@ -0,0 +1,14 @@
+Description: just avoid build failure
+Author: Hideki Yamane henr...@debian.org
+
+Forwarded: no
+Last-Update: 2014-03-10
+
+--- /dev/null
 smbc-1.2.2/ABOUT-NLS
+@@ -0,0 +1 @@
++
+--- /dev/null
 smbc-1.2.2/AUTHORS
+@@ -0,0 +1 @@
++
diff -Nru smbc-1.2.2/debian/patches/bug562107_de-po.patch smbc-1.2.2/debian/patches/bug562107_de-po.patch
--- smbc-1.2.2/debian/patches/bug562107_de-po.patch	1970-01-01 09:00:00.0 +0900
+++ smbc-1.2.2/debian/patches/bug562107_de-po.patch	2014-03-10 11:05:19.0 +0900
@@ -0,0 +1,838 @@
+Description: smbc: [INTL:de] German translation
+Author: Chris Leick c.le...@vollbio.de
+Bug-Debian: http://bugs.debian.org/562107
+Forwarded: no
+Last-Update: 2014-03-10
+
+--- /dev/null
 smbc-1.2.2/po/de.po
+@@ -0,0 +1,829 @@
++# Translation of smbc to German
++# Copyright (C) 2003 - 2005 Rafal Michniewicz.
++# This file is distributed under the same license as the smbc package.
++# Chris Leick c.le...@vollbio.de, 2009.
++#
++msgid 
++msgstr 
++Project-Id-Version: smbc 1.2.2-3\n
++Report-Msgid-Bugs-To: Rafal ra...@data.pl\n
++POT-Creation-Date: 2005-03-08 10:43+0100\n
++PO-Revision-Date: 2009-12-22 19:34+0100\n
++Last-Translator: Chris Leick c.le...@vollbio.de\n
++Language-Team: German debian-l10n-ger...@lists.debian.org\n
++MIME-Version: 1.0\n
++Content-Type: text/plain; charset=UTF-8\n
++Content-Transfer-Encoding: 8bit\n
++Plural-Forms: nplurals=2; plural=(n != 1);\n
++
++
++#: src/dulist.c:81
++#, c-format
++msgid Founded %i lists\n
++msgstr %i Listen errichtet\n
++
++#: src/dulist.c:106
++#, c-format
++msgid %s flushed\n
++msgstr %s geleert\n
++
++#: src/dulist.c:118
++#, c-format
++msgid Flush done.\n
++msgstr Leeren erledigt.\n
++
++#: src/dulist.c:153
++#, c-format
++msgid 1 - local path\n
++msgstr 1 - lokaler Pfad\n
++
++#: src/dulist.c:154
++#, c-format
++msgid 2 - workgroup\n
++msgstr 2 - Arbeitsgruppe\n
++
++#: src/dulist.c:155
++#, c-format
++msgid 3 - size\n
++msgstr 3 - Größe\n
++
++#: src/dulist.c:156
++#, c-format
++msgid 4 - percent download/upload\n
++msgstr 4 - Prozent herunterladen/hochladen\n
++
++#: src/dulist.c:157
++#, c-format
++msgid 5 - 'X' - active, 'W' - wait, ' ' don't download/upload\n
++msgstr 5 - »X« - aktiv, »W« -wartet, » « lädt nicht herunter/hoch\n
++

Bug#728630: smbc: FTBFS: smbc.c:34:26: fatal error: libsmbclient.h: No such file or directory

2014-03-10 Thread Noël Köthe
Hello Hideki,

Am Montag, den 10.03.2014, 18:24 +0900 schrieb Hideki Yamane:

  Attached patch would fix this FTBFS (and all other bugs filed against
  smbc package). It's better fix sicne not modify upstream source.
  Please consider to apply it, or just I'll upload to delayed queue.

Please go ahead and upload it.
Thanks alot for your work.

Regards.

Noël
-- 
Noël Köthe noel debian.org
Debian GNU/Linux, www.debian.org


signature.asc
Description: This is a digitally signed message part


Bug#728630: smbc: FTBFS: smbc.c:34:26: fatal error: libsmbclient.h: No such file or directory

2013-11-03 Thread David Suárez
Source: smbc
Version: 1.2.2-3
Severity: serious
Tags: jessie sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20131103 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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):
 if x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl 
 -DLOCALEDIR=\/usr/share/locale\   -D_FILE_OFFSET_BITS=64 
 -D_LARGEFILE_SOURCE -Wall  -O3 -MT smbc-smbc.o -MD -MP -MF 
 .deps/smbc-smbc.Tpo -c -o smbc-smbc.o `test -f 'smbc.c' || echo 
 './'`smbc.c; \
   then mv -f .deps/smbc-smbc.Tpo .deps/smbc-smbc.Po; else rm -f 
 .deps/smbc-smbc.Tpo; exit 1; fi
 smbc.c:34:26: fatal error: libsmbclient.h: No such file or directory
  #include libsmbclient.h
   ^
 compilation terminated.
 make[3]: *** [smbc-smbc.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/11/03/smbc_1.2.2-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org