On Friday July 11 2003 04:33 am, Robert Young wrote:
> I am trying to follow
>
> http://dev.gentoo.org/~liquidx/chinese.html
>
> and I am trying to add zh-kcfonts
> but its dependencies seem to be masked.
>
> How do I find masked dependencies.
>
> I added ACCEPT_KEYWORDS="~x86" to make.conf and then
> emerge -p zh-kcfonts wanted to upgrade xfree to xfree-4.3.0-r3
>
> Is xfree-4.3.0-r3 a dependency or just now available because I added
> ACCEPT_KEYWORDS="~x86".

When in doubt, you can look at the ebuild. This one (for me) is located 
at /usr/portage/media-fonts/zh-kcfonts/zh-kcfonts-1.05.ebuild and you 
can see the line:

DEPEND="x11-base/xfree"

This means the ebuild just wants any version of xfree.

I'm not sure why emerge wants to upgrade xfree for you, because when I 
run the following command I get:

# ACCEPT_KEYWORDS="~x86" emerge zh-kcfonts -p

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] media-fonts/zh-kcfonts-1.05


If you used the -u (--upgrade) flag, then emerge would try to update all 
the dependencies (and the the dependencies of the dependencies of the 
dependencies) of the package. Does running:

# ACCEPT_KEYWORDS="~x86" emerge zh-kcfonts -up

Return a different list of packages?

And you can specify ACCEPT_KEYWORDS="~x86" on the command line as shown 
to emerge masked packages, rather than making the setting global from 
make.conf.

> Based on
>
> http://forums.gentoo.org/viewtopic.php?t=33534
>
> I should edit
>
> /etc/portage/package.unmask
>
> right?
>
> but this file and folder do not exist.
>
> Should I create it or is there not a better way.
> Any help is much appreciated thanks.

Yes, you have to create the file, and put a line in like:

=app-office/openoffice-bin-1.1_beta2

to emerge packages that are listed in /usr/portage/profiles/package.mask 
but packages are usually put in that file because the developers need 
to test them, or are known to be unstable, etc.

It has nothing to do with zh-kcfonts, that package is masked because it 
has the line

KEYWORDS="~x86"

in the ebuild. One thing you can do is:

1. Set the PORTDIR_OVERLAY=/usr/local/portage variable in /etc/make.conf
2. Create the directory if necessary
3. Copy /usr/portage/media-fonts/zh-kcfonts/zh-kcfonts-1.05.ebuild to 
/usr/local/portage/media-fonts/zh-kcfonts/zh-kcfonts-1.05.ebuild
4. Edit the copied-to file and change the KEYWORDS="~x86" line to 
KEYWORDS="x86"
5. emerge zh-kcfonts should stop complaining about being masked.

Hope this helps,

-Eric
-- 
Wherever you go...There you are.
- Buckaroo Banzai


--
[EMAIL PROTECTED] mailing list

Reply via email to