From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 5 23:20:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF58810656AA for ; Sun, 5 Oct 2008 23:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB2868FC49 for ; Sun, 5 Oct 2008 23:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m95NK4I4038958 for ; Sun, 5 Oct 2008 23:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m95NK4ik038951; Sun, 5 Oct 2008 23:20:04 GMT (envelope-from gnats) Resent-Date: Sun, 5 Oct 2008 23:20:04 GMT Resent-Message-Id: <200810052320.m95NK4ik038951@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, Nate Eldredge Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3C731065687 for ; Sun, 5 Oct 2008 23:18:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A22598FC08 for ; Sun, 5 Oct 2008 23:18:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m95NI213048471 for ; Sun, 5 Oct 2008 23:18:02 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id m95NI2pI048470; Sun, 5 Oct 2008 23:18:02 GMT (envelope-from nobody) Message-Id: <200810052318.m95NI2pI048470@www.freebsd.org> Date: Sun, 5 Oct 2008 23:18:02 GMT From: Nate Eldredge To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/127889: portupgrade detects spurious failures and skips ports unnecessarily X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 23:20:04 -0000 >Number: 127889 >Category: ports >Synopsis: portupgrade detects spurious failures and skips ports unnecessarily >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 05 23:20:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Nate Eldredge >Release: 7.0-RELEASE-p4 >Organization: >Environment: FreeBSD vulcan.lan 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #13: Wed Sep 3 16:13:10 PDT 2008 nate@vulcan.lan:/usr/obj/usr/src/sys/VULCAN amd64 >Description: When running portupgrade -a, if ports A and B are to be upgraded and B depends on A, it sometimes happens that A is upgraded first, successfully, but portupgrade for some reason thinks it fails and skips upgrading B. A script session with portupgrade is posted at http://math.ucsd.edu/~neldredg/script-200810051055 (too large to attach). Note, at line 53711, that textproc/rarian was skipped due to the ostensible failure of libxslt. However, just before this we see that libxslt in fact installed successfully. If portupgrade is run a second time, rarian will upgrade successfully. >How-To-Repeat: It is a bit awkward because it requires that you have ports that are out of date, and once you run portupgrade, they are no longer out of date. I tried to put together an easy testcase, but did not succeed. But hopefully there is enough information here to let someone else make one. >Fix: As a workaround, you can just run portupgrade -a repeatedly until no more packages are skipped, but this is a pain. >Release-Note: >Audit-Trail: >Unformatted: