From owner-freebsd-ports@FreeBSD.ORG Wed Mar 1 16:00:18 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 390FC16A420 for ; Wed, 1 Mar 2006 16:00:18 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from smtp1.utdallas.edu (smtp1.utdallas.edu [129.110.10.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id F274543D7B for ; Wed, 1 Mar 2006 16:00:14 +0000 (GMT) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp1.utdallas.edu (Postfix) with ESMTP id 794953890A7 for ; Wed, 1 Mar 2006 10:00:14 -0600 (CST) Date: Wed, 01 Mar 2006 10:00:14 -0600 From: Paul Schmehl To: ports@FreeBSD.org Message-ID: In-Reply-To: <44050D77.2030503@j2d.lam.net.au> References: <44050D77.2030503@j2d.lam.net.au> X-Mailer: Mulberry/3.1.6 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: FreeBSD Port: mpack-1.6 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 16:00:18 -0000 --On Wednesday, March 01, 2006 13:56:55 +1100 Nik Lam wrote: > Hi, > > I'm having trouble running the latest mpack (1.6) on FreeBSD 5.4. > Since posting the patches last night, that changed the "/usr/tmp" path to "/tmp" in some source files, a new problem has emerged. If you do this: ktrace mpack -s "Testing" Makefile pauls@utdallsa.edu It results in this: |\uffff(\uffff\uffff\uffff\uffff\uffff&(\uffff(: File exists Ktrace shows this: 79012 mpack CALL open(0x804f060,0xa02,0x1a4) 79012 mpack NAMI "/tmp/mpackCl8rPI" 79012 mpack RET open -1 errno 17 File exists 79012 mpack CALL writev(0x2,0xbfbfcb20,0x4) 79012 mpack GIO fd 2 wrote 31 bytes 0x0000 7c90 1328 f4d3 bfbf e026 0528 a414 0728 ||..(.....&.(...(| 0x0010 013a 2046 696c 6520 6578 6973 7473 0a |.: File exists.| 79012 mpack RET writev 31/0x1f 79012 mpack CALL exit(0x1) I've looked through the source code, but I'm not sure where the problem is. I only see one call to open the file. Can someone help? Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/