From owner-freebsd-python@freebsd.org Sat Feb 11 11:00:57 2017 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE302CDBD8E for ; Sat, 11 Feb 2017 11:00:57 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 53F43DA5 for ; Sat, 11 Feb 2017 11:00:57 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: by mail-lf0-x230.google.com with SMTP id z134so33445024lff.3 for ; Sat, 11 Feb 2017 03:00:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=KjkXV6JCTQ7yonSESCjUUcql2lVGx69zAWTOSQaIlEQ=; b=iHqKwBacmboVebs4SCvqeF65rYnt1q6heJYZsS3XKDnuAbiBoZa5nGmPCjJMBqYLpg 6Ijpmz3DDNFfCU/KuYDv08kZgQc7CThs340+IxKvzbpzIqqPq/FK2NB/diRXg6ziB9Z7 wEoJWhLa5n23R5WpfST8UcB95s7dskgFPVs9UGFRDRb5PGN7rrsbxIfMp6TKPfVjQ7mx UbfFnHiyky0FFJlQewRX7WT8n9lw7rqFOJWWOVzRUF4rxAQ7VTiofjWo3mPjnMx3YIl/ wXVTTggfCBCFvWUKXOO7N+BXFZhmiAkPTXPn48SfWWusU5O4uahtk+3zVXIDpMk6rPV7 7BoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=KjkXV6JCTQ7yonSESCjUUcql2lVGx69zAWTOSQaIlEQ=; b=qXLQ9bMij6AD/7FdXQDCBahMkWKh5Vnch2i3XabIz4Fdws27kgeXCajhwrVgJSpApz JIG2hr9pHkILJdOHFM3s6Tc8Qf2Mml01udaqmRpKlhSJunRAUU+UebgfPdgjWeAZLnZ9 Ddlgjs6LOAWrGz8Gq3B/+58HIaURWevhDCYCLTIjYPSK1sjdUwiFuYh7ags1ZJZmMHWC 9yCEHE2MpCRJH9ckRbFzgvG+7k3kyvY6RyKVlWnYejDxs/FiLbII303S6BCP/IPsd5FY /GWZkVz6vVmlO/udZsMMAsjwi/wZMhJ2pKhJ8Pui9+GfXIloWusgMb3yyV+OlHsf5yUV tzqg== X-Gm-Message-State: AMke39ma211nFTJKmxkv1plRiJW3WWR/uPI64Eq1mD7+Abmr27pB1u62IdWHKLK77m4DPddJZVEJR7FoqDI4tA== X-Received: by 10.46.21.13 with SMTP id s13mr455205ljd.83.1486810854593; Sat, 11 Feb 2017 03:00:54 -0800 (PST) MIME-Version: 1.0 Sender: lwhsu.freebsd@gmail.com Received: by 10.25.193.205 with HTTP; Sat, 11 Feb 2017 03:00:53 -0800 (PST) In-Reply-To: References: From: Li-Wen Hsu Date: Sat, 11 Feb 2017 19:00:53 +0800 X-Google-Sender-Auth: DvAeRIUyPBMNb0QTA96NPYGC6CI Message-ID: Subject: Re: VirtualBox won't build from ports To: John Klos Cc: FreeBSD Python Team Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2017 11:00:57 -0000 On Thu, Feb 9, 2017 at 12:13 PM, Li-Wen Hsu wrote: > 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=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 https://lwhsu.org