Bug#631820: gearman-interface: FTBFS: SWIG version = 1.3.31 is required. You have 2.0.4.

2012-03-04 Thread coldtobi
Package: gearman-interface
Followup-For: Bug #631820

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hallo,

as requested on debian-mentors, here is the patch used for the NMU

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk9TKU4ACgkQvyUNygvkuQLqSQCgjN1X85EKTqX149ykQ/71RAz/
S18AmgK70QInvLfzk3+ddltuMFEjW3tV
=iWKe
-END PGP SIGNATURE-
Subject: Use a newer macro for finding and configuring swig 2.x and later
Author: Clint Byrum
Bug-Debian: http://bugs.debian.org/631820
Origin: http://ftp.wayne.edu/pub/gnu/autoconf-archive/autoconf-archive-2011.04.12.tar.gz

Index: debian-packaging/m4/pandora_swig.m4
===
--- debian-packaging.orig/m4/pandora_swig.m4	2011-07-13 12:43:05.291702515 -0700
+++ debian-packaging/m4/pandora_swig.m4	2011-07-13 12:43:08.671505918 -0700
@@ -11,7 +11,7 @@
 
 AC_DEFUN([PANDORA_SWIG],[
 
-  AC_PROG_SWIG(1.3.31)
+  AX_PKG_SWIG(1.3.31)
   
   AC_DEFINE_UNQUOTED([SWIG_TYPE_TABLE],
 [$PACKAGE],
Index: debian-packaging/m4/ax_pkg_swig.m4
===
--- /dev/null	1970-01-01 00:00:00.0 +
+++ debian-packaging/m4/ax_pkg_swig.m4	2011-07-13 12:43:43.419484698 -0700
@@ -0,0 +1,135 @@
+# ===
+#http://www.gnu.org/software/autoconf-archive/ax_pkg_swig.html
+# ===
+#
+# SYNOPSIS
+#
+#   AX_PKG_SWIG([major.minor.micro], [action-if-found], [action-if-not-found])
+#
+# DESCRIPTION
+#
+#   This macro searches for a SWIG installation on your system. If found,
+#   then SWIG is AC_SUBST'd; if not found, then $SWIG is empty.  If SWIG is
+#   found, then SWIG_LIB is set to the SWIG library path, and AC_SUBST'd.
+#
+#   You can use the optional first argument to check if the version of the
+#   available SWIG is greater than or equal to the value of the argument. It
+#   should have the format: N[.N[.N]] (N is a number between 0 and 999. Only
+#   the first N is mandatory.) If the version argument is given (e.g.
+#   1.3.17), AX_PKG_SWIG checks that the swig package is this version number
+#   or higher.
+#
+#   As usual, action-if-found is executed if SWIG is found, otherwise
+#   action-if-not-found is executed.
+#
+#   In configure.in, use as:
+#
+# AX_PKG_SWIG(1.3.17, [], [ AC_MSG_ERROR([SWIG is required to build..]) ])
+# AX_SWIG_ENABLE_CXX
+# AX_SWIG_MULTI_MODULE_SUPPORT
+# AX_SWIG_PYTHON
+#
+# LICENSE
+#
+#   Copyright (c) 2008 Sebastian Huber sebastian-hu...@web.de
+#   Copyright (c) 2008 Alan W. Irwin ir...@beluga.phys.uvic.ca
+#   Copyright (c) 2008 Rafael Laboissiere raf...@laboissiere.net
+#   Copyright (c) 2008 Andrew Collier colli...@ukzn.ac.za
+#   Copyright (c) 2011 Murray Cumming murr...@openismus.com
+#
+#   This program is free software; you can redistribute it and/or modify it
+#   under the terms of the GNU General Public License as published by the
+#   Free Software Foundation; either version 2 of the License, or (at your
+#   option) any later version.
+#
+#   This program is distributed in the hope that it will be useful, but
+#   WITHOUT ANY WARRANTY; without even the implied warranty of
+#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+#   Public License for more details.
+#
+#   You should have received a copy of the GNU General Public License along
+#   with this program. If not, see http://www.gnu.org/licenses/.
+#
+#   As a special exception, the respective Autoconf Macro's copyright owner
+#   gives unlimited permission to copy, distribute and modify the configure
+#   scripts that are the output of Autoconf when processing the Macro. You
+#   need not follow the terms of the GNU General Public License when using
+#   or distributing such scripts, even though portions of the text of the
+#   Macro appear in them. The GNU General Public License (GPL) does govern
+#   all other use of the material that constitutes the Autoconf Macro.
+#
+#   This special exception to the GPL applies to versions of the Autoconf
+#   Macro released by the Autoconf Archive. When you make and distribute a
+#   modified version of the Autoconf Macro, you may extend this special
+#   exception to the GPL to apply to your modified version as well.
+
+#serial 8
+
+AC_DEFUN([AX_PKG_SWIG],[
+# Ubuntu has swig 2.0 as /usr/bin/swig2.0
+AC_PATH_PROGS([SWIG],[swig swig2.0])
+if test -z $SWIG ; then
+m4_ifval([$3],[$3],[:])
+elif test -n $1 ; then
+AC_MSG_CHECKING([SWIG 

Bug#631820: gearman-interface: FTBFS: SWIG version = 1.3.31 is required. You have 2.0.4.

2012-03-03 Thread Clint Byrum
Thanks, I have not been able to spend much time on gearman-interface
lately. Thanks for the heads up. Note that the Vcs-Bzr in the package
is more or less correct, and you may want to consider tacking my pending
changes on top of this as one of them is an RC bug fix.

Excerpts from coldtobi's message of Fri Mar 02 16:20:49 -0800 2012:
 Package: gearman-interface
 Followup-For: Bug #631820
 
 Hash: SHA1
 
 Hallo,
 
 Ubuntu has a patch that works around this issue.
 
 MAINTAINERS: PLEASE NOT THAT I AM INTENDING AN NMU
 ### I'm currently preparing an NMU. I will ask debian-mentors to upload this 
 into a delayed queue. ###
 
 
 
 - -- System Information:
 Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
 Architecture: amd64 (x86_64)
 
 Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
 Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/dash



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



Bug#631820: gearman-interface: FTBFS: SWIG version = 1.3.31 is required. You have 2.0.4.

2012-03-02 Thread coldtobi
Package: gearman-interface
Followup-For: Bug #631820

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hallo,

Ubuntu has a patch that works around this issue.

MAINTAINERS: PLEASE NOT THAT I AM INTENDING AN NMU
### I'm currently preparing an NMU. I will ask debian-mentors to upload this 
into a delayed queue. ###



- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk9RY+EACgkQvyUNygvkuQJ4BACeJ35VwXkc9Y9Znh1z5EABrjH0
gBUAn2VABVuQPcik0VyPpjLF44YJvgyb
=1iKW
-END PGP SIGNATURE-



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



Bug#631820: gearman-interface: FTBFS: SWIG version = 1.3.31 is required. You have 2.0.4.

2011-06-27 Thread Sebastian Ramacher
Source: gearman-interface
Version: 0.13.2-2
Severity: serious
Justification: FTBFS

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

gearman-interface fails to build from source in a clean, up-to-data i386
unstable chroot. The interesting parts of the build are:

checking for swig... /usr/bin/swig
checking for SWIG version... 2.0.4
configure: WARNING: SWIG version = 1.3.31 is required.  You have 2.0.4.  You
should look at http://www.swig.org

and

/bin/mkdir -p .deps
echo Error: SWIG version = 1.3.31 is required.  You have 2.0.4.  You should
look at http://www.swig.org; ; false -DHAVE_CONFIG_H -I. -I.
- -I/usr/local/include -I/usr/include  -xml -MD -MF .deps/.Tpo -o libgearman.xml
interface/xml/libgearman.i
Error: SWIG version = 1.3.31 is required.  You have 2.0.4.  You should look at
http://www.swig.org
make[1]: *** [libgearman.xml] Error 1

The full build log is attached.

For a possible fix have a look at the patch from #631800 [1].

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631800#12

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (650, 'unstable'), (601, 'testing'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOCJNNAAoJEGny/FFupxmTwP4P/3qN9/q5kacrmgmVlpAqq9qU
M6H7glSyWpcRnOghu0QMkMCUgdGF5NJeNNgWOYvkciL334aMJxR55cgdMqCLGAun
tRZHUjGXuzyzR7ZhfR/6ChhVnlXkJMzhRvAvaFyGUaSoO51QHQ6C3BEJrSqLUQcE
LfxLSH+uTuplT9oX1JUCVnnGcx+4Ye1v6QJrfhOesBotcEUjOTw0ePylSakSg6b/
YBHo5xyLIukP53uCgQQxBkTSiF5MWjL/znxWF/fQQArw6wRhjYrAeIFMiIefXYOS
igUPN34T/rEtp9BHqrSplndCd5y9akxQq/dsjW2Llh+KNAntMl8P+40r+8o+KjKP
6HTlHLKKDsStMVacHrebALv8S9Ve9dELdZbtzXwQ6et62Pm9R8G1rF9W2qaJBsFh
9Obw549r/Kd2xLTl05tr/h5YvzWUpRUQsOvOJiloAwBBiZGqV0/IqGpzh3f+HtQY
MM7Q/HnwSvFwYsnXYRrIs3Zozz+kVuuqoAHp0VJknzgp8ZQa8nrISUXSm0IRqxCE
U8MdjHOZBfkrdHiF7rxDWekyvkLhm3x+/pmXxYrXKcQfFWGW4OhvgJVvZuFNLLfh
eARQFeg0r9qVTwNMrbIL3m73WbHqUlGCW8lLULy8nun6RxT+bTENvneFrLXgw+4S
wX4BMXreKcgjWA0EB9KR
=ilRU
-END PGP SIGNATURE-
sbuild (Debian sbuild) 0.62.4 (25 Jun 2011) on borsuk.jwilk.net

╔══╗
║ gearman-interface 0.13.2-2 (i386)  27 Jun 2011 12:55 ║
╚══╝

Package: gearman-interface
Version: 0.13.2-2
Source Version: 0.13.2-2
Distribution: unstable
Architecture: i386


┌──┐
│ Fetch source files   │
└──┘


Local sources
─

gearman-interface_0.13.2-2.dsc exists in /tmp/sbuild.ifu495; copying to chroot

Check arch
──

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package `sbuild-build-depends-core-dummy' in 
`/build/gearman-interface-ZujAy9/resolver-IwICQZ/apt_archive/sbuild-build-depends-core-dummy.deb'.
OK
Reading package lists...

┌──┐
│ Install core build dependencies (apt-based resolver) │
└──┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/702 B of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously deselected package sbuild-build-depends-core-dummy.
(Reading database ... 11552 files and directories currently installed.)
Unpacking sbuild-build-depends-core-dummy (from 
.../sbuild-build-depends-core-dummy.deb) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
Merged Build-Depends: base-files, base-passwd, bash, coreutils, dash, 
debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, 
ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, 
tar, bsdutils, mount, util-linux, libc6-dev | libc-dev, gcc (= 4:4.4.3), g++ 
(= 4:4.4.3), make, dpkg-dev (= 1.13.5), python-setuptools (= 0.6b3), python, 
python3 (= 3.1.2-6~), python3-all-dev, python-all-dev, debhelper (= 7.0.50~), 
python-support (= 0.8.4), libgearman-dev (= 0.13), swig, uuid-dev
Filtered Build-Depends: base-files, base-passwd, bash, coreutils, dash, 
debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, 
ncurses-base, ncurses-bin, perl-base, sed, login, sysvinit-utils, sysvinit, 
tar,