On 2009-06-28 10:42:41 +0200, Stefano Zacchiroli wrote: > According to the error message, it is surely the proper fix. > What puzzles me, is that I don't get the error in Debian, can you > please tell me more about your configuration? In particular, which > Python version are you using during building? Also, it would be nice > if you mention the version of all the build-dependencies of the > package.
It's current Ubuntu karmic. The versions are as follows: python 2.6.2-0ubuntu1 python2.6 2.6.2-0ubuntu2 debhelper 7.2.14ubuntu1 cdbs 0.4.56ubuntu5 python-dev 2.6.2-0ubuntu1 python-support 1.0.3ubuntu1 python-setuptools 0.6c9-0ubuntu4 I've also attached a log from trying to build it in my karmic pbuilder in case you need more information. Michael
I: using fakeroot in build. I: Current time: Sun Jun 28 11:20:26 CEST 2009 I: pbuilder-time-stamp: 1246180826 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/karmic/base.tgz] I: creating local configuration I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /dev/pts filesystem I: policy-rc.d already exists I: Installing the build-deps W: no hooks of type D found -- ignoring /usr/lib/python2.6/dist-packages/GDebi/DebPackage.py:73: DeprecationWarning: Accessed deprecated property Package.installedVersion, please see the Version class for alternatives. instver = inst.installedVersion /usr/lib/python2.6/dist-packages/GDebi/DebPackage.py:417: DeprecationWarning: Accessed deprecated property Package.candidateOrigin, please see the Version class for alternatives. for origin in pkg.candidateOrigin: Reading package lists... Building dependency tree... Reading state information... Suggested packages: autoconf2.13 autobook autoconf-archive gnu-standards autoconf-doc libtool wamerican wordlist whois vacation doc-base dh-make cvs gettext-doc groff libdata-dump-perl libcrypt-ssleay-perl libio-socket-ssl-perl less www-browser libmail-box-perl python-doc python-tk python-profiler python2.6-doc python2.6-profiler Recommended packages: curl wget lynx libglib2.0-data shared-mime-info libmailtools-perl libhtml-format-perl xml-core libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autotools-dev bsdmainutils cdbs debhelper fdupes file gettext gettext-base groff-base html2text intltool intltool-debian libcroco3 libexpat1 libglib2.0-0 libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libmagic1 libpcre3 libpython2.6 libsqlite3-0 liburi-perl libwww-perl libxml-parser-perl libxml2 m4 man-db mime-support po-debconf python python-central python-dev python-pkg-resources python-setuptools python-support python2.6 python2.6-dev 0 upgraded, 40 newly installed, 0 to remove and 0 not upgraded. Need to get 20.9MB of archives. After this operation, 66.4MB of additional disk space will be used. Get:1 http://archive.ubuntu.com karmic/main libmagic1 5.03-1ubuntu1 [389kB] Get:2 http://archive.ubuntu.com karmic/main file 5.03-1ubuntu1 [47.5kB] Get:3 http://archive.ubuntu.com karmic/main libsqlite3-0 3.6.14.2-1 [298kB] Get:4 http://archive.ubuntu.com karmic/main mime-support 3.46-1 [33.8kB] Get:5 http://archive.ubuntu.com karmic/main python2.6 2.6.2-0ubuntu2 [2530kB] Get:6 http://archive.ubuntu.com karmic/main python 2.6.2-0ubuntu1 [141kB] Get:7 http://archive.ubuntu.com karmic/main python-support 1.0.3ubuntu1 [31.5kB] Get:8 http://archive.ubuntu.com karmic/main bsdmainutils 6.1.10ubuntu4 [182kB] Get:9 http://archive.ubuntu.com karmic/main gettext-base 0.17-6ubuntu2 [80.2kB] Get:10 http://archive.ubuntu.com karmic/main groff-base 1.18.1.1-22build1 [886kB] Get:11 http://archive.ubuntu.com karmic/main libexpat1 2.0.1-4 [137kB] Get:12 http://archive.ubuntu.com karmic/main libhtml-tagset-perl 3.20-2 [13.5kB] Get:13 http://archive.ubuntu.com karmic/main liburi-perl 1.37+dfsg-1ubuntu1 [88.6kB] Get:14 http://archive.ubuntu.com karmic/main libhtml-parser-perl 3.61-1 [112kB] Get:15 http://archive.ubuntu.com karmic/main libhtml-tree-perl 3.23-1 [209kB] Get:16 http://archive.ubuntu.com karmic/main libwww-perl 5.826-1 [381kB] Get:17 http://archive.ubuntu.com karmic/main libxml-parser-perl 2.36-1.1build2 [324kB] Get:18 http://archive.ubuntu.com karmic/main libxml2 2.7.3.dfsg-1ubuntu1 [860kB] Get:19 http://archive.ubuntu.com karmic/main man-db 2.5.5-2 [1400kB] Get:20 http://archive.ubuntu.com karmic/main python-central 0.6.11ubuntu7 [45.4kB] Get:21 http://archive.ubuntu.com karmic/main m4 1.4.13-1 [287kB] Get:22 http://archive.ubuntu.com karmic/main autoconf 2.63-3ubuntu1 [508kB] Get:23 http://archive.ubuntu.com karmic/main autotools-dev 20090427.1 [63.7kB] Get:24 http://archive.ubuntu.com karmic/main automake 1:1.10.2-1ubuntu2 [527kB] Get:25 http://archive.ubuntu.com karmic/main html2text 1.3.2a-14 [104kB] Get:26 http://archive.ubuntu.com karmic/main libpcre3 7.8-2ubuntu1 [215kB] Get:27 http://archive.ubuntu.com karmic/main libglib2.0-0 2.21.2-0ubuntu1 [965kB] Get:28 http://archive.ubuntu.com karmic/main libcroco3 0.6.1-2 [100kB] Get:29 http://archive.ubuntu.com karmic/main gettext 0.17-6ubuntu2 [1992kB] Get:30 http://archive.ubuntu.com karmic/main intltool-debian 0.35.0+20060710.1 [31.6kB] Get:31 http://archive.ubuntu.com karmic/main po-debconf 1.0.16 [224kB] Get:32 http://archive.ubuntu.com karmic/main debhelper 7.2.14ubuntu1 [551kB] Get:33 http://archive.ubuntu.com karmic/main fdupes 1.50-PR2-2 [20.1kB] Get:34 http://archive.ubuntu.com karmic/main intltool 0.40.6-2 [61.7kB] Get:35 http://archive.ubuntu.com karmic/main cdbs 0.4.56ubuntu5 [1038kB] Get:36 http://archive.ubuntu.com karmic/main libpython2.6 2.6.2-0ubuntu2 [1054kB] Get:37 http://archive.ubuntu.com karmic/main python2.6-dev 2.6.2-0ubuntu2 [4697kB] Get:38 http://archive.ubuntu.com karmic/main python-dev 2.6.2-0ubuntu1 [978B] Get:39 http://archive.ubuntu.com karmic/main python-pkg-resources 0.6c9-0ubuntu4 [63.0kB] Get:40 http://archive.ubuntu.com karmic/main python-setuptools 0.6c9-0ubuntu4 [195kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 20.9MB in 0s (48.2MB/s) Selecting previously deselected package libmagic1. (Reading database ... 10873 files and directories currently installed.) Unpacking libmagic1 (from .../libmagic1_5.03-1ubuntu1_amd64.deb) ... Selecting previously deselected package file. Unpacking file (from .../file_5.03-1ubuntu1_amd64.deb) ... Selecting previously deselected package libsqlite3-0. Unpacking libsqlite3-0 (from .../libsqlite3-0_3.6.14.2-1_amd64.deb) ... Selecting previously deselected package mime-support. Unpacking mime-support (from .../mime-support_3.46-1_all.deb) ... Selecting previously deselected package python2.6. Unpacking python2.6 (from .../python2.6_2.6.2-0ubuntu2_amd64.deb) ... Selecting previously deselected package python. Unpacking python (from .../python_2.6.2-0ubuntu1_all.deb) ... Selecting previously deselected package python-support. Unpacking python-support (from .../python-support_1.0.3ubuntu1_all.deb) ... Selecting previously deselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_6.1.10ubuntu4_amd64.deb) ... Selecting previously deselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.17-6ubuntu2_amd64.deb) ... Selecting previously deselected package groff-base. Unpacking groff-base (from .../groff-base_1.18.1.1-22build1_amd64.deb) ... Selecting previously deselected package libexpat1. Unpacking libexpat1 (from .../libexpat1_2.0.1-4_amd64.deb) ... Selecting previously deselected package libhtml-tagset-perl. Unpacking libhtml-tagset-perl (from .../libhtml-tagset-perl_3.20-2_all.deb) ... Selecting previously deselected package liburi-perl. Unpacking liburi-perl (from .../liburi-perl_1.37+dfsg-1ubuntu1_all.deb) ... Selecting previously deselected package libhtml-parser-perl. Unpacking libhtml-parser-perl (from .../libhtml-parser-perl_3.61-1_amd64.deb) ... Selecting previously deselected package libhtml-tree-perl. Unpacking libhtml-tree-perl (from .../libhtml-tree-perl_3.23-1_all.deb) ... Selecting previously deselected package libwww-perl. Unpacking libwww-perl (from .../libwww-perl_5.826-1_all.deb) ... Selecting previously deselected package libxml-parser-perl. Unpacking libxml-parser-perl (from .../libxml-parser-perl_2.36-1.1build2_amd64.deb) ... Selecting previously deselected package libxml2. Unpacking libxml2 (from .../libxml2_2.7.3.dfsg-1ubuntu1_amd64.deb) ... Selecting previously deselected package man-db. Unpacking man-db (from .../man-db_2.5.5-2_amd64.deb) ... Selecting previously deselected package python-central. Unpacking python-central (from .../python-central_0.6.11ubuntu7_all.deb) ... Selecting previously deselected package m4. Unpacking m4 (from .../archives/m4_1.4.13-1_amd64.deb) ... Selecting previously deselected package autoconf. Unpacking autoconf (from .../autoconf_2.63-3ubuntu1_all.deb) ... Selecting previously deselected package autotools-dev. Unpacking autotools-dev (from .../autotools-dev_20090427.1_all.deb) ... Selecting previously deselected package automake. Unpacking automake (from .../automake_1%3a1.10.2-1ubuntu2_all.deb) ... Selecting previously deselected package html2text. Unpacking html2text (from .../html2text_1.3.2a-14_amd64.deb) ... Selecting previously deselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_7.8-2ubuntu1_amd64.deb) ... Selecting previously deselected package libglib2.0-0. Unpacking libglib2.0-0 (from .../libglib2.0-0_2.21.2-0ubuntu1_amd64.deb) ... Selecting previously deselected package libcroco3. Unpacking libcroco3 (from .../libcroco3_0.6.1-2_amd64.deb) ... Selecting previously deselected package gettext. Unpacking gettext (from .../gettext_0.17-6ubuntu2_amd64.deb) ... Selecting previously deselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously deselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16_all.deb) ... Selecting previously deselected package debhelper. Unpacking debhelper (from .../debhelper_7.2.14ubuntu1_all.deb) ... Selecting previously deselected package fdupes. Unpacking fdupes (from .../fdupes_1.50-PR2-2_amd64.deb) ... Selecting previously deselected package intltool. Unpacking intltool (from .../intltool_0.40.6-2_all.deb) ... Selecting previously deselected package cdbs. Unpacking cdbs (from .../cdbs_0.4.56ubuntu5_all.deb) ... Selecting previously deselected package libpython2.6. Unpacking libpython2.6 (from .../libpython2.6_2.6.2-0ubuntu2_amd64.deb) ... Selecting previously deselected package python2.6-dev. Unpacking python2.6-dev (from .../python2.6-dev_2.6.2-0ubuntu2_amd64.deb) ... Selecting previously deselected package python-dev. Unpacking python-dev (from .../python-dev_2.6.2-0ubuntu1_all.deb) ... Selecting previously deselected package python-pkg-resources. Unpacking python-pkg-resources (from .../python-pkg-resources_0.6c9-0ubuntu4_all.deb) ... Selecting previously deselected package python-setuptools. Unpacking python-setuptools (from .../python-setuptools_0.6c9-0ubuntu4_all.deb) ... Setting up libmagic1 (5.03-1ubuntu1) ... Setting up file (5.03-1ubuntu1) ... Setting up libsqlite3-0 (3.6.14.2-1) ... Setting up mime-support (3.46-1) ... Setting up python2.6 (2.6.2-0ubuntu2) ... Setting up python (2.6.2-0ubuntu1) ... Setting up python-support (1.0.3ubuntu1) ... Setting up bsdmainutils (6.1.10ubuntu4) ... Setting up gettext-base (0.17-6ubuntu2) ... Setting up groff-base (1.18.1.1-22build1) ... Setting up libexpat1 (2.0.1-4) ... Setting up libhtml-tagset-perl (3.20-2) ... Setting up liburi-perl (1.37+dfsg-1ubuntu1) ... Setting up libhtml-parser-perl (3.61-1) ... Setting up libhtml-tree-perl (3.23-1) ... Setting up libwww-perl (5.826-1) ... Setting up libxml-parser-perl (2.36-1.1build2) ... Setting up libxml2 (2.7.3.dfsg-1ubuntu1) ... Setting up man-db (2.5.5-2) ... Building database of manual pages ... Setting up python-central (0.6.11ubuntu7) ... Setting up m4 (1.4.13-1) ... Setting up autoconf (2.63-3ubuntu1) ... Setting up autotools-dev (20090427.1) ... Setting up automake (1:1.10.2-1ubuntu2) ... Setting up html2text (1.3.2a-14) ... Setting up libpcre3 (7.8-2ubuntu1) ... Setting up libglib2.0-0 (2.21.2-0ubuntu1) ... Setting up libcroco3 (0.6.1-2) ... Setting up gettext (0.17-6ubuntu2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16) ... Setting up debhelper (7.2.14ubuntu1) ... Setting up fdupes (1.50-PR2-2) ... Setting up intltool (0.40.6-2) ... Setting up cdbs (0.4.56ubuntu5) ... Setting up libpython2.6 (2.6.2-0ubuntu2) ... Setting up python2.6-dev (2.6.2-0ubuntu2) ... Setting up python-dev (2.6.2-0ubuntu1) ... Setting up python-pkg-resources (0.6c9-0ubuntu4) ... Setting up python-setuptools (0.6c9-0ubuntu4) ... Processing triggers for libc6 ... ldconfig deferred processing now taking place Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: fakeroot 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 126kB of archives. After this operation, 463kB of additional disk space will be used. Get:1 http://archive.ubuntu.com karmic/main fakeroot 1.12.4ubuntu1 [126kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 126kB in 0s (1214kB/s) Selecting previously deselected package fakeroot. (Reading database ... 13576 files and directories currently installed.) Unpacking fakeroot (from .../fakeroot_1.12.4ubuntu1_amd64.deb) ... Processing triggers for man-db ... Setting up fakeroot (1.12.4ubuntu1) ... I: Copying source file I: copying [python-repoze.who-plugins_20090530-2.dsc] I: copying [./python-repoze.who-plugins_20090530.orig.tar.gz] I: copying [./python-repoze.who-plugins_20090530-2.diff.gz] I: Extracting source gpg: new configuration file `/tmp/buildd/.gnupg/gpg.conf' created gpg: WARNING: options in `/tmp/buildd/.gnupg/gpg.conf' are not yet active during this run gpg: Signature made Tue Jun 2 11:35:37 2009 UTC using DSA key ID F2C423BC gpg: Can't check signature: public key not found dpkg-source: extracting python-repoze.who-plugins in python-repoze.who-plugins-20090530 dpkg-source: info: unpacking python-repoze.who-plugins_20090530.orig.tar.gz dpkg-source: info: applying python-repoze.who-plugins_20090530-2.diff.gz I: Building the package W: no hooks of type A found -- ignoring dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package python-repoze.who-plugins dpkg-buildpackage: source version 20090530-2 dpkg-buildpackage: source changed by Stefano Zacchiroli <z...@debian.org> dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean pyversions: missing XS-Python-Version in control file, fall back to debian/pyversions pyversions: missing debian/pyversions file, fall back to supported versions test -x debian/rules dh_clean cd . && python setup.py clean -a running clean 'build/lib.linux-x86_64-2.6' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-2.6' does not exist -- can't clean it running clean 'build/lib.linux-x86_64-2.6' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-2.6' does not exist -- can't clean it File "setup.py", line 44 test_suite='repoze.who.plugins.openid.tests' SyntaxError: keyword argument repeated ERROR: setup.py in subdir repoze.who.plugins.openid failed make: [python-module-clean/python-repoze.who-plugins] Error 1 (ignored) rm -rf debian/python-module-stampdir find . -name '*.pyc' -exec rm '{}' ';' dpkg-source -b python-repoze.who-plugins-20090530 dpkg-source: info: using source format `1.0' dpkg-source: info: building python-repoze.who-plugins using existing python-repoze.who-plugins_20090530.orig.tar.gz dpkg-source: info: building python-repoze.who-plugins in python-repoze.who-plugins_20090530-2.diff.gz dpkg-source: info: building python-repoze.who-plugins in python-repoze.who-plugins_20090530-2.dsc debian/rules build pyversions: missing XS-Python-Version in control file, fall back to debian/pyversions pyversions: missing debian/pyversions file, fall back to supported versions test -x debian/rules mkdir -p "." mkdir -p debian/python-module-stampdir cd . && python setup.py build --build-base="/tmp/buildd/python-repoze.who-plugins-20090530/./build" running build running build_py creating /tmp/buildd/python-repoze.who-plugins-20090530/build creating /tmp/buildd/python-repoze.who-plugins-20090530/build/lib.linux-x86_64-2.6 creating /tmp/buildd/python-repoze.who-plugins-20090530/build/lib.linux-x86_64-2.6/repoze copying repoze/__init__.py -> /tmp/buildd/python-repoze.who-plugins-20090530/./build/lib.linux-x86_64-2.6/repoze creating /tmp/buildd/python-repoze.who-plugins-20090530/build/lib.linux-x86_64-2.6/repoze/who copying repoze/who/__init__.py -> /tmp/buildd/python-repoze.who-plugins-20090530/./build/lib.linux-x86_64-2.6/repoze/who creating /tmp/buildd/python-repoze.who-plugins-20090530/build/lib.linux-x86_64-2.6/repoze/who/plugins copying repoze/who/plugins/friendlyform.py -> /tmp/buildd/python-repoze.who-plugins-20090530/./build/lib.linux-x86_64-2.6/repoze/who/plugins copying repoze/who/plugins/__init__.py -> /tmp/buildd/python-repoze.who-plugins-20090530/./build/lib.linux-x86_64-2.6/repoze/who/plugins running egg_info writing requirements to repoze.who_friendlyform.egg-info/requires.txt writing repoze.who_friendlyform.egg-info/PKG-INFO writing namespace_packages to repoze.who_friendlyform.egg-info/namespace_packages.txt writing top-level names to repoze.who_friendlyform.egg-info/top_level.txt writing dependency_links to repoze.who_friendlyform.egg-info/dependency_links.txt writing entry points to repoze.who_friendlyform.egg-info/entry_points.txt reading manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' warning: no previously-included files matching '*' found under directory 'tests' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.egg' found anywhere in distribution warning: no previously-included files matching '.directory' found anywhere in distribution writing manifest file 'repoze.who_friendlyform.egg-info/SOURCES.txt' running build running build_py creating /tmp/buildd/python-repoze.who-plugins-20090530/build/lib.linux-x86_64-2.6/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/tests.py -> /tmp/buildd/python-repoze.who-plugins-20090530/./build/lib.linux-x86_64-2.6/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/__init__.py -> /tmp/buildd/python-repoze.who-plugins-20090530/./build/lib.linux-x86_64-2.6/repoze/who/plugins/ldap copying repoze/who/plugins/ldap/plugins.py -> /tmp/buildd/python-repoze.who-plugins-20090530/./build/lib.linux-x86_64-2.6/repoze/who/plugins/ldap running egg_info writing requirements to repoze.who.plugins.ldap.egg-info/requires.txt writing repoze.who.plugins.ldap.egg-info/PKG-INFO writing namespace_packages to repoze.who.plugins.ldap.egg-info/namespace_packages.txt writing top-level names to repoze.who.plugins.ldap.egg-info/top_level.txt writing dependency_links to repoze.who.plugins.ldap.egg-info/dependency_links.txt reading manifest file 'repoze.who.plugins.ldap.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'docs/build' no previously-included directories found matching 'docs/api' warning: no previously-included files matching '*.egg' found under directory 'demo/' warning: no previously-included files matching '*.db' found under directory 'demo/' warning: no previously-included files matching '*.po' found under directory 'demo/' no previously-included directories found matching 'demo/LDAPAuth.egg-info' no previously-included directories found matching 'demo/ez_setup' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'repoze.who.plugins.ldap.egg-info/SOURCES.txt' File "setup.py", line 44 test_suite='repoze.who.plugins.openid.tests' SyntaxError: keyword argument repeated ERROR: setup.py in subdir repoze.who.plugins.openid failed make: *** [debian/python-module-stampdir/python-repoze.who-plugins] Error 1 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 E: Failed autobuilding of package W: no hooks of type C found -- ignoring I: unmounting dev/pts filesystem I: unmounting proc filesystem I: cleaning the build env I: removing directory /var/cache/pbuilder/build//20482 and its subdirectories