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.

2 responses so far, say something?

  1. Hav0c

    You can update PortageXs instead of doing that

  2. Andrea Olivato

    Yep you’re right, I was just looking for an other way :)

Pingbacks/Trackbacks

Leave a comment

You can say anything you want here, but remember that my blog is not for advertising of your organ-growth pills and porn sites, just don't SPAM!