From owner-svn-ports-all@FreeBSD.ORG Wed Dec 11 20:47:24 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03DF543C for ; Wed, 11 Dec 2013 20:47:24 +0000 (UTC) Received: from mail-oa0-x229.google.com (mail-oa0-x229.google.com [IPv6:2607:f8b0:4003:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B2E7A162D for ; Wed, 11 Dec 2013 20:47:23 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id j17so7981329oag.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=nI7UEcv57zJPMaHDjwzrhpXZaRijrtrnNT27Cek5uTFZZW0lbvYKFI78ph5RZvFw8I vJsQiu9WFTSX+gPuMHHy7eLbnFGId64cHDqrg736FFRya4g6KMyDd+5RNbUh0qHU2bki uPvx35ilQtHAa8jY6Cqz6hilkTvLLPO0ovfZceOd+cznoBSBdEDNLdZ2a7LH7DxZl4Pc reaSjhWSaI4GSvwjK8eMfzCE6OvX59eu1lx2FvFVzsoQX+bkrSMS9ZzOZiovsxj4b4XI tINDVzl6cwJTINyfKoTJMUNjn3//m/8+XDSApfJYtVzknyULZ6t+7q4AMQ7elLJcVi3P TJwQ== X-Gm-Message-State: ALoCoQmlwwqjM5pGHii0q21oCTtEk7gUFq4qBcMAQwrUiLH+ecGO23fXOsBXBovYC7HNKRQkHtXS 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-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree 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.