ports/186882: textproc/docbook: broken plist generation causes leftovers

Matthias Andree mandree at FreeBSD.org
Wed Feb 19 00:30:01 UTC 2014


>Number:         186882
>Category:       ports
>Synopsis:       textproc/docbook: broken plist generation causes leftovers
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 00:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD apollo.emma.line.org 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
textproc/docbook: @unexec rmdir/@dirrm added too early to pkg-plist
so that they execute before the PORTDOCS files have been removed, so
that the empty port doc directories are left over after
a install-deinstall cycle.

This is because add-plist-docs target (which adds the files to the
TMPPLIST) runs way after do-install (which adds the dirrm/rmdir to
the TMPPLIST), so the ordering is wrong.

Unfortunately, the bsd.port.mk framework does not offer late hooks for
the staging sequences, and post-stage executes after stage-qa currently
(which should be fixed) so that stage-qa would emit false warnings.
	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list