Poudriere testport failure but manual jailed build success

Chris H bsd-lists at bsdforge.com
Wed Mar 4 01:49:29 UTC 2015

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.

> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

More information about the freebsd-ports mailing list