Poudriere testport failure but manual jailed build success

Diane Bruce db at db.net
Mon May 30 01:37:24 UTC 2016


On Tue, Mar 03, 2015 at 05:24:15PM -0800, Chris H wrote:
> On Tue, 3 Mar 2015 23:37:30 +0100 Marin Bernard <marin at olivarim.com> 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 at FreeBSD.org db at db.net http://www.db.net/~db


More information about the freebsd-ports mailing list