Holly Bostick ha scritto: [summa] looking for how to install new kde, (a lot of) *BETA* packages that are package.masked and keyworded ~x86, on a different architecture (amd64) [/summa]
[solution]
grep "kde.*beta" /usr/portage/profiles/package.mask >> /etc/portage/package.unmask
cd /usr/portage/
ls -1d kde-base/* | sed -e "s/$/ ~x86/" >> /etc/portage/package.keywords
^^^^^^ read as "eles minus*one*di"
emerge -Duav --newuse whatever kde-base package you want to try
[/solution]
adding packages in /etc/portage/package.keywords doesn't add the keywords to the use flags,
so not enabling arch specific optimization (other than for *your* arch), this make safe
to keyword ~x86 on amd64 (safe as it can be joking with beta packages).
*1 The previous must be confirmed, it's only a deduction.
*2 note that is *not* safe add *x86 flags to your /etc/portage/package.use unless you already are on x86 arch
Don't know if understud fully, but if you were suggesting to add ~x86 instead of ~amd64 ...
well it work, the package is now installable, my worry is that adding that also enable x86 specific optimization and assembler code probably not supported from amd64.
If package.keyword is only used as a semaphore and the arch is not added to use flags it should be ok.
Well, of course it's added to the relevant section of /etc/make.conf, at least for the purposes of this emerge. After all, if "x86 specific optimization and assembler code" was not part of the package, there would be no need to separate packages by arch. At least that's how I see it.
hem don't use make.conf for temporary stuff, override it with temporary env variables or using stable /etc/portage/* settings examples:
FEATURES="-ccache" ACCEPT_KEYWORDS="~x86 ~amd64" emerge my/stuff
echo "my/stuff ~x86" >> /etc/portage/package.keywords
echo ">=my/stuff-1999" >> /etc/portage/package.unamsk
echo "my/stuff all my use flags" >> /etc/portage/package.use
*paying* attention specially on the latter case that if 2 occurences of "my/stuff" are present in the file *only* *the* *last* is considered
So basically, you'd be installing the 32-bit applications, which might be OK (I don't have a 64-bit CPU), but I don't know if programs using normal 32-bit *emulation* for amd64 fall under amd64 or x86, and if under amd64, whether there is any conflict between "real" x86 and amd64 32-bit emulation.
they fall on amd64 eventually with use flags to enable 32bit emul., the emulation it's still a bit tricky and must be done paying attention
So that's why I'd be questioning installing the x86 version, especially for something so big as KDE, even more if there was an amd64 version available or pending.
Impatiency may be a good word to describe my needs
I'm not going to install the whole kde only *kate* and quanta as it's now possible ;)
Holly
Thanks francesco
-- [email protected] mailing list
