clusteringsuite
maintainer gamezelda
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
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
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 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)
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:10
source=("https://ftp.tools.bsc.es/$pkgname/$pkgname-${pkgver%.*}-src.tar.bz2"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Joan Bruguera Micó <joanbrugueram@gmail.com>
2
pkgname='clusteringsuite'
3
pkgdesc='Automatically expose the main performance trends in applications'\'' computation structure (from BSC).'
4
pkgver='2.6.9.20250303'
5
pkgrel='2'
6
arch=('x86_64')
7
url='https://www.bsc.es/discover-bsc/organisation/scientific-structure/performance-tools'
8
license=('LGPL-2.1-or-later')
9
depends=(libxml2 boost libbsctools)
10
source=("https://ftp.tools.bsc.es/$pkgname/$pkgname-${pkgver%.*}-src.tar.bz2"
11
clusteringsuite-Build-fix-for-GCC-11-invocable-as-const.patch
12
clusteringsuite-Fix-references-to-the-build-directory.patch)
13
sha512sums=(96ce7c89551fc91762a64d34a02594ba863bfc612c03d422e79bdfb88da201330c62c4ab4d74b01721537372e15f7c15acc55bdce8b1b7fc74b0534665c96e9b
14
e88047f3df0b1e0d6512741e33557cba336b282b7d6d52f380991dcdb3138c7cc72fbdf187a6d5c4fefe01c605153f939c21c5ba71df7ac448facafdcea678a5
15
05a0c1a2d04f715b145e5ef98f29fa2ddfe45010c6ad4dce7b467ebaa552effb9b61836ad26b243348dfe4e480c47eaf96e5f56e4eb491f8034a1374627c8d3f)
16
17
prepare() {
18
cd "$srcdir/$pkgname-${pkgver%.*}"
19
20
# Fix build for GCC 11
21
patch -Np1 -i "$srcdir/clusteringsuite-Build-fix-for-GCC-11-invocable-as-const.patch"
22
23
patch -Np1 -i "$srcdir/clusteringsuite-Fix-references-to-the-build-directory.patch"
24
25
# This package includes a version of one the libbsctools libraries by default,
26
# which causes a conflict as both libraries would need to be installed
27
# Basically, the next few lines disable compilation of the version included
28
# in this package, and make the package rely on the libbsctools version instead
29
sed -i '/.*pcfparser_svn3942.*/d' configure.ac
30
sed -i 's/pcfparser_svn3942//g' Makefile.am
31
sed -i 's/.*libparavertraceconfig\.la/-lparavertraceconfig/g' src/libSharedComponents/Makefile.am
32
33
autoreconf -i -f -I config
34
}
35
36
build() {
37
cd "$srcdir/$pkgname-${pkgver%.*}"
38
39
# For now, ignore new errors from GCC 14 (see https://gcc.gnu.org/gcc-14/porting_to.html)
40
export CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration"
41
42
# NOTE: The following optional features are NOT enabled:
43
# * CAPEK algorithm
44
# * MRNet-based parallel DBSCAN
45
# * LaTeX documentation
46
# NOTE: Normally LibXML is correctly autodetected, so forcing the LibXML
47
# prefix should not be necessary, however, there's some homebrew LibXML
48
# detection logic (look for AX_PROG_XML2 in config/macros.m4) which
49
# fails in some scenarios, such as if /bin is before /usr/bin in PATH
50
# (thanks to @teleportex on AUR for the report and fix suggestion)
51
XML2_CONFIG=/usr/bin/xml2-config ./configure \
52
--prefix=/usr
53
54
make
55
}
56
57
package() {
58
cd "$srcdir/$pkgname-${pkgver%.*}"
59
60
# WORKAROUND: Often fails with parallel install, so force make to run sequentially
61
make DESTDIR="$pkgdir/" install -j1
62
}
63
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |