[Pkg-bazaar-maint] Bug#652757: bzr-grep: FTBFS: __init__() takes at least 5 arguments (4 given)

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Dec 20 14:53:49 UTC 2011


Source: bzr-grep
Version: 0.4.0-4
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20111220 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/build/bzr-grep-6P4N4z/bzr-grep-0.4.0'
> BZR_PLUGINS_AT=grep@/build/bzr-grep-6P4N4z/bzr-grep-0.4.0 /usr/bin/bzr selftest -s bp.grep
> bzr: ERROR: exceptions.TypeError: Error when calling the metaclass bases
>     __init__() takes at least 5 arguments (4 given)
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 923, in exception_to_return_code
>     return the_callable(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1128, in run_bzr
>     ret = run(*run_argv)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 676, in run_argv_aliases
>     return self.run(**all_cmd_args)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 698, in run
>     return self._operation.run_simple(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
>     self.cleanups, self.func, *args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
>     result = func(*args, **kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 4012, in run
>     result = tests.selftest(**selftest_kwargs)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3708, in selftest
>     suite = test_suite(keep_only, starting_with)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 4198, in test_suite
>     plugin_suite = plugin.test_suite()
>   File "/usr/lib/python2.7/dist-packages/bzrlib/plugin.py", line 554, in test_suite
>     return self.module.test_suite()
>   File "/build/bzr-grep-6P4N4z/bzr-grep-0.4.0/__init__.py", line 259, in test_suite
>     ["%s.%s" % (__name__, tmn) for tmn in testmod_names]))
>   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/TestUtil.py", line 148, in loadTestsFromModuleNames
>     result.addTests(self.loadTestsFromModuleName(name))
>   File "/usr/lib/python2.7/dist-packages/bzrlib/tests/TestUtil.py", line 153, in loadTestsFromModuleName
>     module = pyutils.get_named_object(name)
>   File "/usr/lib/python2.7/dist-packages/bzrlib/pyutils.py", line 57, in get_named_object
>     __import__(module_name, globals(), locals(), [])
>   File "/build/bzr-grep-6P4N4z/bzr-grep-0.4.0/test_grep.py", line 21, in <module>
>     import features
>   File "/build/bzr-grep-6P4N4z/bzr-grep-0.4.0/features.py", line 21, in <module>
>     class _ColorFeature(tests.Feature):
> TypeError: Error when calling the metaclass bases
>     __init__() takes at least 5 arguments (4 given)
> 
> bzr 2.5b4 on python 2.7.2 (Linux-2.6.32-5-amd64-x86_64-with-debian-wheezy-sid)
> arguments: ['/usr/bin/bzr', 'selftest', '-s', 'bp.grep']
> plugins: bash_completion[2.5b4], changelog_merge[2.5b4], grep[0.4.0],
>     launchpad[2.5b4], netrc_credential_store[2.5b4], news_merge[2.5b4],
>     po_merge[2.5b4], weave_fmt[2.5b4]
> encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
> 
> *** Bazaar has encountered an internal error.  This probably indicates a
>     bug in Bazaar.  You can help us fix it by filing a bug report at
>         https://bugs.launchpad.net/bzr/+filebug
>     including this traceback and a description of the problem.
> make[1]: *** [override_dh_auto_test] Error 4

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/12/20/bzr-grep_0.4.0-4_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Pkg-bazaar-maint mailing list