mingw-w64-vtk-git
The source is a Git repository from the official project host (gitlab.kitware.com), which is plausibly the project's own infrastructure; building from source is normal for AUR packages, even if the host is not on a whitelist.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a Git repository from the official project host (gitlab.kitware.com), which is plausibly the project's own infrastructure; building from source is normal for AUR packages, even if the host is not on a whitelist.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:13
source=("git+https://gitlab.kitware.com/vtk/vtk.git")
PKGBUILD
1 offending line(s) highlightedpkgname=mingw-w64-vtk-git
pkgver=r99103.27b35226104
pkgrel=1
pkgdesc='Software system for 3D computer graphics, image processing, and visualization (mingw-w64)'
arch=('any')
url='https://www.vtk.org'
license=('BSD')
depends=('mingw-w64-crt' 'mingw-w64-qt6-base' 'mingw-w64-jsoncpp' 'mingw-w64-expat' 'mingw-w64-netcdf' 'mingw-w64-libtiff' 'mingw-w64-libjpeg-turbo' 'mingw-w64-freetype2' 'mingw-w64-libpng' 'mingw-w64-libxml2' 'mingw-w64-hdf5' 'mingw-w64-freeglut' 'mingw-w64-lz4' 'mingw-w64-proj' 'mingw-w64-double-conversion' 'mingw-w64-pugixml' 'mingw-w64-libtheora' 'mingw-w64-gl2ps' 'mingw-w64-cgns' 'mingw-w64-libharu' 'mingw-w64-verdict' 'mingw-w64-scnlib')
makedepends=('mingw-w64-cmake' 'mingw-w64-wine' 'qt6-base' 'git' 'ninja-makeflags' 'lld' 'llvm')
provides=('mingw-w64-vtk')
conflicts=('mingw-w64-vtk')
options=('!buildflags' 'staticlibs' '!strip')
source=("git+https://gitlab.kitware.com/vtk/vtk.git")
sha256sums=('SKIP')
_architectures="x86_64-w64-mingw32"
pkgver () {
cd "${srcdir}/vtk"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${srcdir}/vtk"
}
build() {
cd "${srcdir}/vtk"
for _arch in ${_architectures}; do
${_arch}-cmake -G Ninja \
-DCMAKE_MAKE_PROGRAM=/usr/bin/ninja-makeflags \
-DCMAKE_BUILD_TYPE=Release \
-DVTK_USE_EXTERNAL=ON \
-DVTK_BUILD_TESTING=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_cli11=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_ioss=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_eigen=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_fmt=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_fast_float=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_pegtl=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_token=OFF \
-DVTK_MODULE_USE_EXTERNAL_VTK_utf8=OFF \
-DVTK_MODULE_ENABLE_VTK_GUISupportQt=YES \
-DVTK_MODULE_ENABLE_VTK_cli11=YES \
-DVTK_MODULE_ENABLE_VTK_FiltersParallelStatistics=YES \
-DVTK_MODULE_ENABLE_VTK_FiltersParallelVerdict=YES \
-DVTK_MODULE_ENABLE_VTK_FiltersParallelDIY2=YES \
-DVTK_MODULE_ENABLE_VTK_IOAvmesh=YES \
-DVTK_MODULE_ENABLE_VTK_IOH5part=YES \
-DVTK_MODULE_ENABLE_VTK_IOH5Rage=YES \
-DVTK_MODULE_ENABLE_VTK_IOOMF=YES \
-DVTK_MODULE_ENABLE_VTK_IOParallelExodus=YES \
-DVTK_MODULE_ENABLE_VTK_IOParallelLSDyna=YES \
-DVTK_MODULE_ENABLE_VTK_IOPIO=YES \
-DVTK_MODULE_ENABLE_VTK_IOTRUCHAS=YES \
-DVTK_MODULE_ENABLE_VTK_IOVPIC=YES \
-DVTK_MODULE_ENABLE_VTK_IOXdmf2=YES \
-DVTK_MODULE_ENABLE_VTK_RenderingParallel=YES \
-DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=YES \
-DCMAKE_LINKER_TYPE=LLD \
-B build-${_arch} .
cmake --build build-${_arch}
done
}
package() {
cd "$srcdir/vtk"
for _arch in ${_architectures}; do
DESTDIR="$pkgdir" cmake --install build-${_arch}
rm -r "$pkgdir"/usr/${_arch}/share
# LLD-linked DLLs must be stripped with llvm-strip; GNU strip can
# corrupt LLD output. LLD import libraries (*.dll.a) are skipped:
# they only contain short-import members which neither GNU strip
# ("line number table read failed" / "file truncated") nor llvm-strip
# ("unsupported object file format") can process.
llvm-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
for _lib in "$pkgdir"/usr/${_arch}/lib/*.a; do
[[ -e $_lib && $_lib != *.dll.a ]] || continue
${_arch}-strip -g "$_lib"
done
done
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |