From owner-freebsd-amd64@FreeBSD.ORG Sat Feb 21 12:31:04 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AB9016A4CE for ; Sat, 21 Feb 2004 12:31:04 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0424D43D1F for ; Sat, 21 Feb 2004 12:31:04 -0800 (PST) (envelope-from peter@evilpete.dyndns.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id BF65B2A8EC for ; Sat, 21 Feb 2004 12:31:03 -0800 (PST) (envelope-from peter@overcee.wemm.org) Received: from overcee.wemm.org (unknown [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id 2F6022C1AC for ; Sat, 21 Feb 2004 12:31:03 -0800 (PST) (envelope-from peter@overcee.wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.12.11/8.12.10) with ESMTP id i1LKV316066721; Sat, 21 Feb 2004 12:31:03 -0800 (PST) (envelope-from peter@overcee.wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.12.11/8.12.10/Submit) id i1LKUvCD066717; Sat, 21 Feb 2004 12:30:57 -0800 (PST) (envelope-from peter) From: Peter Wemm To: freebsd-amd64@freebsd.org Date: Sat, 21 Feb 2004 12:30:57 -0800 User-Agent: KMail/1.6 References: <5421F6D2-6446-11D8-8485-000A95989E4A@lixfeld.ca> In-Reply-To: <5421F6D2-6446-11D8-8485-000A95989E4A@lixfeld.ca> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200402211230.57825.peter@wemm.org> Subject: Re: AMD64 + Ports X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2004 20:31:04 -0000 On Saturday 21 February 2004 12:17 am, Jason Lixfeld wrote: > Just how many ports "don't" work with AMD64? :) > > cvsup doesn't, so I tried the one at > http://people.freebsd.org/~peter/cvsup-without-gui-16.1h.tbz It > installed fine, but when I try to run it against my supfile, I get: > > bash-2.05b# cvsup -g -L 2 /usr/local/etc/cvsup/stable-supfile > Parsing supfile "/usr/local/etc/cvsup/stable-supfile" > Connecting to cvsup2.FreeBSD.org > Connected to cvsup2.FreeBSD.org > Server software version: SNAP_16_1h > Negotiating file attribute support > Exchanging collection information > Establishing multiplexed-mode data connection > Running > TreeList failed: Network write failure: Input/output error: zlib > error 4294967291 > Will retry at 21:29:57 > > ^C > bash-2.05b# > > Grr.. Ok, so I check the deps and it needs ezm3-1.1. so I go to > install that: > > bash-2.05b# cd /usr/ports/lang/ezm3/ > bash-2.05b# make > ===> ezm3-1.1 is only for alpha i386 sparc64, and you are running > amd64. > bash-2.05b# > > *gak!* > > I give up! > > Any suggestions or light reading?! :) Have a look at http://people.freebsd.org/~peter/ezm3-amd64/ There are a mountain of diffs and hacks to try and get ezm3 to work with gcc on amd64. There is enough there to enable you to produce the same binary in the package you downloaded. ie: it will blow up with that zlib error. Be sure to put the boot-ezm3-1.1-FBSD_AMD64.tar.bs2 into your /usr/ports/distfiles/ezm3/ directory because its not in John's dist area that the port knows about. As has been mentioned, don't use compress. I know this is a PITA, but I haven't figured out a way around it. The error code is 0xffffffffb which is -5. For zlib, that translates to 'buffer error'. In other words, the callback hooks for zlib in cvsup are not working right. I'd welcome you to try and fix them. :-) -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5