From owner-freebsd-ports@freebsd.org Sun May 2 20:14:14 2021 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 9297D5F847E for ; Sun, 2 May 2021 20:14:14 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (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 4FYHPd4T3Zz3HK6 for ; Sun, 2 May 2021 20:14:13 +0000 (UTC) (envelope-from ronald-lists@klop.ws) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=klop.ws; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version: Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=lXu6Mv190bptaxoX0Jtrcyj+ysz6j5SlANrQJ2aOV+Q=; b=kPvvIqAEGX8MK3YdYBqyMpNKIM wmqRLOWt9pgb+C3vrKIwNHfZfn6JKR51DIE2l8rjgWTYM8wsIp67ZKBOWi5BNDJ2uJumv4LeF3lHE uZIoebXwY3T6gDHP0lwNHNTaVeS6e3bHA1NSqv+RQ1MW3FmUgSgcWjRcqv6bF0BfaHpU=; Subject: Re: I thought "pkg updating" would alert me about python...? To: freebsd-ports@freebsd.org References: From: Ronald Klop Message-ID: <02c13b1f-198f-3163-8688-7d01f60baee5@klop.ws> Date: Sun, 2 May 2021 22:14:05 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.greenhost.nl X-Spam-Level: / X-Spam-Score: -0.4 X-Spam-Status: No, score=-0.4 required=5.0 tests=ALL_TRUSTED, BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A autolearn=disabled version=3.4.2 X-Scan-Signature: 488b5a33f748713be529de57fa847022 X-Rspamd-Queue-Id: 4FYHPd4T3Zz3HK6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=mail header.b=kPvvIqAE; dmarc=pass (policy=none) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-2.98 / 15.00]; ARC_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[195.190.28.88:from]; R_DKIM_ALLOW(-0.20)[klop.ws:s=mail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[klop.ws:+]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,none]; RCVD_IN_DNSWL_NONE(0.00)[195.190.28.88:from]; NEURAL_HAM_SHORT(-0.98)[-0.975]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 May 2021 20:14:14 -0000 On 5/2/21 4:20 PM, David Wolfskill wrote: > I just re-verified the behavior, so -- even though I have already > started taking evasive action (updating python), I figured it may be of > use to show what I'm seeing; maybe I'm confused: > > Local ports tree is updated; previous ports update was a week ago. I > happen to know that there's an UPDATING entry: > > lgld-dhw(12.2-S)[4] tail +16 /usr/ports/UPDATING | head -5 > 20210425: > AFFECTS: users of python > AUTHOR: kai@FreeBSD.org > > The default version of python3 and python was switched to 3.8. > > > And that this machine should be affected: > > lgld-dhw(12.2-S)[5] pkg info -o python\* > python27-2.7.18_1 lang/python27 > python36-3.6.13 lang/python36 > python38-3.8.9 lang/python38 > > > [As noted above, I had already started evasive action.] > > But "pkg updating" is not actually showing the above entry: > > lgld-dhw(12.2-S)[6] pkg updating -d 20210424 > lgld-dhw(12.2-S)[7] echo $? > 0 > > > Am I alone in expecting "pkg updating" to have displayed the 20210425 > entry? > > (There was an issue a while back, where "pkg updating" was not showing > "glob" entries, but that has since been addressed.) > > This is on a machine running stable/12: > > lgld-dhw(12.2-S)[8] uname -a > FreeBSD lgld-dhw.corp.example.com 12.2-STABLE FreeBSD 12.2-STABLE #21 stable/12-n233048-23a3c3d97d72: Sun May 2 04:43:57 PDT 2021 root@lgld-dhw.corp.example.com:/common/S2/obj/common/S2/src/amd64.amd64/sys/GENERIC amd64 > lgld-dhw(12.2-S)[9] pkg -v > 1.16.3 > > Thanks. > > Peace, > david > The UPDATING file says "users of python" while the pkg/port name is python37. So that does not match. It does match for humans but not for computers. :-) The UPDATING entry should have said something like "users of lang/python*" to work. Regards, Ronald.