[Pkg-net-snmp-devel] Bug#461109: snmpd: error in swig; won't build from source

John Kozak jk at baseblack.com
Wed Jan 16 16:49:53 UTC 2008

Package: snmpd
Version: 5.3.1-8
Severity: serious

after "apt-get source snmpd" and "fakeroot debian/rules binary":

# Build python modules manually as the net-snmp Makefile is too limited.
cd python; python2.4 setup.py build --basedir=/tmp/net-snmp-5.4.1~dfsg
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.4
creating build/lib.linux-x86_64-2.4/netsnmp
copying netsnmp/__init__.py -> build/lib.linux-x86_64-2.4/netsnmp
copying netsnmp/client.py -> build/lib.linux-x86_64-2.4/netsnmp
creating build/lib.linux-x86_64-2.4/netsnmp/tests
copying netsnmp/tests/__init__.py -> build/lib.linux-x86_64-2.4/netsnmp/tests
copying netsnmp/tests/test.py -> build/lib.linux-x86_64-2.4/netsnmp/tests
running build_ext
building 'netsnmp.client_intf' extension
Traceback (most recent call last):
  File "setup.py", line 44, in ?
    libraries=libs )
  File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
  File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
  File "/usr/lib/python2.4/distutils/command/build.py", line 113, in run
  File "/usr/lib/python2.4/distutils/cmd.py", line 333, in run_command
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
  File "/usr/lib/python2.4/site-packages/setuptools/command/build_ext.py", line 46, in run
  File "/usr/lib/python2.4/distutils/command/build_ext.py", line 279, in run
  File "/usr/lib/python2.4/site-packages/Pyrex/Distutils/build_ext.py", line 82, in build_extensions
  File "/usr/lib/python2.4/site-packages/setuptools/command/build_ext.py", line 175, in build_extension
  File "/usr/lib/python2.4/distutils/command/build_ext.py", line 442, in build_extension
    sources = self.swig_sources(sources, ext)
  File "/usr/lib/python2.4/site-packages/setuptools/command/build_ext.py", line 77, in swig_sources
    sources = _build_ext.swig_sources(self, sources) or sources
TypeError: swig_sources() takes exactly 3 arguments (2 given)
make: *** [debian/python-build-stamp-2.4] Error 1

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages snmpd depends on:
ii  adduser                       3.105      add and remove users and groups
ii  debconf                       1.5.18     Debian configuration management sy
ii  libc6                         2.7-6      GNU C Library: Shared libraries
ii  libsensors3                   1:2.10.5-5 library to read temperature/voltag
ii  libsnmp10                     5.3.1-8    SNMP (Simple Network Management Pr
ii  libwrap0                      7.6.dbs-14 Wietse Venema's TCP wrappers libra

snmpd recommends no packages.

-- debconf-show failed

More information about the Pkg-net-snmp-devel mailing list