From owner-freebsd-java@FreeBSD.ORG Tue Nov 15 16:31:22 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3D1816A41F; Tue, 15 Nov 2005 16:31:22 +0000 (GMT) (envelope-from akrebs@chronolabs.de) Received: from mail.conject.com (mail.conject.com [194.246.123.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7134343D55; Tue, 15 Nov 2005 16:31:20 +0000 (GMT) (envelope-from akrebs@chronolabs.de) Received: by mail.conject.com (Postfix, from userid 65534) id 1BD07B31984; Tue, 15 Nov 2005 17:31:20 +0100 (CET) Received: from mail.conject.com (localhost [127.0.0.1]) by mail.conject.com (Postfix) with SMTP id B2DE2B31988; Tue, 15 Nov 2005 17:31:18 +0100 (CET) Received: from [192.168.20.75] (port-83-236-183-130.static.qsc.de [83.236.183.130]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by mail.conject.com (Postfix) with ESMTP id 3D8EBB31984; Tue, 15 Nov 2005 17:31:18 +0100 (CET) Message-ID: <437A0D59.6000507@chronolabs.de> Date: Tue, 15 Nov 2005 17:31:21 +0100 From: Andreas Krebs User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: Greg Lewis References: <437A028F.3090404@chronolabs.de> <20051115160827.GA86828@misty.eyesbeyond.com> In-Reply-To: <20051115160827.GA86828@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.conject.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=6.5 tests=BAYES_50 autolearn=no version=3.0.4 Cc: freebsd-emulation@FreeBSD.org, freebsd-java@freebsd.org Subject: Re: JDK15 installation problem SOLVED X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 16:31:22 -0000 Greg Lewis wrote: > On Tue, Nov 15, 2005 at 04:45:19PM +0100, Andreas Krebs wrote: > >>> So, I wonder what is causing ${ARCH} to be wrong when we try installing the >>> Linux emulation package? >>> >> The Makefile in linux_base-8 sets the ARCH back to i386, this setting is >> probably used in all following installs (just guessing here) >> >> .if (${ARCH} == "amd64") >> LATEST_LINK:= ${LATEST_LINK:C/linux/linux32/} >> ARCH= i386 >> FALLBACK_ELF_MIB= kern.elf32.fallback_brand >> RPMFLAGS+= --noscripts >> .else >> > > Exactly. So why is the install of linux_base-8 looking for an RPM with > amd64 as the architecture then? That is exactly what the above section > of the Makefile is overriding. From my understanding the linux emulation always uses i386 RPMs, since there is no 64 bit support for the emulation yet. Why the RPMs have the $ARCH in their name I don't know since it will always be i386. My guess would be that it's designed for future use when 64bit Linux emulation becomes available, but I'm only guessing here, but the port maintainer should be able to shed some light on this. Andreas Krebs Chronolabs GmbH akrebs@chronolabs.de