Bug 190642 - science/py-scipy: Packaging fails with DOCS=off at 0.14.0
science/py-scipy: Packaging fails with DOCS=off at 0.14.0
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: --- Affects Some People
Assigned To: Wen Heping
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-05 03:28 UTC by John W. O'Brien
Modified: 2014-06-19 12:34 UTC (History)
1 user (show)

See Also:


Attachments
Predicate PLIST_* on DOCS option (964 bytes, patch)
2014-06-05 03:28 UTC, John W. O'Brien
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John W. O'Brien 2014-06-05 03:28:08 UTC
Created attachment 143391 [details]
Predicate PLIST_* on DOCS option

Build log excerpt:

# --- SNIP START ---

---Begin Environment---
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE
UNAME_r=10.0-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/srv/poudriere/data/build/100ramd64-default-drivel/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
tpid=92404
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=py27-scipy-0.14.0
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/usr/home/obrienjw
MASTERNAME=100ramd64-default-drivel
USER=root
HOME=/root
POUDRIERE_VERSION=3.0.15
SKIPSANITY=0
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for py27-scipy-0.14.0:
     ATLAS=off: Use optimized blas library
     DOCS=off: Build and/or install documentation
     SUITESPARSE=on: Use AMD and UMFPACK in SuiteSparse
===> Use 'make config' to modify these settings
---End OPTIONS List---

# --- SNIP STOP ---


And then later...

# --- SNIP START ---

=======================<phase: package        >============================
===>  Building package for py27-scipy-0.14.0
pkg-static: lstat(/wrkdirs/usr/ports/science/py-scipy/work/stage/usr/local/@comment share/doc/scipy/): No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/science/py-scipy

# --- SNIP STOP ---

See attached patch for suggested fix (tested).
Comment 1 Carlo Strub freebsd_committer 2014-06-05 06:47:31 UTC
Over to maintainer
Comment 2 commit-hook freebsd_committer 2014-06-09 07:52:21 UTC
A commit references this bug:

Author: wen
Date: Mon Jun  9 07:51:28 UTC 2014
New revision: 357112
URL: http://svnweb.freebsd.org/changeset/ports/357112

Log:
  - Fix plist when define DOCS=off

  PR:		190642
  Reported by:	john@saltant.com

Changes:
  head/science/py-scipy/Makefile