firestorm-git
The pip install is used internally to set up a build tool (autobuild) in an isolated venv from a requirements.txt in the project's own git repository, which is a normal part of the build process and not an attempt to install untrusted external code.
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 pip install is used internally to set up a build tool (autobuild) in an isolated venv from a requirements.txt in the project's own git repository, which is a normal part of the build process and not an attempt to install untrusted external code.
1 higher static finding superseded - not the current verdict (shown for transparency)
pip_install_external
`pip install <package>` fetches an unpinned package from PyPI at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:89
python -m pip install --upgrade pip -
PKGBUILD:90
pip install -r requirements.txt
PKGBUILD
2 offending line(s) highlighted# Maintainer: Wolfspirit Magic <wolfspirit at wolfspirit dot eu>
pkgname=firestorm-git
_src=master
_extension=dev
pkgver=7.2.4.80358
pkgrel=1
pkgdesc="Firestorm is a feature-packed third-party viewer for Second Life and OpenSim grids ($_extension version)"
arch=('x86_64')
url=https://www.firestormviewer.org
license=('LGPL')
install='firestorm.install'
depends=(apr-util dbus-glib glu gtk2 lib32-libidn lib32-libsndfile
lib32-util-linux lib32-zlib libbsd libgl libidn libjpeg-turbo
libpng libxcrypt-compat libxss libxml2 mesa nss openal sdl
vlc zlib)
optdepends=(
'alsa-lib: for ALSA support'
'pepper-flash: for inworld Flash support'
'freealut: for OpenAL support'
'lib32-gst-plugins-good: for voice support'
'lib32-libidn11: for voice support'
'libpulse: for PulseAudio support'
'mesa-libgl: For Intel, Radeon, Nouveau support'
'nvidia-libgl: for NVIDIA support'
'nvidia-utils: for NVIDIA support'
)
makedepends=('cmake' 'python-pip' 'git' 'boost' 'xz')
conflicts=()
provides=("firestorm-$_extension")
source=(
"$pkgname"::"git+https://github.com/FirestormViewer/phoenix-firestorm#branch=${_src}"
"fs-build-variables"::'git+https://github.com/FirestormViewer/fs-build-variables'
'firestorm.desktop'
'firestorm.launcher'
# This patch fixes the fortify check. Arch defines _FORTIFY_SOURCE by default,
# These are in CMAKE_CXX_FLAGS and not in CMAKE_CXX_COMPILER_ARG1,
# so the check for _FORTIFY_SOURCE in CMAKE_CXX_COMPILER_ARG1 fails and the fortify check is not disabled,
# which causes build failures.
'001-fix-fortify-check.patch'
# We want to be able to use the OS version together with the official firestorm-bin version so we want a different config directory for the OS version.
# This patch changes the default config directory to ~/.firestorm_x64-os instead of ~/.firestorm_x64
'002-set-different-config-dir.patch'
)
sha256sums=('SKIP'
'SKIP'
'db34a50f4b7fda4a465cd0536f17a0f6040ff6b2e40c32594b1f244ebe8e2d60'
'465f1611c17f90bba8bc7e7cc3e05ffe8cf20fb9c1b7df59053f54a6bceb8283'
'cbef822d5ce2b1b9eb3bc88bfcaa59dfb2eec2cc698bdcb391b1c332a7ed93fb'
'5eec78e0196e51d58e45078b84dc277353ef635ff160ff61ac58ab5966245011')
# The binaries are already stripped in the build system.
options=(!strip)
pkgver() {
_pkgver=$(cat "$srcdir/$pkgname/indra/newview/VIEWER_VERSION_FS.txt")
cd "$srcdir/$pkgname"
_revnum=$(git rev-list --count HEAD)
printf "%s.%s" $_pkgver $_revnum
}
prepare() {
cd "$srcdir/$pkgname"
for p in "$srcdir"/*.patch; do
# Replace [EXTENSION] with the actual extension in the patch file
sed -i "s/\[EXTENSION\]/$_extension/g" "$p"
echo "Applying patch $(basename "$p")"
patch -Np1 -i "$p" || exit 1
done
}
build() {
# Rename _GLIBCXX_ASSERTIONS to _NO_GLIBCXX_ASSERTION if defined
# The problem is that makepkg might define -D_GLIBCXX_ASSERTIONS.
# There is a bug in FS right now that causes the assertion to trigger a crash so we rename it to NO_GLIBCXX_ASSERTIONS to disable the assertions.
# This is not ideal but it is a workaround until the underlying issue in FS is fixed.
CPPFLAGS=${CPPFLAGS//_GLIBCXX_ASSERTIONS/_NO_GLIBCXX_ASSERTIONS}
CXXFLAGS=${CXXFLAGS//_GLIBCXX_ASSERTIONS/_NO_GLIBCXX_ASSERTIONS}
export CPPFLAGS CXXFLAGS
cd "$pkgname"
export AUTOBUILD_VARIABLES_FILE="$srcdir/fs-build-variables/variables"
# Install Autobuild + python deps into an isolated venv
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
case "$_extension" in
os)
channel="ReleaseOSArchx64"
;;
beta)
channel="BetaOSArchx64"
;;
*)
channel="DevOSArchx64"
;;
esac
# Build the project using Autobuild with the specified options:
# - Package the output for installation to /opt/firestorm-$_extension
# - Enable AVX2 optimizations
# - Don't use Kakadu for JPEG2000 support. KDU Requires license. Falling back to OpenJPEG for JPEG2000 support.
# - Don't use FMOD Studio for audio. FMOD Studio requires an account to download the API. Falling back to OpenAL for audio support.
# - Don't use Havok for physics. Havok requires license. This only affects Mesh uploads.
# - Enable OpenSim support
# - Pass --fresh to cmake to ensure flags are up to date
autobuild build -A 64 -c ReleaseFS -- --chan "$channel" \
--package \
--avx2 \
-DUSE_KDU:BOOL=OFF \
-DUSE_FMODSTUDIO:BOOL=OFF \
-DHAVOK_TPV:BOOL=OFF \
-DOPENSIM:BOOL=ON \
--fresh
# Deactivate the virtual environment after the build is complete
deactivate
}
package() {
mkdir -p "$pkgdir/opt"
mkdir -p "$pkgdir/usr/share/applications"
mkdir -p "$pkgdir/usr/share/icons/hicolor/512x512/apps"
# Install the packaged output to /opt/firestorm-$_extension
mv "$pkgname/build-linux-x86_64/newview/packaged" "$pkgdir/opt/firestorm-$_extension"
install -Dm755 "firestorm.launcher" "$pkgdir/usr/bin/firestorm-$_extension"
install -Dm644 "firestorm.desktop" "$pkgdir/usr/share/applications/firestorm-$_extension.desktop"
# Replace [EXTENSION] with the actual extension in the launcher and desktop file
sed -i "s/\[EXTENSION\]/$_extension/g" "$pkgdir/usr/bin/firestorm-$_extension"
sed -i "s/\[EXTENSION\]/$_extension/g" "$pkgdir/usr/share/applications/firestorm-$_extension.desktop"
install -Dm644 "$pkgdir/opt/firestorm-$_extension/firestorm_icon.png" "$pkgdir/usr/share/icons/hicolor/512x512/apps/firestorm-$_extension.png"
# rename "do-not-directly-run-firestorm-bin" to "do-not-directly-run-firestorm-$_extension" in the bin directory
# firestorm uses that as the class name.
# This allows us to have both the OS version and the official version installed at the same time
# The .desktop file needs to match this name in the StartupWMClass field to work properly with the window manager.
mv "$pkgdir/opt/firestorm-$_extension/bin/do-not-directly-run-firestorm-bin" "$pkgdir/opt/firestorm-$_extension/bin/do-not-directly-run-firestorm-$_extension"
# replace "do-not-directly-run-firestorm-bin" with "do-not-directly-run-firestorm-$_extension" in the "firestorm" script
sed -i "s/do-not-directly-run-firestorm-bin/do-not-directly-run-firestorm-$_extension/g" "$pkgdir/opt/firestorm-$_extension/firestorm"
}
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 |