From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 19 00:30:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3DFBBD3 for ; Wed, 19 Feb 2014 00:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AADF6181A for ; Wed, 19 Feb 2014 00:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1J0U0n2070528 for ; Wed, 19 Feb 2014 00:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1J0U0JC070525; Wed, 19 Feb 2014 00:30:00 GMT (envelope-from gnats) Resent-Date: Wed, 19 Feb 2014 00:30:00 GMT Resent-Message-Id: <201402190030.s1J0U0JC070525@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Andree Received: from apollo.emma.line.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DABADA01; Wed, 19 Feb 2014 00:27:46 +0000 (UTC) Received: from mandree by apollo.emma.line.org with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1WFv0q-000FgP-W6; Wed, 19 Feb 2014 01:27:45 +0100 Message-Id: Date: Wed, 19 Feb 2014 01:27:44 +0100 From: Matthias Andree To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/186882: textproc/docbook: broken plist generation causes leftovers Cc: mat@freebsd.org, gabor@freebsd.org, portmgr@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Matthias Andree List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 00:30:01 -0000 >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: