From owner-freebsd-python@freebsd.org Thu Feb 9 04:13:14 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 96514CD7423 for ; Thu, 9 Feb 2017 04:13:14 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-lf0-x243.google.com (mail-lf0-x243.google.com [IPv6:2a00:1450:4010:c07::243]) (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 1EBDC7E5 for ; Thu, 9 Feb 2017 04:13:14 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: by mail-lf0-x243.google.com with SMTP id h65so10964662lfi.3 for ; Wed, 08 Feb 2017 20:13:14 -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=lGyI1hUmjocYX55qDhUMPCb19TF2nLghwfB9400qxs8=; b=MJKtIv3kiDQERNZQP7lCEo3dlj4j94Y37ol5aV6B+GM15Sx9YvWs4CMNixRXqz/nDe S6nnfdzW+uE5ZqUS71xz2ZfmvmvmvOH3raSz7Wrl4SqSSU4vG6JO7UXMSWgYocIjDSN/ /pfDuqRQr+GtMMZixK7NVbTfJIXEQyYDCM4Jgv1l9qaImo8ancjUmJg8LLvgQikJpSyL GnDuc45hj5GR2o6ZoXfL3xwwfAaDtwJhSEESr4+T6nLa4at6yCDcJe960vZQTcBoQJAp 824yeabN47YMs4RT1SnTwnwDGnEgthKElhwhc4ifVFGEtJC83y7NG70bCZrfEZQOsGZB pcZA== 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=lGyI1hUmjocYX55qDhUMPCb19TF2nLghwfB9400qxs8=; b=mXnTKdC1BFOFGdGRPjkAV9CMl19IIQME6IoXhe0T8sXeMu7jxcuFsn+MgPPiE2oOYk iV5il/H32zRF6yO7HqlZ3q3QsSj74hZS1wC48LGDoU862WUeuwf2otUGNB6EVxAFH4El II5BkXD0scOdjs3yE4E/bN02+dGXCdnW8xKBfHTS7xuhI8ZPad7DxU29KZj1McSJJPTG GDkXpHU8jkIQiOPjO0AzG6RyZwyQltLYlhT90kdkkbMYUbZYVhEm9CrAf36+xqOKizPw FJ/DTxTPuAw7cNPgWj+O/vQf9bpVxQpce28NWinGG9gs0xWxB1NlTBTlxPGVXDFwqGW7 Gi2w== X-Gm-Message-State: AMke39kyKDzL29QVVMZw16OsyvdxtqOkKGZBfDI1D4VyT16K7MpDQBuTcApO/fsnjsj7e43+Orzbq79QEhkqKA== X-Received: by 10.25.161.208 with SMTP id k199mr239928lfe.165.1486613592023; Wed, 08 Feb 2017 20:13:12 -0800 (PST) MIME-Version: 1.0 Sender: lwhsu.freebsd@gmail.com Received: by 10.25.193.205 with HTTP; Wed, 8 Feb 2017 20:13:11 -0800 (PST) In-Reply-To: References: From: Li-Wen Hsu Date: Thu, 9 Feb 2017 12:13:11 +0800 X-Google-Sender-Auth: -oMs93I8GVGGUtPPT0YqlJTPfBc Message-ID: Subject: Re: VirtualBox won't build from ports To: John Klos Cc: FreeBSD Python Team Content-Type: text/plain; charset=UTF-8 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: Thu, 09 Feb 2017 04:13:14 -0000 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