delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/05/13/15:25:17

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Kn43TpOVzJy4Bfi5KiQOmmr94TovJbCNifPbX7byOwAvm5ESdCgKr
GQWMxSFvVLUHOLjSyDMb2xKx0yZTa51i0FTPtjQB0A1UQS91vLQ2U3b1Tkk+z6om
ZIpzu9IUOmivudlMxXygyCfiTANMBQ0/V+qH2WSZfICxhb6tSeziyg=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=3DClKxio0Jp/wA4UFmfEUy8sMBc=; b=j/f7gXTQwd5Lm+arBhYMlveBHCmn
nALq7wbUgWLUpXVET/L/plpjPKRVmQySZetdAodQafN7rueP1KyeljYtThVx2o+h
GQnVOJ/Zem6cbo/iEboN3uGtpamuekNBb6yW/lV6Sjmsfx7QrQf2tk93rLMbU2ob
jmWJfe+RzTGZapQ=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 13 May 2014 21:24:57 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Does /etc/profile need to set MANPATH?
Message-ID: <20140513192457.GY2436@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <53726A51 DOT 3010105 AT breisch DOT org>
MIME-Version: 1.0
In-Reply-To: <53726A51.3010105@breisch.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

--DOQx4ubtbYINM/to
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On May 13 14:54, Chris J. Breisch wrote:
> I've been working on getting man-db in a state where I can submit a packa=
ge
> 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 g=
et
> a version that passes everything before I submitted it.
>=20
> I finally discovered that the root cause was that MANPATH was being set f=
rom
> /etc/profile and that this value was conflicting with the test and causing
> it to fail. Unsetting MANPATH allowed the test to succeed[1].
>=20
> 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 se=
ems
> to override this necessity as it makes considerable effort to work out a
> reasonable manpath on it's own.
>=20
> Perhaps this discussion belongs in cygwin-apps. I'll be happy to take it
> elsewhere.

Yes, this might be better discussed in cygwin-apps.  I guess the setting
of MANPATH is mainly historical.

> -----------
> [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 perspecti=
ve.
> 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.

Be careful when this works differently on Linux.  The distro you're
testing this on might have additional patches applied, too...
I would suggest to discuss this upstream.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--DOQx4ubtbYINM/to
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTcnGJAAoJEPU2Bp2uRE+gtOAQAJiP5jDuDNVySlLOsOLfjORY
fTPlvhJ0V7n3MdJ9Yf8qiWbP31nOiZe8M6ODNCGPZ5fwBHNfFpp8eJY+S01XxR3P
pgWmftTqCPJh6M7xh7orDi/YnN/upVBjdX48WUPV5pfGPFocVv7f/N9V8tkCz7mU
2X2+vkKi1bEGhKOuu7Xrf+0kdvPBUN9+fHPWMH+5Krdq1IfrSrfZ0Gfn1dm+gvGp
hVZ8DS3oNCzCHWR/sn3GAVw7EGETOZsbnXVIDHXmnBzNXZ7SC+p8evVy1V8skELf
H0p51xcsMheCspW7iJVsfWB/6vuLbveVKIVmZeExqhqUE1nTLefysjyLUedAp/fK
/03IXvRNoxwkNq3fkbIlqtRPEWPm1eg8Flgh4vyvbj9h4coW4VIYUOip/5Cwp5LX
Mv7mSspr7GyDTjvCW/7kW4kcdPKG3HdrDQoYftOaTAAPBv1w8viXoKK1E22CW8DO
a5uDevpba4JHMHSmkePJCPV55feapKLWjbicK0vcNJqpIha1VbiYO/vo5+lINy0o
FHmphweXl2kuE02wLqLoHUImVqMYDT37ME9mbrKXZh3WuHLagq/+osow9DHXfGgv
rHYiBUwtbWTps7ivYq7VevC6mp7MsATfT8nDeRbRGqiUqceq96iFfkP58QRdEQyn
vfmQKq1z11CzGHUqvGwm
=7VhL
-----END PGP SIGNATURE-----

--DOQx4ubtbYINM/to--

- Raw text -


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