Missing unpackaged optdepends sasquatch
Description:
When running binwalk -Me firmware.bin
to extract an squashfs file, the following error occurs, even with squashfs-tools
installed:
[2025-01-18T10:31:38Z ERROR binwalk::extractors::common] Failed to execute command sasquatch["/tmp/extractions/firmware.bin.extracted/0/squashfs_0.sqsh"]: No such file or directory (os error 2)
[2025-01-18T10:31:38Z ERROR binwalk::extractors::common] Failed to spawn external extractor for 'squashfs' signature: No such file or directory (os error 2)
[2025-01-18T10:31:38Z ERROR binwalk::extractors::common] Failed to execute command sasquatch["/tmp/extractions/firmware.bin.extracted/0/squashfs_0.sqsh"]: No such file or directory (os error 2)
[2025-01-18T10:31:38Z ERROR binwalk::extractors::common] Failed to spawn external extractor for 'squashfs' signature: No such file or directory (os error 2)
/tmp/extractions/firmware.bin
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DECIMAL HEXADECIMAL DESCRIPTION
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 0x0 SquashFS file system, little endian, version: 4.0, compression: gzip, inode count: 347, block size: 131072,
image size: 4142721 bytes, created: 2024-12-26 12:27:45
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[-] Extraction of squashfs data at offset 0x0 failed!
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Analyzed 1 file for 85 file signatures (187 magic patterns) in 9.0 milliseconds
After installing sasquatch
using this PKGBUILD, the error fixes.
Please package the sasquatch
package and make it an optdepends
of binwalk
. Thanks!
Additional info:
- package version(s): 3.1.0
- Upstream dependency installation script: https://github.com/ReFirmLabs/binwalk/blob/v3.1.0/dependencies/ubuntu.sh#L34-L37
Steps to reproduce:
sudo pacman -S binwalk squashfs-tools
-
binwalk -Me firmware.bin
firmware.bin
Edited by Acid Xeon