codechecker

LOW
maintainer RubenKelevra 2 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The pip install is part of building the project's own dependencies in a local virtual environment, not installing arbitrary external packages; the source is from the project's official repository and the build process is standard for Python-based tools.

Triggered rules

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pip install is part of building the project's own dependencies in a local virtual environment, not installing arbitrary external packages; the source is from the project's official repository and the build process is standard for Python-based tools.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium pip install of an external package pip_install_external

`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.

  • PKGBUILD:43 pip install setuptools

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Carl Smedstad <carsme@archlinux.org>
2
3pkgname=codechecker
4pkgver=6.26.2
5pkgrel=1
6pkgdesc="Analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy"
7arch=(x86_64)
8url="https://github.com/Ericsson/codechecker"
9license=(Apache-2.0)
10depends=(
11 gcc-libs
12 glibc
13 python
14)
15makedepends=(
16 npm
17 python-pip
18)
19optdepends=(
20 'clang: for running Clang Static Analyzer and Clang Tidy'
21 'cppcheck: for running CPPCheck analysis'
22)
23
24source=(
25 "$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
26 "fix-ldflags.patch"
27)
28sha256sums=(
29 'fc72351fa0ed511b82c5ebd6c39a6f2d100c4340dd6e90c043c468ba892e584e'
30 'e59cb4d96642ccea7c3536e020b3961c1717bc65983424ced48b0ae1b1a3871a'
31)
32
33prepare() {
34 cd $pkgname-$pkgver
35 patch -Np1 < ../fix-ldflags.patch
36}
37
38build() {
39 cd $pkgname-$pkgver
40 make venv
41 # shellcheck disable=SC1091
42 source "$PWD/venv/bin/activate"
43 pip install setuptools
44
45 # Parallel builds fail
46 export MAKEFLAGS="-j1"
47 export BUILD_LOGGER_64_BIT_ONLY=YES
48 make package
49
50 tar -xf web/api/py/codechecker_api/dist/codechecker_api.tar.gz
51 tar -xf web/api/py/codechecker_api_shared/dist/codechecker_api_shared.tar.gz
52}
53
54package() {
55 cd $pkgname-$pkgver
56 install -vdm755 "$pkgdir/opt"
57 cp -va build/CodeChecker "$pkgdir/opt"
58 rm -vr "$pkgdir/opt/CodeChecker/lib/python3/codechecker"
59
60 cp -vr venv/lib/python*/site-packages/* "$pkgdir/opt/CodeChecker/lib/python3/"
61
62 cp -va codechecker_api-*/codechecker_api/ "$pkgdir/opt/CodeChecker/lib/python3/"
63 cp -va codechecker_api_shared-*/codechecker_api_shared/ "$pkgdir/opt/CodeChecker/lib/python3/"
64
65 install -vdm755 "$pkgdir/usr/bin"
66 ln -vs /opt/CodeChecker/bin/CodeChecker "$pkgdir/usr/bin/CodeChecker"
67}
68

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 3
2026-10-26 00:12:40 Low 3
2026-10-25 00:20:48 Low 3
2026-10-24 00:14:55 Low 3
2026-10-23 00:02:19 Low 3
2026-10-22 00:13:10 Low 3
2026-10-21 00:12:50 Low 3
2026-10-20 00:10:31 Low 3
2026-10-19 00:03:55 Low 3
2026-10-18 00:06:55 Low 3
2026-10-17 00:21:55 Low 3
2026-10-16 00:12:47 Low 3
2026-10-15 00:28:05 Low 3
2026-10-14 00:06:47 Low 3
2026-10-13 00:23:45 Low 3

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion