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 :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=r8LFZyYczu+0l5ZK4ezMEeWRmXMj/hmM7q+qgmJk0sw jeoQK+MHYsDI5ictQTpUkhX412Kd6AADsHsO8+QlS1927rKKCwYipzcic906dZtG IcwjubeDK4Aj7rHepAIrg91O/6galWVMoSdjb+g4OBsdGuLd8esqlv4FK+7bC7JY = 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 :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=oCgiEpFHXdn/at2oWbWFx+9v8H0=; b=vI+dez30CU877C625 G1menFmTIuhmGKW/nnZcx07D18SxEznfr6ICqKUr65uGXDae7AKSwlbZgkmrxymC YevjCjUE8VUUpwjBFf5FaA8Csk3mwa/sJFZq3+/3nvxr1u5Jo+3aVjLDMbXMmJyo McM/MzhjedN9mjVm3uUcO3EJgE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp-vbr2.xs4all.nl Message-ID: <53230EBB.5050500@xs4all.nl> Date: Fri, 14 Mar 2014 15:14:19 +0100 From: Erwin Waterlander User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin needs a man-db port References: <5241EF7D DOT 9080309 AT xs4all DOT nl> <52433E7A DOT 4070600 AT xs4all DOT nl> <524341E5 DOT 6080601 AT xs4all DOT nl> <5322EA04 DOT 3040008 AT xs4all DOT nl> <5322FCE8 DOT 50604 AT breisch DOT org> In-Reply-To: <5322FCE8.50604@breisch.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Op 14-3-2014 13:58 Chris J. Breisch schreef: > Erwin Waterlander wrote: >> Hi, >> >> The major linux distributions have switched for their man system to >> 'man-db' (http://man-db.nongnu.org/) in favour of the classic man. >> >> I think that Cygwin should also switch to man-db. man-db is much better >> in handling man pages in different encoding. >> >> Before man-db, libpipeline (http://libpipeline.nongnu.org/) needs to be >> ported, because man-db uses it. >> >> I have tried to port man-db to Cygwin, but I did not succeed. I got >> stuck in libpipeline. Did anyone else succeed? >> >> regards, >> >> Erwin >> > > I downloaded the latest version of libpipeline. It builds fine, but > all the tests fail with the following error: > /usr/src/ports/check/check-0.9.10-1/src/check-0.9.10/src/check_run.c:431: > Error in call to timer_create: Invalid argument > > So, I downloaded the source for check. The version of check that we > have is a little out-of-date, but at a first glance, the code for > timer_create looks okay to me. > > Hmmm...I built check using the cygport file and then went into the > tests folder and did a "make check" there. 5 of 6 tests failed and > with that exact same error. > > The version of check we have is 0.9.10 from April, 2013. The ChangeLog > for 0.9.11 from November of 2013 contains the following: > > Wed, Nov 4, 2013: Released Check 0.9.11 > based on r856 (2013-11-04 02:09:21 +0000) > > * Check compiles for Windows using the Cygwin environment, and all > unit tests pass. > > There's also a check 0.9.12 from January of this year. > > It appears to me that we should upgrade check to at least 0.9.11, as > I'm unconvinced that the current version is working. > It was in October when I tried. I also could get libpipelines and man-db compiled, but it did not work properly. I had also failing tests in the libpipeline package. In the end I could display a man page in Russian and English of Vim, but man-db coredumped on the Fench man page. I remember there were indeed problems with 'check'. At that time this bug, http://sourceforge.net/p/check/bugs/88/, was still open. The author of man-db suggested to set CK_FORK=no in the environment. That helped for several tests, but the first test of libpipelines kept failing. I also had a problem that I always got static libraries instead of shared. Even when I explicitly configure with --enable-static=no --enable-shared=yes. regards, -- Erwin Waterlander http://waterlan.home.xs4all.nl/ -- 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