From owner-freebsd-ports@freebsd.org Wed May 27 11:07:17 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 77A0E32F038 for ; Wed, 27 May 2020 11:07:17 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49X7MR6sBxz49TH; Wed, 27 May 2020 11:07:15 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id 04RB77WG003229 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 27 May 2020 14:07:10 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 04RB77WG003229 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id 04RB77NI003228; Wed, 27 May 2020 14:07:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 27 May 2020 14:07:07 +0300 From: Konstantin Belousov To: gordon@freebsd.org Cc: Kevin Oberman , Stefan =?utf-8?B?RcOfZXI=?= , Pete Wright , FreeBSD Ports ML Subject: Re: might need to bump version of python ports after recent openssl changes Message-ID: <20200527110707.GD48478@kib.kiev.ua> References: <63bc596e-0e78-7ed0-236e-5a11f017ba26@nomadlogic.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 49X7MR6sBxz49TH X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [1.82 / 15.00]; ARC_NA(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_SPAM_SHORT(0.31)[0.311]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; RCPT_COUNT_FIVE(0.00)[5]; NEURAL_SPAM_MEDIUM(0.62)[0.620]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.89)[0.886]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org,nomadlogic.org]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2020 11:07:17 -0000 On Tue, May 26, 2020 at 11:31:32PM -0700, Kevin Oberman wrote: > On Tue, May 26, 2020 at 11:09 PM Stefan Eßer wrote: > > > Am 27.05.20 um 04:24 schrieb Jan Beich: > > > Pete Wright writes: > > > > > >> hello - on current i found myself in a situation where python37 was > > >> unable to import ssl: > > >> > > >> $ python3.7 > > >> Python 3.7.7 (default, May 9 2020, 01:37:42) > > >> [Clang 10.0.0 (git@github.com:llvm/llvm-project.git > > >> llvmorg-10.0.0-0-gd32170dbd on freebsd13 > > >> Type "help", "copyright", "credits" or "license" for more information. > > >>>>> import ssl > > >> Traceback (most recent call last): > > >> File "", line 1, in > > >> File "/usr/local/lib/python3.7/ssl.py", line 98, in > > >> import _ssl # if we can't import it, let the error > > >> propagate > > >> ImportError: /usr/local/lib/python3.7/lib-dynload/_ssl.so: Undefined > > >> symbol "SSLv3_method@OPENSSL_1_1_0" > > >>>>> > > >> > > >> > > >> after a little digging it looks like we recently disabled SSLv3 on > > >> CURRENT (huzzah!): > > >> https://reviews.freebsd.org/D24945 > > >> > > >> After forcing a re-install of python37 things are working again as it > > >> looked like the pbuilder did rebuild python after this commit. But pkg > > >> upgrade didn't detect a new version, so I think it might be helpful to > > >> bump the python version's so that people on CURRENT don't end up in > > >> the same situation I was in? Not sure what the usual process is for > > >> stuff like this... > > > > > > OSVERSION was already bumped in base r361410, so poudriere will > > > force-rebuild all packages. Those who hack .jailversion to avoid > > > rebuilds can only blame themselves. > > > > OSVERSION bumps will be observed by poudriere, but not by other port > > building tools. > > > > Did I miss an announcement that all other methods to keep your system > > in a workable state are now considered obsolete and unsupported? > > > > A port version bump would have enabled rebuilding just the affected > > ports, while a rebuild of all my ports based on OSVERSION will take > > days to complete on my local build server. > > Even if the packages are updated in the repository, does pkg know it? > It looks to me like pkg upgrade will simply not upgrade the port unless > PORT_REVISION is bumped. What this change needed, and missed, is the dso version bump for libssl.so.111.