Re: graphics/opensubdiv: is pkg-plist dynamic?

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Thu, 23 Dec 2021 03:26:50 UTC
Hello.

I can still reproduce this problem in my environment.
And the reproduced results are always the same.
However, this problem does not seem to be reproducible in the committer's environment.
And the official package has been created without any problems.
Does anyone else have an environment in which they can reproduce this problem? :)

Conditions that may be relevant:
host kernel is 12.3-STABLE (stable/12-n234486-1e1d4b3efbd0) amd64.
File system for BASEFS in poudriere.conf is UFS2 soft-updates.
NO_ZFS=yes is defined in poudriere.conf.
This problem occurs in the poudriere jail of 12.3-STABLE stable/12-n234486-1e1d4b3efbd0-dirty amd64.
This problem also occurs in the host of 12.3-STABLE stable/12-n234486-1e1d4b3efbd0-dirty amd64.
This problem also occurs in the poudriere jail of 12.3-RELEASE amd64 (official distribution).

The result of check-plist in my environment:
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/doxy_html/a00566.html
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/doxy_html/a00566_source.html
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/doxy_html/a00596.js
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/doxy_html/a00599.js
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/doxy_html/a00602.js
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/doxy_html/a00650.js
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/doxy_html/a00668.js
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/doxy_html/a00683.js
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/doxy_html/a00692.js
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%DOCSDIR%%/doxy_html/a00569.html
Error: Missing: %%DOCSDIR%%/doxy_html/a00569_source.html
Error: Missing: %%DOCSDIR%%/doxy_html/a00614.js
Error: Missing: %%DOCSDIR%%/doxy_html/a00623.js
Error: Missing: %%DOCSDIR%%/doxy_html/a00635.js
Error: Missing: %%DOCSDIR%%/doxy_html/a00638.js
Error: Missing: %%DOCSDIR%%/doxy_html/a00641.js
Error: Missing: %%DOCSDIR%%/doxy_html/a00713.js
Error: Missing: %%DOCSDIR%%/doxy_html/a00752.js
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/opensubdiv
=>> Error: check-plist failures detected

The Orphaned and Missing files change when the OPENCL and PTEX options are toggled.

Regards.


Tatsuki Makino wrote on 2021/12/17 12:25:
> Hello.
> 
> graphics/opensubdiv fails with the following:
> 
> =======================<phase: package        >============================
> ===>  Building package for opensubdiv-3.4.3_5
> pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/opensubdiv/work/stage/usr/local/share/doc/opensubdiv/doxy_html/a00569.html:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/opensubdiv/work/stage/usr/local/share/doc/opensubdiv/doxy_html/a00569_source.html:No such file or directory
> pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/opensubdiv/work/stage/usr/local/share/doc/opensubdiv/doxy_html/a00614.js:No such file or directory
> (the following is omitted)
> 
> I think that can be replaced with PORTDOCS=* , how about that?
> 
> Regards.
>