Hi,
I'm in the process of moving some of my packages from python-central
to dh_python2 and I have run into a problem with one of them (ufc).
This package is CMake based and uses SWIG to build an extension module
for Python, and I was earlier using the following to handle this in
debian/rules:
binary-install/python-ufc::
dh_pycentral -p$(cdbs_curpkg)
I replaced dh_pycentral with dh_python2 but that results in the
following error when I try to build the package:
dh_python2 --verbose -ppython-ufc
D: dh_python2:506: argv: ['/usr/bin/dh_python2', '--verbose', '-ppython-ufc']
D: dh_python2:507: options: {'recommends': None, 'verbose': True,
'package': ['python-ufc'], 'regexpr': None, 'guess_deps': True,
'skip_private': False, 'O': None, 'guess_versions': True, 'suggests':
None, 'depends': None, 'vrange': None, 'no_package': None, 'arch':
None}
D: dh_python2:508: args: []
D: dh_python2:518: processing package python-ufc...
D: dh_python2:418: package python-ufc details = {'public_ext':
set([(2, 6)]), 'requires.txt': set([]), 'public_vers': set([(2, 6)]),
'compile': True, 'shebangs': set([]), 'private_dirs': {}}
D: dh_python2:141: guessing files for Python 2.5
Traceback (most recent call last):
File "/usr/lib/python2.6/logging/__init__.py", line 776, in emit
msg = self.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 654, in format
return fmt.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 436, in format
record.message = record.getMessage()
File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
make: *** [binary-install/python-ufc] Error 3
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
Any idea what went wrong?
Regards,
Johannes
--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
http://lists.debian.org/BANLkTi=4zd7xoipw5vv4lvvczzhwmvx...@mail.gmail.com