Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 01:27:44 +0100
From:      Matthias Andree <mandree@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        mat@freebsd.org, gabor@freebsd.org, portmgr@freebsd.org
Subject:   ports/186882: textproc/docbook: broken plist generation causes leftovers
Message-ID:  <E1WFv0q-000FgP-W6@apollo.emma.line.org>
Resent-Message-ID: <201402190030.s1J0U0JC070525@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1WFv0q-000FgP-W6>