From owner-freebsd-questions@freebsd.org Tue Oct 18 15:48:09 2016 Return-Path: Delivered-To: freebsd-questions@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 EEB05C17BF5 for ; Tue, 18 Oct 2016 15:48:09 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-it0-f68.google.com (mail-it0-f68.google.com [209.85.214.68]) (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 C6718276 for ; Tue, 18 Oct 2016 15:48:09 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-it0-f68.google.com with SMTP id e203so97232itc.1 for ; Tue, 18 Oct 2016 08:48:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=wM00s0lQoMxZcYOrLH1QMVuoSpkQHSxf/NgKUqDTEvo=; b=KzOLGusvW1LZPRCuDuPDi19k+4TAiOtblQyq3yLkum8Wl7FnT9OZBNwufnM1dcrfQX VKYFzh/du1JrOyqOGcf1FS10dlJAS9n4fUQScOyMS7g0JeDKyGtVgSFjSbs2CGaCdI/M KoI82/KUBkGDWxJpZAzbhM4UvzV+p9djbZnyQkxJ2ijjrdIuk1RXk75nnBrWM/DyZBNq mK2qDMOhPwJd/r822Pz8r53raPuEuCc/T9gmoIq074YhOO2DXNeyhzRle8Bklyq16y30 B232Ti/KWay6wV58eeqaaj3UN97f0jkqy7jIyEM0m5JsgNv1s6VUao/8/Islt1QcPQX3 4tWw== X-Gm-Message-State: AA6/9Rn67hsBE4mvhEsxP3kaMK9E1V5jjOQrN0PJ9d6xNCqXRqdkxeWXzrx3lvEnl8W8Zw== X-Received: by 10.36.185.23 with SMTP id w23mr15179742ite.90.1476804811959; Tue, 18 Oct 2016 08:33:31 -0700 (PDT) Received: from WorkBox.Home (75-161-214-135.mpls.qwest.net. [75.161.214.135]) by smtp.gmail.com with ESMTPSA id n66sm519955ioe.42.2016.10.18.08.33.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Oct 2016 08:33:31 -0700 (PDT) Received: from localhost (WorkBox.Home [local]) by WorkBox.Home (OpenSMTPD) with ESMTPA id d1ec69a0 for ; Tue, 18 Oct 2016 10:33:34 -0500 (CDT) User-agent: mu4e 0.9.16; emacs 25.1.1 From: Brandon J. Wandersee To: freebsd-questions@freebsd.org Subject: Python 2/3 build failures with Poudriere/Synth, DEFAULT_VERSIONS Date: Tue, 18 Oct 2016 10:33:34 -0500 Message-ID: <86vawpu0xd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2016 15:48:10 -0000 Hi, folks. So I've run up against this issue a couple times in the past, but didn't really care since I was just planning to try a program out. out. Having recently settled on Borg (archivers/py-borgbackup) for my automated backup scheme, though, it's something that's become aggravating. When trying to build a custom local repository, both Poudriere and Synth will refuse to build Python 3 ports unless "DEFAULT_VERSIONS+= python=3.x" is set. (Borg is a Python 3 program.) Setting this of course results in Python 2 ports not being built. This same issue apparently prevents an official package from being built for archivers/py-borgbackup, since there is none. However, installing archivers/py-borgbackup through plain-old `make install clean` works just fine. All dependencies are installed and the two sets of Python programs coexist just fine. So what's the deal? Why is it that I can install Python 2 and Python 3 ports side-by-side manually, but can't build the requisite packages with either of these tools? Is there some way to configure Poudriere to build Python 2/3 ports to co-exist in their install environment? I would like to rely solely on Poudriere on my home server for package builds and upgrades, but insist on sticking with Borg for my backups, and it's a little annoying to have to keep a 2GB ports tree on my laptop for a single program and have to worry about keeping that one (vital) program in sync with the custom repository. Am I just stuck with manually installing and maintaining it? Thanks in advance. -- :: Brandon J. Wandersee :: brandon.wandersee@gmail.com :: -------------------------------------------------- :: 'The best design is as little design as possible.' :: --- Dieter Rams ----------------------------------