#323 closed enhancement (invalid)
Consider setting sane value for INFOPATH in postin scriptlet
Reported by: | Lewis Rosenthal | Owned by: | |
---|---|---|---|
Priority: | Feedback Pending | Milestone: | |
Component: | spec files | Version: | |
Severity: | low | Keywords: | |
Cc: |
Description
Currently, info (5.2-3) and man-db (2.7.6.1-3) do not set path variables during installation. While some of us prefer to set these values for ourselves, others may not be aware as to why, for example:
[q:\] info info
fails to find info.
It might be wise to add basic settings via postin scriplet for each of these (basic = x:\usr\share\man and x:\usr\share\info, where x: is %UNIXROOT%).
Change History (6)
comment:1 by , 6 years ago
Severity: | low → highest |
---|
comment:2 by , 6 years ago
Priority: | major → minor |
---|---|
Severity: | highest → low |
comment:3 by , 6 years ago
Summary: | Consider setting sane values for MANPATH and INFOPATH in postin scriptlets → Consider setting sane value for INFOPATH in postin scriptlet |
---|
Oy, vey ist mir! ;-)
You are entirely correct concerning MANPATH (I haven't kept current). I put both of these together mainly thinking that this was a philosophical issue as to whether you felt that these variables should be set during installation, and the same logic could be applied to other packages needing variables set in CONFIG.SYS.
So, this only applies to INFOPATH, then. Summary updated to better reflect the issue.
comment:4 by , 6 years ago
Priority: | minor → Feedback Pending |
---|
Strange is here all works. Did you just use your bootstrap? As when you install Info it adds all needed Strings to config files. And all newer rpm also add Info stuff when enabled.
So please recheck.
comment:5 by , 6 years ago
I can confirm that on one older install info works with no INFOPATH. On the newer one (ArcaOS 5.0.3.4), it does not. The bootstrap did change in between. I'll test a few bootstraps and some manual installs to track this down.
More feedback coming later today.
comment:6 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
i can confirm that earlier bootstrap installs run info just fine (at least 2017-04-08 and 2017-06-10). I see breakage with the 2017-09-23 bootstrap. The error is:
SYS0003: The system cannot find the path specified. "N:\@unixroot\usr\share\info\info.info.gz"
Note the improper handling of %UNIXROOT%. This is a consistent issue with later bootstraps until setting INFOPATH.
This is not bootstrap breakage, either, as I can start with the 2017-06-10 bootstrap which works, test info (all fine), update that to the latest packages available, and get the breakage.
When I narrow this down to the cause, I'll open a specific ticket here or at Arca Noae. Meanwhile, there is no need to set this variable, as it is a workaround for the real issue.
Please always do one ticket for one issue. Mixing them is never good.
For man there is no need for a manpath, as it can be added to man_db.conf in /@unixroot/etc. All normal path are include already.
For Info i will take a look next week.