Bug 247955

Summary: math/maxima Packaging Fails Due to Missing Files
Product: Ports & Packages Reporter: dal36
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Some People CC: lwhsu
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   

Description dal36 2020-07-13 22:26:09 UTC
I'm getting the following messages in the packaging stage for math/maxima when building with ports-mgmt/synth:

===>  Building package for maxima-5.44.0_2
pkg-static: Unable to access file /construction/xports/math/maxima/work/stage/usr/local/man/de/man1/maxima_core.1.gz:No such file or directory
pkg-static: Unable to access file /construction/xports/math/maxima/work/stage/usr/local/man/ru/man1/maxima_core.1.gz:No such file or directory
*** Error code 1

The previous version (5.44.0_1) of this port built and packaged OK. I noticed that it looked like these two man pages were added to pkg-plist in r541427 - are these files produced unconditionally or based on local or port settings (e.g. system locale)?
Comment 1 Li-Wen Hsu freebsd_committer 2020-07-20 18:53:38 UTC
I cannot reproduce this in poudriere, do you have any special options set to this port? BTW, the official package repository also has maxima-5.44.0_2 now.
Comment 2 dal36 2020-07-25 16:03:18 UTC
Apologies, should have included this originally. I'm using SBCL rather than ECL and hence have SAGE off.

Full options output from synth log:
===> The following configuration options are available for maxima-5.44.0_2:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     MANPAGES=on: Build and/or install manual pages
     NOUSERINIT=on: Do not load user init file for lisp (only for sbcl)
     SAGE=off: Build with patches from Sage (implies ECL)
     TEST=on: Build and/or run tests
     XMAXIMA=on: Install xmaxima (implies DOCS and TEST)
====> Options available for the single LISP: you have to select exactly one of them
     CCL=off: Build with Clozure Common Lisp
     CMUCL=off: Build with CMU Common Lisp
     ECL=off: Build with Embedabble Common Lisp
     SBCL=on: Build with Steel Bank Common Lisp

Thanks for your note that it's available in the package repository - in the end I just deleted those two man page lines in the local version of pkg-plist, which let it package correctly.
Comment 3 dal36 2021-01-02 18:08:01 UTC
I'm still seeing this on 5.44.0_8. Please let me know if there's other information that I can provide here.