Package Details: compiledb 0.10.7-3

Git Clone URL: https://aur.archlinux.org/compiledb.git (read-only, click to copy)
Package Base: compiledb
Description: Tool for generating Clang's JSON Compilation Database file for GNU make-based build systems
Upstream URL: https://github.com/nickdiego/compiledb
Keywords: ycm youcompleteme
Licenses: GPL-3.0-only
Replaces: compiledb-generator
Submitter: hexchain
Maintainer: groctel
Last Packager: groctel
Votes: 5
Popularity: 0.96
First Submitted: 2019-06-28 10:57 (UTC)
Last Updated: 2025-04-01 10:37 (UTC)

Latest Comments

groctel commented on 2025-05-12 08:59 (UTC)

If you're facing the ModuleNotFoundError: No module named 'bashlex' after the time of writing this comment, it seems to be an issue with the bashlex package itself. You can solve it by reinstalling it and the installing compiledb.

newwronganswer commented on 2024-08-23 14:17 (UTC)

tategotoazarasi, I had the same issue.

Clearing cache and doing a clean build resolved it.

tategotoazarasi commented on 2024-06-10 06:44 (UTC)

=================================================== ERRORS ===================================================
_________________________________ ERROR collecting tests/test_json_compdb.py _________________________________
ImportError while importing test module '/cache/tategotoazarasi/.cache/yay/compiledb/src/compiledb-0.10.1/tests/test_json_compdb.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_json_compdb.py:27: in <module>
    from compiledb import load_json_compdb, generate
compiledb/__init__.py:27: in <module>
    from compiledb.parser import parse_build_log, Error
compiledb/parser.py:21: in <module>
    import bashlex
E   ModuleNotFoundError: No module named 'bashlex'
___________________________________ ERROR collecting tests/test_parser.py ____________________________________
ImportError while importing test module '/cache/tategotoazarasi/.cache/yay/compiledb/src/compiledb-0.10.1/tests/test_parser.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_parser.py:23: in <module>
    from compiledb.parser import parse_build_log
compiledb/__init__.py:27: in <module>
    from compiledb.parser import parse_build_log, Error
compiledb/parser.py:21: in <module>
    import bashlex
E   ModuleNotFoundError: No module named 'bashlex'

SZanko commented on 2021-05-12 08:38 (UTC)

Did you install python-bashlex from the aur, python-shutilwhich from the offical repos?

MrHritik commented on 2021-05-11 13:03 (UTC)

I'm getting

==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> python-bashlex
  -> python-shutilwhich
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

wuxb commented on 2020-05-12 05:25 (UTC)

Hi the build dependency "python-setuptools" is missing.