[Debian-ha-maintainers] Bug#867287: pcs FTBFS: ConfigParser.MissingSectionHeaderError: File contains no section headers.

Adrian Bunk bunk at debian.org
Wed Jul 5 13:57:33 UTC 2017


Source: pcs
Version: 0.9.159-1
Severity: serious

https://buildd.debian.org/status/fetch.php?pkg=pcs&arch=all&ver=0.9.159-1&stamp=1499257734&raw=0

...
# Make pcs
/usr/bin/make install \
	PREFIX=/usr \
	DESTDIR=/<<PKGBUILDDIR>>/debian/tmp \
	PYTHON_SITELIB=/usr/lib/python2.7/dist-packages \
	install_settings=true
make[2]: Entering directory '/<<PKGBUILDDIR>>'
# make Python interpreter execution sane (via -Es flags)
echo -e "[build]\nexecutable = /usr/bin/python -Es\n" > setup.cfg
/usr/bin/python setup.py install --root=/<<PKGBUILDDIR>>/debian/tmp "--install-layout=deb"
Traceback (most recent call last):
  File "setup.py", line 39, in <module>
    'clean': CleanCommand,
  File "/usr/lib/python2.7/distutils/core.py", line 124, in setup
    dist.parse_config_files()
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 355, in parse_config_files
    _Distribution.parse_config_files(self, filenames=filenames)
  File "/usr/lib/python2.7/distutils/dist.py", line 390, in parse_config_files
    parser.read(filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: setup.cfg, line: 1
'-e [build]\n'
Makefile:102: recipe for target 'install' failed
make[2]: *** [install] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:27: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 2



More information about the Debian-ha-maintainers mailing list