From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 1 12:50:03 2005 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B542116A4CE; Fri, 1 Apr 2005 12:50:03 +0000 (GMT) Received: from neon.webfusion.co.uk (neon.webfusion.co.uk [212.67.202.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36F5E43D53; Fri, 1 Apr 2005 12:50:03 +0000 (GMT) (envelope-from michael.hopkins@hopkins-research.com) Received: from 83-216-132-201.markch725.adsl.metronet.co.uk ([83.216.132.201] helo=[192.168.0.5]) by neon.webfusion.co.uk with asmtp (Exim 3.36 #1) id 1DHLb3-0003UF-00; Fri, 01 Apr 2005 13:49:57 +0100 User-Agent: Microsoft-Entourage/10.1.1.2418 Date: Fri, 01 Apr 2005 13:49:49 +0100 From: Michael Hopkins To: , Message-ID: In-Reply-To: <20050401142926.ffayz4h19ssk4s04@netchild.homeip.net> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Re: Working and broken Linux ports on amd64 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 12:50:03 -0000 On 1/4/05 1:29 pm, "Alexander Leidinger" wrote: > David O'Brien wrote: > >> This is your basic problem -- the devtools port hasn't been updated to >> RH8 yet to match the default stock linux_base. If you are skilled with >> the Ports Collection update this port and send a patch. :-) > > We have some inconsistencies in our linux ports (this is just one of them)... > the RH8 version of the devtools lives in devel/linux_devtools. As Scott > already mentioned they are lacking the amd64 entry in ONLY_FOR_ARCHES. > > Bye, > Alexander. Hi Alexander In experimental mood I edited linux_devtools-8 last night and called it linux_devtools-8-amd64. Just added amd64 in ONLY_FOR_ARCHES and hard-coded i386 into the necessary search paths. Along with linux_base-8 this worked! :o) My first go at a port Makefile and first linux cross-compile on FreeBSD in one go - and all at 4am. Code ran just as it should in Linux mode. Now it goes downhill - I decided I had been playing about a lot as root with a tired brain, so I cvsup'd ports and 5_3 and made world & kernel. Everything still working fine. Then I deinstalled linux_base-8 and linux_devtools-8-amd64, planning to reinstall them and submit the patch. For some reason that I REALLY cannot understand, this won't happen because rpm no longer understands the --dbpath argument! root@Athlon /usr/ports/emulators/linux_base-8 % make install ===> Installing for linux_base-8-8.0_6 --dbpath: unknown option *** Error code 1 This also happens at the command line. root@Athlon /usr/ports/emulators/linux_base-8 % rpm --initdb root@Athlon /usr/ports/emulators/linux_base-8 % rpm --initdb --dbpath /var/lib/rpm --dbpath: unknown option Why the heck would this be? I have no idea and I'm feeling pretty tee'd off that I had it working after many night hours of playing with different ports now can't get it again. Any ideas? M _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ _/_/_/ Hopkins Research Ltd _/ _/ _/ _/ _/_/_/_/ _/_/_/ http://www.hopkins-research.com/ _/ _/ _/ _/ _/ _/ _/ _/ 'touch the future' _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/