Package: src:incremental
Version: 16.10.1-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2,python3 --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config 
running config
I: pybuild base:184: python3.5 setup.py config 
running config
   dh_auto_build -i -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/incremental
copying src/incremental/update.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/incremental
copying src/incremental/_version.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/incremental
copying src/incremental/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/incremental
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/incremental/tests
copying src/incremental/tests/test_version.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/incremental/tests
copying src/incremental/tests/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/incremental/tests
copying src/incremental/tests/test_update.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/incremental/tests
I: pybuild base:184: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental
copying src/incremental/update.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental
copying src/incremental/_version.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental
copying src/incremental/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests
copying src/incremental/tests/test_version.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests
copying src/incremental/tests/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests
copying src/incremental/tests/test_update.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests
   dh_auto_test -i -O--buildsystem=pybuild
I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; 
python2.7 -m unittest discover -v 
test_detectUnknownVersion (incremental.tests.test_version.FormatDiscoveryTests)
test_detectUnknownVersion ... ok
test_detectVersion10 (incremental.tests.test_version.FormatDiscoveryTests)
test_detectVersion10 ... ok
test_detectVersion4 (incremental.tests.test_version.FormatDiscoveryTests)
test_detectVersion4 ... ok
test_detectVersion8 (incremental.tests.test_version.FormatDiscoveryTests)
test_detectVersion8 ... ok
test_detectVersion9 (incremental.tests.test_version.FormatDiscoveryTests)
test_detectVersion9 ... ok
test_getVersionStringWithRevision 
(incremental.tests.test_version.FormatDiscoveryTests)
test_getVersionStringWithRevision ... ok
test_unparseableEntries (incremental.tests.test_version.FormatDiscoveryTests)
test_unparseableEntries ... ok
runTest (twisted.trial._asynctest.TestCase)
runTest ... ok
testShort (incremental.tests.test_version.VersionsTests)
testShort ... ok
test_NEXTMustBeAlone (incremental.tests.test_version.VersionsTests)
test_NEXTMustBeAlone ... ok
test_base (incremental.tests.test_version.VersionsTests)
test_base ... ok
test_baseWithDev (incremental.tests.test_version.VersionsTests)
test_baseWithDev ... ok
test_baseWithDevAndRC (incremental.tests.test_version.VersionsTests)
test_baseWithDevAndRC ... ok
test_baseWithNEXT (incremental.tests.test_version.VersionsTests)
test_baseWithNEXT ... ok
test_baseWithPrerelease (incremental.tests.test_version.VersionsTests)
test_baseWithPrerelease ... ok
test_baseWithReleaseCandidate (incremental.tests.test_version.VersionsTests)
test_baseWithReleaseCandidate ... ok
test_comparingDev (incremental.tests.test_version.VersionsTests)
test_comparingDev ... ok
test_comparingDevAndRC (incremental.tests.test_version.VersionsTests)
test_comparingDevAndRC ... ok
test_comparingDevAndRCDifferent (incremental.tests.test_version.VersionsTests)
test_comparingDevAndRCDifferent ... ok
test_comparingDevReleasesWithReleases 
(incremental.tests.test_version.VersionsTests)
test_comparingDevReleasesWithReleases ... ok
test_comparingNEXTReleases (incremental.tests.test_version.VersionsTests)
test_comparingNEXTReleases ... ok
test_comparingNEXTReleasesEqual (incremental.tests.test_version.VersionsTests)
test_comparingNEXTReleasesEqual ... ok
test_comparingPrereleasesWithReleases 
(incremental.tests.test_version.VersionsTests)
test_comparingPrereleasesWithReleases ... ok
test_comparingReleaseCandidates (incremental.tests.test_version.VersionsTests)
test_comparingReleaseCandidates ... ok
test_comparingReleaseCandidatesWithReleases 
(incremental.tests.test_version.VersionsTests)
test_comparingReleaseCandidatesWithReleases ... ok
test_devWithReleaseCandidate (incremental.tests.test_version.VersionsTests)
test_devWithReleaseCandidate ... ok
test_disallowBuggyComparisons (incremental.tests.test_version.VersionsTests)
test_disallowBuggyComparisons ... ok
test_getVersionString (incremental.tests.test_version.VersionsTests)
test_getVersionString ... ok
test_getVersionStringWithDev (incremental.tests.test_version.VersionsTests)
test_getVersionStringWithDev ... ok
test_getVersionStringWithDevAndRC (incremental.tests.test_version.VersionsTests)
test_getVersionStringWithDevAndRC ... ok
test_getVersionStringWithPrerelease 
(incremental.tests.test_version.VersionsTests)
test_getVersionStringWithPrerelease ... ok
test_getVersionStringWithReleaseCandidate 
(incremental.tests.test_version.VersionsTests)
test_getVersionStringWithReleaseCandidate ... ok
test_git (incremental.tests.test_version.VersionsTests)
test_git ... ok
test_goodSVNEntriesTenPlus (incremental.tests.test_version.VersionsTests)
test_goodSVNEntriesTenPlus ... ok
test_goodSVNEntries_4 (incremental.tests.test_version.VersionsTests)
test_goodSVNEntries_4 ... ok
test_goodSVNEntries_8 (incremental.tests.test_version.VersionsTests)
test_goodSVNEntries_8 ... ok
test_goodSVNEntries_9 (incremental.tests.test_version.VersionsTests)
test_goodSVNEntries_9 ... ok
test_infComparison (incremental.tests.test_version.VersionsTests)
test_infComparison ... ok
test_localIsShort (incremental.tests.test_version.VersionsTests)
test_localIsShort ... ok
test_notImplementedComparisons (incremental.tests.test_version.VersionsTests)
test_notImplementedComparisons ... ok
test_prereleaseAttributeDeprecated 
(incremental.tests.test_version.VersionsTests)
test_prereleaseAttributeDeprecated ... ok
test_prereleaseDeprecated (incremental.tests.test_version.VersionsTests)
test_prereleaseDeprecated ... ok
test_rcEqualspre (incremental.tests.test_version.VersionsTests)
test_rcEqualspre ... ok
test_rcOrpreButNotBoth (incremental.tests.test_version.VersionsTests)
test_rcOrpreButNotBoth ... ok
test_repr (incremental.tests.test_version.VersionsTests)
test_repr ... ok
test_reprWithPrerelease (incremental.tests.test_version.VersionsTests)
test_reprWithPrerelease ... ok
test_reprWithReleaseCandidate (incremental.tests.test_version.VersionsTests)
test_reprWithReleaseCandidate ... ok
test_str (incremental.tests.test_version.VersionsTests)
test_str ... ok
test_strWithDev (incremental.tests.test_version.VersionsTests)
test_strWithDev ... ok
test_strWithDevAndReleaseCandidate 
(incremental.tests.test_version.VersionsTests)
test_strWithDevAndReleaseCandidate ... ok
test_strWithPrerelease (incremental.tests.test_version.VersionsTests)
test_strWithPrerelease ... ok
test_strWithReleaseCandidate (incremental.tests.test_version.VersionsTests)
test_strWithReleaseCandidate ... ok
test_versionComparison (incremental.tests.test_version.VersionsTests)
test_versionComparison ... ok
test_versionComparisonCaseInsensitive 
(incremental.tests.test_version.VersionsTests)
test_versionComparisonCaseInsensitive ... ok
test_path (incremental.tests.test_update.CreatedUpdateInSrcTests)
test_path ... ok
test_dev (incremental.tests.test_update.CreatedUpdateTests)
test_dev ... ok
test_full_with_rc (incremental.tests.test_update.CreatedUpdateTests)
test_full_with_rc ... ok
test_full_without_rc (incremental.tests.test_update.CreatedUpdateTests)
test_full_without_rc ... ok
test_newversion (incremental.tests.test_update.CreatedUpdateTests)
test_newversion ... ok
test_newversion_bare (incremental.tests.test_update.CreatedUpdateTests)
test_newversion_bare ... ok
test_no_mix_create (incremental.tests.test_update.CreatedUpdateTests)
test_no_mix_create ... ok
test_no_mix_dev (incremental.tests.test_update.CreatedUpdateTests)
test_no_mix_dev ... ok
test_no_mix_newversion (incremental.tests.test_update.CreatedUpdateTests)
test_no_mix_newversion ... ok
test_patch (incremental.tests.test_update.CreatedUpdateTests)
test_patch ... ok
test_patch_with_prerelease_and_dev 
(incremental.tests.test_update.CreatedUpdateTests)
test_patch_with_prerelease_and_dev ... ok
test_path (incremental.tests.test_update.CreatedUpdateTests)
test_path ... ok
test_rc_patch (incremental.tests.test_update.CreatedUpdateTests)
test_rc_patch ... ok
test_rc_with_existing_rc (incremental.tests.test_update.CreatedUpdateTests)
test_rc_with_existing_rc ... ok
test_rc_with_no_rc (incremental.tests.test_update.CreatedUpdateTests)
test_rc_with_no_rc ... ok
test_path (incremental.tests.test_update.MissingTests)
test_path ... ok
test_create (incremental.tests.test_update.NonCreatedUpdateTests)
test_create ... ok
test_insufficient_args (incremental.tests.test_update.ScriptTests)
test_insufficient_args ... ok
test_run (incremental.tests.test_update.ScriptTests)
test_run ... ok
runTest (twisted.trial._asynctest.TestCase)
runTest ... ok

