← Back to issue list

Handle SOURCE_DATE_EPOCH for SquashFS

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1890046
Type
issue
State
open
Author
~abitrolly
Labels
—
Created
Updated
Closed
—

Current evaluation

SOURCE_DATE_EPOCH-based SquashFS reproducibility was requested; a 2025 report says snap pack v2.72 now produces identical snaps, indicating resolution upstream

Suggested action: close resolved

Reason: The latest report verifies that snap pack v2.72 generates identical snaps when SOURCE_DATE_EPOCH is set, and current Snapcraft delegates packing to snap pack. This resolving version provides evidence that Snapcraft now inherits the corrected behavior.

Evaluated by: mr-cal-bot

Impact: 45 Quick Win: 32 Complexity: 20 Confidence: 84 Actionability: 90

Issue body

For reproducible snap builds is needed that if SOURCE_DATE_EPOCH is set, the timestamps inside of .snap archive were set from it. --- v2.snap +++ yakshaveinc_eternal_amd64.snap ├── unsquashfs -s {} │ @@ -1,9 +1,9 @@ │ Found a valid SQUASHFS 4:0 superblock │ -Creation or last append time Sat Aug 1 18:36:27 2020 │ +Creation or last append time Sun Aug 2 15:04:00 2020 │ Filesystem size 576 bytes (0.56 Kbytes / 0.00 Mbytes) │ Compression xz │ Block size 131072 │ Filesystem is exportable via NFS │ Inodes are compressed │ Data is compressed │ Uids/Gids (Id table) are compressed ├── unsquashfs -d -lls {} │ @@ -1,6 +1,6 @@ │ Parallel unsquashfs: Using 4 processors │ 1 inodes (1 blocks) to write │ │ drwxr-xr-x root/root 27 2020-05-26 13:34 │ drwxr-xr-x root/root 32 2020-05-26 13:34 /meta │ --rw-r--r-- root/root 275 2020-08-01 18:36 /meta/snap.yaml │ +-rw-r--r-- root/root 275 2020-08-02 15:04 /meta/snap.yaml

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 45
Quick Win: 32
Complexity: 20
Confidence: 84
Actionability: 90
close resolved SOURCE_DATE_EPOCH-based SquashFS reproducibility was requested; a 2025 report says snap pack v2.72 now produces identical snaps, indicating resolution upstream
stealth/space-bunny-alpha
Impact: 58
Quick Win: 37
Complexity: 30
Confidence: 82
Actionability: 90
close resolved SOURCE_DATE_EPOCH-based SquashFS reproducibility appears resolved in snap pack 2.72; the latest report produced identical snaps, but no resolving change is linked.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 12
Complexity: 50
Confidence: 60
Actionability: 80
needs triage Feature request to support SOURCE_DATE_EPOCH for reproducible snap builds by setting SquashFS timestamps from the environment variable. Issue is unlabelled and has had no maintainer response.
qwen/qwen3.8-27b
Impact: 40
Quick Win: 20
Staleness: 72
Complexity: 50
Confidence: 55
Support Request: 15
needs triage Feature request to respect SOURCE_DATE_EPOCH when creating the SquashFS inside .snap archives for reproducible builds; open since 2020, unlabelled, no maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 45
Confidence: 70
Support Request: 15
needs triage Request to respect SOURCE_DATE_EPOCH environment variable for reproducible builds when generating SquashFS-based .snap archives. Currently unlabelled and unacknowledged by maintainers.
qwen/qwen3.6-35b-a3b
Staleness: 92
Complexity: 35
Confidence: 85
Support Request: 15
needs triage Request to respect SOURCE_DATE_EPOCH for reproducible builds when generating SquashFS-based .snap archives. Currently unlabelled and unacknowledged by maintainers after over six years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 45
Confidence: 75
Support Request: 15
needs triage Request to implement SOURCE_DATE_EPOCH support for SquashFS timestamps to enable reproducible snap builds. Currently unlabelled and awaiting maintainer assessment after nearly six years.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.