From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27557 invoked by alias); 13 May 2014 19:25:02 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27542 invoked by uid 89); 13 May 2014 19:25:02 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 May 2014 19:25:01 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id C95868E0773; Tue, 13 May 2014 21:24:57 +0200 (CEST) Date: Tue, 13 May 2014 19:25:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Does /etc/profile need to set MANPATH? Message-ID: <20140513192457.GY2436@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <53726A51.3010105@breisch.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DOQx4ubtbYINM/to" Content-Disposition: inline In-Reply-To: <53726A51.3010105@breisch.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-05/txt/msg00289.txt.bz2 --DOQx4ubtbYINM/to Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1893 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 Content-length: 819 -----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--