From owner-freebsd-gecko@FreeBSD.ORG Sat Jun 23 02:49:10 2012 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58FC1106564A for ; Sat, 23 Jun 2012 02:49:10 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from server2.allsitecontrol.com (server2.allsitecontrol.com [63.143.36.210]) by mx1.freebsd.org (Postfix) with ESMTP id E39538FC0A for ; Sat, 23 Jun 2012 02:49:09 +0000 (UTC) Received: from anon.xmission.com ([166.70.207.2]:48041 helo=internal.tormail.org) by server2.allsitecontrol.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.77) (envelope-from ) id 1Si4DC-004Mg6-U6; Fri, 22 Jun 2012 09:47:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:In-Reply-To:Subject:Cc:To:From; bh=3Kw/T+1qHkZ9rtaDfH2lKojvtHQkvBbxY5Vwmt/Bdc4=; b=pe1pjyxxn7TiwlDT5AEoHDAVjsddeQSq4ckGLVhmhCj1GFVVXHyGZQlcliUrchSKmH08F8j9P5f+xcdvQFw9/14M1r7VG4bMJhba+WZVg6RhPYCYNFAF7OSLXnL2EZ8URJH0mg7YaJaUWkfR3u/b2+bDPEcpJenosKHPIJTRPAI=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1Si4C2-000Dl2-4q; Fri, 22 Jun 2012 13:46:36 +0000 From: Jan Beich To: Anton Shterenlikht In-Reply-To: <20120622121052.GA86769@mech-cluster241.men.bris.ac.uk> (Anton Shterenlikht's message of "Fri, 22 Jun 2012 13:10:52 +0100") Date: Fri, 22 Jun 2012 06:46:45 -0700 References: <20120622121052.GA86769@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1Si4C2-000Dl2-4q@internal.tormail.org> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server2.allsitecontrol.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tormail.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-gecko@freebsd.org Subject: Re: firefox-nightly: /usr/ports/www/firefox/experimental/Templates/config.guess: No such file or directory X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2012 02:49:10 -0000 Anton Shterenlikht writes: > Building ff-nightly on r789: > > ===> FreeBSD 10 autotools fix applied to > /usr/ports/www/firefox/experimental/www/firefox-nightly/work/mozilla-central-9602a9e99045/tools/profiler/libunwind/src/configure > (cd > /usr/ports/www/firefox/experimental/www/firefox-nightly/work/mozilla-central-9602a9e99045 > && /usr/local/bin/autoconf-2.13) > (cd > /usr/ports/www/firefox/experimental/www/firefox-nightly/work/mozilla-central-9602a9e99045/js/src/ > && /usr/local/bin/autoconf-2.13) > cp: /usr/ports/www/firefox/experimental/Templates/config.guess: No > such file or directory > *** [do-configure] Error code 1 Looks like you also need to copy /usr/ports/Templates directory to $PORTSDIR or invoke the build like this, e.g. $ make install WITHOUT_FBSD10_FIX= autotools infer version from OSREL, or rather CONFIGURE_TARGET tuple. So, the following is more correct and works with UNAME_r=9.9-FOO workaround. Index: Mk/bsd.port.mk =================================================================== RCS file: /a/.csup/ports/Mk/bsd.port.mk,v retrieving revision 1.729 diff -u -p -r1.729 bsd.port.mk --- Mk/bsd.port.mk 15 Jun 2012 12:04:52 -0000 1.729 +++ Mk/bsd.port.mk 16 Jun 2012 14:49:35 -0000 @@ -3641,7 +3655,7 @@ do-patch: .if !target(run-autotools-fixup) run-autotools-fixup: # Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x. -.if ${OSVERSION} >= 1000000 && !defined(WITHOUT_FBSD10_FIX) +.if ${OSREL:R} > 9 && !defined(WITHOUT_FBSD10_FIX) -@for f in `${FIND} ${WRKDIR} -type f \( -name config.libpath -o \ -name config.rpath -o -name configure -o -name libtool.m4 -o \ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \