From owner-freebsd-alpha@FreeBSD.ORG Tue Mar 20 17:12:01 2007 Return-Path: X-Original-To: freebsd-alpha@FreeBSD.org Delivered-To: freebsd-alpha@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9C6B716A406 for ; Tue, 20 Mar 2007 17:12:01 +0000 (UTC) (envelope-from macgyver@calibre-solutions.co.uk) Received: from mail.calibre-solutions.co.uk (mail.calibre-solutions.co.uk [217.79.104.52]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA7213C489 for ; Tue, 20 Mar 2007 17:12:01 +0000 (UTC) (envelope-from macgyver@calibre-solutions.co.uk) Received: from vmx.calibre-solutions.co.uk (vmx.calibre-solutions.co.uk [172.16.1.4]) by mail.calibre-solutions.co.uk (Postfix) with ESMTP id 8C29642A7 for ; Tue, 20 Mar 2007 17:13:20 +0000 (UTC) Received: from [172.16.1.25] (yavin4.calibre-solutions.co.uk [172.16.1.25]) by vmx.calibre-solutions.co.uk (Postfix) with ESMTP id 072707781 for ; Tue, 20 Mar 2007 17:11:59 +0000 (GMT) From: Angus MacGyver To: freebsd-alpha@FreeBSD.org In-Reply-To: <1174350212.9985.3.camel@falcon.calibre-solutions.co.uk> References: <1174350212.9985.3.camel@falcon.calibre-solutions.co.uk> Content-Type: text/plain Date: Tue, 20 Mar 2007 16:54:22 +0000 Message-Id: <1174409662.9801.6.camel@yavin4.calibre-solutions.co.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit Cc: Subject: Re: Build of mysql-client fails. X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2007 17:12:01 -0000 On Tue, 2007-03-20 at 00:23 +0000, Angus MacGyver wrote: > Hi guys, > > Can anyone point me in the correct direction to fix this please. > > I need to upgrade my SQL server to that I can keep things running for > somewhat longer. > > Machine is LX164, FreeBSD 5.4 (old i know) and the latest cvsup of > the /usr/ports as of yesterday.. > > Cheers > > AM > > root@system_name:/usr/ports/databases/mysql50-client> make package > ===> Building package for mysql-client-5.0.37 > Creating package /usr/ports/packages/All/mysql-client-5.0.37.tbz > Registering depends: ldconfig_compat-1.0_8. > Registering conflicts: mysql-client-3.* mysql-client-4.* > mysql-client-5.1.*. > Creating bzip'd tar ball in > '/usr/ports/packages/All/mysql-client-5.0.37.tbz' > tar: could not chdir to '(null)' > > pkg_create: make_dist: tar command failed with code 256 > *** Error code 1 > Replying to my own post... tut.. :-) Solution found, bit of a hack, but never-the-less works. cd /usr/ports/databases/mysql50-client/work vi .PLIST.mktmp find line two lines from bottom, @cwd (null) to @cwd /usr/local make the file unwritable by anyone (chmod 000) and then run the make package. the make package then doesn't overwrite .PLIST.mktmp with junk from the build. Regards AM -- Angus MacGyver