From owner-freebsd-ports@freebsd.org Mon Dec 4 16:23:07 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 89C82E56BE0 for ; Mon, 4 Dec 2017 16:23:07 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp78.iad3a.emailsrvr.com (smtp78.iad3a.emailsrvr.com [173.203.187.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 61A206E68D for ; Mon, 4 Dec 2017 16:23:07 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp34.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp34.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id A3F0724EF0; Mon, 4 Dec 2017 11:16:48 -0500 (EST) X-Auth-ID: rhavenn@rhavenn.net Received: by smtp34.relay.iad3a.emailsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id EDF3124F98; Mon, 4 Dec 2017 11:16:47 -0500 (EST) X-Sender-Id: rhavenn@rhavenn.net Received: from rel.rhavenn.local ([UNAVAILABLE]. [209.112.171.194]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:587 (trex/5.7.12); Mon, 04 Dec 2017 11:16:48 -0500 Received: from localhost (rel.rhavenn.local [local]) by rel.rhavenn.local (OpenSMTPD) with ESMTPA id ab905114; Mon, 4 Dec 2017 07:16:45 -0900 (AKST) Date: Mon, 4 Dec 2017 07:16:45 -0900 From: Henrik Hudson To: =?iso-8859-1?Q?Ren=E9?= Ladan Cc: freebsd ports Subject: Re: poudriere, python ports, and flavors oh my? Message-ID: <20171204161645.GA57530@vash.rhavenn.local> References: <20171201175750.GA32973@vash.rhavenn.local> <20171201194556.GA10659@vash.rhavenn.local> <20171201222342.GA51418@vash.rhavenn.local> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171201222342.GA51418@vash.rhavenn.local> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 16:23:07 -0000 On Fri, 01 Dec 2017, Henrik Hudson wrote: > On Fri, 01 Dec 2017, Henrik Hudson wrote: > > > On Fri, 01 Dec 2017, René Ladan wrote: > > > > > Op 1 dec. 2017 19:06 schreef "Henrik Hudson" : > > > > > > So, I must be missing something. I have a poudriere jail specific > > > make.conf like this: > > > > > > ##### > > > #unset some options by default > > > OPTIONS_UNSET= ALSA APIDOCS BONJOUR CUPS DEBUG DOCBOOK DOCS EXAMPLES GNUTLS > > > HTMLDOCS \ > > > PULSEAUDIO SOUND STATIC TESTS X11 XINERAMA XORG > > > > > > #fetch arguments - set timeout > > > FETCH_BEFORE_ARGS=-T 3600 > > > > > > #perl version > > > DEFAULT_VERSIONS+= perl5=5.26 > > > > > > #PHP version > > > DEFAULT_VERSIONS+= php=71 > > > > > > #MySQL version - use MariaDB > > > WITH_MYSQL_VER=101m > > > > > > #OpenSSL > > > DEFAULT_VERSIONS+= ssl=openssl > > > > > > #PostgreSQL > > > DEFAULT_VERSIONS+= pgsql=10 > > > > > > #Python > > > DEFAULT_VERSIONS+= python=3.6 python2=2.7 python3=3.6 > > > > > > #use LDAP SASL support > > > WANT_OPENLDAP_SASL=yes > > > ##### > > > > > > > > > Reading in Mk/Uses/python.mk it seems to state that if > > > USE_PYTHON=distutils is set in a Makefile that a port will be built > > > for both Python2 and Python3 defaults. However, except for > > > setuptools, all my ports are only building py27 ports. > > > > > > For example, the devel/awscli only builds py27-awscli and it has: > > > > > > USE_PYTHON= autoplist distutils concurrent > > > > > > I would think if anything, using my DEFAULT_VERSIONS, that it would > > > only build the 3.6 version? > > > > > > I think you can remove the Python line now, that should enable building > > > both the 2.7 and 3.6 (?) versions. > > > > That just seems to switch the "python" port to use 2.7 as its > > symlink vs. 3.6. I'm still only getting 2.7 builds for the majority > > of ports. > > > > henrik > > Okay, so in my poudriere -f list file or bulk builds if I do: > devel/awscli@py36 > > when calling bulk then it builds for the right version. So, I don't > know if that's the way it's supposed to work, I'm missing something, > or if it's supposed to be building both. So, there was a bug in Uses/python.mk that ignored any DEFAULT_VERSIONS+= changes to python. This was fixed over the weekend and it seems to be working as expected now. henrik > > > henrik > > > > > > > > > > René > > > > > > > > > henrik > > > -- > > > Henrik Hudson > > > lists@rhavenn.net > > > ----------------------------------------- > > > "God, root, what is difference?" Pitr; UF > > > > > > _______________________________________________ > > > freebsd-ports@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > _______________________________________________ > > > freebsd-ports@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > > -- > > Henrik Hudson > > lists@rhavenn.net > > ----------------------------------------- > > "God, root, what is difference?" Pitr; UF > > > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > -- > Henrik Hudson > lists@rhavenn.net > ----------------------------------------- > "God, root, what is difference?" Pitr; UF > -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF