From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 31 17:06:44 2005 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 AF16D16A4CE for ; Thu, 31 Mar 2005 17:06:44 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F76C43D46 for ; Thu, 31 Mar 2005 17:06:44 +0000 (GMT) (envelope-from astrodog@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so605989wra for ; Thu, 31 Mar 2005 09:06:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=YlZwXUn9frkodeKGomiWehPcLckLABsjCghY55bdze+eOmWoZfPnTVVIgIftgkoE92o0a6xGB1lwcGxPCjF2MRPl1IzWKgzhg9z9qCvHz7d1lbsbtVDRZ7cSh0fIGyR0DlyByb5CfRxmawweQZ1CIFqYO8ZbBcdePXoPWjeCEOc= Received: by 10.54.52.42 with SMTP id z42mr958036wrz; Thu, 31 Mar 2005 09:06:43 -0800 (PST) Received: by 10.54.40.69 with HTTP; Thu, 31 Mar 2005 09:06:43 -0800 (PST) Message-ID: <2fd864e05033109061a68554d@mail.gmail.com> Date: Thu, 31 Mar 2005 09:06:43 -0800 From: Astrodog To: freebsd-amd64@freebsd.org In-Reply-To: <790a9fff050331080572081eb6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <790a9fff050331080572081eb6@mail.gmail.com> cc: Michael Hopkins Subject: Re: Working and broken Linux ports on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Astrodog List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2005 17:06:44 -0000 On Thu, 31 Mar 2005 10:05:37 -0600, Scot Hetzel wrote: > On Thu, 31 Mar 2005 12:14:47 +0100, Michael Hopkins > wrote: > > In general > > ---------- > > A lot of Linux ports are giving this message which I suspect may not always > > be appropriate: > > > > ...is only for i386, and you are running amd64. > > > For the ports that are giving you that message, try adding amd64 to > the ONLY_FOR_ARCHS variable, and try to install and run the program. > There's another slight issue. Some ports try to use system RPM, (Which causes the error he's talking about), and others try to use Linux RPM. The only way I've found to make this work, is to set it to always use Linux RPM, and to allow amd64 in the ONLY FOR ARCHS... Otherwise, it barfs somewhere along the way, either during the RPM, or during the make. Is there any way, currently in ports, to detect linux emulation? Or better yet, could we just make linux_base_8 a prereq for Linux ports (Or something along those lines), then resolve this AMD64/i386 stuff on that ONE port, and have all the other linux ports just trust, that if that one is there, things will work? From what I understand, the goal is to have complete Linux32 compat... (Or, atleast as good as i386's), in which case any port that doesn't work under Linux32 has a bug of some sort to resolve, and should be considered a special case. I may try adding a "Linux Compat" dependancy.... (IE, /usr/compat/linux must exist, or the kernel must have Linux support). Then we can just go off the assumption that if Linux support is there, the arch you're installing to is irrelevent. Long term.... Perhaps a Linux32 and Linux64 dep? Not sure. Anyone have thoughts on that? I know its been discussed before, but I don't think a resolution ever came out of it. Same goes for /usr/compat, I suppose. For now, I'm going to go with the assumption that there will be /compat/linux32 and linux64. If this has been resolved, let me know so I can make the ports fix I'm gonna work on reflect that.