Debian Patches

Status for golang-github-diskfs-go-diskfs/1.9.4+ds1-1

Patch Description Author Forwarded Bugs Origin Last update
0001-skip-tests-that-need-docker.patch Skip the tests whose fixtures are built with docker The ext4 and fat32 TestMain functions call buildimg.sh and mkfat32.sh to
generate their image fixtures, and disk_test.go's "whole disk" subtest calls
mkfat32.sh too. Both scripts run their tools inside a container, so the three
packages fail wherever docker is absent, which includes every build chroot.
Look for docker first and skip instead of failing.

diff --git a/disk/disk_test.go b/disk/disk_test.go
index 37353f4..7c30477 100644
Juan Manuel Méndez Rey <juan.mendezr@proton.me> invalid 2026-10-26
0002-clear-source-date-epoch-in-test.patch Clear SOURCE_DATE_EPOCH in the test case that expects it unset TestTimeStamp's "source date epoch not set" case never unsets the variable,
it only refrains from setting it, so it inherits whatever the environment
carries. Every dpkg build exports SOURCE_DATE_EPOCH, so the case compares the
changelog date against time.Now() and fails. GetTime treats an empty value as
unset, so setting it empty through t.Setenv covers all three cases.

diff --git a/util/timestamp/timestamp_test.go b/util/timestamp/timestamp_test.go
index 85c2e97..eeda6c2 100644
Juan Manuel Méndez Rey <juan.mendezr@proton.me> invalid 2026-10-26
0003-convert-timespec-for-time-unix.patch Convert the timespec fields before calling time.Unix unix.Stat_t.Atim.Sec and .Nsec are int32 on 32 bit Linux, and time.Unix takes
int64, so the sync package does not compile there. The conversions are no-ops
on 64 bit.

diff --git a/sync/time_other.go b/sync/time_other.go
index e9e1a09..4ae81e0 100644
Juan Manuel Méndez Rey <juan.mendezr@proton.me> no 2026-10-27
0004-type-the-deadbeef-constant.patch Type the DEADBEEF constant in the journal test 0xDEADBEEF does not fit in int on 32 bit, and t.Errorf takes the constant
untyped, so the ext4 test package does not compile there.

diff --git a/filesystem/ext4/journal_test.go b/filesystem/ext4/journal_test.go
index 117aaaf..c210c39 100644
Juan Manuel Méndez Rey <juan.mendezr@proton.me> no 2026-10-27

All known versions for source package 'golang-github-diskfs-go-diskfs'

Links