[Pkg-freeipa-devel] Bug#1014512: freeipa: FTBFS: AttributeError: module 'collections' has no attribute 'Iterable'

Andreas Beckmann anbe at debian.org
Thu Jul 7 11:51:31 BST 2022


Package: freeipa
Version: 4.9.8-1+exp1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

freeipa recently started to FTBFS in experimental (but not in sid) after
some (transitive) build dependency got upgraded:

...
Making all in css
make[5]: Entering directory '/build/freeipa-4.9.8/install/ui/css'
python3 -m lesscpy -x ../less/ipa.less > ipa.css
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/lesscpy/__main__.py", line 4, in <module>
    run()
  File "/usr/lib/python3/dist-packages/lesscpy/scripts/compiler.py", line 176, in run
    p.parse(filename=args.target, debuglevel=args.debug)
  File "/usr/lib/python3/dist-packages/lesscpy/lessc/parser.py", line 153, in parse
    self.result = self.parser.parse(
  File "/usr/lib/python3/dist-packages/ply/yacc.py", line 333, in parse
    return self.parseopt_notrack(input, lexer, debug, tracking, tokenfunc)
  File "/usr/lib/python3/dist-packages/ply/yacc.py", line 1120, in parseopt_notrack
    p.callable(pslice)
  File "/usr/lib/python3/dist-packages/lesscpy/lessc/parser.py", line 259, in p_statement_import
    recurse.parse(filename=filename, debuglevel=0)
  File "/usr/lib/python3/dist-packages/lesscpy/lessc/parser.py", line 156, in parse
    self.post_parse()
  File "/usr/lib/python3/dist-packages/lesscpy/lessc/parser.py", line 171, in post_parse
    self.result = list(utility.flatten(out))
  File "/usr/lib/python3/dist-packages/lesscpy/lessc/utility.py", line 28, in flatten
    if isinstance(elm, collections.Iterable) and not isinstance(elm, string_types):
AttributeError: module 'collections' has no attribute 'Iterable'
make[5]: *** [Makefile:660: ipa.css] Error 1
make[5]: Leaving directory '/build/freeipa-4.9.8/install/ui/css'
...

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa_4.9.8-1+exp1.log.gz
Type: application/gzip
Size: 43209 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeipa-devel/attachments/20220707/0e8e4f8b/attachment-0001.gz>


More information about the Pkg-freeipa-devel mailing list