From owner-freebsd-emulation@FreeBSD.ORG Sun Jan 23 00:51:23 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 5506516A4CE; Sun, 23 Jan 2005 00:51:23 +0000 (GMT) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 668DC43D53; Sun, 23 Jan 2005 00:51:22 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd01.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1CsVyK-0002QN-01; Sun, 23 Jan 2005 01:51:20 +0100 Received: from Andro-Beta.Leidinger.net (r3CJlMZlZeAGW7D3ovRHUbDOPTV8I2RMLl5TL4RIu3zjZiyBRxkq8R@[84.128.206.90]) by fmrl01.sul.t-online.com with esmtp id 1CsVyB-0sPTzk0; Sun, 23 Jan 2005 01:51:11 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) j0N0p98i051296; Sun, 23 Jan 2005 01:51:09 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sun, 23 Jan 2005 01:51:08 +0100 From: Alexander Leidinger To: Kris Kennaway Message-ID: <20050123015108.7d151c59@Magellan.Leidinger.net> In-Reply-To: <20050122211447.GC17474@xor.obsecurity.org> References: <20050122211447.GC17474@xor.obsecurity.org> X-Mailer: Sylpheed-Claws 1.0.0 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: r3CJlMZlZeAGW7D3ovRHUbDOPTV8I2RMLl5TL4RIu3zjZiyBRxkq8R@t-dialin.net X-TOI-MSGID: b0505d7c-d737-4ce1-82c2-068a5e71f8d6 cc: freebsd-emulation@freebsd.org cc: obrien@freebsd.org Subject: Re: [ports-amd64@FreeBSD.org: linux_base-8-8.0_6 failed on amd64 6] 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: Sun, 23 Jan 2005 00:51:23 -0000 On Sat, 22 Jan 2005 13:14:47 -0800 Kris Kennaway wrote: > ===> linux_base-8-8.0_6 depends on executable: rpm - found > Deleting rpm-3.0.6_9 popt-1.7 libiconv-1.9.2_1 gettext-0.14.1 > ================================================================ > ======================================== > add_pkg > ===> Patching for linux_base-8-8.0_6 > ================================================================ > ======================================== > add_pkg > ===> Configuring for linux_base-8-8.0_6 > ================================================================ > ======================================== > add_pkg > ===> Installing for linux_base-8-8.0_6 > rpm: not found > *** Error code 127 David moved the do-extract to pre-install with "Follow the porter's handbook and allow 'make all' to be run by a moral user." as the reason. The linux_base-8 port is special in this case, since it needs the linux kernel module to be loaded, which isn't allowed by an ordinary user. At least the module is loaded at the beginning of the extraction process. In case a rpm runs a linux binary (or a script which needs a linux shell) we really need the module to be loaded. If this isn't the case we can move it into the do-install target where it is needed by the linux ldconfig program. In case we need to load the module for the extraction process, I think we should say the linux_base-8 port is special and you can build it as root only (we don't have an INSTALL_DEPENDS, and RUN_DEPENDS doesn't really fit here). So either we revert rev 1.96 and 1.97 completely, or we test if we can move the "sh pkginstall" part to the do-install target and rename the pre-install target back to do-extract. Bye, Alexander. -- The computer revolution is over. The computers won. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7