Bug 256337

Summary: x11-toolkits/gtk40: fails check-plist
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: freebsd-desktop (Team) <desktop>
Status: New ---    
Severity: Affects Only Me Keywords: needs-patch
Priority: --- Flags: bugzilla: maintainer-feedback? (desktop)
Version: Latest   
Hardware: Any   
OS: Any   

Description Jan Beich freebsd_committer 2021-06-01 14:35:44 UTC
post-install creates a number of empty directories but only unversioned are preserved via @dir in pkg-plist. Files/directories not in pkg-plist aren't copied from ${STAGEDIR} to real filesystem. Worse, noise in check-plist masks real issues like the one fixed by ports 4ee3b1cca9a5.

$ poudriere testport -j 122amd64 x11-toolkits/gtk40
[...]
===========================================================================
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir lib/gtk-4.0/%%GTK4_VERSION%%/engines
Error: Orphaned: @dir lib/gtk-4.0/%%GTK4_VERSION%%/loaders
Error: Orphaned: @dir lib/gtk-4.0/%%GTK4_VERSION%%/modules
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1