From owner-freebsd-ports@FreeBSD.ORG Thu Aug 28 06:26:24 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 139D240E for ; Thu, 28 Aug 2014 06:26:24 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DBC081538 for ; Thu, 28 Aug 2014 06:26:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=oP15SOyFiOy9o1K54PRI2udJ7wqo3YvTe34GdX2H/xQ=; b=EG9HJLIKbwmTWYk9jVzMiVnGCTNyurtEbJgSNGWRSSmDNQ0dTia7VdxmDSXOys75r+q4uVeIEvDISDjWRJcrLUCblSXrph8og0MTkpbty9J2AtnNC4ZzqFv+RuaQrjtlW7EWRA7b10QUDovRPXmBUdeMeTB2Vw8btCuY+iI6xX4=; Received: from [39.253.197.226] (port=48288 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1XMtA0-003Spl-2H; Thu, 28 Aug 2014 00:26:16 -0600 Date: Thu, 28 Aug 2014 14:26:10 +0800 From: Erich Dollansky To: Torfinn Ingolfsen Subject: Re: I want to upgrade an old (8.3-RC2) FReeBSD installation, but can't install subversion Message-ID: <20140828142610.6dc3b78d@X220.alogt.com> In-Reply-To: References: X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2014 06:26:24 -0000 Hi, I did not got through the full thread to see if you found a solution. Allow me to tell you how I generally update multiple machines no matter in what state they are in. If they are all on the same source version, I compile on one machine the new kernel for the target machine. I will install it them either via NFS on other machines or via bootable media on which I copy the newly compiled source tree and the new binaries. When the other machine is up, I go through the normal installation procedure for kernel and world. Be careful with mergemaster and do not overwrite some configuration files. It might seems awkward but I did not run into any problems since I moved to this procedure. You might get first a generic kernel onto an external media and upgrade to generic if you want before compiling the 'real thing' on the target machine. Erich On Tue, 26 Aug 2014 22:11:25 +0200 Torfinn Ingolfsen wrote: > I have a machine which has an old installation of FreeBSD 8.3 on it: > root@kg-vm2# uname -a > FreeBSD kg-vm2 8.3-RC2 FreeBSD 8.3-RC2 #0: Sat Mar 24 16:15:47 UTC > 2012 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > amd64 > > and I want to update it. Since FreeBSD this old doesn't have svnlite > installed, I fetch a ports tree (no, this machine didn't have one > already) and try to install the subversion port: > root@kg-vm2# cd /usr/ports/devel/subversion > root@kg-vm2# make install > Unknown modifier 't' > > "/usr/ports/Mk/bsd.port.mk", line 1727: Malformed conditional > (defined(USE_RC_SUBR) && ${USE_RC_SUBR:tu} != "YES") > Unknown modifier 't' > > Unknown modifier 't' > > Unknown modifier 't' > > "/usr/ports/Mk/bsd.sites.mk", line 956: Malformed conditional > (!empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan") > Unknown modifier 't' > > Unknown modifier 't' > > "/usr/ports/Mk/bsd.port.mk", line 2858: Unclosed conditional/for loop > "/usr/ports/Mk/bsd.port.mk", line 2858: Unexpected end of file in for > loop. > > "/usr/ports/Mk/bsd.port.mk", line 6574: Unclosed conditional/for loop > "/usr/ports/Mk/bsd.port.mk", line 6574: Unexpected end of file in for > loop. > > make: fatal errors encountered -- cannot continue > > So I google a bit and find this[1] thread. > Hmm, ok let's try to install bmake then: > root@kg-vm2# cd /usr/ports/devel/bmake > root@kg-vm2# make install > Unknown modifier 't' > > Unknown modifier 't' > > Unknown modifier 't' > > Unknown modifier 't' > > Unknown modifier 't' > > "/usr/ports/Mk/bsd.sites.mk", line 956: Malformed conditional > (!empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan") > Unknown modifier 't' > > Unknown modifier 't' > > "/usr/ports/Mk/bsd.port.mk", line 2858: Unclosed conditional/for loop > "/usr/ports/Mk/bsd.port.mk", line 2858: Unexpected end of file in for > loop. > > "/usr/ports/Mk/bsd.port.mk", line 6574: Unclosed conditional/for loop > "/usr/ports/Mk/bsd.port.mk", line 6574: Unexpected end of file in for > loop. > > 1 open conditional: > at line 1167 (evaluated to true) > make: fatal errors encountered -- cannot continue > > Now, can anyone explain to me how I am going to get an updated source > (/usr/src) onto this machine, without resorting to (to me, totally > unnecessary) unconventional steps? > > AFAICT, there is nothing in /usr/ports/UPDATING about this. > So much for POLA. > Bah. > > References: > 1) https://forums.freebsd.org/viewtopic.php?f=5&t=46291#p258936