Source: hy Version: 0.18.0-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200501 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[2]: Entering directory '/<<PKGBUILDDIR>>/docs' > sphinx-build -b man -d _build/doctrees -D today="February 07, 2020" . > _build/man > Running Sphinx v2.4.3 > making output directory... done > loading intersphinx inventory from https://docs.python.org/3/objects.inv... > building [mo]: targets for 0 po files that are out of date > building [man]: all manpages > updating environment: [new config] 22 added, 0 changed, 0 removed > reading sources... [ 4%] contrib/hy_repr > reading sources... [ 9%] contrib/index > reading sources... [ 13%] contrib/loop > reading sources... [ 18%] contrib/profile > reading sources... [ 22%] contrib/sequences > reading sources... [ 27%] contrib/walk > reading sources... [ 31%] extra/anaphoric > reading sources... [ 36%] extra/index > reading sources... [ 40%] extra/reserved > reading sources... [ 45%] hacking > reading sources... [ 50%] index > reading sources... [ 54%] language/api > reading sources... [ 59%] language/cli > reading sources... [ 63%] language/core > reading sources... [ 68%] language/index > reading sources... [ 72%] language/internals > reading sources... [ 77%] language/interop > reading sources... [ 81%] language/model_patterns > reading sources... [ 86%] language/syntax > reading sources... [ 90%] style-guide > reading sources... [ 95%] tutorial > reading sources... [100%] whyhy > > /<<PKGBUILDDIR>>/docs/extra/anaphoric.rst:222: WARNING: malformed hyperlink > target. > /<<PKGBUILDDIR>>/docs/language/core.rst:1438: WARNING: Title underline too > short. > > count cycle repeat accumulate chain compress drop-while remove group-by > islice *map take-while tee zip-longest product permutations combinations > multicombinations > --------- > /<<PKGBUILDDIR>>/docs/language/core.rst:1437: WARNING: Inline emphasis > start-string without end-string. > looking for now-outdated files... none found > pickling environment... done > checking consistency... done > writing... hy.1 { whyhy tutorial style-guide language/index language/cli > language/interop language/syntax language/api language/core > language/model_patterns language/internals extra/index extra/anaphoric > extra/reserved contrib/index contrib/loop contrib/profile contrib/sequences > contrib/walk contrib/hy_repr hacking } done > build succeeded, 3 warnings. > > The manual pages are in _build/man. > > Build finished. The manual pages are in _build/man. > make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs' > # TODO html docs (and install them in hy-doc or something) > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test -O--buildsystem=pybuild > dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 > in use) > pybuild --test --test-pytest -i python{version} -p 3.8 > I: pybuild pybuild:284: cp /<<PKGBUILDDIR>>/README.md > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_hy/build/ > I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_hy/build; > python3.8 -m pytest -k '-test_bin -test_hy2py' > ============================= test session starts > ============================== > platform linux -- Python 3.8.3rc1, pytest-4.6.9, py-1.8.1, pluggy-0.13.0 > rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg > collected 606 items / 54 deselected / 552 selected > > tests/test_lex.py ................................ [ > 5%] > tests/test_models.py .............. [ > 8%] > tests/compilers/test_ast.py ............................................ [ > 16%] > ............................... [ > 21%] > tests/compilers/test_compiler.py .. [ > 22%] > tests/importer/test_importer.py .......F..... [ > 24%] > tests/importer/test_pyc.py . [ > 24%] > tests/macros/test_macro_processor.py .... [ > 25%] > tests/macros/test_tag_macros.py . [ > 25%] > tests/native_tests/comprehensions.hy ..FFFF...... [ > 27%] > tests/native_tests/core.hy ............................................. [ > 36%] > .............. [ > 38%] > tests/native_tests/defclass.hy ........... [ > 40%] > tests/native_tests/language.hy ......................................... [ > 48%] > ........................................................................ [ > 61%] > ................... [ > 64%] > tests/native_tests/mangling.hy ................... [ > 67%] > tests/native_tests/model_patterns.hy .. [ > 68%] > tests/native_tests/native_macros.hy ...................... [ > 72%] > tests/native_tests/operators.hy ........................................ [ > 79%] > .................. [ > 82%] > tests/native_tests/py36_only_tests.hy ..... [ > 83%] > tests/native_tests/py38_only_tests.hy . [ > 83%] > tests/native_tests/quote.hy .......... [ > 85%] > tests/native_tests/tag_macros.hy .......... [ > 87%] > tests/native_tests/unless.hy . [ > 87%] > tests/native_tests/when.hy . [ > 87%] > tests/native_tests/with_decorator.hy .... [ > 88%] > tests/native_tests/with_test.hy ..... [ > 89%] > tests/native_tests/contrib/hy_repr.hy ........... [ > 91%] > tests/native_tests/contrib/loop.hy ... [ > 92%] > tests/native_tests/contrib/sequences.hy ..... [ > 92%] > tests/native_tests/contrib/walk.hy ......................... [ > 97%] > tests/native_tests/extra/anaphoric.hy ............ [ > 99%] > tests/native_tests/extra/anaphoric_single.hy . [ > 99%] > tests/native_tests/extra/reserved.hy . > [100%] > > =================================== FAILURES > =================================== > __________________________________ test_eval > ___________________________________ > > def test_eval(): > def eval_str(s): > return hy_eval(hy.read_str(s), filename='<string>', source=s) > > assert eval_str('[1 2 3]') == [1, 2, 3] > assert eval_str('{"dog" "bark" "cat" "meow"}') == { > 'dog': 'bark', 'cat': 'meow'} > assert eval_str('(, 1 2 3)') == (1, 2, 3) > assert eval_str('#{3 1 2}') == {1, 2, 3} > assert eval_str('1/2') == Fraction(1, 2) > assert eval_str('(.strip " fooooo ")') == 'fooooo' > assert eval_str( > '(if True "this is if true" "this is if false")') == "this is if > true" > > assert eval_str('(lfor num (range 100) :if (= (% num 2) 1) (pow num > > 2))') == [ > pow(num, 2) for num in range(100) if num % 2 == 1] > E AssertionError: assert <coroutine object <module> at 0x7f65ff69ed40> > == [1, 9, 25, 49, 81, 121, ...] > E + where <coroutine object <module> at 0x7f65ff69ed40> = <function > test_eval.<locals>.eval_str at 0x7f65ff0e5b80>('(lfor num (range 100) :if (= > (% num 2) 1) (pow num 2))') > > tests/importer/test_importer.py:128: AssertionError > _______________________________ test_fors[lfor] > ________________________________ > > specialop = 'lfor' > > #@ ((pytest.mark.parametrize "specialop" ["for" "lfor" "sfor" "gfor" > "dfor"]) > (defn test-fors [specialop] > > (setv cases [ > ['(f x [] x) > []] > ['(f j [1 2 3] j) > [1 2 3]] > ['(f x (range 3) (* x 2)) > [0 2 4]] > ['(f x (range 2) y (range 2) (, x y)) > [(, 0 0) (, 0 1) (, 1 0) (, 1 1)]] > ['(f (, x y) (.items {"1" 1 "2" 2}) (* y 2)) > [2 4]] > ['(f x (do (setv s "x") "ab") y (do (+= s "y") "def") (+ x y s)) > ["adxy" "aexy" "afxy" "bdxyy" "bexyy" "bfxyy"]] > ['(f x (range 4) :if (% x 2) (* x 2)) > [2 6]] > ['(f x "abc" :setv y (.upper x) (+ x y)) > ["aA" "bB" "cC"]] > ['(f x "abc" :do (setv y (.upper x)) (+ x y)) > ["aA" "bB" "cC"]] > ['(f > x (range 3) > y (range 3) > :if (> y x) > z [7 8 9] > :setv s (+ x y z) > :if (!= z 8) > (, x y z s)) > [(, 0 1 7 8) (, 0 1 9 10) (, 0 2 7 9) (, 0 2 9 11) > (, 1 2 7 10) (, 1 2 9 12)]] > ['(f > x [0 1] > :setv l [] > y (range 4) > :do (.append l (, x y)) > :if (>= y 2) > z [7 8 9] > :if (!= z 8) > (, x y (tuple l) z)) > [(, 0 2 (, (, 0 0) (, 0 1) (, 0 2)) 7) > (, 0 2 (, (, 0 0) (, 0 1) (, 0 2)) 9) > (, 0 3 (, (, 0 0) (, 0 1) (, 0 2) (, 0 3)) 7) > (, 0 3 (, (, 0 0) (, 0 1) (, 0 2) (, 0 3)) 9) > (, 1 2 (, (, 1 0) (, 1 1) (, 1 2)) 7) > (, 1 2 (, (, 1 0) (, 1 1) (, 1 2)) 9) > (, 1 3 (, (, 1 0) (, 1 1) (, 1 2) (, 1 3)) 7) > (, 1 3 (, (, 1 0) (, 1 1) (, 1 2) (, 1 3)) 9)]] > > ['(f x (range 4) :do (unless (% x 2) (continue)) (* x 2)) > [2 6]] > ['(f x (range 4) :setv p 9 :do (unless (% x 2) (continue)) (* x 2)) > [2 6]] > ['(f x (range 20) :do (when (= x 3) (break)) (* x 2)) > [0 2 4]] > ['(f x (range 20) :setv p 9 :do (when (= x 3) (break)) (* x 2)) > [0 2 4]] > ['(f x [4 5] y (range 20) :do (when (> y 1) (break)) z [8 9] (, x y > z)) > [(, 4 0 8) (, 4 0 9) (, 4 1 8) (, 4 1 9) > (, 5 0 8) (, 5 0 9) (, 5 1 8) (, 5 1 9)]]]) > > (for [[expr answer] cases] > ; Mutate the case as appropriate for the operator before > ; evaluating it. > (setv expr (+ (HyExpression [(HySymbol specialop)]) (cut expr 1))) > (when (= specialop "dfor") > (setv expr (+ (cut expr 0 -1) `([~(get expr -1) 1])))) > (when (= specialop "for") > (setv expr `(do > (setv out []) > (for [~@(cut expr 1 -1)] > (.append out ~(get expr -1))) > out))) > (setv result (eval expr)) > (when (= specialop "dfor") > (setv result (.keys result))) > > (assert (= (sorted result) answer) (str expr))))) > E TypeError: 'coroutine' object is not iterable > > tests/native_tests/comprehensions.hy:98: TypeError > _______________________________ test_fors[sfor] > ________________________________ > > specialop = 'sfor' > > #@ ((pytest.mark.parametrize "specialop" ["for" "lfor" "sfor" "gfor" > "dfor"]) > (defn test-fors [specialop] > > (setv cases [ > ['(f x [] x) > []] > ['(f j [1 2 3] j) > [1 2 3]] > ['(f x (range 3) (* x 2)) > [0 2 4]] > ['(f x (range 2) y (range 2) (, x y)) > [(, 0 0) (, 0 1) (, 1 0) (, 1 1)]] > ['(f (, x y) (.items {"1" 1 "2" 2}) (* y 2)) > [2 4]] > ['(f x (do (setv s "x") "ab") y (do (+= s "y") "def") (+ x y s)) > ["adxy" "aexy" "afxy" "bdxyy" "bexyy" "bfxyy"]] > ['(f x (range 4) :if (% x 2) (* x 2)) > [2 6]] > ['(f x "abc" :setv y (.upper x) (+ x y)) > ["aA" "bB" "cC"]] > ['(f x "abc" :do (setv y (.upper x)) (+ x y)) > ["aA" "bB" "cC"]] > ['(f > x (range 3) > y (range 3) > :if (> y x) > z [7 8 9] > :setv s (+ x y z) > :if (!= z 8) > (, x y z s)) > [(, 0 1 7 8) (, 0 1 9 10) (, 0 2 7 9) (, 0 2 9 11) > (, 1 2 7 10) (, 1 2 9 12)]] > ['(f > x [0 1] > :setv l [] > y (range 4) > :do (.append l (, x y)) > :if (>= y 2) > z [7 8 9] > :if (!= z 8) > (, x y (tuple l) z)) > [(, 0 2 (, (, 0 0) (, 0 1) (, 0 2)) 7) > (, 0 2 (, (, 0 0) (, 0 1) (, 0 2)) 9) > (, 0 3 (, (, 0 0) (, 0 1) (, 0 2) (, 0 3)) 7) > (, 0 3 (, (, 0 0) (, 0 1) (, 0 2) (, 0 3)) 9) > (, 1 2 (, (, 1 0) (, 1 1) (, 1 2)) 7) > (, 1 2 (, (, 1 0) (, 1 1) (, 1 2)) 9) > (, 1 3 (, (, 1 0) (, 1 1) (, 1 2) (, 1 3)) 7) > (, 1 3 (, (, 1 0) (, 1 1) (, 1 2) (, 1 3)) 9)]] > > ['(f x (range 4) :do (unless (% x 2) (continue)) (* x 2)) > [2 6]] > ['(f x (range 4) :setv p 9 :do (unless (% x 2) (continue)) (* x 2)) > [2 6]] > ['(f x (range 20) :do (when (= x 3) (break)) (* x 2)) > [0 2 4]] > ['(f x (range 20) :setv p 9 :do (when (= x 3) (break)) (* x 2)) > [0 2 4]] > ['(f x [4 5] y (range 20) :do (when (> y 1) (break)) z [8 9] (, x y > z)) > [(, 4 0 8) (, 4 0 9) (, 4 1 8) (, 4 1 9) > (, 5 0 8) (, 5 0 9) (, 5 1 8) (, 5 1 9)]]]) > > (for [[expr answer] cases] > ; Mutate the case as appropriate for the operator before > ; evaluating it. > (setv expr (+ (HyExpression [(HySymbol specialop)]) (cut expr 1))) > (when (= specialop "dfor") > (setv expr (+ (cut expr 0 -1) `([~(get expr -1) 1])))) > (when (= specialop "for") > (setv expr `(do > (setv out []) > (for [~@(cut expr 1 -1)] > (.append out ~(get expr -1))) > out))) > (setv result (eval expr)) > (when (= specialop "dfor") > (setv result (.keys result))) > > (assert (= (sorted result) answer) (str expr))))) > E TypeError: 'coroutine' object is not iterable > > tests/native_tests/comprehensions.hy:98: TypeError > _______________________________ test_fors[gfor] > ________________________________ > > specialop = 'gfor' > > #@ ((pytest.mark.parametrize "specialop" ["for" "lfor" "sfor" "gfor" > "dfor"]) > (defn test-fors [specialop] > > (setv cases [ > ['(f x [] x) > []] > ['(f j [1 2 3] j) > [1 2 3]] > ['(f x (range 3) (* x 2)) > [0 2 4]] > ['(f x (range 2) y (range 2) (, x y)) > [(, 0 0) (, 0 1) (, 1 0) (, 1 1)]] > ['(f (, x y) (.items {"1" 1 "2" 2}) (* y 2)) > [2 4]] > ['(f x (do (setv s "x") "ab") y (do (+= s "y") "def") (+ x y s)) > ["adxy" "aexy" "afxy" "bdxyy" "bexyy" "bfxyy"]] > ['(f x (range 4) :if (% x 2) (* x 2)) > [2 6]] > ['(f x "abc" :setv y (.upper x) (+ x y)) > ["aA" "bB" "cC"]] > ['(f x "abc" :do (setv y (.upper x)) (+ x y)) > ["aA" "bB" "cC"]] > ['(f > x (range 3) > y (range 3) > :if (> y x) > z [7 8 9] > :setv s (+ x y z) > :if (!= z 8) > (, x y z s)) > [(, 0 1 7 8) (, 0 1 9 10) (, 0 2 7 9) (, 0 2 9 11) > (, 1 2 7 10) (, 1 2 9 12)]] > ['(f > x [0 1] > :setv l [] > y (range 4) > :do (.append l (, x y)) > :if (>= y 2) > z [7 8 9] > :if (!= z 8) > (, x y (tuple l) z)) > [(, 0 2 (, (, 0 0) (, 0 1) (, 0 2)) 7) > (, 0 2 (, (, 0 0) (, 0 1) (, 0 2)) 9) > (, 0 3 (, (, 0 0) (, 0 1) (, 0 2) (, 0 3)) 7) > (, 0 3 (, (, 0 0) (, 0 1) (, 0 2) (, 0 3)) 9) > (, 1 2 (, (, 1 0) (, 1 1) (, 1 2)) 7) > (, 1 2 (, (, 1 0) (, 1 1) (, 1 2)) 9) > (, 1 3 (, (, 1 0) (, 1 1) (, 1 2) (, 1 3)) 7) > (, 1 3 (, (, 1 0) (, 1 1) (, 1 2) (, 1 3)) 9)]] > > ['(f x (range 4) :do (unless (% x 2) (continue)) (* x 2)) > [2 6]] > ['(f x (range 4) :setv p 9 :do (unless (% x 2) (continue)) (* x 2)) > [2 6]] > ['(f x (range 20) :do (when (= x 3) (break)) (* x 2)) > [0 2 4]] > ['(f x (range 20) :setv p 9 :do (when (= x 3) (break)) (* x 2)) > [0 2 4]] > ['(f x [4 5] y (range 20) :do (when (> y 1) (break)) z [8 9] (, x y > z)) > [(, 4 0 8) (, 4 0 9) (, 4 1 8) (, 4 1 9) > (, 5 0 8) (, 5 0 9) (, 5 1 8) (, 5 1 9)]]]) > > (for [[expr answer] cases] > ; Mutate the case as appropriate for the operator before > ; evaluating it. > (setv expr (+ (HyExpression [(HySymbol specialop)]) (cut expr 1))) > (when (= specialop "dfor") > (setv expr (+ (cut expr 0 -1) `([~(get expr -1) 1])))) > (when (= specialop "for") > (setv expr `(do > (setv out []) > (for [~@(cut expr 1 -1)] > (.append out ~(get expr -1))) > out))) > (setv result (eval expr)) > (when (= specialop "dfor") > (setv result (.keys result))) > > (assert (= (sorted result) answer) (str expr))))) > E TypeError: 'coroutine' object is not iterable > > tests/native_tests/comprehensions.hy:98: TypeError > _______________________________ test_fors[dfor] > ________________________________ > > specialop = 'dfor' > > #@ ((pytest.mark.parametrize "specialop" ["for" "lfor" "sfor" "gfor" > "dfor"]) > (defn test-fors [specialop] > > (setv cases [ > ['(f x [] x) > []] > ['(f j [1 2 3] j) > [1 2 3]] > ['(f x (range 3) (* x 2)) > [0 2 4]] > ['(f x (range 2) y (range 2) (, x y)) > [(, 0 0) (, 0 1) (, 1 0) (, 1 1)]] > ['(f (, x y) (.items {"1" 1 "2" 2}) (* y 2)) > [2 4]] > ['(f x (do (setv s "x") "ab") y (do (+= s "y") "def") (+ x y s)) > ["adxy" "aexy" "afxy" "bdxyy" "bexyy" "bfxyy"]] > ['(f x (range 4) :if (% x 2) (* x 2)) > [2 6]] > ['(f x "abc" :setv y (.upper x) (+ x y)) > ["aA" "bB" "cC"]] > ['(f x "abc" :do (setv y (.upper x)) (+ x y)) > ["aA" "bB" "cC"]] > ['(f > x (range 3) > y (range 3) > :if (> y x) > z [7 8 9] > :setv s (+ x y z) > :if (!= z 8) > (, x y z s)) > [(, 0 1 7 8) (, 0 1 9 10) (, 0 2 7 9) (, 0 2 9 11) > (, 1 2 7 10) (, 1 2 9 12)]] > ['(f > x [0 1] > :setv l [] > y (range 4) > :do (.append l (, x y)) > :if (>= y 2) > z [7 8 9] > :if (!= z 8) > (, x y (tuple l) z)) > [(, 0 2 (, (, 0 0) (, 0 1) (, 0 2)) 7) > (, 0 2 (, (, 0 0) (, 0 1) (, 0 2)) 9) > (, 0 3 (, (, 0 0) (, 0 1) (, 0 2) (, 0 3)) 7) > (, 0 3 (, (, 0 0) (, 0 1) (, 0 2) (, 0 3)) 9) > (, 1 2 (, (, 1 0) (, 1 1) (, 1 2)) 7) > (, 1 2 (, (, 1 0) (, 1 1) (, 1 2)) 9) > (, 1 3 (, (, 1 0) (, 1 1) (, 1 2) (, 1 3)) 7) > (, 1 3 (, (, 1 0) (, 1 1) (, 1 2) (, 1 3)) 9)]] > > ['(f x (range 4) :do (unless (% x 2) (continue)) (* x 2)) > [2 6]] > ['(f x (range 4) :setv p 9 :do (unless (% x 2) (continue)) (* x 2)) > [2 6]] > ['(f x (range 20) :do (when (= x 3) (break)) (* x 2)) > [0 2 4]] > ['(f x (range 20) :setv p 9 :do (when (= x 3) (break)) (* x 2)) > [0 2 4]] > ['(f x [4 5] y (range 20) :do (when (> y 1) (break)) z [8 9] (, x y > z)) > [(, 4 0 8) (, 4 0 9) (, 4 1 8) (, 4 1 9) > (, 5 0 8) (, 5 0 9) (, 5 1 8) (, 5 1 9)]]]) > > (for [[expr answer] cases] > ; Mutate the case as appropriate for the operator before > ; evaluating it. > (setv expr (+ (HyExpression [(HySymbol specialop)]) (cut expr 1))) > (when (= specialop "dfor") > (setv expr (+ (cut expr 0 -1) `([~(get expr -1) 1])))) > (when (= specialop "for") > (setv expr `(do > (setv out []) > (for [~@(cut expr 1 -1)] > (.append out ~(get expr -1))) > out))) > (setv result (eval expr)) > (when (= specialop "dfor") > > (setv result (.keys result))) > E AttributeError: 'coroutine' object has no attribute 'keys' > > tests/native_tests/comprehensions.hy:97: AttributeError > =============================== warnings summary > =============================== > .pybuild/cpython3_3.8_hy/build/tests/native_tests/comprehensions.hy::test_fors[sfor] > /<<PKGBUILDDIR>>/hy/models.py:133: RuntimeWarning: coroutine '<module>' was > never awaited > return super(HySymbol, cls).__new__(cls, s) > > .pybuild/cpython3_3.8_hy/build/tests/native_tests/comprehensions.hy::test_fors[gfor] > /usr/lib/python3/dist-packages/funcparserlib/parser.py:232: RuntimeWarning: > coroutine '<module>' was never awaited > self.pos = pos > > .pybuild/cpython3_3.8_hy/build/tests/native_tests/comprehensions.hy::test_empty_for > /usr/lib/python3/dist-packages/_pytest/nodes.py:192: RuntimeWarning: > coroutine '<module>' was never awaited > return (x[1] for x in self.iter_markers_with_node(name=name)) > > .pybuild/cpython3_3.8_hy/build/tests/native_tests/core.hy::test_parse_args > /usr/lib/python3/dist-packages/funcparserlib/parser.py:322: RuntimeWarning: > coroutine '<module>' was never awaited > raise NoParseError('got unexpected token', s) > > -- Docs: https://docs.pytest.org/en/latest/warnings.html > ======= 5 failed, 547 passed, 54 deselected, 4 warnings in 8.47 seconds > ======== > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_hy/build; python3.8 -m pytest -k > '-test_bin -test_hy2py' > dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 > returned exit code 13 The full build log is available from: http://qa-logs.debian.net/2020/05/01/hy_0.18.0-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.