mingw-w64-vtk-qt6
The package builds VTK from source hosted on the project's official website, and the external patches are downloaded from the project's official GitLab instance; while the host is not whitelisted and checksums are skipped for patches, these are build-time patches to fix compilation and do not constitute untrusted executable code or malicious payloads.
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 package builds VTK from source hosted on the project's official website, and the external patches are downloaded from the project's official GitLab instance; while the host is not whitelisted and checksums are skipped for patches, these are build-time patches to fix compilation and do not constitute untrusted executable code or malicious payloads.
2 higher static findings superseded - not the current verdict (shown for transparency)
external_download_not_in_source
curl/wget fetches a URL on a non-allowlisted host that is not part of source=(), so it is not checksum-verified by makepkg.
-
PKGBUILD:18
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12856.patch | patch -p1 -
PKGBUILD:19
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12937.patch | patch -p1 -
PKGBUILD:20
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12939.patch | patch -p1 -
PKGBUILD:21
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12940.patch | patch -p1 -
PKGBUILD:27
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/13393.patch -p1
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:11
source=("https://www.vtk.org/files/release/${pkgver:0:3}/VTK-${pkgver}.tar.gz" MR13293.patch)
PKGBUILD
6 offending line(s) highlightedpkgname=mingw-w64-vtk-qt6
pkgver=9.6.2
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')
options=('!buildflags' 'staticlibs' '!strip')
source=("https://www.vtk.org/files/release/${pkgver:0:3}/VTK-${pkgver}.tar.gz" MR13293.patch)
sha256sums=('aed12cec12a9609179bf66329070266627ca64244a10856a452b2a17ffb04a1d' SKIP)
_architectures="x86_64-w64-mingw32"
prepare() {
cd "${srcdir}/VTK-${pkgver}"
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12856.patch | patch -p1
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12937.patch | patch -p1
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12939.patch | patch -p1
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/12940.patch | patch -p1
# gcc16: vtkNativePartitioningStrategy.cxx:(.text+0x6865): undefined reference to `vtkAOSDataArrayTemplate<long long>::IsTypeOf(char const*)'
patch -p1 -i "${srcdir}"/MR13293.patch
# flag to skip hw backends
curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/13393.patch -p1
}
build() {
cd "${srcdir}/VTK-${pkgver}"
for _arch in ${_architectures}; do
${_arch}-cmake \
-DCMAKE_BUILD_TYPE=Release \
-DVTK_USE_EXTERNAL=ON \
-DVTK_BUILD_TESTING=OFF \
-DVTK_QT_VERSION=6 \
-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 \
-B build-${_arch} .
make -C build-${_arch}
done
}
package() {
for _arch in ${_architectures}; do
cd "$srcdir/VTK-${pkgver}/build-${_arch}"
make install/fast DESTDIR="$pkgdir"
rm -r "$pkgdir"/usr/${_arch}/share
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
done
}
Changes since previous scan
--- PKGBUILD @ 2026-09-10 00:22+++ PKGBUILD @ 2026-09-17 00:27@@ -22,6 +22,9 @@ # gcc16: vtkNativePartitioningStrategy.cxx:(.text+0x6865): undefined reference to `vtkAOSDataArrayTemplate<long long>::IsTypeOf(char const*)' patch -p1 -i "${srcdir}"/MR13293.patch++ # flag to skip hw backends+ curl -L https://gitlab.kitware.com/vtk/vtk/-/merge_requests/13393.patch -p1 } build() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 3 |
| 2026-09-16 00:03:17 | Low | 3 |
| 2026-09-15 00:25:31 | Low | 3 |
| 2026-09-14 00:27:57 | Low | 3 |
| 2026-09-13 00:19:54 | Low | 3 |
| 2026-09-12 00:25:17 | Low | 3 |
| 2026-09-11 00:19:22 | Low | 3 |
| 2026-09-10 17:21:08 | Medium | 2 |
| 2026-09-10 00:22:44 | Medium | 3 |
| 2026-09-09 00:04:09 | Medium | 3 |
| 2026-09-08 00:18:08 | Medium | 3 |
| 2026-09-07 00:30:15 | Medium | 3 |
| 2026-09-06 00:17:06 | Medium | 3 |
| 2026-09-05 00:16:27 | Medium | 3 |
| 2026-09-04 00:03:13 | Medium | 3 |
| 2026-09-03 00:15:47 | Medium | 3 |
| 2026-09-02 00:02:31 | Medium | 3 |
| 2026-09-01 00:11:19 | Medium | 3 |
| 2026-08-31 00:19:57 | Medium | 3 |
| 2026-08-30 00:04:14 | Medium | 3 |