Bundled mksquashfs only supports zstd compression despite --comp parameter accepting other formats
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 58/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- build-system, cli
调研方向
从 ci/install-static-mksquashfs.sh 开始,检查捆绑的 mksquashfs 是如何构建的,然后复现 issue 中描述的 --comp gzip 失败。完成的标准是所选择的行为得到一致实现:支持的格式可以正常工作,或者不支持的格式会被明确的消息拒绝。
由索引模型根据 Issue 内容生成。
描述
Issue: --comp parameter doesn't work with gzip/xz/lzo/lz4
Why other compression methods are not added?
Problem
Using --comp gzip fails because the bundled mksquashfs only supports zstd:
mksquashfs: Compressor "gzip" is not supported!
mksquashfs: Compressors available:
zstd (default)
Cause
In ci/install-static-mksquashfs.sh, mksquashfs is built with only zstd enabled:
GZIP_SUPPORT=0 XZ_SUPPORT=0 LZO_SUPPORT=0 LZ4_SUPPORT=0 ZSTD_SUPPORT=1
Suggested Fix
Either:
- Enable all compression formats in the build script, OR
- Validate
--compparameter and reject unsupported formats with clear error message
- 主要语言
- C
- 星标
- 462
- 派生
- 61
- 平均合并
- 20 分钟
- 30 天内合并 PR
- 8
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AppImage/appimagetool 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 55/100
AppImage/appimagetool#141 · 1 条评论 ·
-
All my workflows are failing due to recent changes可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 3/5 1-2 天 新手友好度 45/100
AppImage/appimagetool#138 · 74 条评论 · 7 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 48/100
AppImage/appimagetool#136 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
AppImage/appimagetool#132 ·
-
难度 3/5 1-2 天 新手友好度 45/100
AppImage/appimagetool#127 · 3 条评论 ·
查看 AppImage/appimagetool 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 3 天内回复
-
[Android Auto] MU1017 (MHI2Q_JP_AUG22_P1017) cluster map works with a pinned profile — values inside未关闭
难度 1/5 1 小时以内 新手友好度 92/100
kamgurgul/mib2q-carplay#74 ·
-
Claude:NotNeeded GPT:NotABug triage
难度 2/5 1-3 小时 新手友好度 78/100
open5gs/open5gs#5195 · 1 条评论 ·
维护者通常 1 天内回复
-
i3-compat
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
FriendsofECCE/ECCE#1358 ·