Discussion:
Bug#557427: cssc: many SCCS utilities are not in the default PATH
(too old to reply)
Dmitri Vorobiev
2009-11-22 01:10:01 UTC
Permalink
Package: cssc
Version: 1.0.1-4
Severity: wishlist


The `cssc' package provides a set of SCCS utilities with binaries
buried in /usr/lib/cssc. This bug is to request putting symlinks
to these utilities to /usr/bin to have them usable not only via
the `sccs' frontend but also directly.

Note that POSIX specifies that at least the following utilities
be available under the DEVELOPMENT option: `admin', `delta', `get',
`prs', `rmdel', `sact', `unget', `val', `what'. All those utilities
are already present in the cssc package, but not visible in the
default PATH.

The GNU make utility expects that the `get' command is available
when building SCCS-based projects. For example, consider the
following situation:

***@cipher:/tmp/cssc$ ls
SCCS
***@cipher:/tmp/cssc$ make
get SCCS/s.Makefile
1.1
4 lines
Hello World!
***@cipher:/tmp/cssc$ ls
Makefile SCCS
***@cipher:/tmp/cssc$

Here, `make' used `get' to retrive the Makefile itself. Currently,
`make' would not work properly with the default installation of
the cssc package.

-- System Information:
Debian Release: squeeze/sid
APT prefers karmic-updates
APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-15-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cssc depends on:
ii libc6 2.10.1-0ubuntu15 GNU C Library: Shared libraries
ii libgcc1 1:4.4.1-4ubuntu8 GCC support library
ii libstdc++6 4.4.1-4ubuntu8 The GNU Standard C++ Library v3

cssc recommends no packages.

Versions of packages cssc suggests:
ii groff 1.20.1-5 GNU troff text-formatting system

-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Yann Dirson
2009-11-22 08:40:01 UTC
Permalink
Post by Dmitri Vorobiev
The `cssc' package provides a set of SCCS utilities with binaries
buried in /usr/lib/cssc. This bug is to request putting symlinks
to these utilities to /usr/bin to have them usable not only via
the `sccs' frontend but also directly.
Note that POSIX specifies that at least the following utilities
be available under the DEVELOPMENT option: `admin', `delta', `get',
`prs', `rmdel', `sact', `unget', `val', `what'. All those utilities
are already present in the cssc package, but not visible in the
default PATH.
Given that sccs is a legacy system, and that other major unices do not
have them in their default PATH (eg. Solaris requires you to add
/usr/ccs/bin to you PATH to get them), I find it reasonable to let the
user the Debian user add /usr/lib/cssc to his own, and not deviate
from upstream.

Given that you're not the 1st person to request this, I guess it would
make sense to add a note in README.Debian about that.

Best regards,
--
Yann
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Bogdan Barbu
2020-01-14 05:40:02 UTC
Permalink
Package: cssc
Version: 1.4.0-6
Followup-For: Bug #557427

One reason why these utilities might be added to PATH is that the make
utility expects them to be there. The $(GET) variable, for instance, is
set to "get" and not to "sccs get".

I think it's reasonable to expect that if I install a package, it should
integrate to the system out-of-the-box and not require me to set up the
appropriate paths. It may be a legacy system but it doesn't come
pre-packaged with Debian so I don't think anyone would be bothered by
this feature.

-- System Information:
Debian Release: 10.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-18362-Microsoft
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages cssc depends on:
ii libc6 2.28-10
ii libgcc1 1:8.3.0-6
ii libstdc++6 8.3.0-6

cssc recommends no packages.

Versions of packages cssc suggests:
pn groff <none>

-- no debconf information

Loading...