Bug 223878 - Errors about orphaned docs directories with PORTDOCS=*, the testcase supplied
Summary: Errors about orphaned docs directories with PORTDOCS=*, the testcase supplied
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-26 08:05 UTC by Yuri Victorovich
Modified: 2017-11-28 09:29 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2017-11-26 08:05:07 UTC
This port https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193884 has PORTDOCS=*, but 'make check-plist' still prints errors about the orphaned directories:
> Error: Orphaned: %%PORTDOCS%%@dir %%DOCSDIR%%/doxygen/d0/d02
> Error: Orphaned: %%PORTDOCS%%@dir %%DOCSDIR%%/doxygen/d0/d06
> Error: Orphaned: %%PORTDOCS%%@dir %%DOCSDIR%%/doxygen/d0/d09
> ...
Comment 1 Antoine Brodin freebsd_committer 2017-11-26 08:10:25 UTC
Remove the empty directories in post-install,  they look useless.
Comment 2 Yuri Victorovich freebsd_committer 2017-11-26 09:14:04 UTC
https://reviews.freebsd.org/D13246
Comment 3 Mathieu Arnold freebsd_committer 2017-11-28 09:29:24 UTC
This looks more of a doxygen problem, I'd say. Something, like:

 ${FIND} -d ${DOCSDIR} -type d -empty -delete

should remove the problem.