Bug 220427

Summary: sysutils/py3-iocage fails to build when DEFAULT_VERSIONS=python=3.6
Product: Ports & Packages Reporter: Zach Leslie <zleslie>
Component: Individual Port(s)Assignee: Marcelo Araujo <araujo>
Status: Closed Not A Bug    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (araujo)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Zach Leslie freebsd_committer freebsd_triage 2017-07-02 05:51:58 UTC
When building py3-iocage with DEFAULT_VERSIONS=python=3.6, I get the following error when using poudriere.

$ poudriere bulk -j primary-headless -p default sysutils/py3-iocage
[00:00:00] ====>> Creating the reference jail... done
[00:00:00] ====>> Mounting system devices for primary-headless-default
[00:00:00] ====>> Mounting ports/packages/distfiles
[00:00:00] ====>> Stashing existing package repository
[00:00:00] ====>> Mounting ccache from: /fast/ccache
[00:00:00] ====>> Mounting packages from: /usr/local/poudriere/data/packages/primary-headless-default
[00:00:00] ====>> Appending to make.conf: /usr/local/etc/poudriere.d/primary-headless-make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/.m/primary-headless-default/ref/etc/resolv.conf
[00:00:00] ====>> Starting jail primary-headless-default
[00:00:00] ====>> Logs: /usr/local/poudriere/data/logs/bulk/primary-headless-default/2017-07-01_22h50m03s
[00:00:00] ====>> Loading MOVED
[00:00:01] ====>> Calculating ports order and dependencies
[00:00:03] ====>> Error: Duplicated origin for py36-six-1.10.0: devel/py3-six AND devel/py-six. Rerun with -vv to see which ports are depending on these.
[00:00:03] ====>> Error: Fatal errors encountered calculating dependencies
[00:00:03] ====>> Cleaning up
[00:00:03] ====>> Unmounting file systems


This does make me wonder why there are two ports instead of using the python version specified by the make.conf.

sysutils/py-iocage also fails to build with this make.conf change.
Comment 1 Marcelo Araujo freebsd_committer freebsd_triage 2017-07-03 08:10:34 UTC
No you don't needs specify DEFAULT_VERSIONS anymore, python3.6 is the default python3 version.

sysutils/py-iocage is the old version and is deprecated already:
DEPRECATED=	obsoleted by sysutils/py3-iocage port using Python 3 instead of Python 2
EXPIRATION_DATE=2017-07-07


Best,
Comment 2 Zach Leslie freebsd_committer freebsd_triage 2017-07-04 04:02:01 UTC
Thank you for the information.  It had been a while since I read bsd.default-versions.mk.