----------------------------------------------------------------------
Ran 74 tests in 0.230s

OK
I: pybuild pybuild:235: rm -rf 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/incremental.tests.*
I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; 
python3.5 -m unittest discover -v 
test_path (incremental.tests.test_update.CreatedUpdateInSrcTests)
test_path ... ok
/usr/lib/python3/dist-packages/twisted/python/deprecate.py:717: 
DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() 
instead
  argspec = inspect.getargspec(wrappee)
test_dev (incremental.tests.test_update.CreatedUpdateTests)
test_dev ... ok
test_full_with_rc (incremental.tests.test_update.CreatedUpdateTests)
test_full_with_rc ... ok
test_full_without_rc (incremental.tests.test_update.CreatedUpdateTests)
test_full_without_rc ... ok
test_newversion (incremental.tests.test_update.CreatedUpdateTests)
test_newversion ... ok
test_newversion_bare (incremental.tests.test_update.CreatedUpdateTests)
test_newversion_bare ... ok
test_no_mix_create (incremental.tests.test_update.CreatedUpdateTests)
test_no_mix_create ... ok
test_no_mix_dev (incremental.tests.test_update.CreatedUpdateTests)
test_no_mix_dev ... ok
test_no_mix_newversion (incremental.tests.test_update.CreatedUpdateTests)
test_no_mix_newversion ... ok
test_patch (incremental.tests.test_update.CreatedUpdateTests)
test_patch ... ok
test_patch_with_prerelease_and_dev 
(incremental.tests.test_update.CreatedUpdateTests)
test_patch_with_prerelease_and_dev ... ok
test_path (incremental.tests.test_update.CreatedUpdateTests)
test_path ... ok
test_rc_patch (incremental.tests.test_update.CreatedUpdateTests)
test_rc_patch ... ok
test_rc_with_existing_rc (incremental.tests.test_update.CreatedUpdateTests)
test_rc_with_existing_rc ... ok
test_rc_with_no_rc (incremental.tests.test_update.CreatedUpdateTests)
test_rc_with_no_rc ... ok
test_path (incremental.tests.test_update.MissingTests)
test_path ... ok
test_create (incremental.tests.test_update.NonCreatedUpdateTests)
test_create ... ok
test_insufficient_args (incremental.tests.test_update.ScriptTests)
test_insufficient_args ... FAIL
test_run (incremental.tests.test_update.ScriptTests)
test_run ... FAIL
runTest (twisted.trial._asynctest.TestCase)
runTest ... ok
test_detectUnknownVersion (incremental.tests.test_version.FormatDiscoveryTests)
test_detectUnknownVersion ... ok
test_detectVersion10 (incremental.tests.test_version.FormatDiscoveryTests)
test_detectVersion10 ... ok
test_detectVersion4 (incremental.tests.test_version.FormatDiscoveryTests)
test_detectVersion4 ... ok
test_detectVersion8 (incremental.tests.test_version.FormatDiscoveryTests)
test_detectVersion8 ... ok
test_detectVersion9 (incremental.tests.test_version.FormatDiscoveryTests)
test_detectVersion9 ... ok
test_getVersionStringWithRevision 
(incremental.tests.test_version.FormatDiscoveryTests)
test_getVersionStringWithRevision ... ok
test_unparseableEntries (incremental.tests.test_version.FormatDiscoveryTests)
test_unparseableEntries ... ok
runTest (twisted.trial._asynctest.TestCase)
runTest ... ok
testShort (incremental.tests.test_version.VersionsTests)
testShort ... ok
test_NEXTMustBeAlone (incremental.tests.test_version.VersionsTests)
test_NEXTMustBeAlone ... ok
test_base (incremental.tests.test_version.VersionsTests)
test_base ... ok
test_baseWithDev (incremental.tests.test_version.VersionsTests)
test_baseWithDev ... ok
test_baseWithDevAndRC (incremental.tests.test_version.VersionsTests)
test_baseWithDevAndRC ... ok
test_baseWithNEXT (incremental.tests.test_version.VersionsTests)
test_baseWithNEXT ... ok
test_baseWithPrerelease (incremental.tests.test_version.VersionsTests)
test_baseWithPrerelease ... ok
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_version.py:471:
 DeprecationWarning: Passing prerelease to incremental.Version was deprecated 
