Gentoo Autounmask Loop Bug
Written on Nov 19, 2008 // Open Source.I noticed that even upgrading to latest version of autounmask (0.21 on my portage tree) I got the same loop bug of the previous versions.
Exactly like for the previous version the problem regards an infinite loop generating when unmasking a package and it’s caused by not understanding the PortageXS function getArch(). To avoid the problem and using this wonderful tool without PortageXS it’s possible to manually set the arch on the bin file.
Just open it with your favorite editor as Root
su
vim /usr/bin/autounmask
Then find this line
my $arch = $pxs->getArch();
comment it and add this other
my $arch = 'amd64';
obviously replacing amd64 with your arch.
Pisa,Italy. 







Hav0c
Nov 19, 2008, 12:49 pmYou can update PortageXs instead of doing that
Andrea Olivato
Nov 19, 2008, 9:34 pmYep you’re right, I was just looking for an other way