codechecker

maintainer carsme · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
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-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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