dh_python3 causes error if private modules include no .so files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3-defaults (Debian) |
Fix Released
|
Unknown
|
|||
python3-defaults (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm testing python3 (3.2~rc1-2) imported from Debian experimental.
I tried building deb package which requires Python 3.2 and has private modules (.py files), but received error as follows:
dh_python3 -V 3.2-3.3 /usr/share/
D: dh_python3:359: argv: ['/usr/
D: dh_python3:360: options: {'recommends': None, 'verbose': False, 'package': None, 'regexpr': None, 'guess_deps': True, 'skip_private': False, 'O': None, 'suggests': None, 'depends': None, 'vrange': ((3, 2), (3, 3)), 'no_package': None, 'arch': None}
D: dh_python3:361: args: ['/usr/
D: dh_python3:371: processing package blender2.
D: dh_python3:285: package blender2.
D: dh_python3:371: processing package blender2.5...
D: dh_python3:285: package blender2.5 details = {'compile': False, 'requires.txt': set(), 'shebangs': set(), 'private_dirs': {'/usr/
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
dependencie
File "/usr/share/
if details['ext']:
KeyError: 'ext'
make[1]: *** [override_
make[1]: Leaving directory `/tmp/buildd/
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
I have already reported this bug at Debian bug tracker and posted a patch.
Changed in python3-defaults (Debian): | |
status: | Unknown → New |
Changed in python3-defaults (Debian): | |
status: | New → Fix Released |
This is fixed in the latest python3-defaults just sync'ed from Debian.