Package: src:python-ofxclient
Version: 2.0.3+git20180108-3
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster with "dpkg-buildpackage -A"
but it failed:
[...]
debian/rules build-indep
dh build-indep --with python2 --buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py config
running config
dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:217: /usr/bin/python setup.py build
running build
running build_py
creating
/<>/python-ofxclient-2.0.3+git20180108/.pybuild/cpython2_2.7_ofxclient/build/ofxclient
copying ofxclient/util.py ->
/<>/python-ofxclient-2.0.3+git20180108/.pybuild/cpython2_2.7_ofxclient/build/ofxclient
copying ofxclient/client.py ->
/<>/python-ofxclient-2.0.3+git20180108/.pybuild/cpython2_2.7_ofxclient/build/ofxclient
[... snipped ...]
--
Traceback (most recent call last):
File
"/<>/python-ofxclient-2.0.3+git20180108/.pybuild/cpython2_2.7_ofxclient/build/tests/secure_config.py",
line 38, in testStaysUnsecure
c = makeConfig()
File
"/<>/python-ofxclient-2.0.3+git20180108/.pybuild/cpython2_2.7_ofxclient/build/tests/secure_config.py",
line 16, in makeConfig
conf.set_secure('section1', 'password', 'PASSWORD')
File "ofxclient/config.py", line 138, in set_secure
ConfigParser.set(self, section, option, value)
File "/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py",
line 1239, in set
super(ConfigParser, self).set(section, option, value)
File "/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py",
line 914, in set
value)
File "/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py",
line 392, in before_set
"position %d" % (value, tmp_value.find('%')))
ValueError: invalid interpolation syntax in u'%{secured}' at position 0
==
ERROR: testUnsavedOptions (tests.secure_config.IdentifySecureOptionTests)
--
Traceback (most recent call last):
File
"/<>/python-ofxclient-2.0.3+git20180108/.pybuild/cpython2_2.7_ofxclient/build/tests/secure_config.py",
line 82, in testUnsavedOptions
c = makeConfig()
File
"/<>/python-ofxclient-2.0.3+git20180108/.pybuild/cpython2_2.7_ofxclient/build/tests/secure_config.py",
line 16, in makeConfig
conf.set_secure('section1', 'password', 'PASSWORD')
File "ofxclient/config.py", line 138, in set_secure
ConfigParser.set(self, section, option, value)
File "/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py",
line 1239, in set
super(ConfigParser, self).set(section, option, value)
File "/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py",
line 914, in set
value)
File "/usr/lib/python2.7/dist-packages/backports/configparser/__init__.py",
line 392, in before_set
"position %d" % (value, tmp_value.find('%')))
ValueError: invalid interpolation syntax in u'%{secured}' at position 0
--
Ran 24 tests in 0.027s
FAILED (errors=11)
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd
/<>/python-ofxclient-2.0.3+git20180108/.pybuild/cpython2_2.7_ofxclient/build;
python2.7 -m nose -v tests/ofxconfig.py tests/__init__.py tests/institution.py
tests/secure_config.py tests/account.py
dh_auto_test: pybuild --test --test-nose -i python{version} -p 2.7 returned
exit code 13
debian/rules:15: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/<>/python-ofxclient-2.0.3+git20180108'
debian/rules:12: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit
status 2
The above is how the build ends in my autobuilder and it's not
necessarily the relevant part.
The failure is not, however, related to using dpkg-buildpackage -A,
as it also fails in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-ofxclient.html
If this is really a bug in one of the build-depends, please use reassign and
affects,
so that this is still visible in the page for this package.
Thanks.