From owner-freebsd-ports@FreeBSD.ORG Thu May 11 17:33:32 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 2AC8D16A418 for ; Thu, 11 May 2006 17:33:32 +0000 (UTC) (envelope-from laszlof@vonostingroup.com) Received: from ritamari.vonostingroup.com (ritamari.vonostingroup.com [216.144.193.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2884C43D66 for ; Thu, 11 May 2006 17:33:31 +0000 (GMT) (envelope-from laszlof@vonostingroup.com) Received: from adsl-68-72-248-38.dsl.sfldmi.ameritech.net ([68.72.248.38] helo=[192.168.1.33]) by ritamari.vonostingroup.com with esmtpa (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FeF2b-000LQa-7r; Thu, 11 May 2006 13:33:33 -0400 Message-ID: <44637568.4020203@vonostingroup.com> Date: Thu, 11 May 2006 13:33:28 -0400 From: Frank Laszlo User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Boris Samorodov References: <00bd01c6750a$b7c631e0$0a1610ac@prodcave.com> <4463603F.3050600@vonostingroup.com> <39169750@srv.sem.ipt.ru> <44636F83.8020103@vonostingroup.com> <73088465@srv.sem.ipt.ru> In-Reply-To: <73088465@srv.sem.ipt.ru> X-Enigmail-Version: 0.93.2.0 OpenPGP: url=http://www.franksworld.org/~laszlof/keys/0x0B3FCA4B.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ritamari.vonostingroup.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - vonostingroup.com X-Source: X-Source-Args: X-Source-Dir: Cc: ports@freebsd.org Subject: Re: tomcat55 port on AMD64 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: Thu, 11 May 2006 17:33:36 -0000 Boris Samorodov wrote: > On Thu, 11 May 2006 13:08:19 -0400 Frank Laszlo wrote: > >> Boris Samorodov wrote: >> >>> On Thu, 11 May 2006 12:03:11 -0400 Frank Laszlo wrote: >>> >>> >>>> I submitted a patch[1] to fix this issue some time ago, It has to do >>>> with the way linux ports handle ARCH, since the linux emulation port >>>> doesn't work on amd64, its forced to use i386 rpm's. Unfortunately my >>>> efforts were shun by a brick wall, and no changes were made to address >>>> this. I am going to repeat this one more time, ARCH should NEVER be >>>> overwritten, here is yet another example of why. >>>> >>> >>> >>>> [1]http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/91911 >>>> >>> Seems that this problem shouldn't exist since updating of the port to >>> use new bsd.linux-rpm.mk. >>> >>> >> You would think so, but the fact of the matter is, ARCH should be a >> READONLY variable. It is relied upon heavily in the ports framework and >> shouldn't be changed, ever. Why we don't just use another variable name >> to do the trickery is what I am wondering. >> > > Argh, yes. You are right. It do have problems with current default > port linux_base-8. I'm using linux_base-fc3 for a long time and get > used to it too much. > > > WBR > It looks like linux_base-fc3 is basically doing what my patch was intended for, renaming the poor use of ARCH to something else (LINUX_RPM_ARCH) so that we are not overwriting such an important variable. But it does still have this for some reason: .if (${ARCH} == "amd64") LATEST_LINK:= ${LATEST_LINK:C/linux/linux32/} ARCH= i386 .endif I'm not really sure what purpose that serves, as ARCH isn't used anywhere in the Makefile. perhaps I am missing something from bsd.linux-rpm.mk. -Frank