Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366607 - sys-fs/squashfs-tools - segfaults when built with USE=-gzip
Summary: sys-fs/squashfs-tools - segfaults when built with USE=-gzip
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 15:26 UTC by avx
Modified: 2012-02-08 18:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description avx 2011-05-09 15:26:44 UTC
On ~amd64, gentoo-sources-2.6.38-r4, squashfs-tools-4.2, mksquashfs segfaults when built with USE=-gzip. Neither does it pick up nor does it list other compressors (xz, lzo) when built with USE="-gzip lzma lzo". Support for all named options is built into the kernel.

Reproducible: Always

Steps to Reproduce:
1. USE="-gzip lzma lzo xattr" squashfs-tools
2. mksquashfs file file.sqf (using "-comp {xz,lzo} doesn't work either)
3.
Actual Results:  
Segfault when the read buffer is full

Expected Results:  
should squash the dir/file
Comment 1 Fabio Bonfante 2011-12-21 20:23:34 UTC
Full confirm for me...
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-08 18:35:41 UTC
OK, mksquashfs -comp lists /no/ compression types when USE=-gzip, and indeed fails in several ways when USE=-gzip, so I am going to remove the USE flag and make it always build gzip support.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-08 18:41:19 UTC
Oh, I guess you didn't see the einfo:
  "You can set the default compression (gzip, xz or lzo) by exporting SQUASH_FS_DEFAULT_COMP"

I've tried it and it doesn't seem to work.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-08 18:45:46 UTC
Fixed in 4.2, which is going stable in bug #400937. IUSE=gzip has been removed until upstream actually supports this properly.