Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47488 - app-cdr/k3b-0.11.6 - kdelibs is required
Summary: app-cdr/k3b-0.11.6 - kdelibs is required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 48620 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-11 00:37 UTC by Ralf Donau
Modified: 2004-04-24 08:04 UTC (History)
3 users (show)

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


Attachments
patch for kde-functions.eclass (kde-functions.eclass.patch,1.71 KB, patch)
2004-04-19 02:24 UTC, Gregorio Guidi (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Donau 2004-04-11 00:37:37 UTC
k3b failed to emerge while compiling (./configure was succesful). During compilation something with kde was wrong. I tried to compile it manually (./configure ; make) and the ./configure-script said "kdelibs required". When I typed "emerge kdelibs && emerge k3b", it became succesful.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-11 05:42:05 UTC
it has "need-kde 3.1" in the ebuild, so the depend should be set correctl	
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2004-04-15 01:31:15 UTC
lanius, I take advantage of this bug to note that your last commit:
http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-cdr/k3b/k3b-0.11.9.ebuild?r1=1.2&r2=1.3&hideattic=1

actually removes the dep on kdelibs ;)
DEPEND=$DEPEND is needed to keep the dependencies that come from the eclass and from need-kde.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-15 07:29:46 UTC
1. i removed it after the bug was created
2. bug #25013 states that it is no longer needed
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2004-04-19 02:24:04 UTC
Created attachment 29600 [details, diff]
patch for kde-functions.eclass

Have you got some plan to deal with the current issues of need-kde/need-qt?
I read bug 25013, and as things stand now all kde packages have broken
dependencies (similar problems as the one reported in this bug).
Even the last commit to kde-functions.eclass (changing DEPEND to RDEPEND) is
not a solution. For instance I have:

# cat /var/db/pkg/media-sound/amarok-0.9/DEPEND
>=kde-base/kdemultimedia-3.2
	gstreamer? (
		media-libs/gstreamer
		media-libs/gst-plugins
	)  >=sys-devel/automake-1.7.0
	sys-devel/autoconf
	sys-devel/make
	dev-util/pkgconfig
	dev-lang/perl
	~kde-base/kde-env-3

# cat /var/db/pkg/media-sound/amarok-0.9/RDEPEND
 >=kde-base/kdelibs-3.0 >=x11-libs/qt-3.0.5  ~kde-base/kde-env-3

One possible solution could be the attached patch, as it protects the
dependencies set in need-kde/need-qt like newdepend() did.
With the patch, I have:

# cat /var/db/pkg/media-sound/amarok-0.9/DEPEND
>=kde-base/kdemultimedia-3.2
	gstreamer? (
		media-libs/gstreamer
		media-libs/gst-plugins
	)  >=sys-devel/automake-1.7.0
	sys-devel/autoconf
	sys-devel/make
	dev-util/pkgconfig
	dev-lang/perl
	~kde-base/kde-env-3 >=kde-base/kdelibs-3.0 >=x11-libs/qt-3.0.5

# cat /var/db/pkg/media-sound/amarok-0.9/RDEPEND
>=kde-base/kdemultimedia-3.2
	gstreamer? (
		media-libs/gstreamer
		media-libs/gst-plugins
	)  ~kde-base/kde-env-3 >=kde-base/kdelibs-3.0 >=x11-libs/qt-3.0.5

Which seems right.
The patch also fixes a bug in min-kde-ver(): `need-kde 3.1' resulted in a
dependency on >=kdelibs-3.0
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-04-19 14:58:49 UTC
I've committed the 2nd part of your patch - I need to get in touch with carpaski to make sure that the first part doesn't break any major rules - if not, I'll commit it.  Thanks!
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-04-20 13:21:36 UTC
With the current portage and the latest kde-functions eclass, this should be working properly now.
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-04-20 13:49:02 UTC
scratch that, the "need-kde" should be moved below DEPEND= and RDEPEND= within the ebuild.
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-24 08:00:38 UTC
*** Bug 48620 has been marked as a duplicate of this bug. ***
Comment 9 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-24 08:04:14 UTC
ok, fixed now :)