public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Does /etc/profile need to set MANPATH?
@ 2014-05-13 18:57 Chris J. Breisch
  2014-05-13 19:25 ` Corinna Vinschen
  0 siblings, 1 reply; 18+ messages in thread
From: Chris J. Breisch @ 2014-05-13 18:57 UTC (permalink / raw)
  To: cygwin

I've been working on getting man-db in a state where I can submit a 
package for it. I had been baffled by the failure of one of the tests 
that was dealing with overriding the man_db.conf file, so had been 
struggling to get a version that passes everything before I submitted it.

I finally discovered that the root cause was that MANPATH was being set 
from /etc/profile and that this value was conflicting with the test and 
causing it to fail. Unsetting MANPATH allowed the test to succeed[1].

My question is then, is it necessary to set this value? Is it something 
required by the current version of man that we're using? If so, man-db 
seems to override this necessity as it makes considerable effort to work 
out a reasonable manpath on it's own.

Perhaps this discussion belongs in cygwin-apps. I'll be happy to take it 
elsewhere.

-----------
[1] The failure of this test also seems to me to indicate an upstream 
bug. If MANPATH is set, man-db always ignores the data in the 
man_db.conf file, even if the conf file is specified on the command 
line. Worse, man-db actually reads the conf file, but then ignores the 
data. Perhaps this is working as designed, but if so, the design seems 
flawed from my perspective. From my research, this does not appear to be 
a Cygwin specific issue, although I haven't yet tried to reproduce it on 
a Linux system.


-- 
Chris J. Breisch

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-07-20 16:21 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 18:57 Does /etc/profile need to set MANPATH? Chris J. Breisch
2014-05-13 19:25 ` Corinna Vinschen
2014-05-14 17:08   ` Achim Gratz
2014-05-15  7:56     ` Corinna Vinschen
2014-05-15 13:18       ` Chris J. Breisch
2014-05-15 13:39         ` Chris J. Breisch
2014-05-15 13:49           ` Corinna Vinschen
2014-05-15 17:48             ` Larry Hall (Cygwin)
2014-05-16 12:14               ` Corinna Vinschen
2014-05-17  8:50                 ` Achim Gratz
2015-07-20 12:09                   ` Mikhail Usenko
2015-07-20 12:20                     ` Michael DePaulo
2015-07-20 13:43                       ` Mikhail Usenko
2015-07-20 14:15                         ` Mikhail Usenko
2015-07-20 16:21                         ` Achim Gratz
2014-05-16 20:00             ` Chris J. Breisch
2014-05-17 20:59             ` Michael Wild
2014-05-19  9:38               ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).