Bug 236549 - math/octave: building package fails due to manpages
Summary: math/octave: building package fails due to manpages
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-15 11:22 UTC by Lorenzo Salvadore
Modified: 2019-03-15 19:29 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (stephen)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.