Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104174 - Move kde env.d settings from (arts+kdelibs) to kde-env[-slotted]
Summary: Move kde env.d settings from (arts+kdelibs) to kde-env[-slotted]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Highest major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 86748 107612 109698 110053 125141 128245 128740 141109 145150 145163 145172 147883 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-29 12:52 UTC by Nilton Volpato
Modified: 2006-09-17 05:25 UTC (History)
15 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nilton Volpato 2005-08-29 12:52:08 UTC
Why is /etc/env.d/46kdepaths-3.4 installed with arts? If I don't want to use
arts, i.e., if I have "-arts" in my use flags kde won't go in my path, and I
will not be able to use kdm as a login manager at startup, for example.

Reproducible: Always
Steps to Reproduce:
1. Don't install arts
2. Put kdm in /etc/rc.conf
3. Try /etc/init.d/xdm start (will not work!)
Comment 1 Nilton Volpato 2005-08-29 12:55:02 UTC
Suggestion: put this in kde-base/kde-env, instead.
Comment 2 Brad Laue (RETIRED) gentoo-dev 2005-09-07 11:22:03 UTC
Running into this also. Let's move that file into the kde-env ebuild.
Comment 3 Marcus D. Hanwell (RETIRED) gentoo-dev 2005-09-07 14:50:56 UTC
/etc/env.d/46kdepaths-3.4 is installed by kdelibs if -arts is in your USE  
flags, and so will be created by either arts or kdelibs depending on your USE  
flags. Just double checked and this works on my system -  a file collision is 
generated due to my system being built with arts already. 
 
Do you guys have USE=-arts set globally? 
Comment 4 Nilton Volpato 2005-09-08 08:20:36 UTC
Ok, i found out that my kdelibs was installed with +arts and the other packages
with -arts. But why not to move this to kde-env anyway? Wouldn't this be better,
and avoid such problems?
Comment 5 Dan Armak (RETIRED) gentoo-dev 2005-09-10 07:03:30 UTC
The reason this isn't in kde-env is that kde-env has only one ebuild 
version/slot. It sets settings like KDEDIRS=/usr, needed for all kde versions. 
   
The settings in 46kdepaths-3.4 are per KDE slot (3.4 in this case) and so  
should be moved to a new ebuild called eg 'kde-env-slotted'. Or we could have 
multiple slots of kde-env, but version 3 being slot "0" (as it is now) is then 
a bit counterintuitive. 
 
Doing this is a good idea, to prevent cases where adding or removing arts to 
USE leaves a system with either double ownership of 46kdepaths-3.4 of (worse) 
without 46kdepaths-3.4 being installed at all. (Yes, such a system would be 
broken in other ways and/or should be fixed on emerge world.) 
 
I remember it being proposed before but getting stuck for some reason. Possibly 
merely due to the 'it works, don't touch it' syndrome. 
Comment 6 Gregorio Guidi (RETIRED) gentoo-dev 2005-09-30 02:31:49 UTC
*** Bug 107612 has been marked as a duplicate of this bug. ***
Comment 7 Gregorio Guidi (RETIRED) gentoo-dev 2005-10-09 03:03:27 UTC
*** Bug 86748 has been marked as a duplicate of this bug. ***
Comment 8 Gregorio Guidi (RETIRED) gentoo-dev 2005-10-18 05:55:52 UTC
*** Bug 109698 has been marked as a duplicate of this bug. ***
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-10-21 11:53:10 UTC
*** Bug 110053 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-03-31 08:13:22 UTC
*** Bug 128245 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-04-04 02:01:25 UTC
*** Bug 128740 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-04-05 03:48:59 UTC
Ping here, this should really be fixed before KDE 3.5.2 goes stable...
Comment 13 Gregorio Guidi (RETIRED) gentoo-dev 2006-05-31 10:41:00 UTC
*** Bug 125141 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-07-19 23:33:48 UTC
*** Bug 141109 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2006-07-19 23:37:16 UTC
Uhm, are you waiting for KDE4 here so that the issue dies with arts, or what? :P This is causing real breakage, as you can see from the dupes.
Comment 16 Jan Schubert 2006-08-20 15:41:56 UTC
run into it right now
Comment 17 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-23 09:47:08 UTC
Slotting is not possible, since the ebuilds would conflict installing /etc/env.d/99kde-env both. The solution is not to install env data with the aRts ebuild. Should not be an issue, unless someone wants to run a standalone aRts server. Sorry, not supported.

Finally fixed with arts-3.5.4-r1.
Comment 18 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-08-23 16:22:16 UTC
And where is 45kdepaths-3.x gone now? I emerged arts-3.5.4-r1 and kdelibs-3.5.4-r1 and now this file is no longer in /etc/env.d/ which gives me many headaches as all kde-paths are away now :-(
Comment 19 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-23 16:37:40 UTC
Because you use ~arch and aRts, while I don't. I missed to remove the

if ! use arts ; then


fi

block around the relevant lines. Fix is in cvs. Sorry.
Comment 20 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-08-23 17:00:52 UTC
I know that I'm using ~arch :)
Alright I just sent you an email about this issue but I think this mail can go its way to /dev/null now :)

Thanks for fixing this so fast.
Comment 21 Michiel de Bruijne 2006-08-24 17:17:28 UTC
I just installed a fresh ~x86 system with a tree from yesterday and I don't have an env-file with kde paths. After an emerge --sync I don't have any kde update so I assume the error has been corrected without a rev-bump. Could someone be so nice to tell me what ebuild now contains the correct env-file? A better solutions off course would be a revbump to push this fix to all ~arch users who now have a broken kde. Thanks!
Comment 22 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-25 05:51:42 UTC
Michiel: emerge kdelibs again - or populate the file yourself (see bug 144917), with the downside that you'd have to emerge kdelibs with FEATURES=-collision-protect next time.
Comment 23 Michiel de Bruijne 2006-08-25 06:08:17 UTC
Thanks Carsten, for your reply and the great work you do for KDE/Gentoo.
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2006-08-26 00:49:35 UTC
*** Bug 145150 has been marked as a duplicate of this bug. ***
Comment 25 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-26 04:53:01 UTC
*** Bug 145163 has been marked as a duplicate of this bug. ***
Comment 26 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-26 06:30:59 UTC
*** Bug 145172 has been marked as a duplicate of this bug. ***
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2006-09-17 05:25:32 UTC
*** Bug 147883 has been marked as a duplicate of this bug. ***