Bug#812733: dfvfs: FTBFS: UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)

Chris Lamb lamby at debian.org
Tue Jan 26 08:28:36 UTC 2016


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

Dear Maintainer,

dfvfs fails to build from source in unstable/amd64:

  [..]

  
  ======================================================================
  ERROR: testResolvePathWithEnvironmentVariable (helpers.windows_path_resolver.WindowsPathResolverTest)
  Test the resolve path function with environment variable expansion.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/helpers/windows_path_resolver.py", line 179, in testResolvePathWithEnvironmentVariable
      path_spec = path_resolver.ResolvePath(windows_path)
    File "./dfvfs/helpers/windows_path_resolver.py", line 241, in ResolvePath
      path, expand_variables=expand_variables)
    File "./dfvfs/helpers/windows_path_resolver.py", line 176, in _ResolvePath
      path_segment, case_sensitive=False)
    File "./dfvfs/vfs/file_entry.py", line 317, in GetSubFileEntryByName
      for sub_file_entry in self.sub_file_entries:
    File "./dfvfs/vfs/os_file_entry.py", line 228, in sub_file_entries
      for path_spec in self._directory.entries:
    File "./dfvfs/vfs/file_entry.py", line 67, in entries
      for entry in self._EntriesGenerator():
    File "./dfvfs/vfs/os_file_entry.py", line 45, in _EntriesGenerator
      location, directory_entry])
    File "./dfvfs/vfs/os_file_system.py", line 191, in JoinPath
      segment.split(self.PATH_SEPARATOR) for segment in path_segments]
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)
  
  ======================================================================
  ERROR: testDataStreams (vfs.tsk_file_entry.TSKFileEntryTest)
  Test the data streams functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_entry.py", line 28, in setUp
      self._file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testGetDataStream (vfs.tsk_file_entry.TSKFileEntryTest)
  Test the retrieve data streams functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_entry.py", line 28, in setUp
      self._file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testGetFileEntryByPathSpec (vfs.tsk_file_entry.TSKFileEntryTest)
  Test the get entry by path specification functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_entry.py", line 28, in setUp
      self._file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testGetLinkedFileEntry (vfs.tsk_file_entry.TSKFileEntryTest)
  Test the get linked file entry functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_entry.py", line 28, in setUp
      self._file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testGetParentFileEntry (vfs.tsk_file_entry.TSKFileEntryTest)
  Test the get parent file entry functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_entry.py", line 28, in setUp
      self._file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testGetStat (vfs.tsk_file_entry.TSKFileEntryTest)
  Test the get stat functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_entry.py", line 28, in setUp
      self._file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testIntialize (vfs.tsk_file_entry.TSKFileEntryTest)
  Test the initialize functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_entry.py", line 28, in setUp
      self._file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testIsFunctions (vfs.tsk_file_entry.TSKFileEntryTest)
  Test the Is? functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_entry.py", line 28, in setUp
      self._file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testSubFileEntries (vfs.tsk_file_entry.TSKFileEntryTest)
  Test the sub file entries iteration functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_entry.py", line 28, in setUp
      self._file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testFileEntryExistsByPathSpec (vfs.tsk_file_system.TSKFileSystemTest)
  Test the file entry exists by path specification functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_system.py", line 39, in testFileEntryExistsByPathSpec
      file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testGetFileEntryByPathSpec (vfs.tsk_file_system.TSKFileSystemTest)
  Test the get entry by path specification functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_system.py", line 56, in testGetFileEntryByPathSpec
      file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testGetRootFileEntry (vfs.tsk_file_system.TSKFileSystemTest)
  Test the get root file entry functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_system.py", line 86, in testGetRootFileEntry
      file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ======================================================================
  ERROR: testOpenAndClose (vfs.tsk_file_system.TSKFileSystemTest)
  Test the open and close functionality.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108/tests/vfs/tsk_file_system.py", line 30, in testOpenAndClose
      file_system.Open(self._tsk_path_spec)
    File "./dfvfs/vfs/file_system.py", line 230, in Open
      self._Open(path_spec, mode=mode)
    File "./dfvfs/vfs/tsk_file_system.py", line 64, in _Open
      path_spec.parent, resolver_context=self._resolver_context)
    File "./dfvfs/resolver/resolver.py", line 113, in OpenFileObject
      file_object.open(path_spec=path_spec)
    File "./dfvfs/file_io/file_io.py", line 73, in open
      self._Open(path_spec=path_spec, mode=mode)
    File "./dfvfs/file_io/os_file_io.py", line 88, in _Open
      stat_info = os.stat(location)
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 72: ordinal not in range(128)
  
  ----------------------------------------------------------------------
  Ran 389 tests in 46.403s
  
  FAILED (errors=26)
  Checking availability and versions of dfvfs dependencies.
  [OK]		construct version: 2.5.2
  [OK]		google.protobuf
  [OK]		six version: 1.10.0
  [OK]		SleuthKit version: 4.2.0
  [OK]		pytsk3 version: 20160111
  [OK]		libbde (pybde) version: 20160110
  [OK]		libewf (pyewf) version: 20140608
  [OK]		libfsntfs (pyfsntfs) version: 20160108
  [OK]		libqcow (pyqcow) version: 20160123
  [OK]		libsigscan (pysigscan) version: 20160108
  [OK]		libsmdev (pysmdev) version: 20160109
  [OK]		libsmraw (pysmraw) version: 20160108
  [OK]		libvhdi (pyvhdi) version: 20160108
  [OK]		libvmdk (pyvmdk) version: 20160119
  [OK]		libvshadow (pyvshadow) version: 20160110
  
  debian/rules:19: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160126092053.HI2fPHzkja/dfvfs-20160108'
  debian/rules:12: recipe for target 'build' failed
  make: *** [build] Error 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: dfvfs.20160108-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 7453 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20160126/6060eb46/attachment-0001.obj>


More information about the forensics-devel mailing list