groonga
The flagged pattern involves installing 'grntest' via gem during check(), which is a test dependency pulled from RubyGems; this is part of the project's own testing infrastructure, not a malicious payload, and does not affect the final package, so the risk is low.
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 90%): The flagged pattern involves installing 'grntest' via gem during check(), which is a test dependency pulled from RubyGems; this is part of the project's own testing infrastructure, not a malicious payload, and does not affect the final package, so the risk is low.
1 higher static finding superseded - not the current verdict (shown for transparency)
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:83
MAKEFLAGS="-j$(nproc)" gem install --no-user-install grntest
PKGBUILD
1 offending line(s) highlighted# Maintainer: Hiroshi Hatake <cosmo0920.wp[at]gmail.com>
pkgname=groonga
pkgdesc="An open-source fulltext search engine and column store."
pkgver=16.1.4
pkgrel=1
arch=('i686' 'x86_64')
url="https://groonga.org/"
license=('LGPL2.1-or-later')
depends=(
arrow
blas
blosc2
gcc
lapack
libedit
libevent
libstemmer
lz4
mecab-git
mecab-ipadic
msgpack-c
simdjson
xsimd
xxhash
zeromq
)
makedepends=(
cmake
ninja
pkgconf
ruby
ruby-rake
)
checkdepends=(
git
make
ruby-bundler
ruby-erb
)
source=(
"https://github.com/groonga/groonga/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
"https://github.com/groonga/groonga/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc"
)
sha512sums=(
"1a95b78aaabc67d4658834219e00dbe86f49cc0473e643f331a5ac6ebb391bf1335e7039e8a8503724e0d48487dce70f16f5420d6c1643e688832485efbb3c9d"
"SKIP"
)
validpgpkeys=(2701F317CFCCCB975CADE9C2624CF77434839225)
# See also: https://wiki.archlinux.org/title/CMake_package_guidelines
build() {
rm -rf build
local cmake_options=(
-B build
-S "${pkgname}-${pkgver}"
-G Ninja
-W no-dev
-D CMAKE_BUILD_TYPE=None
-D CMAKE_INSTALL_PREFIX=/usr
-D CMAKE_SKIP_RPATH=ON
-D GRN_WITH_APACHE_ARROW=ON
# This is a workaround.
# Currently, the system-provided Blosc2 is not used when building Groonga due to the following error.
#
# CMake Error at /usr/lib/cmake/Blosc2/Blosc2Targets.cmake:108 (message):
# The imported target "Blosc2::blosc2_static" references the file
# "/usr/lib/libblosc2.a"
#
# This is an upstream issue.
# So, we use bundled Blosc2 until the upstream issue is resolved.
-D GRN_WITH_BLOSC=bundled
-D GRN_WITH_MRUBY=ON
)
cmake "${cmake_options[@]}"
cmake --build build
}
check() {
cd build
export GEM_HOME="${PWD}/gem"
PATH="${GEM_HOME}/bin:${PATH}"
MAKEFLAGS="-j$(nproc)" gem install --no-user-install grntest
BUILD_DIR="${PWD}/test/command" \
"../${pkgname}-${pkgver}/test/command/run-test.sh" \
--n-retries=2 \
--read-timeout=30 \
--reporter=mark
}
package() {
DESTDIR="${pkgdir}" cmake --install build
}
Changes since previous scan
--- PKGBUILD @ 2026-10-27 00:23+++ PKGBUILD @ 2026-11-01 00:21@@ -2,7 +2,7 @@ pkgname=groonga pkgdesc="An open-source fulltext search engine and column store."-pkgver=16.0.4+pkgver=16.1.4 pkgrel=1 arch=('i686' 'x86_64') url="https://groonga.org/"@@ -43,7 +43,7 @@ "https://github.com/groonga/groonga/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc" ) sha512sums=(- "f99af9c3e826f86588f83f117f0af17b25b1fcfab9934b5f4424f4fda70bba180f66afa57377107cc69554a50e6024f13d6bea7c67935175a7770d8744ab2506"+ "1a95b78aaabc67d4658834219e00dbe86f49cc0473e643f331a5ac6ebb391bf1335e7039e8a8503724e0d48487dce70f16f5420d6c1643e688832485efbb3c9d" "SKIP" ) validpgpkeys=(2701F317CFCCCB975CADE9C2624CF77434839225)@@ -60,7 +60,16 @@ -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_SKIP_RPATH=ON -D GRN_WITH_APACHE_ARROW=ON- -D GRN_WITH_BLOSC=system+ # This is a workaround.+ # Currently, the system-provided Blosc2 is not used when building Groonga due to the following error.+ #+ # CMake Error at /usr/lib/cmake/Blosc2/Blosc2Targets.cmake:108 (message):+ # The imported target "Blosc2::blosc2_static" references the file+ # "/usr/lib/libblosc2.a"+ #+ # This is an upstream issue.+ # So, we use bundled Blosc2 until the upstream issue is resolved.+ -D GRN_WITH_BLOSC=bundled -D GRN_WITH_MRUBY=ON ) cmake "${cmake_options[@]}"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 11:47:37 | Medium | 1 |
| 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 |