Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120388 - kde-base/kdelibs automagic depends on dev-lang/lua
Summary: kde-base/kdelibs automagic depends on dev-lang/lua
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Low minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 01:56 UTC by po.valles
Modified: 2006-09-19 23:23 UTC (History)
1 user (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 po.valles 2006-01-26 01:56:09 UTC
Hi there,

My system was in a clean state:

emerge -pvud --newuse world
=> Nothing to merge

I removed "dev-lang/lua" ebuild from my world file and then I ran:

emerge -uD --depclean world
=> "dev-lang/lua" was unmerge.

emerge -pvud --newuse world
=> Still nothing to merge

Soon, I noticed some pb in kde: konqueror could not load a textviewer-part, complaining about lua lib being missing.

I re-emerge "dev-lang/lua" and all was fixed. It looks like kde libs have a dependency on lua lib.

I can provide more details on my worldfile/system if needed.

Regards,
po
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-26 02:22:27 UTC
May I ask why are you breaking your system and then filing bugs? This doesn't make any sense whatsoever, revdep-rebuild is the tool for fixing broken linkage after unmerging/upgrading a library etc, not 'emerge -uD world'.
Comment 2 po.valles 2006-01-26 03:25:10 UTC
Thanks for your quick reply!

I am not trying to break my system...
Just trying to remove unneeded ebuilds in my world file. Why should I have lua in my world file? I simply don't want to have it because it is not an ebuild that *I* want to use/have. kdelibs need it, not me.

After I removed lua from my world file, --depclean removed it because no package depends on it. As --depclean is supposed to be broken (I have to admit that it has always worked fine for me), I ran emerge -uD world to check if any ebuild would complain about lua being removed... and it looked like no ebuild on my system needs lua.

When I noticed that konqueror was missing something to function properly, I ran "revdep-rebuild" and I was told that kdelibs had a broken lib dependency (with lua).

So, my conclusion is that kdelibs need lua lib and that kdelibs don't have a dependency on lua. Just a missing dependency on "dev-lang/lua".

What do you think?

Regards,
po
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-26 03:31:25 UTC
(In reply to comment #2)
> When I noticed that konqueror was missing something to function properly, I ran
> "revdep-rebuild" and I was told that kdelibs had a broken lib dependency (with
> lua).

So let revdep-rebuild do its job; reopen with some error messages if revdep-rebuild doesn't fix the issue.
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2006-09-19 08:53:39 UTC
Having just ran into this myself...

This should not have been closed. Automagic dependencies are wrong.

http://www.gentoo.org/proj/en/qa/automagic.xml

kdelibs detects whether lua is installed and if so, enables (apparently) the ability to write custom indentation scripts for kate in it. This should be made optional with a lua USE flag.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-19 23:23:36 UTC
This is fixed in 3.5.4-r2, added --without-lua parameter and lua useflag. KDE 3.5.5 will ship with --without-lua parameter already.