Bug 236549

Summary: math/octave: building package fails due to manpages
Product: Ports & Packages Reporter: Lorenzo Salvadore <salvadore>
Component: Individual Port(s)Assignee: Stephen Montgomery-Smith <stephen>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (stephen)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Lorenzo Salvadore freebsd_committer freebsd_triage 2019-03-15 11:22:31 UTC
Building octave in poudriere fails in the package phase due to manpages with OPENBLAS as the only enabled option (DOCS is disabled).

This is the error message:

=======================<phase: package        >============================
===>  Building package for octave-5.1.0_1
pkg-static: Unable to access file /wrkdirs/usr/ports/math/octave/work/stage/usr/local/man/man1/mkoctfile.1.gz:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/math/octave/work/stage/usr/local/man/man1/octave-cli.1.gz:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/math/octave/work/stage/usr/local/man/man1/octave-config.1.gz:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/math/octave/work/stage/usr/local/man/man1/octave.1.gz:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/math/octave/work/stage/usr/local/share/info/dir:No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/math/octave
=>> Cleaning up wrkdir
===>  Cleaning for octave-5.1.0_1
build of math/octave | octave-5.1.0_1 ended at Fri Mar 15 10:47:28 CET 2019
build time: 00:25:16
!!! build failure encountered !!!
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-03-15 19:28:36 UTC
A commit references this bug:

Author: stephen
Date: Fri Mar 15 19:27:34 UTC 2019
New revision: 495803
URL: https://svnweb.freebsd.org/changeset/ports/495803

Log:
  - Add %%PORTDOCS%% as appropriate to pkg-plist, because man pages aren't
    created if DOCS is off.

  PR:		236549
  Submitted by:	Lorenzo Salvadore <phascolarctos@protonmail.ch>

Changes:
  head/math/octave/pkg-plist
Comment 2 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2019-03-15 19:29:28 UTC
Fixed.  Get back to me if there are more problems.