Summary: | KDE related packages fail to compile and install complaing about the KDEDIR variable in a file in /etc/env.d | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | sawanv <vithlani> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
sawanv
2004-10-22 07:22:07 UTC
This look like PREFIX wasn't setted in the arts ebuild (or kdelibs if you use -arts USE flag). please sync you portage tree and try remerging arts again, and look if now KDEDIR=/usr/kde/3.3 like it should be. I have synced my portage tree after this and the file is still as described. And I am using -arts, so does this mean that the problem is in the kdelibs ebuild? Or shall I try with USE="arts"? Can you post the contents of /etc/env.d/47kdepaths-3.3.1 ? thanks. That file (3.3.1) doesnt exist...I have : #cat /etc/env.d/47kdepaths-3.3.0 PATH=/bin ROOTPATH=/sbin:/bin LDPATH=/lib CONFIG_PROTECT="/share/config /env /shutdown" The same error is here: the PREFIX is empty. I can't understand this, because it's exported in the 'need-kde 3.3' call in the arts and kdelibs ebuilds. looks like the need-kde in kde-functions.eclass doesn't exports it. Does the `env` command returns also something like 'KDEPREFIX= ' ? Do you already tried reemerging arts? *** Bug 69102 has been marked as a duplicate of this bug. *** Yes I have already emerged arts. No env doesnt return any variable called KDEPREFIX. Damn frustated.... Sorry, I'm quite lost in this problem. So I can only give you some suggestions: 0) remove ccache (in make.conf FEATURES=ccache): improbable as it's not a compilation issue... 1) update portage 2) update bash 3) update glibc probably you need ACCEPT_KEYWORDS=~x86 After every step try reemerging arts and looking if the /etc/env.d files are finally fixed. let us know. err. for the point 0) it's "-ccache" BTW, there's something strange also here: CONFIG_PROTECT="/env /etc /share/config /shutdown /env /share/config /shutdown, are very strange... Thanks for your suggestions. Strangely, I did something very similar. I updated portage and glibc.....and the whole damn system broke down. I couldnt even execute ls in the shell. The shell tells me "no such file or directory". I programs dynamically linked broke. Ah well.....in goes the Gentoo 2004.2 CD......its reinstall time (Two years of Gentoo, not bad at all)!! I shall still be following this thread though, I want to know why this happened. By the way, why update bash? Oh and yes, I rebooted the system and got a kernel panic saying it couldnt find init. In such situations is there any diagnostic tool/technique that can be used to debug, get info, etc..? I would: scan the disks for errors (fsck.ext3, or whatever filesystem you use) test RAM (with memtest86) Hmmm...will keep that in mind next time... This does not seem a reproducible problem... Why is this flagged as RESOLVED, when it isn't? It also happens on my machine and I tried everything described here (and more) to fix it, but to no avail. kde-config returns nothing, nor does any file in /etc/env.d/ contain KDEDIR variable. Any hints? Well, the OP ended up with a complete system breakdown which surely wasn't related to kde or even env.d. So you should be careful, whatever you do. What have you tried exactly? Does remerging arts or kdeilbs re-create broken env.d files? kde-config without parameters isn't supposed to print anything. Try kde-config --prefix. |