From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 4 13:12:17 2009 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22C4B1065670 for ; Thu, 4 Jun 2009 13:12:17 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id F27728FC12 for ; Thu, 4 Jun 2009 13:12:16 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MCCjp-000CST-Vo; Thu, 04 Jun 2009 09:12:15 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 663422F6ED51; Thu, 4 Jun 2009 09:12:10 -0400 (EDT) Message-ID: <4A27C829.6070809@FreeBSD.org> Date: Thu, 04 Jun 2009 09:12:09 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: Boris Samorodov References: <4A242BF1.9050202@FreeBSD.org> <22672149@h30.sp.ipt.ru> <4A26BB95.7010002@FreeBSD.org> <01209091@bb.ipt.ru> In-Reply-To: <01209091@bb.ipt.ru> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) Cc: emulation@FreeBSD.org Subject: Re: Fix for CONFLICTS in emulators/linux_base ports X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2009 13:12:17 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Boris Samorodov wrote: [...] > >> Perhaps there is a very simple solution - do you think that all >> linux_base ports should have the following CONFLICTS line? > >> CONFLICTS= linux_base-* > >> That way, all Linux emulation layers will conflict with every other one, >> and we'll be covered for any future revisions. > > Did you try it yourself? ;-) That way every linux base port > will conflict with itself! > Hi Boris, Yes, it works fine for me: - ---> No linux_base-* ports installed: fbsd70# pwd /usr/home/glarkin/FreeBSD/ports/emulators/linux_base-f8 fbsd70# pkg_info | grep ^linux_base fbsd70# make -V CONFLICTS linux_base-* linux-glib2 fbsd70# make check-conflicts fbsd70# cd ../linux_base-fc4 fbsd70# make -V CONFLICTS linux_base-* linux_locale* fbsd70# make check-conflicts fbsd70# - ---> After installation of linux_base-f8: fbsd70# pwd /usr/home/glarkin/FreeBSD/ports/emulators/linux_base-fc4 fbsd70# cd ../linux_base-f8/ fbsd70# pwd /usr/home/glarkin/FreeBSD/ports/emulators/linux_base-f8 fbsd70# pkg_info | grep ^linux_base linux_base-f8-8_12 Base set of packages needed in Linux mode (for i386/amd64) fbsd70# make -V CONFLICTS linux_base-* linux-glib2 fbsd70# make check-conflicts fbsd70# cd ../linux_base-fc4 fbsd70# make -V CONFLICTS linux_base-* linux_locale* fbsd70# make check-conflicts ===> linux_base-fc-4_14 conflicts with installed package(s): linux_base-f8-8_12 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/home/glarkin/FreeBSD/ports/emulators/linux_base-fc4. fbsd70# Without any linux_base-* ports installed, "CONFLICTS = linux_base-*" still allows the first one to be installed. After that, it will prevent other ones from being installed. Let me know if that looks acceptable or not. Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFKJ8gp0sRouByUApARAhfhAKC5nQjdtGcRbQ+t6r0mYzi8ZX8PaQCeM43W qzVqE7W9bjCgajW5Rwo0zl0= =AO8S -----END PGP SIGNATURE-----