Debian Patches

Status for syft/1.54.1-1

Patch Description Author Forwarded Bugs Origin Last update
0001-build-filemode-test-cases-that-fit-a-32-bit-int.patch build the out-of-range FileMode test cases at run time Test_safeFileModeConvert declares two cases as int(math.MaxInt32) + 1 and
int(math.MinInt32) - 1. Both are constants that do not fit in an int where int
is 32 bits wide, so the test binary does not compile on i386 and the build
fails. No int value lies outside the int32 range there, so the two cases
cannot be built at all. They now come from int64 variables, and only where int
is wider than int32.

diff --git a/syft/format/syftjson/to_syft_model_test.go b/syft/format/syftjson/to_syft_model_test.go
index ed4b7b5..7929f11 100644
Juan Manuel Méndez Rey <juan.mendezr@proton.me> yes debian 2026-11-03
0002-skip-binary-classifier-cases-without-a-fixture.patch Skip binary classifier cases that have no fixture Test_Cataloger_PositiveCases fails outright when a case has neither a
committed snippet nor a downloaded binary. Upstream CI downloads the
binaries first; a build from the release tarball cannot, so a dozen cases
with no snippet made the whole test fail. Skip those cases instead and run
the rest against the snippets.

diff --git a/syft/pkg/cataloger/binary/internal/manager/testutil/snippet_or_binary.go b/syft/pkg/cataloger/binary/internal/manager/testutil/snippet_or_binary.go
index 9d81f28..368efbd 100644
Juan Manuel Méndez Rey <juan.mendezr@proton.me> invalid debian 2026-11-04

All known versions for source package 'syft'

Links