From owner-freebsd-ports@freebsd.org Fri Jun 9 13:47:10 2017 Return-Path: Delivered-To: freebsd-ports@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 9AE3FBF514E for ; Fri, 9 Jun 2017 13:47:10 +0000 (UTC) (envelope-from vivek@khera.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7B00167EA6 for ; Fri, 9 Jun 2017 13:47:10 +0000 (UTC) (envelope-from vivek@khera.org) Received: by mailman.ysv.freebsd.org (Postfix) id 773F6BF514D; Fri, 9 Jun 2017 13:47:10 +0000 (UTC) Delivered-To: ports@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 76BDCBF514C for ; Fri, 9 Jun 2017 13:47:10 +0000 (UTC) (envelope-from vivek@khera.org) Received: from mail-wr0-x232.google.com (mail-wr0-x232.google.com [IPv6:2a00:1450:400c:c0c::232]) (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 179C667EA4 for ; Fri, 9 Jun 2017 13:47:09 +0000 (UTC) (envelope-from vivek@khera.org) Received: by mail-wr0-x232.google.com with SMTP id v111so33819301wrc.3 for ; Fri, 09 Jun 2017 06:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=khera.org; s=google11; h=mime-version:from:date:message-id:subject:to; bh=xJgin0s5JFmBCjko4IZIMxPlT/zDiIkrPcfi7kzLNfM=; b=HKHnGuln4e4GitV50PG0VK4lo1qwsd1b0M1p0Ic5sMU5HyYuzcxtoOpTra8H4wO/BO TjPr80CgNIu6TLdGhF7tKbg5CNlDpAj7gPcTkRXd2GYMV56a9tBpZsVpRPmjB+FO7POg 9qyPbDKPdPQZibOJZaHiQvrMjkpTl0wOcwHTc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xJgin0s5JFmBCjko4IZIMxPlT/zDiIkrPcfi7kzLNfM=; b=MQch5QecAiOLcCgVHlMNv88a7IsyhrI1+QJS1k21Scnlj/pP6f9ML3L7O+QZvKBBpQ BMZlI150WZjgRSJLAPFFlOm+GLA34WsMdRgKQezc5Rp/JP1LkwdiKTJp1eq2WFRFKD/A zwOVFdjAU1gPLWefdfBJ3vHQg7rZw/MtYWsbtQOKnlDgDSdZFSHNw8O4v3MhoOzG3ZDB gJWDqMgcF2ehFeHa6RhQdHqpOCPjODh3RbvpHmu8S7/Od7NRZar10I4y72OxjCbfipHe f653V4LRg7hnlUbh2Zcgrx99GXq6R0ctQnrjwzo10GY+cqTnpGtger4OSdHwwV0On+pR n85Q== X-Gm-Message-State: AODbwcA/opfE84gXKOhlFdc/wfPNHuaVEd+STHUcXbhS07LZaeYkf+Vu F+7khf20h4Qf2pSAx7c+GyDZs6A89FFHQF4= X-Received: by 10.223.133.167 with SMTP id 36mr21909727wrt.86.1497016026482; Fri, 09 Jun 2017 06:47:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.113.89 with HTTP; Fri, 9 Jun 2017 06:47:05 -0700 (PDT) From: Vick Khera Date: Fri, 9 Jun 2017 09:47:05 -0400 Message-ID: Subject: trouble building py3-requests -- dependencies build against wrong version of python. To: FreeBSD Ports List Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2017 13:47:10 -0000 I'm trying to build py3-iocage, which has as one dependeny py3-requests. When building this with poudriere, the py3-requests port somehow causes py27-chardet to be built instead of py36-chardet, which then results in py3-requests failing to find the dependency (which it just tried to build). Here is a test I just ran: % rm /usr/local/poudriere/data/packages/freebsd:11:x86:64/All/py*-chardet* % poudriere bulk -j 11amd64 -J 4:6 www/py3-requests The build fails with this: [00:00:08] ====>> [01][00:00:00] Starting build of textproc/py-chardet [00:00:14] ====>> [01][00:00:06] Finished build of textproc/py-chardet: Success [00:00:14] ====>> [01][00:00:00] Starting build of www/py3-requests [00:00:19] ====>> [01][00:00:05] Finished build of www/py3-requests: Failed: run-depends Looking in the log file from poudriere we have: =================================================== ===> py36-requests-2.17.3 depends on package: py36-chardet>=3.0.2 - not found ===> py36-requests-2.17.3 depends on package: /packages/All/py36-chardet-3.0.3.txz - not found ===> USE_PACKAGE_DEPENDS_ONLY set - not building missing dependency from source and we see that py27-chardet was actually built: % ls -l /usr/local/poudriere/data/packages/freebsd:11:x86:64/All/py*-chardet* -rw-r--r-- 1 root wheel 155212 Jun 9 09:24 /usr/local/poudriere/data/packages/freebsd:11:x86:64/All/py27-chardet-3.0.3.txz If I explicitly build py3-chardet I get the right version: % rm /usr/local/poudriere/data/packages/freebsd:11:x86:64/All/py*-chardet* % poudriere bulk -j 11amd64 -J 4:6 textproc/py3-chardet % ls -l /usr/local/poudriere/data/packages/freebsd:11:x86:64/All/py*-chardet* -rw-r--r-- 1 root wheel 157916 Jun 9 09:35 /usr/local/poudriere/data/packages/freebsd:11:x86:64/All/py36-chardet-3.0.3.txz When I subsequently build py3-requests it finds the py36-chardet package, but then fails on its other dependencies with the same error pattern (ie, it built py27-idna instead of py36-idna, etc.) How can I convince py3-requests to build py3-chardet rather than py-chardet (and py36-idna, etc.) like it does above? It seems to me that the "include" method of making the py3 modules child ports of the py modules is failing here with py3-requests. My poudriere make.conf file has DEFAULT_VERSIONS=mysql=5.6 pgsql=9.4 apache=2.4 perl5=5.24 ssl=openssl php=7.0 python3=3.6 That is the only mention of python in there. Running FreeBSD 11.0/amd64, ports tree updated as of this morning with portsnap.