[Pkg-bazaar-maint] Bug#852631: bzr-git: FTBFS: NotImplementedError: <bound method TransportRepo._determine_file_mode ...

Chris Lamb lamby at debian.org
Wed Jan 25 20:05:10 UTC 2017


Source: bzr-git
Version: 0.6.13-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

bzr-git fails to build from source in unstable/amd64:

  […]

      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-wEg6ZC.tmp/bzrlib.plugins.git.tests.test_git_remote_helper.RemoteHelperTests.test_import/work/local/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_instance
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_push.py", line 45, in setUp
      format=format_registry.make_bzrdir("git"))
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-kdSPOK.tmp/bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_instance/work/git/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_git_remote_helper.OpenLocalDirTests.test_from_dir
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_git_remote_helper.py", line 61, in test_from_dir
      self.make_branch_and_tree('.', format='git')
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3021, in make_branch_and_tree
      b = self.make_branch(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2711, in make_branch
      repo = self.make_repository(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-sheaRY.tmp/bzrlib.plugins.git.tests.test_git_remote_helper.OpenLocalDirTests.test_from_dir/work/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_pointless_fetch_refs_old_mapping
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_push.py", line 45, in setUp
      format=format_registry.make_bzrdir("git"))
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-sheaRY.tmp/bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_pointless_fetch_refs_old_mapping/work/git/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_git_remote_helper.OpenLocalDirTests.test_from_env_dir
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_git_remote_helper.py", line 56, in test_from_env_dir
      self.make_branch_and_tree('bla', format='git')
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3021, in make_branch_and_tree
      b = self.make_branch(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2711, in make_branch
      repo = self.make_repository(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-c_4eNT.tmp/bzrlib.plugins.git.tests.test_git_remote_helper.OpenLocalDirTests.test_from_env_dir/work/bla/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_git_remote_helper.FetchTests.test_no_wants
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_git_remote_helper.py", line 69, in setUp
      self.local_dir = self.make_branch_and_tree('local', format='git').bzrdir
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3021, in make_branch_and_tree
      b = self.make_branch(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2711, in make_branch
      repo = self.make_repository(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-jaZDVG.tmp/bzrlib.plugins.git.tests.test_git_remote_helper.FetchTests.test_no_wants/work/local/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_odd_rename
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_push.py", line 45, in setUp
      format=format_registry.make_bzrdir("git"))
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-jaZDVG.tmp/bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_odd_rename/work/git/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_pointless_missing_revisions
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_push.py", line 45, in setUp
      format=format_registry.make_bzrdir("git"))
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-c_4eNT.tmp/bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_pointless_missing_revisions/work/git/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_git_remote_helper.RemoteHelperTests.test_option
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_git_remote_helper.py", line 99, in setUp
      self.local_dir = self.make_branch_and_tree('local', format='git').bzrdir
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3021, in make_branch_and_tree
      b = self.make_branch(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2711, in make_branch
      repo = self.make_repository(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-UdoB0K.tmp/bzrlib.plugins.git.tests.test_git_remote_helper.RemoteHelperTests.test_option/work/local/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_missing_revisions_unknown_stop_rev
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_push.py", line 45, in setUp
      format=format_registry.make_bzrdir("git"))
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-UdoB0K.tmp/bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_missing_revisions_unknown_stop_rev/work/git/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_git_remote_helper.OpenLocalDirTests.test_from_env
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_git_remote_helper.py", line 51, in test_from_env
      self.make_branch_and_tree('bla', format='git')
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 3021, in make_branch_and_tree
      b = self.make_branch(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2711, in make_branch
      repo = self.make_repository(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-W7ot04.tmp/bzrlib.plugins.git.tests.test_git_remote_helper.OpenLocalDirTests.test_from_env/work/bla/>>>
  
  ======================================================================
  ERROR: bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_pointless_lossy_fetch_refs
  ----------------------------------------------------------------------
  Traceback (most recent call last):
  testtools.testresult.real._StringException: Empty attachments:
    log
  
  Traceback (most recent call last):
    File "«BUILDDIR»/tests/test_push.py", line 45, in setUp
      format=format_registry.make_bzrdir("git"))
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2756, in make_repository
      made_control = self.make_bzrdir(relpath, format=format)
    File "/usr/lib/python2.7/dist-packages/bzrlib/tests/__init__.py", line 2743, in make_bzrdir
      return format.initialize_on_transport(t)
    File "«BUILDDIR»/dir.py", line 231, in initialize_on_transport
      repo = TransportRepo.init(transport, bare=self.bare)
    File "«BUILDDIR»/transportgit.py", line 396, in init
      ret._init_files(bare)
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 198, in _init_files
      if self._determine_file_mode():
    File "/usr/lib/python2.7/dist-packages/dulwich/repo.py", line 189, in _determine_file_mode
      raise NotImplementedError(self._determine_file_mode)
  NotImplementedError: <bound method TransportRepo._determine_file_mode of <TransportRepo for <bzrlib.transport.local.LocalTransport url=file:///tmp/testbzr-W7ot04.tmp/bzrlib.plugins.git.tests.test_push.InterToGitRepositoryTests.test_pointless_lossy_fetch_refs/work/git/>>>
  
  ----------------------------------------------------------------------
  Ran 247 tests in 2.585s
  
  FAILED (errors=19, known_failure_count=1)
  1 test skipped
  debian/rules:16: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '«BUILDDIR»'
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-git.0.6.13-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 9512 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/attachments/20170125/3856a819/attachment-0001.obj>


More information about the Pkg-bazaar-maint mailing list