Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235 - shadow/KDEadmin package compile error, prevents install of KDE, Shadow involved
Summary: shadow/KDEadmin package compile error, prevents install of KDE, Shadow involved
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-19 09:41 UTC by Owain Hopkins
Modified: 2003-02-04 19:42 UTC (History)
2 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 Owain Hopkins 2002-01-19 09:41:15 UTC
When trying to "emerge kde-base/kdebase" there is a compile error when kdeadmin 
is reached.Error:
libtool: link: warning: library '/usr/lib/libshadow.la' was moved.
libtool: link: warning: library '/usr/lib/libshadow.la' was moved.
libtool: link: cannot find the library '/lib/libmisc.la'

and then exits with:
kde_src_compile, line 7, exitcode 2

From what I understand there is a problem with shadow and kde. However, I do 
not know if its kde or shadow or possibly both are at fault. It  has also been 
mentioned that one of these packages has been recently updated and maybe the 
sourc of this error.
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-01-19 11:08:04 UTC
This happens here as well, but didn't 2 days ago (when I last remerged kdeadmin), I've done emerge update --world since then which apparently updated my shadow.This seems like a definite shadow problem. I failed to figure out what is going on with the versioning there (is 4.0.1 newer or older than the timestamp versions?). The timestamp ones are from year 2000 so 4.0.1 is probably newer but emerge --pretend says it'll remerge the timstamped ones (of course, since 20001016 > 4).I have both emerged (I did emerge update --world yesterday), and according to CONTENTS shadow-20001016 installed /usr/lib/libshadow.{so.0.0.0,la,a} while shadow-4.0.1-r1 only installed libshadow.{a,la}. So I've .la from one package and .so from another which may be the source of the problem.HTH you to figure this out. I don't have time to fix anything but strictly KDE issues :-( - there are too many of those anyway.
Comment 2 Chad Huneycutt (RETIRED) gentoo-dev 2002-01-19 13:43:34 UTC
A quick fix for this is to ln -s /usr/lib/libmisc.la /lib/libmisc.la.
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-01-19 14:07:50 UTC
Dan,

That portage bug is now fixed (upgrade to 1.8.5-r5 should do it).  Libshadow was
updated and the most recent version is 4.0.1; they changed the versioning
scheme.  Please patch KDE to look for "/usr/lib/libmisc.la" instead of
"/lib/libmisc.la"... we don't keep static libs in /lib for good reason (not
needed at boot time)
Comment 4 Dan Armak (RETIRED) gentoo-dev 2002-01-19 14:27:40 UTC
Hm, now I'm really confused:

1. I've remerged libshadow 4.0.1-r1 and unmerged the timestamp version. 
Now I have /usr/lib/libshadow.a,la but no .so. My previously compiled kuser 
(the part of kdeadmin that fails linking) used libshadow.so.0, so now it's not 
working. Aren't we supposed to have a libshadow.so?

2. /usr/lib/libshadow.la contains this line:
# Libraries that this one depends upon.
dependency_libs=' -lcrypt /lib/libmisc.la -lcrack'
---
but libmisc.* doesn't live in /lib, it lives in /usr/lib. Which is why the kuser 
compile fails right now afaik.

This still seems like a shadow problem, so I'm ccing to you - hope you can 
help me with this.
Comment 5 Daniel Robbins (RETIRED) gentoo-dev 2002-01-19 14:31:30 UTC
Yes, this does look like a shadow problem!  I"ll try to get it fixed.  Thanks!
Comment 6 Daniel Robbins (RETIRED) gentoo-dev 2002-01-19 16:11:04 UTC
I've done some additional research, and it looks like no packages should be
depending on libshadow now that we have glibc-2 (glibc-2 includes shadow
support).  Danarmak, you may want to look into eliminating those libshadow deps.
 Maybe if the library isn't there then kde doesn't try to link against it? 
Debian has no libshadow, so we know this is possible.
Comment 7 Daniel Robbins (RETIRED) gentoo-dev 2002-01-19 16:49:40 UTC
I reverted back to our old libshadow, so this problem should go away.  I'll add
another bug for removing libshadow deps from our other ebuilds, since it's
really a different issue.  Erazor, ceed: do an emerge update in an hour to fix
this.  rsync is down right now, unfortunately :/
Comment 8 Dan Armak (RETIRED) gentoo-dev 2002-01-19 23:22:16 UTC
ok, I remerged the 'tmiestamp' shadow and removed the 4.0.1 one. Both my existing kuser and the kdeadmin emerge now work, so the fix/resolution is confirmed.
Comment 9 Grant Goodyear (RETIRED) gentoo-dev 2002-03-27 09:33:14 UTC
I have this problem on my Gentoo 1.0 build.  Hmmm.
Comment 10 Dan Armak (RETIRED) gentoo-dev 2002-03-27 17:36:38 UTC
Well, I don't, for what it's worth. I've shadow-4.0.2-r1 and my libshadow.la is ok. 
Comment 11 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-01 12:30:31 UTC
This was a bug in shadow-4.0.2.  shadow-4.0.2-r1 should fix this.

Please update if you do not have shadow-4.0.2-r1.
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-27 17:34:12 UTC
Hmm, should have resolved a long time ago.