From owner-freebsd-ports@FreeBSD.ORG Wed Jun 11 12:59:18 2014 Return-Path: Delivered-To: ports@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 5CBDF6D0; Wed, 11 Jun 2014 12:59:18 +0000 (UTC) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3D6432450; Wed, 11 Jun 2014 12:59:18 +0000 (UTC) Received: from [111.10.10.38] (unknown [36.76.101.181]) by ainaz.pair.com (Postfix) with ESMTPSA id 49EEA3F410; Wed, 11 Jun 2014 08:59:04 -0400 (EDT) Date: Wed, 11 Jun 2014 19:58:42 +0700 (WIB) From: Gerald Pfeifer To: ports@FreeBSD.org, Antoine Brodin Subject: Who broke staging as user? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2014 12:59:18 -0000 This is a new failure that I found when testing a (trivial) update to lang/gcc410 with some of my usual scripts: ====> Compressing man pages (compress-man) ===> Installing ldconfig configuration file cannot create $WRKDIRPREFIX/stage/home/gerald/10-i386/libdata/ldconfig/gcc49: No such file or directory *** Error code 2 After scratching my head, I reran my tests for lang/gcc49 as in the tree today, and -- failure as well. Since I never commit an update to one of these ports without this kind of testing something must have broken this on June 6th or later. Digging into svn log $PORTSDIR/Mk a bit, here is my suspect: r357076 | antoine | 2014-06-08 21:25:54 +0000 (Sun, 08 Jun 2014) | 8 lines Kill NO_LDCONFIG_MTREE, it is long dead Make USE_LDCONFIG work when PREFIX!=LOCALBASE, LDCONFIG_DIR and LDCONFIG_32DIR are expected in LOCALBASE Phabric: D195 Reviewed by: bapt With hat: portmgr For my test, LOCALBASE=/home/gerald/10-i386 and PREFIX=/scratch2/tmp/gerald/prefix. But, in general LOCALBASE may not be writeable, whereas PREFIX is, so I somehow doubt the logic to begin with. Though the failure here is a lack of ${MKDIR} in the staging directory somewhere it seems? Gerald