[PKG-Openstack-devel] Bug#906413: swift: FTBFS in buster/sid (AttributeError: '_Environ' object has no attribute 'has_key')

Santiago Vila sanvila at debian.org
Fri Aug 17 12:21:41 BST 2018


Package: src:swift
Version: 2.17.0-4
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
debian/rules:55: warning: overriding recipe for target 'gen-init-configurations'
/usr/share/openstack-pkg-tools/pkgos.make:19: warning: ignoring old recipe for target 'gen-init-configurations'
debian/rules:64: warning: overriding recipe for target 'override_dh_systemd_enable'
/usr/share/openstack-pkg-tools/pkgos.make:40: warning: ignoring old recipe for target 'override_dh_systemd_enable'
debian/rules:70: warning: overriding recipe for target 'override_dh_installinit'
/usr/share/openstack-pkg-tools/pkgos.make:43: warning: ignoring old recipe for target 'override_dh_installinit'
dh build-indep --buildsystem=python_distutils --with python2,sphinxdoc,systemd
   dh_update_autotools_config -i -O--buildsystem=python_distutils
   dh_autoreconf -i -O--buildsystem=python_distutils
   dh_auto_configure -i -O--buildsystem=python_distutils

[... snipped ...]

copying and adjusting bin/swift-container-info -> build/scripts-2.7
copying and adjusting bin/swift-container-replicator -> build/scripts-2.7
copying and adjusting bin/swift-container-server -> build/scripts-2.7
copying and adjusting bin/swift-container-sync -> build/scripts-2.7
copying and adjusting bin/swift-container-updater -> build/scripts-2.7
copying and adjusting bin/swift-container-reconciler -> build/scripts-2.7
copying and adjusting bin/swift-reconciler-enqueue -> build/scripts-2.7
copying and adjusting bin/swift-dispersion-populate -> build/scripts-2.7
copying and adjusting bin/swift-dispersion-report -> build/scripts-2.7
copying and adjusting bin/swift-drive-audit -> build/scripts-2.7
copying and adjusting bin/swift-form-signature -> build/scripts-2.7
copying and adjusting bin/swift-get-nodes -> build/scripts-2.7
copying and adjusting bin/swift-init -> build/scripts-2.7
copying and adjusting bin/swift-object-auditor -> build/scripts-2.7
copying and adjusting bin/swift-object-expirer -> build/scripts-2.7
copying and adjusting bin/swift-object-info -> build/scripts-2.7
copying and adjusting bin/swift-object-replicator -> build/scripts-2.7
copying and adjusting bin/swift-object-reconstructor -> build/scripts-2.7
copying and adjusting bin/swift-object-relinker -> build/scripts-2.7
copying and adjusting bin/swift-object-server -> build/scripts-2.7
copying and adjusting bin/swift-object-updater -> build/scripts-2.7
copying and adjusting bin/swift-oldies -> build/scripts-2.7
copying and adjusting bin/swift-orphans -> build/scripts-2.7
copying and adjusting bin/swift-proxy-server -> build/scripts-2.7
copying and adjusting bin/swift-recon -> build/scripts-2.7
copying and adjusting bin/swift-recon-cron -> build/scripts-2.7
copying and adjusting bin/swift-ring-builder -> build/scripts-2.7
copying and adjusting bin/swift-ring-builder-analyzer -> build/scripts-2.7
PYTHONPATH=. sphinx-build doc/source /<<PKGBUILDDIR>>/debian/swift-doc/usr/share/doc/swift-doc/base
Running Sphinx v1.7.6

Configuration error:
There is a programable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/sphinx/config.py", line 161, in __init__
    execfile_(filename, config)
  File "/usr/lib/python3/dist-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "conf.py", line 75, in <module>
    if os.environ.has_key('SOURCE_DATE_EPOCH'):
AttributeError: '_Environ' object has no attribute 'has_key'

make[1]: *** [debian/rules:23: override_dh_sphinxdoc] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/swift.html

where you can get a full build log if you need it.

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 BTS web page for this package.

Thanks.



More information about the Openstack-devel mailing list