Re: kBuild and opera will not install in 10.0: lang/gcc46 conflicts with lang/gcc

2013-12-23 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-12-23 05:10:05 -0500, José García Juanino wrote:
> On 23 December 2013 08:36, Bernhard Fröhlich 
> wrote:
>> 
>> Am 22.12.2013 21:57 schrieb "Dirk Meyer"
>> :
>>> Opera has an option to pick your poison. you can set COMPAT9,
>>> which does conflict with virtualbox.
>> 
>> No it does not conflict anymore. That has been fixed already.
> 
> Only a remark: the goal is install
> emulators/virtualbox-ose-additions and www/opera on a VirtualBox
> FreeBSD 10.0RC2. I have found a workaround:
> 
> 1- First,  install emulators/virtualbox-ose-additions  with pkgng.
> Then you will get /usr/local/lib/gcc46/libstdc++.so.6 installed by
> lang/gcc port. 2- Install www/opera from ports: cd
> /usr/ports/www/opera && make install clean. This trick  works as
> the port only check the installation of the libstdc++.so.6; it does
> not care the which package installed the library.
> 
> Yes, there are some corner cases you need the flexibility of the
> port system :-)

emulators/virtualbox-ose-additions can be built with clang and used
with libc++ just fine.  All you need is the following patches:

https://redports.org/browser/jkim/emulators/virtualbox-ose-additions/files/extrapatch-src-VBox-Additions-x11-VBoxClient-Makefile.kmk
https://redports.org/browser/jkim/emulators/virtualbox-ose-additions/files/extrapatch-src-VBox-Additions-x11-vboxvideo-Makefile.kmk

The port maintainers did not like them, though. :-(

Jung-uk Kim
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJSuKIoAAoJEHyflib82/FGWFIH/jhBXA+qslegHzE7ikNGSK2z
FajfbU+uHi0TygtGoQxgg8O0lDWbTvUFOtzL6+h+AgE0vjg1QmaUxkl8AUfwi/oi
1SViTxr/hEVDB/1yq7XbPXCkZxp/3UKiQST2/i8kTrIXnGbGgI3BcgrcDNsGRiqL
+43lvKieI1DfIX7Zpi3hunABYTLRTX41BSimv/8XwCfdEgd/w2IMRvj+FKWAQ337
2O8slnkhIIm3fqQgKPzJRNdZb38OdCu8Mc+GSSVMsft/MC1Kb1AgHWqJabAmewz3
icy7d40BbCPrzRrj6KGndqI9VDQJdWF6yNFHsv6RTxZH7JttignBL0txlFs5a/Q=
=9wdZ
-END PGP SIGNATURE-
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: kBuild and opera will not install in 10.0: lang/gcc46 conflicts with lang/gcc

2013-12-23 Thread Bernhard Fröhlich
Am 23.12.2013 11:10 schrieb "José García Juanino" :
>
> On 23 December 2013 08:36, Bernhard Fröhlich  wrote:
> >
> > Am 22.12.2013 21:57 schrieb "Dirk Meyer" :
> > > Opera has an option to pick your poison.
> > > you can set COMPAT9, which does conflict with virtualbox.
> >
> > No it does not conflict anymore. That has been fixed already.
>
> Only a remark: the goal is install emulators/virtualbox-ose-additions and
www/opera on a
> VirtualBox FreeBSD 10.0RC2. I have found a workaround:
>
> 1- First,  install emulators/virtualbox-ose-additions  with pkgng. Then
you will get /usr/local/lib/gcc46/libstdc++.so.6
> installed by lang/gcc port.
> 2- Install www/opera from ports: cd /usr/ports/www/opera && make install
clean. This trick  works as the port only
> check the installation of the libstdc++.so.6; it does not care the which
package installed the library.
>
> Yes, there are some corner cases you need the flexibility of the port
system :-)
>
> Best regards

Yeah, that should work fine and my proposal was to change opera to depend
on lang/gcc instead of lang/gcc46 because it is what most ports will use on
FreeBSD 10.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: kBuild and opera will not install in 10.0: lang/gcc46 conflicts with lang/gcc

