From owner-freebsd-emulation@FreeBSD.ORG Fri Sep 9 07:43:55 2005 Return-Path: X-Original-To: emulation@freebsd.org 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 F2D4416A41F; Fri, 9 Sep 2005 07:43:54 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6222643D46; Fri, 9 Sep 2005 07:43:54 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.52 (FreeBSD)) id 1EDdY8-0000Og-TG; Fri, 09 Sep 2005 11:43:52 +0400 From: Vladimir Grebenschikov To: emulation@freebsd.org In-Reply-To: <20050908185053.4c9b7015@Magellan.Leidinger.net> References: <1126169430.1104.15.camel@localhost> <20050908110403.71c0c5fd.lists@yazzy.org> <20050908185053.4c9b7015@Magellan.Leidinger.net> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Fri, 09 Sep 2005 11:43:52 +0400 Message-Id: <1126251832.1107.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: Marcin Jessa , current@freebsd.org Subject: Re: bad dependance on -> linux_base while upgrade X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 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, 09 Sep 2005 07:43:55 -0000 =F7 =DE=D4, 08/09/2005 =D7 18:50 +0200, Alexander Leidinger =D0=C9=DB=C5=D4= : > On Thu, 8 Sep 2005 11:04:03 +0200 > Marcin Jessa wrote: >=20 > F'up to emulation please... >=20 > > Hi Vladimir, guys. > >=20 > > I've had the same problem.=20 > > The only way I could use newer linux base than 7.3 was using OVERRIDE_L= INUX_BASE_PORT=3D8 in make.conf > > I tried using suse port as well with the same result/problems as you're= facing. >=20 > There's no autodetection of the used linux_base version. We have a > default linux_base and everything is supposed to work with only this > version. Everything else is pure luck (or good "upward-compatibility" > of the linux ports, but this isn't required). Probably we should register same dependence as we check ? I mean we check existence of /compat/linux/etc/redhat-release as dependence,=20 Then check related port: # pkg_which /compat/linux/etc/redhat-release=20 linux_base-rh-9 # And then register valid dependence. > If you want to use another linux_base, you have to use > OVERRIDE_LINUX_BASE_PORT in make.conf. Ok > Now that we talked about the current policy, the strange part above is, > that you have to specify v8 in the override. This is *very* strange. > Please make sure you have the latest /usr/ports/Mk/bsd.port.mk. Actually I want to have rh9 to run some linux software, and it works only with rh9 base. And I want to get working other linux software (like flash plugins). > > On Thu, 08 Sep 2005 12:50:30 +0400 > > Vladimir Grebenschikov wrote: > >=20 > > > Hi all > > >=20 > > > After upgrade almost any linux* port I have same problem - dependence= is > > > broken. > > >=20 > > > I have WITH_LINUX=3Drh-9 in my make.conf and all linux-* port built w= ith > > > this define, but they all install dependence to not existed > > > linux_base-8-8.0_6. >=20 > WITH_LINUX is wrong. It was usable for a moment in time, but is wasn't > done properly (since it changed the meaning of the former usage of it). > For this reason I introduced OVERRIDE_LINUX_BASE_PORT. It's used like > you do it with WITH_LINUX. >=20 > Bye, > Alexander. >=20 --=20 Vladimir B. Grebenschikov SWsoft Inc. vova@sw-soft.com