Package Details: python-scan-build 2.0.14-1

Git Clone URL: https://aur.archlinux.org/python-scan-build.git (read-only)
Package Base: python-scan-build
Description: Clang's scan-build re-implementation in python
Upstream URL: https://github.com/rizsotto/scan-build
Licenses: GPL3
Submitter: doronbehar
Maintainer: doronbehar
Last Packager: doronbehar
Votes: 0
Popularity: 0.000000
First Submitted: 2018-07-20 09:17
Last Updated: 2018-07-24 16:14

Latest Comments

doronbehar commented on 2018-07-23 16:58

You are right, python-typing is a package I created only on my machine (can't remember what was it for initially) but I haven't uploaded to the AUR. It seems it has no effect for packages like this which can run with python3 and don't depend on python2-typing (which does exist in community). Source: https://pypi.org/project/typing/

EDIT: It means this issue you initially reported should be reported upstream.

chrbayer commented on 2018-07-22 20:39

Strange, but it is not possible to install python-typing as arch package or as AUR... If I install it via pip, your packages is working... But in that case I could install scan-build via pip, too...

doronbehar commented on 2018-07-22 20:09

I wonder why is that, I bet it doesn't matter for aur helpers..

chrbayer commented on 2018-07-22 10:10

Thank you very mich for your help! I will format the text later on, thanks for the remark.

python-typing seems to to be not available, in the dependency list it is marked red...

doronbehar commented on 2018-07-22 09:08

It seems python-typing is required for this package, I'll update it accordingly.

Use markdown in your comments for better readability for stuff like the Traceback.

chrbayer commented on 2018-07-22 08:31

Hi,

on Arch linux with only stable packages I get the following error, if I run this command:

scan-build.py -plist --intercept-first --analyze-headers -o source-check/analyzer_reports make

Traceback (most recent call last):
  File "/usr/bin/scan-build.py", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3095, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 570, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 888, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 774, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'typing' distribution was not found and is required by scan-build

What can be wrong with my environment?

Best regards, Christoph