mingw-w64-scotch

LOW
maintainer orphaned 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a tarball from the project's official GitLab instance (inria.fr), which is a plausible project-owned host; building from official project sources is normal AUR packaging, even if the domain is not on a standard whitelist.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official GitLab instance (inria.fr), which is a plausible project-owned host; building from official project sources is normal AUR packaging, even if the domain is not on a standard whitelist.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host 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://gitlab.inria.fr/scotch/scotch/-/archive/v${pkgver}/scotch-v${pkgver}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1pkgname=mingw-w64-scotch
2pkgver=7.0.13
3pkgrel=1
4pkgdesc="Software package and libraries for graph, mesh and hypergraph partitioning, static mapping, and sparse matrix block ordering (mingw-w64)"
5arch=('any')
6url="https://gitlab.inria.fr/scotch/scotch"
7depends=('mingw-w64-bzip2' 'mingw-w64-zlib' 'mingw-w64-xz')
8makedepends=('mingw-w64-cmake' 'mingw-w64-wine')
9options=('staticlibs' '!buildflags' '!strip')
10license=('custom:CeCILL-C')
11source=("https://gitlab.inria.fr/scotch/scotch/-/archive/v${pkgver}/scotch-v${pkgver}.tar.gz")
12sha256sums=('6457d1f177fce9c07324b8c57ad1086402b0e61bd9ecf5c30b2b481944ea8fe7')
13
14_architectures=${MINGW_W64_ARCHS:-x86_64-w64-mingw32}
15
16prepare () {
17 cd "${srcdir}/scotch-v${pkgver}"
18 sed -i "s|COMMAND \$<TARGET_FILE:dummysizes>|COMMAND \${CMAKE_CROSSCOMPILING_EMULATOR} \$<TARGET_FILE:dummysizes>|g" src/libscotch*/CMakeLists.txt
19 sed -i "s|\$<TARGET_FILE:dummysizes>|\${CMAKE_CROSSCOMPILING_EMULATOR} \$<TARGET_FILE:dummysizes>|g" src/check/CMakeLists.txt
20 sed -i "s|COMMAND \$<TARGET_FILE:gdump>|COMMAND \${CMAKE_CROSSCOMPILING_EMULATOR} \$<TARGET_FILE:gdump>|g" src/check/CMakeLists.txt
21 echo "target_link_libraries(scotch PUBLIC scotcherr)" >> src/libscotch/CMakeLists.txt
22}
23
24build() {
25 cd "${srcdir}/scotch-v${pkgver}"
26 for _arch in ${_architectures}; do
27 ${_arch}-cmake -DBUILD_PTSCOTCH=OFF -DINSTALL_METIS_HEADERS=OFF -B build-${_arch} .
28 make -C build-${_arch}
29 done
30}
31
32
33package() {
34 for _arch in ${_architectures}; do
35 cd "$srcdir"/scotch-v${pkgver}/build-${_arch}
36 make install DESTDIR="$pkgdir"
37 rm -r "$pkgdir"/usr/${_arch}/share
38 rm "$pkgdir"/usr/${_arch}/bin/*.exe
39 ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
40 ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
41 done
42}
43

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