clusteringsuite
The source is a legitimate tarball from a BSC subdomain (ftp.tools.bsc.es) used for official releases; despite not being on a standard host whitelist, it hosts verifiable source code for a known research tool, and the package builds from source without executing untrusted binaries or scripts.
Triggered rules
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 source is a legitimate tarball from a BSC subdomain (ftp.tools.bsc.es) used for official releases; despite not being on a standard host whitelist, it hosts verifiable source code for a known research tool, and the package builds from source without executing untrusted binaries or scripts.
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:10
source=("https://ftp.tools.bsc.es/$pkgname/$pkgname-${pkgver%.*}-src.tar.bz2"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Joan Bruguera Micó <joanbrugueram@gmail.com>
pkgname='clusteringsuite'
pkgdesc='Automatically expose the main performance trends in applications'\'' computation structure (from BSC).'
pkgver='2.6.9.20250303'
pkgrel='2'
arch=('x86_64')
url='https://www.bsc.es/discover-bsc/organisation/scientific-structure/performance-tools'
license=('LGPL-2.1-or-later')
depends=(libxml2 boost libbsctools)
source=("https://ftp.tools.bsc.es/$pkgname/$pkgname-${pkgver%.*}-src.tar.bz2"
clusteringsuite-Build-fix-for-GCC-11-invocable-as-const.patch
clusteringsuite-Fix-references-to-the-build-directory.patch)
sha512sums=(96ce7c89551fc91762a64d34a02594ba863bfc612c03d422e79bdfb88da201330c62c4ab4d74b01721537372e15f7c15acc55bdce8b1b7fc74b0534665c96e9b
e88047f3df0b1e0d6512741e33557cba336b282b7d6d52f380991dcdb3138c7cc72fbdf187a6d5c4fefe01c605153f939c21c5ba71df7ac448facafdcea678a5
05a0c1a2d04f715b145e5ef98f29fa2ddfe45010c6ad4dce7b467ebaa552effb9b61836ad26b243348dfe4e480c47eaf96e5f56e4eb491f8034a1374627c8d3f)
prepare() {
cd "$srcdir/$pkgname-${pkgver%.*}"
# Fix build for GCC 11
patch -Np1 -i "$srcdir/clusteringsuite-Build-fix-for-GCC-11-invocable-as-const.patch"
patch -Np1 -i "$srcdir/clusteringsuite-Fix-references-to-the-build-directory.patch"
# This package includes a version of one the libbsctools libraries by default,
# which causes a conflict as both libraries would need to be installed
# Basically, the next few lines disable compilation of the version included
# in this package, and make the package rely on the libbsctools version instead
sed -i '/.*pcfparser_svn3942.*/d' configure.ac
sed -i 's/pcfparser_svn3942//g' Makefile.am
sed -i 's/.*libparavertraceconfig\.la/-lparavertraceconfig/g' src/libSharedComponents/Makefile.am
autoreconf -i -f -I config
}
build() {
cd "$srcdir/$pkgname-${pkgver%.*}"
# For now, ignore new errors from GCC 14 (see https://gcc.gnu.org/gcc-14/porting_to.html)
export CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration"
# NOTE: The following optional features are NOT enabled:
# * CAPEK algorithm
# * MRNet-based parallel DBSCAN
# * LaTeX documentation
# NOTE: Normally LibXML is correctly autodetected, so forcing the LibXML
# prefix should not be necessary, however, there's some homebrew LibXML
# detection logic (look for AX_PROG_XML2 in config/macros.m4) which
# fails in some scenarios, such as if /bin is before /usr/bin in PATH
# (thanks to @teleportex on AUR for the report and fix suggestion)
XML2_CONFIG=/usr/bin/xml2-config ./configure \
--prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-${pkgver%.*}"
# WORKAROUND: Often fails with parallel install, so force make to run sequentially
make DESTDIR="$pkgdir/" install -j1
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |