Control: affects -1 dfvfs dfwinreg
Control: block 852922 by -1 
Control: block 852881 by -1
Source: construct
Version: 2.8.8-0.1
Severity: grave

Dear maintainer,

dfvfs and dfwinreg fail to build from source (test failures) after the
recent construct update:

,----
| ImportError: Failed to import test module: volume.lvm_volume_system
| Traceback (most recent call last):
|   File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
|     module = self._get_module_from_name(name)
|   File "/usr/lib/python2.7/unittest/loader.py", line 232, in 
_get_module_from_name
|     __import__(name)
|   File "/home/bengen/p/deb/plaso/dfvfs/tests/volume/lvm_volume_system.py", 
line 10, in <module>
|     from dfvfs.volume import lvm_volume_system
|   File "./dfvfs/volume/lvm_volume_system.py", line 6, in <module>
|     from dfvfs.resolver import resolver
|   File "./dfvfs/resolver/__init__.py", line 10, in <module>
|     from dfvfs.resolver import cpio_resolver_helper
|   File "./dfvfs/resolver/cpio_resolver_helper.py", line 6, in <module>
|     import dfvfs.vfs.cpio_file_system
|   File "./dfvfs/vfs/cpio_file_system.py", line 7, in <module>
|     from dfvfs.lib import cpio
|   File "./dfvfs/lib/cpio.py", line 38, in <module>
|     class CPIOArchiveFile(object):
|   File "./dfvfs/lib/cpio.py", line 52, in CPIOArchiveFile
|     construct.UBInt16(u'signature'),
| AttributeError: 'module' object has no attribute 'UBInt16'
`----

The API changed in an incompatible way between 2.5 and 2.8.

<https://github.com/construct/construct/issues/271> was filed for a
similar example and the upstream developers don't seem to consider this
a bug. Their answer is: "Everything was redesigned in the library. Read
the docs end to end first."

Being this close to the freeze, it would probably be best revert to the
latest 2.5 release.

Cheers,
-Hilko

Reply via email to