Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32473 - clanlib-config doesn't remove links out of /usr/include/Clanlib properly
Summary: clanlib-config doesn't remove links out of /usr/include/Clanlib properly
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-01 08:44 UTC by Matt Caesar
Modified: 2003-11-04 04:21 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 Matt Caesar 2003-11-01 08:44:26 UTC
rm -f /usr/include/Clanlib 
wont work on a directory.



Reproducible: Always
Steps to Reproduce:
1.assume another link exists in /usr/include/Clanlib
2.clanlib-config x.x.x

Actual Results:  
rm: cannot remove `/usr/include/ClanLib': Is a directory
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-11-02 01:09:55 UTC
/usr/include/Clanlib shouldn't be a directory.  It's supposed to be a
symlink.  What does:

    ls -ld /usr/include/ClanLib

show on your system?

Comment 2 Matt Caesar 2003-11-02 07:18:49 UTC
root # ls -ld /usr/include/ClanLib
drwxr-xr-x    2 root     root          112 Nov  1 16:41 /usr/include/ClanLib

I'm starting to think I might have merged an unstable version clanlib a while
back and the Clanlib directory is a relic of an early version of the clanlib-config
script. Removing the directoy seems to produce the correct results. 

This also fixes bug #32517
Comment 3 SpanKY gentoo-dev 2003-11-03 13:00:55 UTC
*** Bug 32517 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2003-11-03 13:07:04 UTC
what does `qpkg -f /usr/include/ClanLib` show ?
if the answer is 'only dev-games/clanlib', then please do this to fix your
clanlib installation:
emerge -C clanlib
rm -rf /usr/include/ClanLib
emerge clanlib
<emerge whatever game or dependency you were trying before>
Comment 5 bugs 2003-11-03 15:16:56 UTC
Thanks.
Don't remember ever emerging an unstable version of ClanLib though.  Odd.

Comment 6 SpanKY gentoo-dev 2003-11-03 21:12:31 UTC
not quite sure what happened either but you guys should be set now
Comment 7 Matt Caesar 2003-11-04 03:52:38 UTC
qpkg -f /usr/include/ClanLib

>> nothing

?!?
Comment 8 SpanKY gentoo-dev 2003-11-04 04:21:22 UTC
yeah, things that go bump in the nite

clean it out and start fresh