svn commit: r336164 - head/emulators/virtualbox-ose
Eitan Adler
eadler at freebsd.org
Wed Dec 11 21:45:42 UTC 2013
On Wed, Dec 11, 2013 at 3:47 PM, Bernhard Fröhlich <decke at bluelife.at> wrote:
>
> Am 11.12.2013 20:37 schrieb "Eitan Adler" <eadler at freebsd.org>:
>
>
>>
>> On Wed, Dec 11, 2013 at 9:01 AM, Bernhard Froehlich <decke at freebsd.org>
>> 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.
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 operates
> 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 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.
Heh, okay.
--
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams
More information about the svn-ports-all
mailing list