Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32561 - ld cannot find -ldb1 required by pkg-config gnome --libs (XMMS doesnt complete build)
Summary: ld cannot find -ldb1 required by pkg-config gnome --libs (XMMS doesnt complet...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 45988 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-02 09:53 UTC by Rolf Martin-Hoster
Modified: 2004-03-30 13:48 UTC (History)
5 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 Rolf Martin-Hoster 2003-11-02 09:53:00 UTC
Looks like some kind of dependency issue as it wasnt found. I installed the perl DB 
interface and it worked ok. 

Reproducible: Always
Steps to Reproduce:
1.build xmms with no db1 lib installed. 
2. 
3. 


Expected Results:  
Announced dependency issue/
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-01-22 23:38:59 UTC
Is this still a problem for you?  Can you please copy/paste the last few lines of the 'emerge xmms' to this bug report so we can gather more information?  xmms doesn't require db, but perhaps a package that xmms links against does.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-02 02:25:20 UTC
works for me... closing due to lack of response from the submitter.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-29 13:45:14 UTC
reopening so ruben.lysens@pandora.be can comment in here
Comment 4 Ruben Lysens 2004-03-05 12:54:16 UTC
I ran into the same problem as the original submitter: emerge xmms fails because db1 is required and I didn't have it on my system.
Looking into the xmms Makefile, the dependencies seemed to come from gnome/gnome libs.
Strange, KDE depends on XMMS, XMMS depends on GNOME.

Having said that, shortly after the emerge xmms issue, my system became very unstable (lost all mail in the process). I rolled back to a snapshot image taken a few weeks ago and started emerging again. This time, big surprise, no problem.

Because I lost all mail and I can no longer reproduce the issue I can't paste here the emerge error message and the Makefile's references to db1. However, as I mailed all this to Jeremy Huddleston last week, maybe he can copy that info here.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-05 19:11:45 UTC
He was saying that the dep came in through gnome... so:

$ pkg-config gnome --libs
-L/usr/lib -lgnome -lgnomesupport -lesd -lasound -laudiofile -lm -ldb1 -lglib

but gnome didn't pull in db1
Comment 6 foser (RETIRED) gentoo-dev 2004-03-06 03:35:53 UTC
gnome-libs defines a <=db-2 dep, so I don't see how this could happen without people removing db-1 by hand.
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-06 04:31:12 UTC
Well, the dep's look fine to me, too... and he can't reproduce the problem after having gone back to an old snapshot of his system, so I'm just gonna close this for now...

Ruben, if you can reproduce the problem, let us know...
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-30 11:11:32 UTC
*** Bug 45988 has been marked as a duplicate of this bug. ***
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-30 11:12:16 UTC
reopening as the submitter of the dupe bug can prolly help you guys out with this...
Comment 10 Philip Webb 2004-03-30 12:20:52 UTC
sorry i missed this bug in my search before submitting a new one.
yes, the problem is lack of  db-1.xxx  , wh  i had unmerged believing it obsolete.
after i re-emerged the ebuild ,  xmms-1.2.8r4  emerged successfully.
shdn't portage check for such dependencies ?  is it an omission in the  xmms  ebuild ?
there are other cases where older versions have to be kept around for such reasons,
eg  glib  libxml  gtk+  for  gkrellm-1  &  xmms .
Comment 11 Jeremy Huddleston (RETIRED) gentoo-dev 2004-03-30 12:31:05 UTC
it is not a bug.  it is not a dep of xmms.  it is a dep of one of xmms' deps.  by unmerging the package, you broke the deps of those packages.  You could do a 'emerge -pv --deep xmms' to see everything xmm swould depend on to make sure you didn't unmerge anything that a dependency needed.
Comment 12 Philip Webb 2004-03-30 13:48:03 UTC
hmm, i unmerged  db-1  to test, but  'emerge -pvD xmms' shows no dependencies:

  These are the packages that I would merge, in order:
  Calculating dependencies ...done!
  [ebuild   R   ] media-sound/xmms-1.2.8-r4  -3dnow -cjk +directfb +esd +gnome +gtk2 -ipv6     +mikmod -mmx +nls +oggvorbis +opengl -xml  0 kB 

  Total size of downloads: 0 kB

the items marked '+' are not Gentoo packages, so i still have no idea what requires  db-1 .
(of course, i've now re-emerged  db-1 )