From owner-freebsd-ports@FreeBSD.ORG Sun Oct 27 20:34:33 2013 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 ESMTP id 3AEF9548; Sun, 27 Oct 2013 20:34:33 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E6B462ACF; Sun, 27 Oct 2013 20:34:32 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAKJ3bVKtJXHA/2dsb2JhbABZgwc4vzKBHBZ0giEEAQEFOEABEAsOCgkWDwkDAgECAUUGAQwBBQIBAQWFQAeCGB+4FI8iMweELAOkXYU0g0IggSwk X-IronPort-AV: E=Sophos;i="4.93,581,1378857600"; d="scan'208";a="277348108" Received: from rcdn-core2-5.cisco.com ([173.37.113.192]) by rcdn-iport-4.cisco.com with ESMTP; 27 Oct 2013 20:34:24 +0000 Received: from rtp-jclarke-89110.cisco.com (rtp-jclarke-89110.cisco.com [10.117.46.171]) by rcdn-core2-5.cisco.com (8.14.5/8.14.5) with ESMTP id r9RKYNcA007489; Sun, 27 Oct 2013 20:34:23 GMT Message-ID: <526D78AC.2060508@freebsd.org> Date: Sun, 27 Oct 2013 16:33:48 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Alexey Dokuchaev , Chris Rees Subject: Re: 10.0-hosted tinderbox: 8.4 builds broken? References: <20131009110955.GA75075@regency.nsu.ru> <4d21dc12-2fb5-43a7-a0fd-8ea13c6ebf5a.maildroid@localhost> <20131009212710.GA7998@regency.nsu.ru> <4ABC4095-7230-4C69-92D4-756057C46296@bayofrum.net> <20131020145129.GA11372@regency.nsu.ru> In-Reply-To: <20131020145129.GA11372@regency.nsu.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, decke@freebsd.org, tinderbox-list@marcuscom.com X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Oct 2013 20:34:33 -0000 On 10/20/13, 10:51 AM, Alexey Dokuchaev wrote: > On Sun, Oct 13, 2013 at 01:36:45PM +0100, Chris Rees wrote: >> It appears that really weird SRCBASE assumptions are made throughout the >> code. I'll have to put a temporary hack in to just make SRCBASE appear >> inside the chroot whatever it's set to. Setting and unsetting SRCBASE >> just breaks different things in weird ways, and this is the only reliable >> fix I've found. > > I've just setup another tinderbox here on 11-CURRENT and did a fresh > checkout from CVS; I confirm that I can build packages for both 9.2 and > 10.0-BETA just fine now, thanks! > > However I've noticed another regression: doing chmod g+w /usr/ports/distfiles > in the middle of the tinder run totally confuses it: all build attempts > after chmod fail with identical tiny log files: > > building lcms2-2.5 in directory /usr/home/danfe/tb/9.2-wip > make: cannot open /a/ports/Mk/bsd.port.mk. > cd: /usr/ports/graphics/lcms2: No such file or directory > > The reason for a chmod: I normally build ports from a user, and to allow > it to fetch distfiles, give write permissions to wheel group. I also do > ./tc configDistfile -c /usr/ports/distfiles, and it always changed perms > back. It's annoying, but I can live with it: just chmod the damn directory > again. > > chmod'ing in the middle of tinder run is because I often do the runs while > installing something from ports manually at the same time. > > Previously tinderbox simply complained like this in the end of the build > log: > > ================================================================ > Fatal error: filesystem was touched prior to 'make install' phase > distcache changed > permissions expected 0755 found 0775 > ================================================================ > > But this (and subsequent) packages were still built successfully. > > Now chmod'ing totally screws up the whole (remaining) build. > > BTW, would it be possible to prevent forcing 0755 perms? I don't really > see any point for doing this in the first place... The distcache directory is created within the build each time before the cache is mounted. So this becomes a mountpoint. Does your _host_ distcache directory have 0775 perms? If so, I imagine the perms should be inherited and not require you to do a chmod while the Build is running. I hesitate to change something within TB to accommodate this, so I hope changing the host perms will help. Joe > > ./danfe > -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome