Re: VirtualBox won't build from ports

2017-02-09 Thread Li-Wen Hsu
On Fri, Jan 27, 2017 at 11:28 AM, John Klos  wrote:
> Hi,
>
> I find it a little odd that a clean install of FreeBSD 11.0 on amd64
> followed by:
>
> portsnap fetch ; portsnap extract
> echo "DISABLE_LICENSES=yes" > /etc/make.conf
> echo "BATCH=yes" >> /etc/make.conf
> cd /usr/ports/emulators/virtualbox-ose
> make install clean
>
> fails. What's the recommended (and non-embarrassing) way to set up a clean
> FreeBSD installation with VirtualBox?
>
> Here's the error:
>
> ...
> /bin/ln -sf python-2.7.pc
> /usr/ports/lang/python3/work/stage/usr/local/libdata/pkgconfig/python2.pc
> > Compressing man pages (compress-man)
> ===>  Installing for python3-2_3
> ===>  Checking if python3 already installed
> ===>   Registering installation for python3-2_3 as automatic
> Installing python3-2_3...
> pkg-static: python3-2_3 conflicts with python2-2_3 (installs files into the
> same place).  Problematic file: /usr/local/bin/2to3-2
> *** Error code 70
>
> Stop.
> make[6]: stopped in /usr/ports/lang/python3
> *** Error code 1
>
> Stop.
> ...
>

(Add freebsd-python@, move freebsd-virtualization@ to BCC)

This is not emulators/virtualbox-ose's fault.  It's because it needs
python2 to build, but it conflictes with python3 which is installed on
your system.

We might need to check why both python2 and python3 install
/usr/local/bin/2to3-2, this should be suffixed.

FWIW, if there you have no special requirements, I would suggest you
to install pre-built packages with pkg(1).

Best,
Li-Wen

-- 
Li-Wen Hsu 
https://lwhsu.org
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


VirtualBox won't build from ports

2017-01-26 Thread John Klos

Hi,

I find it a little odd that a clean install of FreeBSD 11.0 on amd64 
followed by:


portsnap fetch ; portsnap extract
echo "DISABLE_LICENSES=yes" > /etc/make.conf
echo "BATCH=yes" >> /etc/make.conf
cd /usr/ports/emulators/virtualbox-ose
make install clean

fails. What's the recommended (and non-embarrassing) way to set up a clean 
FreeBSD installation with VirtualBox?


Here's the error:

...
/bin/ln -sf python-2.7.pc 
/usr/ports/lang/python3/work/stage/usr/local/libdata/pkgconfig/python2.pc

> Compressing man pages (compress-man)
===>  Installing for python3-2_3
===>  Checking if python3 already installed
===>   Registering installation for python3-2_3 as automatic
Installing python3-2_3...
pkg-static: python3-2_3 conflicts with python2-2_3 (installs files into 
the same place).  Problematic file: /usr/local/bin/2to3-2

*** Error code 70

Stop.
make[6]: stopped in /usr/ports/lang/python3
*** Error code 1

Stop.
...

Thanks,
John Klos
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"