[comp.unix.ultrix] unresolved symlinks in Ultrix 4.1 /usr/lib/cmplrs/2.01

D. Allen [CGL]" <idallen@watcgl.waterloo.edu> (02/28/91)

I'd submit an electronic SPR for this if DEC had them.

ULTRIX V4.1 (Rev. 52) DS5400 has many dangling symlinks in the cmplrs dir:

Under /usr/lib/cmplrs/:

    cc2.0:
	Unsatisfied Symbolic Links:
	f772.0         pc2.0

    cc2.1:
	Unsatisfied Symbolic Links:
	as2.1

    f772.1:
	Unsatisfied Symbolic Links:
	as2.1          pc2.1          upas           upas2.1

as2.1 is distributed as a symlink that points to itself; not very useful:

/usr/etc/subsets/COMU4BACKEND200.inv:0  5       00000   0       0 120755 3/2/90
    200     s       ./usr/lib/cmplrs/cc2.1/as2.1    as2.1 COMU4BACKEND200
-- 
-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada

alan@shodha.enet.dec.com ( Alan's Home for Wayward Notes File.) (02/28/91)

In article <1991Feb27.214103.29826@watcgl.waterloo.edu}, idallen@watcgl.waterloo.edu (Ian! D. Allen [CGL]) writes:
} I'd submit an electronic SPR for this if DEC had them.

	Fortunately some of us have access to our internal QAR system
	(also used by Field Test customers).  I'll take your test
	submit it.
} 
} ULTRIX V4.1 (Rev. 52) DS5400 has many dangling symlinks in the cmplrs dir:
} 
} Under /usr/lib/cmplrs/:
} 
} [ Examples of unsatisfied Symbolic Link... ]

	These could be in place for the FORTRAN and Pascal layered
	products.  That's just a guess on my part.
 
} as2.1 is distributed as a symlink that points to itself; not very useful:
} 
} /usr/etc/subsets/COMU4BACKEND200.inv:0  5       00000   0       0 120755 3/2/90
}     200     s       ./usr/lib/cmplrs/cc2.1/as2.1    as2.1 COMU4BACKEND200

	Could be another hook for a layered product.  DEC C maybe?
	I don't know, I just sometimes use the stuff.

} -- 
} -IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
}  [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada
-- 
Alan Rollow				alan@nabeth.cxn.dec.com

D. Allen [CGL]) (02/28/91)

Thanks for sending in the comment internally and saving me the grief
of finding a typewriter for the SPR form.

>} as2.1 is distributed as a symlink that points to itself; not very useful:
>} 
>} /usr/etc/subsets/COMU4BACKEND200.inv:0  5       00000   0       0 120755 3/2/90
>}     200     s       ./usr/lib/cmplrs/cc2.1/as2.1    as2.1 COMU4BACKEND200
>
>	Could be another hook for a layered product.  DEC C maybe?

But what good is a symlink that points to itself?

    # cat /usr/lib/cmplrs/cc2.1/as2.1
    /usr/lib/cmplrs/cc2.1/as2.1: Too many levels of symbolic links

I might believe you about the other links that point to things that
aren't there; yes, maybe, layered products.  But why can't those symlinks
be distributed with the layers, not left dangling into nowhere?  Having
stuff like that around makes the Ultrix 4.1 distribution look sloppy and
messes up simple things like "cp -r" or "size *".  Not tidy.  Yuk ugh etc.
-- 
-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada

frank@croton.nyo.dec.com (Frank Wortner) (02/28/91)

>
> ULTRIX V4.1 (Rev. 52) DS5400 has many dangling symlinks in the cmplrs dir:

From the list of compilers you gave, I'm assuming that you have both
Fortran and
Pascal installed.  Check in /usr/bin:  you should see a shell script
called pgmrvers.
If you do, run it and see if it fixes the problem.

						Frank

D. Allen [CGL]) (03/01/91)

>From the list of compilers you gave, I'm assuming that you have both
>Fortran and Pascal installed.

Nope.  Those dangling symlinks come with the base subset right out of the box:

    # grep /usr/lib/cmplrs/cc2.0/pc2.0 /usr/etc/subsets/*.inv
    /usr/etc/subsets/UDTBASE410.inv:0       8       00000   0       0 120777
    8/28/90 410     s       ./usr/lib/cmplrs/cc2.0/pc2.0    ../pc2.0 UDTBASE410
-- 
-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada