From owner-svn-ports-head@FreeBSD.ORG Wed Dec 11 21:45:42 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 4390EDC1 for ; Wed, 11 Dec 2013 21:45:42 +0000 (UTC) Received: from mail-qc0-x235.google.com (mail-qc0-x235.google.com [IPv6:2607:f8b0:400d:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E991B1B0F for ; Wed, 11 Dec 2013 21:45:41 +0000 (UTC) Received: by mail-qc0-f181.google.com with SMTP id e9so5522847qcy.26 for ; Wed, 11 Dec 2013 13:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=8cRaNRHrGgO3UHg/TQ7muM2TGs6TSZjTAJ5Bx7VwEAI=; b=LkgKGxTete8LSRDEavoo4nmAB0ODu0jq5wFPUZIlQ/BMWw9FEwEDnjLmFSwFMfzFyo 56po/qdL55g6FIZmdDBbsvanCa3hnZUAMqvG3DSCUJlVQx3ZqB1LQolFiE6SIacTezTK fSKDSlv7pkdYlSpgTI7OQOP1oT1LETm/mAFI4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=8cRaNRHrGgO3UHg/TQ7muM2TGs6TSZjTAJ5Bx7VwEAI=; b=TbdFXA2PX39fhP1UrI9hlK3BrVgz7KwlfRKNd/B06xMefD4zOVlaGeX+MVtSmOL3SN JML3A77hrGS6ohIa9nugNfwbOal4rg9y5MkFxY2daK78RFsax4gsZkIiFBsyX8Y/uEm5 Bv0zR/Ptt3hx6YNIINQxthF8J+2uJElvSovLNwwnda5j+ydsclcJuoQXjnNhyHMiszf8 jM4PGP+6aMsI8TZb5upuNgSORo+v4DayVfN61dwkCt0a82RwuPLq2bWuiT54c9AGa4bm Cuve7CtnTxgEx30gSqDOdrI8dSC7b/CMDYY/a0q2wJdV8iyRcpQgNtxkXwLARQUMIvZd skDg== X-Gm-Message-State: ALoCoQm4sbdw/mWw9TwWfNoNpbLpqiXut1vaw5+pKibID8vGLhwh9eF3soa6WIrapWEn0NrssCvX X-Received: by 10.49.106.37 with SMTP id gr5mr6714661qeb.75.1386798340881; Wed, 11 Dec 2013 13:45:40 -0800 (PST) MIME-Version: 1.0 Sender: lists@eitanadler.com Received: by 10.96.86.42 with HTTP; Wed, 11 Dec 2013 13:45:10 -0800 (PST) In-Reply-To: References: <201312111401.rBBE1jgh091228@svn.freebsd.org> From: Eitan Adler Date: Wed, 11 Dec 2013 16:45:10 -0500 X-Google-Sender-Auth: vwbDk0hbUOrPD_zaYBY8lOQ8mR8 Message-ID: Subject: Re: svn commit: r336164 - head/emulators/virtualbox-ose To: =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 21:45:42 -0000 On Wed, Dec 11, 2013 at 3:47 PM, Bernhard Fr=C3=B6hlich = wrote: > > 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=3Dyes 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 require= d >> > by /usr/local/lib/virtualbox/VBoxRT.so not found >> > >> > PR: ports/182468 >> > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=3D182468 >> > Reported by: various FreeBSD 10 users >> > >> > Modified: >> > head/emulators/virtualbox-ose/Makefile >> > >> > Modified: head/emulators/virtualbox-ose/Makefile >> > >> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >> > --- head/emulators/virtualbox-ose/Makefile Wed Dec 11 13:35:12 20= 13 >> > (r336163) >> > +++ head/emulators/virtualbox-ose/Makefile Wed Dec 11 14:01:44 20= 13 >> > (r336164) >> > @@ -46,7 +46,7 @@ HAS_CONFIGURE=3D yes >> > CONFIGURE_ARGS+=3D--with-gcc=3D"${CC}" --with-g++=3D"${CXX}" --passiv= e-mesa >> > USE_LDCONFIG=3D ${PREFIX}/lib/virtualbox >> > >> > -CONFLICTS=3D bcc-[0-9]* >> > +CONFLICTS=3D bcc-[0-9]* compat9x-* >> > CONFLICTS_INSTALL=3D 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. Absolutely. I applaud your efforts on this port: its a lot of hard work and it usually functions. >> 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 operate= s > in his extra critical mode and ignores all env variables. Thanks for the info! >> P.S. do we still have virtualbox-ose-devel* or any version 3 ports aroun= d? > > 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 o= ur > testers. > > Version 3 can be removed. Heh, okay. --=20 Eitan Adler Source, Ports, Doc committer Bugmeister, Ports Security teams