[Reportbug-maint] Bug#532992: reportbug: dpkg-buildpackage -B fails

YOSHINO Yoshihito yy.y.ja.jp at gmail.com
Sat Jun 13 15:58:06 UTC 2009

Package: reportbug
Version: 4.4
Justification: fails to build from source
Severity: important

Since this does not Build-Depends (but Build-Depends-Indep) on
python-setuptools, binary-only build fails.

$ dpkg-buildpackage -B
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package reportbug
dpkg-buildpackage: source version 4.4
dpkg-buildpackage: source changed by Sandro Tosi <morph at debian.org>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
# Add here commands to clean up after the build process.
rm -rf `find . -name '*~' -o -name '.#*' -o -name '*.orig' -o -name
'*.rej' -o -name '*.py[co]'` sed-script
rm -rf build
po4a --rm-translations po4a/po4a.cfg
 debian/rules build
# Test if versions are synchronized; this will bomb if not synced
po4a po4a/po4a.cfg
python setup.py build
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    from setuptools import setup
ImportError: No module named setuptools
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-- Package-specific info:
** Environment settings:
DEBEMAIL="yy.y.ja.jp at gmail.com"

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'),
(1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                           0.7.21     Advanced front-end for dpkg
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-reportbug              4.4        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  debconf-utils                 <none>     (no description available)
pn  debsums                       <none>     (no description available)
pn  dlocate                       <none>     (no description available)
ii  file                          5.03-1     Determines file type using "magic"
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
pn  python-gnome2-extras          <none>     (no description available)
ii  python-gtk2                   2.14.1-3   Python bindings for the GTK+ widge
pn  python-urwid                  <none>     (no description available)
pn  python-vte                    <none>     (no description available)
ii  ssmtp [mail-transport-agent]  2.62-3     extremely simple MTA to get mail o

-- no debconf information

More information about the Reportbug-maint mailing list