Skip to content

The OSINT investigator's workbench. One case, one folder, every tool. Local-first: your media and your investigations never leave your machine.

JavaScript

Show the 0.3.1 tour in the README, and leave glibc's libmvec out of the Linux binary (#92)

OsintMeThat3cf097299b90
diff --git a/README.md b/README.md
index a1376ed..53c2bd8 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@
<a href="https://github.com/OsintMeThat/azimut/releases/latest"><img alt="Platforms" src="https://img.shields.io/badge/platforms-Windows%20%7C%20macOS%20%7C%20Linux-6b7280"></a>
</p>
-![One case in Azimut, from the clip that arrives to the proof, the analysis surfaces and the published report](https://raw.githubusercontent.com/OsintMeThat/azimut/main/docs/media/demo.gif)
+![A tour of Azimut: a clip downloaded into a case, examined and stitched, placed on satellite imagery, compared across dates, swept by Detect, then turned into a proof, a report and a note](https://raw.githubusercontent.com/OsintMeThat/azimut/main/docs/media/demo.gif)
## Install & run
diff --git a/docs/media/demo.gif b/docs/media/demo.gif
index 505a0f0..e21a0ae 100644
Binary files a/docs/media/demo.gif and b/docs/media/demo.gif differ
diff --git a/packaging/azimut.spec b/packaging/azimut.spec
index 5ced704..202c8bf 100644
--- a/packaging/azimut.spec
+++ b/packaging/azimut.spec
@@ -84,6 +84,13 @@ a = Analysis(
noarchive=False,
)
+# libmvec is glibc's own vector maths library, and PyInstaller's list of system
+# libraries to leave out misses it. The vendored Linux ffmpeg links it, so the
+# runner's copy was packed in, and that copy asks the system's libm for the
+# runner's glibc: the binary stopped starting ffmpeg below glibc 2.39. Every x86_64
+# glibc since 2.22 ships its own, so the system's loads, like libm and libc.
+a.binaries = [entry for entry in a.binaries if not entry[0].startswith("libmvec.so")]
+
pyz = PYZ(a.pure)
# The .exe icon. Windows is the only shipped artifact that embeds one: Linux
diff --git a/tests/test_release_gate.py b/tests/test_release_gate.py
index 90d81bb..36cf536 100644
--- a/tests/test_release_gate.py
+++ b/tests/test_release_gate.py
@@ -399,6 +399,20 @@ def test_the_linux_binary_states_and_holds_its_glibc_floor():
assert f"glibc {stated} or newer" in readme
+def test_the_linux_binary_leaves_libmvec_to_the_system():
+ """The vendored ffmpeg links glibc's libmvec, which PyInstaller packs by default.
+
+ The runner's copy asks the system's libm for GLIBC_2.39, above the stated floor;
+ the floor gate caught it on the 0.3.1 dry run, in the 0.3.0 binary as well.
+ """
+ root = Path(__file__).resolve().parent.parent
+ spec = (root / "packaging" / "azimut.spec").read_text(encoding="utf-8")
+ kept = 'a.binaries = [entry for entry in a.binaries if not entry[0].startswith("libmvec.so")]'
+
+ assert kept in spec
+ assert spec.index(kept) < spec.index("exe = EXE(")
+
+
def test_the_glibc_floor_reads_versions_off_an_elf_image():
floor = _glibc_floor()