codechecker

LOW
maintainer orphaned 2 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 Low 2

Report a package

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

0 / 4000
Your suggestion