Bug 269186 - graphics/opencolorio fails to package using poudriere on Stable 13.1 amd64 pkg-static: Unable to access file jquery-3.5.1.js
Summary: graphics/opencolorio fails to package using poudriere on Stable 13.1 amd64 pk...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-27 12:56 UTC by Robert Cina
Modified: 2023-02-19 11:17 UTC (History)
2 users (show)

See Also:
FreeBSD: maintainer-feedback+


Attachments
maintainer update for graphics/opencolorio (3.61 KB, patch)
2023-01-28 03:21 UTC, Shane
FreeBSD: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cina 2023-01-27 12:56:36 UTC
The port graphics/opencolorio fails to build using poudriere on Stable 13.1 for me.

The following is the error:

====> Compressing man pages (compress-man)
===========================================================================
=======================<phase: package        >============================
===>  Building package for opencolorio-2.1.2_1
pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/opencolorio/work/stage/usr/local/share/doc/opencolorio/html/_static/jquery-3.5.1.js:No such file or directory
*** Error code 1

Stop.
Comment 1 Shane 2023-01-28 03:21:27 UTC
Created attachment 239754 [details]
maintainer update for graphics/opencolorio

Update graphics/opencolorio to v2.1.3
Remove DOCS from OPTIONS_DEFAULT
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2023-02-15 13:33:24 UTC
Is there a changelog for opencolorio 2.1.3 which I can use for the commit message?  If not, please summarise the changes at least.
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-02-15 19:34:04 UTC
Getting a plist issue testing this port:

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/html/_static/sphinx_highlight.js
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.

I can add this file when I commit the port.  Do you approve of this change?
Comment 4 Shane 2023-02-15 23:16:53 UTC
Your welcome to add other file changes from sphinx 5.3 to the pkg-plist-docs

OCIO v2.1.3 change list: https://github.com/AcademySoftwareFoundation/OpenColorIO/releases/tag/v2.1.3

For port changes:
pkg-plist adjustment for new sphinx version
Remove Docs from DEFAULT_OPTIONS
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2023-02-15 23:18:41 UTC
(In reply to Shane from comment #4)

Thanks.  Will commit shortly.  Do you have any other open patches I can put into this batch?
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-02-19 11:03:31 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b08b538c19aabfe8b421ff5de3101810c441958c

commit b08b538c19aabfe8b421ff5de3101810c441958c
Author:     Shane <FreeBSD@ShaneWare.Biz>
AuthorDate: 2023-02-15 13:28:18 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-02-19 11:01:40 +0000

    graphics/opencolorio: update to 2.1.3

     - pkg-plist adjustment for new sphinx version
     - remove DOCS from OPTIONS_DEFAULT as it is implied

    Changelog: https://github.com/AcademySoftwareFoundation/OpenColorIO/releases/tag/v2.1.3

    PR:             269186
    Reported by:    Robert Cina <transitive@gmail.com>
    Approved by:    flo (mentor)
    Differential Revision: https://reviews.freebsd.org/D38633

 graphics/opencolorio/Makefile                   |  5 ++---
 graphics/opencolorio/distinfo                   |  6 +++---
 graphics/opencolorio/files/patch-CMakeLists.txt | 17 +----------------
 graphics/opencolorio/pkg-plist-docs             |  1 +
 4 files changed, 7 insertions(+), 22 deletions(-)
Comment 7 Robert Clausecker freebsd_committer freebsd_triage 2023-02-19 11:17:15 UTC
Thank you for your submission.