From owner-freebsd-ports@freebsd.org Mon May 30 01:37:24 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9AF84B515B7 for ; Mon, 30 May 2016 01:37:24 +0000 (UTC) (envelope-from db@db.net) Received: from diana.db.net (unknown [IPv6:2620:64:0:1:223:7dff:fea2:c8f2]) by mx1.freebsd.org (Postfix) with ESMTP id 8A67C1491 for ; Mon, 30 May 2016 01:37:24 +0000 (UTC) (envelope-from db@db.net) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id 77A622AA355; Sun, 29 May 2016 19:36:46 -0600 (MDT) Received: by night.db.net (Postfix, from userid 1000) id 9ED641CDE4; Sun, 29 May 2016 21:37:20 -0400 (EDT) Date: Sun, 29 May 2016 21:37:20 -0400 From: Diane Bruce To: Chris H Cc: "freebsd-ports@freebsd.org" , Marin Bernard Subject: Re: Poudriere testport failure but manual jailed build success Message-ID: <20160530013720.GA76698@night.db.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2016 01:37:24 -0000 On Tue, Mar 03, 2015 at 05:24:15PM -0800, Chris H wrote: > On Tue, 3 Mar 2015 23:37:30 +0100 Marin Bernard wrote > > > Hi, > > > > I've been banging my head for several days on what follows and I've come to > > the point where I have to get some help. Here's the point. > > > > I'm trying to port LizardFS (a distributed file system for Unix/Linux) on > > FreeBSD and I built a port candidate I would like to submit. But first I > > needed to be sure everything was OK, so I ran some tests. As of now: > > - The port builds fine on FreeBSD 10.1-RELEASE amd64 host. > > - portlint does not report any issue (on the same host as above) > > - port test (from porttools) happily validates the port (on the same host > > as above) - BUT poudriere fails to build the port. > > > > I'm using poudriere 3.1.1 on FreeBSD 11-Current, and failure occurs within a > > FreeBSD 10.1-RELEASE amd64 jail. > > > > What basically happens is that the build process runs fine until it reaches > > man page generation. There, a2x throws an error because xlstproc returns with > > return code 5 (= "error in the stylesheet"), whereas it shouldn't. What kills > > me here is that if I enter the jail after the failure and try to build the > > port manually, everything builds fine! You'll find poudriere log at the end > > of this message. > > > Any reason you couldn't simply lower the risk of failure based > on tools you have no control over; by simply creating a valid > man page to begin with? In other words; if the man is already > properly formatted groff/troff/mandoc (take your pick). You > wouldn't ever need to worry again. :) > > Just a thought, and hope it helps. I just ran into this one. Here is the fix. (months late) You need a LIBDEPENDS on libxslt.so:textproc/libxslt This probably should be documented in the porters handbook. > > --Chris > .. > > Diane -- - db@FreeBSD.org db@db.net http://www.db.net/~db