Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2017 19:00:53 +0800
From:      Li-Wen Hsu <lwhsu@freebsd.org>
To:        John Klos <john@ziaspace.com>
Cc:        FreeBSD Python Team <freebsd-python@freebsd.org>
Subject:   Re: VirtualBox won't build from ports
Message-ID:  <CAKBkRUxf-KuqWaDAn41OXQypwi_P7zHHjZX=NiwMYzUaPzxGUw@mail.gmail.com>
In-Reply-To: <CAKBkRUyRnLX1QGJx%2Bcs1jHXZjcyDrUxuM_2%2BMQ5f9S91-f%2B-=A@mail.gmail.com>
References:  <Pine.NEB.4.64.1701262015120.20145@andromeda.zia.io> <CAKBkRUyRnLX1QGJx%2Bcs1jHXZjcyDrUxuM_2%2BMQ5f9S91-f%2B-=A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 9, 2017 at 12:13 PM, Li-Wen Hsu <lwhsu@freebsd.org> wrote:

> On Fri, Jan 27, 2017 at 11:28 AM, John Klos <john@ziaspace.com> 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=3Dyes" > /etc/make.conf
> > echo "BATCH=3Dyes" >> /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
> > =3D=3D=3D=3D> Compressing man pages (compress-man)
> > =3D=3D=3D>  Installing for python3-2_3
> > =3D=3D=3D>  Checking if python3 already installed
> > =3D=3D=3D>   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.
>

=E2=80=8BI just checked, python2 and python3 =E2=80=8Binstall /usr/local/bi=
n/2to3-2 and
/usr/local/bin/2to3-3 by default.

Do you make any special configurations locally?

Best,
Li-Wen

--=20
Li-Wen Hsu <lwhsu@FreeBSD.org>
https://lwhsu.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKBkRUxf-KuqWaDAn41OXQypwi_P7zHHjZX=NiwMYzUaPzxGUw>