in Incremental 16.9.0. Please pass release_candidate instead.
  self.assertEqual(Version("foo", 1, 0, 0, prerelease=8).base(),
test_baseWithReleaseCandidate (incremental.tests.test_version.VersionsTests)
test_baseWithReleaseCandidate ... ok
test_comparingDev (incremental.tests.test_version.VersionsTests)
test_comparingDev ... ok
test_comparingDevAndRC (incremental.tests.test_version.VersionsTests)
test_comparingDevAndRC ... ok
test_comparingDevAndRCDifferent (incremental.tests.test_version.VersionsTests)
test_comparingDevAndRCDifferent ... ok
test_comparingDevReleasesWithReleases 
(incremental.tests.test_version.VersionsTests)
test_comparingDevReleasesWithReleases ... ok
test_comparingNEXTReleases (incremental.tests.test_version.VersionsTests)
test_comparingNEXTReleases ... ok
test_comparingNEXTReleasesEqual (incremental.tests.test_version.VersionsTests)
test_comparingNEXTReleasesEqual ... ok
test_comparingPrereleasesWithReleases 
(incremental.tests.test_version.VersionsTests)
test_comparingPrereleasesWithReleases ... ok
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_version.py:141:
 DeprecationWarning: Passing prerelease to incremental.Version was deprecated 
in Incremental 16.9.0. Please pass release_candidate instead.
  va = Version("whatever", 1, 0, 0, prerelease=1)
test_comparingReleaseCandidates (incremental.tests.test_version.VersionsTests)
test_comparingReleaseCandidates ... ok
test_comparingReleaseCandidatesWithReleases 
(incremental.tests.test_version.VersionsTests)
test_comparingReleaseCandidatesWithReleases ... ok
test_devWithReleaseCandidate (incremental.tests.test_version.VersionsTests)
test_devWithReleaseCandidate ... ok
test_disallowBuggyComparisons (incremental.tests.test_version.VersionsTests)
test_disallowBuggyComparisons ... ok
test_getVersionString (incremental.tests.test_version.VersionsTests)
test_getVersionString ... ok
test_getVersionStringWithDev (incremental.tests.test_version.VersionsTests)
test_getVersionStringWithDev ... ok
test_getVersionStringWithDevAndRC (incremental.tests.test_version.VersionsTests)
test_getVersionStringWithDevAndRC ... ok
test_getVersionStringWithPrerelease 
(incremental.tests.test_version.VersionsTests)
test_getVersionStringWithPrerelease ... ok
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_version.py:424:
 DeprecationWarning: Passing prerelease to incremental.Version was deprecated 
in Incremental 16.9.0. Please pass release_candidate instead.
  getVersionString(Version("whatever", 8, 0, 0, prerelease=1)),
test_getVersionStringWithReleaseCandidate 
(incremental.tests.test_version.VersionsTests)
test_getVersionStringWithReleaseCandidate ... ok
test_git (incremental.tests.test_version.VersionsTests)
test_git ... ok
test_goodSVNEntriesTenPlus (incremental.tests.test_version.VersionsTests)
test_goodSVNEntriesTenPlus ... ok
test_goodSVNEntries_4 (incremental.tests.test_version.VersionsTests)
test_goodSVNEntries_4 ... ok
test_goodSVNEntries_8 (incremental.tests.test_version.VersionsTests)
test_goodSVNEntries_8 ... ok
test_goodSVNEntries_9 (incremental.tests.test_version.VersionsTests)
test_goodSVNEntries_9 ... ok
test_infComparison (incremental.tests.test_version.VersionsTests)
test_infComparison ... ok
test_localIsShort (incremental.tests.test_version.VersionsTests)
test_localIsShort ... ok
test_notImplementedComparisons (incremental.tests.test_version.VersionsTests)
test_notImplementedComparisons ... ok
test_prereleaseAttributeDeprecated 
(incremental.tests.test_version.VersionsTests)
test_prereleaseAttributeDeprecated ... ok
test_prereleaseDeprecated (incremental.tests.test_version.VersionsTests)
test_prereleaseDeprecated ... ok
test_rcEqualspre (incremental.tests.test_version.VersionsTests)
test_rcEqualspre ... ok
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_version.py:198:
 DeprecationWarning: Passing prerelease to incremental.Version was deprecated 
in Incremental 16.9.0. Please pass release_candidate instead.
  vb = Version("whatever", 1, 0, 0, prerelease=1)
test_rcOrpreButNotBoth (incremental.tests.test_version.VersionsTests)
test_rcOrpreButNotBoth ... ok
test_repr (incremental.tests.test_version.VersionsTests)
test_repr ... ok
test_reprWithPrerelease (incremental.tests.test_version.VersionsTests)
test_reprWithPrerelease ... ok
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_version.py:313:
 DeprecationWarning: Passing prerelease to incremental.Version was deprecated 
in Incremental 16.9.0. Please pass release_candidate instead.
  self.assertEqual(repr(Version("dummy", 1, 2, 3, prerelease=4)),
test_reprWithReleaseCandidate (incremental.tests.test_version.VersionsTests)
test_reprWithReleaseCandidate ... ok
test_str (incremental.tests.test_version.VersionsTests)
test_str ... ok
test_strWithDev (incremental.tests.test_version.VersionsTests)
test_strWithDev ... ok
test_strWithDevAndReleaseCandidate 
(incremental.tests.test_version.VersionsTests)
test_strWithDevAndReleaseCandidate ... ok
test_strWithPrerelease (incremental.tests.test_version.VersionsTests)
test_strWithPrerelease ... ok
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_version.py:346:
 DeprecationWarning: Passing prerelease to incremental.Version was deprecated 
in Incremental 16.9.0. Please pass release_candidate instead.
  self.assertEqual(str(Version("dummy", 1, 0, 0, prerelease=1)),
test_strWithReleaseCandidate (incremental.tests.test_version.VersionsTests)
test_strWithReleaseCandidate ... ok
test_versionComparison (incremental.tests.test_version.VersionsTests)
test_versionComparison ... ok
test_versionComparisonCaseInsensitive 
(incremental.tests.test_version.VersionsTests)
test_versionComparisonCaseInsensitive ... ok

======================================================================
FAIL: test_insufficient_args (incremental.tests.test_update.ScriptTests)
test_insufficient_args
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_update.py",
 line 692, in test_insufficient_args
    run(["inctestpkg", "--rc"])
  File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 675, in main
    _verify_python3_env()
  File "/usr/lib/python3/dist-packages/click/_unicodefun.py", line 119, in 
_verify_python3_env
    'mitigation steps.' + extra)
RuntimeError: Click will abort further execution because Python 3 was 
configured to use ASCII as encoding for the environment.  Either run this under 
Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.

This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:

    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 149, in 
maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/twisted/internet/utils.py", line 201, in 
runWithWarningsSuppressed
    reraise(exc_info[1], exc_info[2])
  File "/usr/lib/python3/dist-packages/twisted/python/compat.py", line 433, in 
reraise
    raise exception.with_traceback(traceback)
  File "/usr/lib/python3/dist-packages/twisted/internet/utils.py", line 197, in 
runWithWarningsSuppressed
    result = f(*a, **kw)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_update.py",
 line 692, in test_insufficient_args
    run(["inctestpkg", "--rc"])
  File "/usr/lib/python3/dist-packages/twisted/trial/_synctest.py", line 346, 
in __exit__
    self._expectedName, reason.getTraceback()),
  File "/usr/lib/python3/dist-packages/twisted/trial/_synctest.py", line 368, 
in fail
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: builtins.RuntimeError raised instead of 
SystemExit:
 Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/trial/_asynctest.py", line 112, 
in _run
    utils.runWithWarningsSuppressed, self._getSuppress(), method)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 149, in 
maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/twisted/internet/utils.py", line 197, in 
runWithWarningsSuppressed
    result = f(*a, **kw)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_update.py",
 line 692, in test_insufficient_args
    run(["inctestpkg", "--rc"])
--- <exception caught here> ---
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_update.py",
 line 692, in test_insufficient_args
    run(["inctestpkg", "--rc"])
  File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 675, in main
    _verify_python3_env()
  File "/usr/lib/python3/dist-packages/click/_unicodefun.py", line 119, in 
_verify_python3_env
    'mitigation steps.' + extra)
builtins.RuntimeError: Click will abort further execution because Python 3 was 
configured to use ASCII as encoding for the environment.  Either run this under 
Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.

This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:

    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8


======================================================================
FAIL: test_run (incremental.tests.test_update.ScriptTests)
test_run
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_update.py",
 line 677, in test_run
    run(["--help"])
  File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 675, in main
    _verify_python3_env()
  File "/usr/lib/python3/dist-packages/click/_unicodefun.py", line 119, in 
_verify_python3_env
    'mitigation steps.' + extra)
RuntimeError: Click will abort further execution because Python 3 was 
configured to use ASCII as encoding for the environment.  Either run this under 
Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.

This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:

    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 149, in 
maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/twisted/internet/utils.py", line 201, in 
runWithWarningsSuppressed
    reraise(exc_info[1], exc_info[2])
  File "/usr/lib/python3/dist-packages/twisted/python/compat.py", line 433, in 
