Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24897 - lesstif-0.93.40 fails to install; bad symlinks
Summary: lesstif-0.93.40 fails to install; bad symlinks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-20 08:06 UTC by Lisa Seelye (RETIRED)
Modified: 2003-07-23 10:53 UTC (History)
0 users

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 Lisa Seelye (RETIRED) gentoo-dev 2003-07-20 08:06:48 UTC
The compilation goes fine, but here's what happens when it tries to merge:

!!! Cannot write to '/usr/X11R6/lib/X11/mwm'.
!!! Please check permissions and directories for broken symlinks.
!!! You may start the merge process again by using ebuild:
!!! ebuild /usr/portage/x11-libs/lesstif/lesstif-0.93.40.ebuild merge
!!! And finish by running this: env-update

root@lisa root # ls /usr/X11R6/lib/X11/mwm
ls: /usr/X11R6/lib/X11/mwm: No such file or directory

root@lisa root # cd /usr/X11R6/lib/X11
root@lisa root # ls -l
lrwxrwxrwx    1 root     root           36 Jun 12 17:11 mwm -> ../../../..
/etc/X11/mwm/system.mwmrc

The file or directory system.mwmrc doesn't exist, but /etc/X11/mwm/ does.  The 
directory is empty.
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2003-07-20 08:09:52 UTC
Further, emerge -s lesstif shows that the package is installed:
*  x11-libs/lesstif
      Latest version available: 0.93.40
      Latest version installed: 0.93.40

But qpkg -l will show no files:
root@lisa etc # qpkg -l lesstif | wc -l
      0
Comment 2 Nick Hadaway 2003-07-23 08:40:49 UTC
I have install 0.93.36-r3 and 0.93.40 with no problems.... 0.93.46 (which is not in portage) did not finish compiling for me... but that is a different problem.

blackie root # ls /usr/X11R6/lib/X11/mwm
blackie root # ls -Fsal /usr/X11R6/lib/X11/mwm
   1 lrwxrwxrwx    1 root     root           23 Jun 25 02:55 /usr/X11R6/lib/X11/mwm -> ../../../../etc/X11/mwm/

It looks as though you have an improper link...

Delete the directory and re-merge lesstif.
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2003-07-23 09:21:03 UTC
Thanks, Nick.  That worked.

Any ideas how that symlink got broken?
Comment 4 Nick Hadaway 2003-07-23 10:53:57 UTC
maybe you had openmotif installed previously?