2013-12-23 Thread José García Juanino
On 23 December 2013 08:36, Bernhard Fröhlich  wrote:
>
> Am 22.12.2013 21:57 schrieb "Dirk Meyer" :
> > Opera has an option to pick your poison.
> > you can set COMPAT9, which does conflict with virtualbox.
>
> No it does not conflict anymore. That has been fixed already.

Only a remark: the goal is install emulators/virtualbox-ose-additions and
www/opera on a
VirtualBox FreeBSD 10.0RC2. I have found a workaround:

1- First,  install emulators/virtualbox-ose-additions  with pkgng. Then you
will get /usr/local/lib/gcc46/libstdc++.so.6
installed by lang/gcc port.
2- Install www/opera from ports: cd /usr/ports/www/opera && make install
clean. This trick  works as the port only
check the installation of the libstdc++.so.6; it does not care the which
package installed the library.

Yes, there are some corner cases you need the flexibility of the port
system :-)

Best regards
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: kBuild and opera will not install in 10.0: lang/gcc46 conflicts with lang/gcc

2013-12-22 Thread Bernhard Fröhlich
Am 22.12.2013 21:57 schrieb "Dirk Meyer" :
>
> Bernhard Fröhlich schrieb:,
>
> > Am 22.12.2013 12:13 schrieb "Jos=E9 Garc=EDa Juanino" <
jjuan...@gmail.com>:
> > > I have running a recent FreeBSD 10.0-RC2, and I get the following
> > scenario:
> > >
> > > www/opera depends on lang/gcc46
> > > devel/kBuild depends on lang/gcc
> > >
> > > But both gcc46 and gcc are incompatible, so I cannot install opera and
> > > kBuild. However, lang/gcc and lang/gcc46 install the same versi=F3n
compi=
> > ler
> > > 4.6.4. Any idea to fix this conflict? I am using  pkgng to install the
> > > ports.
> >
> > kBuild is using USE_GCC=3Dyes which uses lang/gcc right now in version
4.6.
> >
> > Opera has a strict dependency on on FreeBSD 10 for gcc4.6 because of
> > libstdc++.so.6.
>
> In C++ you can not reuse your libraries without recompilation.
> This breaks the goal of object oriented design as stated in several books.

Why does opera work fine with libstdc++ from gcc 4.2 then?

> Opera has an option to pick your poison.
> you can set COMPAT9, which does conflict with virtualbox.

No it does not conflict anymore. That has been fixed already.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: kBuild and opera will not install in 10.0: lang/gcc46 conflicts with lang/gcc

2013-12-22 Thread Bernhard Fröhlich
Am 22.12.2013 12:13 schrieb "José García Juanino" :
>
> Hello,
>
> I have running a recent FreeBSD 10.0-RC2, and I get the following
scenario:
>
> www/opera depends on lang/gcc46
> devel/kBuild depends on lang/gcc
>
> But both gcc46 and gcc are incompatible, so I cannot install opera and
> kBuild. However, lang/gcc and lang/gcc46 install the same versión compiler
> 4.6.4. Any idea to fix this conflict? I am using  pkgng to install the
> ports.

kBuild is using USE_GCC=yes which uses lang/gcc right now in version 4.6.

Opera has a strict dependency on on FreeBSD 10 for gcc4.6 because of
libstdc++.so.6.

RUN_DEPENDS+=   ${LOCALBASE}/lib/gcc46/libstdc++.so.6:${PORTSDIR}/lang/gcc46

I am not sure if opera really needs to be that strict on which libstdc++ it
uses since it also seems to be happy with libstdc++ from gcc 4.2 on FreeBSD
9.

I've cc'd the opera maintainer so let's see what he thinks.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


kBuild and opera will not install in 10.0: lang/gcc46 conflicts with lang/gcc

2013-12-22 Thread José García Juanino
Hello,

I have running a recent FreeBSD 10.0-RC2, and I get the following scenario:

www/opera depends on lang/gcc46
devel/kBuild depends on lang/gcc

But both gcc46 and gcc are incompatible, so I cannot install opera and
kBuild. However, lang/gcc and lang/gcc46 install the same versión compiler
4.6.4. Any idea to fix this conflict? I am using  pkgng to install the
ports.

Best regards
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"