From nobody Tue Apr 18 09:41:07 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q0zT05zdPz44qSX for ; Tue, 18 Apr 2023 09:41:24 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Received: from plan-b.pwste.edu.pl (plan-b.pwste.edu.pl [IPv6:2001:678:618::40]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "plan-b.pwste.edu.pl", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q0zSy2pBKz4DRx for ; Tue, 18 Apr 2023 09:41:22 +0000 (UTC) (envelope-from zarychtam@plan-b.pwste.edu.pl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plan-b.pwste.edu.pl header.s=plan-b-mailer header.b=GQCsKA7M; spf=none (mx1.freebsd.org: domain of zarychtam@plan-b.pwste.edu.pl has no SPF policy when checking 2001:678:618::40) smtp.mailfrom=zarychtam@plan-b.pwste.edu.pl; dmarc=pass (policy=none) header.from=plan-b.pwste.edu.pl Received: from [IPV6:2a02:22e0:cf00:1ff:9c57:baef:f047:f325] (mzar@[IPv6:2a02:22e0:cf00:1ff:9c57:baef:f047:f325]) (authenticated bits=0) by plan-b.pwste.edu.pl (8.17.1/8.17.1) with ESMTPSA id 33I9f9jf042241 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Tue, 18 Apr 2023 11:41:10 +0200 (CEST) (envelope-from zarychtam@plan-b.pwste.edu.pl) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=plan-b.pwste.edu.pl; s=plan-b-mailer; t=1681810870; bh=ypCl2pIeSTjod3NnJwjdhS/LsFXb8te4EHM0rwpbzAc=; h=Date:To:References:From:Subject:In-Reply-To; b=GQCsKA7MSLB7w+/TQ50thLW89WgClW8n/KBoStY0IOXevgbhkkyr+ZVK4YTnxsofa kYATchKmwIfpSQgdlw1ASVFoqSX4T2FigH/CuyEje4Di0WCpKeo/YFMAl67me2I0bI uMhVdTe7lG11lnT4YOpzBPyyFSvvMUdqsWL6LJwzPk8xmF3Cgp6UqN9ZGPBjmRcSA8 p9Io6kOelCuKrqqkVrfIM4x9TQ5ll+pGAC4esX/ps0oFAlyxTVCsk+/yUKuud7jTl9 wEuVog5idqkxyDLi+wDchvFzjpHo6z7zEsyyf3vuJA8dNJSZz95nHhsgSdh2SrG5Me L7VQ/As/X7EXg== Message-ID: <3cdd0420-7f42-9477-f4ac-0bf3a9b15181@plan-b.pwste.edu.pl> Date: Tue, 18 Apr 2023 11:41:07 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: freebsd-current@freebsd.org References: <214790055.5338048.1681805577606.ref@mail.yahoo.com> <214790055.5338048.1681805577606@mail.yahoo.com> From: Marek Zarychta Subject: Re: Problem compiling py-* ports In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-3.80 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[plan-b.pwste.edu.pl,none]; R_DKIM_ALLOW(-0.20)[plan-b.pwste.edu.pl:s=plan-b-mailer]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_SPF_NA(0.00)[no SPF record]; ASN(0.00)[asn:206006, ipnet:2001:678:618::/48, country:PL]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[plan-b.pwste.edu.pl:+]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4Q0zSy2pBKz4DRx X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N W dniu 18.04.2023 o 10:46, Felix Palmen pisze: > * Filippo Moretti [20230418 08:12]: >>   File "/usr/local/lib/python3.9/site-packages/setuptools/_importlib.py", line 31, in >>     if isinstance(ob, importlib_metadata.MetadataPathFinder) >> AttributeError: module 'importlib_metadata' has no attribute 'MetadataPathFinder' I am also hitting this bug with Python 3.8, so I recently considered an upgrade to 3.10, but it comes out that flaw is not version dependent. > Looks like you're building directly on your host (not in clean jails) > and the build picks up "something" that's already installed. What is the culprit? Removing blindly all py- packages for all affected hosts with dependent software is not the best solution. > > I'd probably try to uninstall all python packages, check whether there > are leftovers in LOCALBASE/lib/python3.9 (and remove them if necessary) > and then do a rebuild. > > You can avoid this class of issues using poudriere btw... > -- Marek Zarychta