From owner-svn-ports-head@FreeBSD.ORG Wed Dec 11 20:47:23 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF6C9438 for ; Wed, 11 Dec 2013 20:47:23 +0000 (UTC) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8A9D2162A for ; Wed, 11 Dec 2013 20:47:23 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id wm4so7630997obc.28 for ; Wed, 11 Dec 2013 12:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=umVyiHcT5ssIXL3rPgoX3Es3nVcHLOXrDUDVEXq+o4g=; b=QNAOEuVxent0sygxuZx8gPEIN5dGgcD1D5s1q+yPYxXNX88A7Y62c0ziVxMEsdXF+a 8iFXgwIqIP4+B7jFlca04aszarEOudhmUUAXzjJrzezG/ag9bh45J1No95bIhtvjzSrU ZPz97Gscrv27wGMtyNaCV0jfxy5SHX6vOoago= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=umVyiHcT5ssIXL3rPgoX3Es3nVcHLOXrDUDVEXq+o4g=; b=f5vrQVjzpvuM7GKy0T5nFsusKLGBTcQ3Nlf5Auxq3BHqdvIVMgIdj7L0HlFo31lDuy ZV74ycPbRSAydP2A3xHWLb5SIfZZAxT6WZ0LhDRACP6DWW7KlUpufnqGUiMIULCO9Chm 6R3U7HP9keOm5lTWuDSvzA3FTSCNCxdG6oKejPI9U1f6GADq92lsTKdURWgII/HUfdrr IRLSrwiTXqkxPfemLa/Eimfw4fJ4LrIEM2X7iB5eUDzOPJioS/gLagIioxMMIRyEObTE sw2D5wtvac/YOayKEYPGURKXgW/fv3/t/iXz0zcmSSsZfU9yUEoaHnKpbRcc0FDp4U4t cXTQ== X-Gm-Message-State: ALoCoQlt/q0RSFyJ3n802h6N2fSyVbuekwKqC6WRx/Y4sDLy/aXq13jPTKHhka1SzFfo/E2WdWLT MIME-Version: 1.0 X-Received: by 10.182.148.106 with SMTP id tr10mr2678324obb.65.1386794842801; Wed, 11 Dec 2013 12:47:22 -0800 (PST) Received: by 10.76.154.2 with HTTP; Wed, 11 Dec 2013 12:47:22 -0800 (PST) X-Originating-IP: [46.206.71.7] Received: by 10.76.154.2 with HTTP; Wed, 11 Dec 2013 12:47:22 -0800 (PST) In-Reply-To: References: <201312111401.rBBE1jgh091228@svn.freebsd.org> Date: Wed, 11 Dec 2013 21:47:22 +0100 Message-ID: Subject: Re: svn commit: r336164 - head/emulators/virtualbox-ose From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Bernhard Froehlich , "ports-committers@freebsd.org" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 20:47:24 -0000 Am 11.12.2013 20:37 schrieb "Eitan Adler" : > > On Wed, Dec 11, 2013 at 9:01 AM, Bernhard Froehlich wrote: > > Author: decke > > Date: Wed Dec 11 14:01:44 2013 > > New Revision: 336164 > > URL: http://svnweb.freebsd.org/changeset/ports/336164 > > > > Log: > > - Add misc/compat9x port as conflicting because it causes the wrong libstdc++.so.6 > > to be found by rtld. In fact vbox links to libstdc++.so.6 from lang/gcc46 because of > > USE_GCC=yes but we have another shared object with the same shlib version in compat9x > > which is incompatible. > > > > VirtualBox: Error -610 in supR3HardenedMainInitRuntime! > > VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed: > > /usr/local/lib/compat/libstdc++.so.6: version GLIBCXX_3.4.15 required > > by /usr/local/lib/virtualbox/VBoxRT.so not found > > > > PR: ports/182468 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=182468 > > Reported by: various FreeBSD 10 users > > > > Modified: > > head/emulators/virtualbox-ose/Makefile > > > > Modified: head/emulators/virtualbox-ose/Makefile > > ============================================================================== > > --- head/emulators/virtualbox-ose/Makefile Wed Dec 11 13:35:12 2013 (r336163) > > +++ head/emulators/virtualbox-ose/Makefile Wed Dec 11 14:01:44 2013 (r336164) > > @@ -46,7 +46,7 @@ HAS_CONFIGURE= yes > > CONFIGURE_ARGS+=--with-gcc="${CC}" --with-g++="${CXX}" --passive-mesa > > USE_LDCONFIG= ${PREFIX}/lib/virtualbox > > > > -CONFLICTS= bcc-[0-9]* > > +CONFLICTS= bcc-[0-9]* compat9x-* > > CONFLICTS_INSTALL= virtualbox-ose-devel-[3,4]* virtualbox-ose-legacy-[3,4]* virtualbox-ose-additions-[3,4]* virtualbox-ose-additions-devel-[3,4]* > > This makes it impossible to have Java and VirtualBox on the same > system which seems ... problematic. Feel free to provide an analysis and a patch to fix it. It just does not work and since I do not have a proper fix at hand it's better to tell the user than letting him find the issue hours later via google. > What is the root cause of the conflict? Gcc from ports has his own libstdc++.so.6, gcc in base has his own and compat9x installs that old crap in the compat directory which rtld picks up when starting. That is a mess and in addition to that vbox is a suid root binary which means there are no possible workarounds because rtld operates in his extra critical mode and ignores all env variables. > P.S. do we still have virtualbox-ose-devel* or any version 3 ports around? They never were in the ports tree but we maintain them out of tree and sometimes do call for testers with them. This is to avoid conflicts for our testers. Version 3 can be removed.