reraise
    raise exception.with_traceback(traceback)
  File "/usr/lib/python3/dist-packages/twisted/internet/utils.py", line 197, in 
runWithWarningsSuppressed
    result = f(*a, **kw)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_update.py",
 line 677, in test_run
    run(["--help"])
  File "/usr/lib/python3/dist-packages/twisted/trial/_synctest.py", line 346, 
in __exit__
    self._expectedName, reason.getTraceback()),
  File "/usr/lib/python3/dist-packages/twisted/trial/_synctest.py", line 368, 
in fail
    raise self.failureException(msg)
twisted.trial.unittest.FailTest: builtins.RuntimeError raised instead of 
SystemExit:
 Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/trial/_asynctest.py", line 112, 
in _run
    utils.runWithWarningsSuppressed, self._getSuppress(), method)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 149, in 
maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/twisted/internet/utils.py", line 197, in 
runWithWarningsSuppressed
    result = f(*a, **kw)
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_update.py",
 line 677, in test_run
    run(["--help"])
--- <exception caught here> ---
  File 
"/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/incremental/tests/test_update.py",
 line 677, in test_run
    run(["--help"])
  File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 675, in main
    _verify_python3_env()
  File "/usr/lib/python3/dist-packages/click/_unicodefun.py", line 119, in 
_verify_python3_env
    'mitigation steps.' + extra)
builtins.RuntimeError: Click will abort further execution because Python 3 was 
configured to use ASCII as encoding for the environment.  Either run this under 
Python 2 or consult http://click.pocoo.org/python3/ for mitigation steps.

This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:

    export LC_ALL=C.UTF-8
    export LANG=C.UTF-8


----------------------------------------------------------------------
Ran 74 tests in 0.395s

FAILED (failures=2)
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover 
-v 
dh_auto_test: pybuild --test -i python{version} -p 3.5 returned exit code 13
debian/rules:7: recipe for target 'build-indep' failed
make: *** [build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The build was made on a QEMU/KVM virtual machine with a single CPU and sbuild.
The relevant part of the build log is included above.

Thanks.

Reply via email to