Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is mksqwuashfs broken as of Ver. 3.0? SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1692
Location: Warsaw KY US

PostPosted: Fri Jul 21, 2006 4:34 am    Post subject: Is mksqwuashfs broken as of Ver. 3.0? SOLVED Reply with quote

I have been using mksquashfs to make compressed dvd's for backup for a couple of years now. Today I discovered that filesystems I create with mksquashfs can no longer be mounted, but older dvd's I made can still be mounted. I find the following information:
Code:
hilkiah dvds # emerge -s squashfs
Searching...   
[ Results for search key : squashfs ]
[ Applications found : 1 ]
 
*  sys-fs/squashfs-tools
      Latest version available: 3.0
      Latest version installed: 3.0
      Size of files: 375 kB
      Homepage:      http://squashfs.sourceforge.net/
      Description:   Tool for creating compressed filesystem type squashfs
      License:       GPL-2

hilkiah dvds # ls -l `which mksquashfs`
-rwxr-xr-x 1 root root 73120 May 17 21:21 /usr/bin/mksquashfs
hilkiah dvds #

I am wondering if a recent update (emerge --sync; emerge --update world) might have upgraded my mksquashfs so that it no longer works. Anybody else seen this problem?

Also, how do I see what older versions are available, so I can undo the update if need be? I am not a portage expert...
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.


Last edited by Moriah on Sat Jul 22, 2006 2:33 am; edited 1 time in total
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1129
Location: Germany

PostPosted: Fri Jul 21, 2006 8:52 pm    Post subject: Reply with quote

I can't help you with your real problem, I'm afraid but at least I can tell you how to find out about the available versions.

The fast method:

Code:
ls /usr/portage/sys-fs/squashfs-tools/*.ebuild


The easiest method:

Quote:
emerge app-portage/eix
update-eix
eix squashfs-tools


eix is an extremely fast and powerful search tool for ebuilds using its own index. Its output for the squashfs-tools looks like this:

Quote:
* sys-fs/squashfs-tools
Available versions: 2.2_p2 3.0
Installed: none
Homepage: http://squashfs.sourceforge.net/
Description: Tool for creating compressed filesystem type squashfs


I claimed it's fast. Here's how long the search took with eix:

Quote:
real 0m0.041s
user 0m0.024s
sys 0m0.016s


And this was "emerge -s squashfs-tools":

Quote:
real 0m22.156s
user 0m1.608s
sys 0m0.412s

_________________
If you feel the issues discussed in this thread have been resolved, please add a "[Solved]" to the subject of your original posting.
Back to top
View user's profile Send private message
Moriah
Veteran
Veteran


Joined: 27 Mar 2004
Posts: 1692
Location: Warsaw KY US

PostPosted: Sat Jul 22, 2006 2:33 am    Post subject: Reply with quote

I did some searching today, and discovered that 3.0 was released by the squashfs developers in March 2006, and deemed stable by the Gentoo team about May 10, 2006, but there was a little problem: it only worked with kernels 2.6.16 and above, and the kernel I am running is 2.6.15, so that is why it failed. It seems that the emerge --update system and emerge --update world operations do not check for kernel dependencies, so the userland tools were updated to 3.0 which does not work with my kernel. This seems like some kind of a portage bug, but I do not see how it can easily be fixed. :x

Anyway, I put the following lines in my /etc/portage/package.mask file, and did a re-emerge of the squashfs tools, and that fixed it! :D
Code:
# squashfs is broken with 3.0 and 2.6.15-gentoo-r1 kernel !!!
# see http://www.mail-archive.com/gentoo-catalyst@lists.gentoo.org/msg00163.html
>=sys-fs/squashfs-tools-3.0

_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1129
Location: Germany

PostPosted: Sat Jul 22, 2006 12:36 pm    Post subject: Reply with quote

Actually, there's no dependency for the kernel sources in the squashfs-tools ebuild at all. You should file a bug for that on Gentoo Bugzilla.
_________________
If you feel the issues discussed in this thread have been resolved, please add a "[Solved]" to the subject of your original posting.
Back to top
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1129
Location: Germany

PostPosted: Sat Jul 22, 2006 3:58 pm    Post subject: Reply with quote

No need to file a bug anymore. :-)
_________________
If you feel the issues discussed in this thread have been resolved, please add a "[Solved]" to the subject of your original posting.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum