delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/13/14:54:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=tnt
7btKTwzsZ5d05cGAM5mkCqNXujThdUi4EFQOTDbn26vrY5fiFvU3kk7gUoOmAFci
oaK3iqNTwn12BO76+BryEhqMSPhU3o74S9xNkcn6gxwDzaTIb2g4Sn/trc1AR7xT
6QuTnLTUgCCUqTcZ5DY5QChj9z+eJVacAYj4AqiY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=SueTUHdga
UzAgzB5D9S8oXkBTPk=; b=jMvHmvLxDLaxWYJ9Fz7SMHPFYZuR9wRW+utSN55H8
F5sitMgl1Tc9Xs8WHcx+S10lAuxk8TVL1kCLvPdNtXD55cJUhXR9gPy3fquU7dfi
N5lB94OJXZNybPhls7hD9DMbEZOTWQ4W27M22Iq8TqJ7Dl/TdNz4ENdoHFfg36PX
bg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f169.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=0CpV91+z+x5Un+yM93v62s/wJAC+TB6hZrem17j2OnE=; b=ax85w24oMlPhUJV9IUIolnhI2V6kFNNr0Tkb2a5b+DfvcJXiMxXOM+I/9F4dXEFfTt Tla8m6QBB3GTfQhnjCDDRvw/aqRAr76LAPzzGbiCdt/+s3XqSQzqjfXPw/E/9EtiahvJ 6w8997pw+qh7+DPNexa8nukE6q4UZ/qElWCf0s3j1gDTmePndRqs9nyPK5BeqQ/cXmYU NWO2Cx8sFafdBRPWuQ0zCKFTkvcLnck3p/WAMAPpdg5fHIGGo2l3rrJN3nDmmJZbl3Cy fLt0h+pJQeYrIR1rJwcINI3HPu6vMd3sM++azcGk1trSTSxHRK0RDRqyTZMIWfK/QNUH ElLQ==
X-Gm-Message-State: ALoCoQnozz5XNmwG5a+Ys4kpRL1sJXyaPkor2lowsS7trUwWsx7vbltouMn+Zxvd9fTrbMHne9jP
X-Received: by 10.50.28.101 with SMTP id a5mr59698007igh.46.1400007251409; Tue, 13 May 2014 11:54:11 -0700 (PDT)
Message-ID: <53726A51.3010105@breisch.org>
Date: Tue, 13 May 2014 14:54:09 -0400
From: "Chris J. Breisch" <chris DOT ml AT breisch DOT org>
User-Agent: Postbox 3.0.9 (Windows/20140128)
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Does /etc/profile need to set MANPATH?
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019