From owner-freebsd-python@freebsd.org Mon Dec 24 19:33:00 2018 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EC98134CC4E for ; Mon, 24 Dec 2018 19:33:00 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EB9276A22B for ; Mon, 24 Dec 2018 19:32:59 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id AEF26134CC4D; Mon, 24 Dec 2018 19:32:59 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C54D134CC4C for ; Mon, 24 Dec 2018 19:32:59 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1421F6A22A for ; Mon, 24 Dec 2018 19:32:59 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x332.google.com with SMTP id n8so11383598otl.6 for ; Mon, 24 Dec 2018 11:32:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=79SzKKaQRZjsoBT9rZlCrBEhATZyFF+9ToAt5nVAuAo=; b=DHKYcOVqQB2xArKB5UgBeTg9rVXHIG+S8SlpJ1LzOUzUgvNAFSfDxK2Z5UTpWwzyzV NXIfVzkV4l+3zIqx8QDVdLfZ0h2zl0k/VUhcr3LtCzyYxO5Ri3nDIOGAYUe0TPikQkib Ha/U+Mz3Xvt5g13vfhm3KdI5N5vAiVucHypRntvoYA68vkWJiTNwgfSjoEFbMWJxH+jl BFWxrGL+gxsgsAPnEFLREZ/6O0Q92R8C+n97Fc+9NRsiWL33rCrdE4fRS5FVTxzk++sL 7ZCKSKgVLrEZNze2DbuH03g17sB8skVhc6meOTqD95GuXRlOC6RINihWjchhRzIvhw6M xjwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=79SzKKaQRZjsoBT9rZlCrBEhATZyFF+9ToAt5nVAuAo=; b=P74RokQALrEMRy92mX1JMG9krYFh8bTSjyP3+4ZzfMnJIT7zTybDPh8hHIOG5KcDpK x/Qy6OqaCCg8LYu+iTdqGeLLVTdageUpsxyO6YfuHwsp6QQYrUI4mL0H9Fq2Z50RWMaM bbGww83kMCJ/dlvA7WdJll5gTwey7OkH3lWzaDqRTkqrmoMI2tFkrmlU9csHFLXfL/qN ydtl6PjRxF472ClMyGP8Zmxpr9nUc37cHJfey5z66Zj3NR5eoDgpED3uomE8eqo+V3U/ 2cKB1v0oh+iED6iOr1pWX9ZoHO0lO8KQn+4s7PFMEqzcPuZv7nR2M4oKZHHOOR+hk30P 5FVg== X-Gm-Message-State: AJcUukcy0ZFYMsBAyDRFGvE8oumYPRw4gy3jZMKY3AkY/d5Y+1uTjr0E KcezeUekxa2inbduNtUMU+kmy7nLhOyqkgBOfbO+fylI X-Google-Smtp-Source: ALg8bN41KLXM/+3nQhk+0qTUiqYvpdDVD01y2dqH8bD8cSP9LjC/l/jEFL8V8UvyTU7GjGwZbzHGZ6o8UHjckX9jd38= X-Received: by 2002:a9d:6b82:: with SMTP id b2mr8919337otq.210.1545679977830; Mon, 24 Dec 2018 11:32:57 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Mon, 24 Dec 2018 11:32:41 -0800 Message-ID: Subject: Re: Something badly broken in python36? To: python@freebsd.org X-Rspamd-Queue-Id: 1421F6A22A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.985,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2018 19:33:00 -0000 On Mon, Dec 24, 2018 at 11:09 AM Kevin Oberman wrote: > Today I tried to reinstall meson and it failed to configure with an error > that appears to be in py36-setuptools. But, when I attempted to reinstall > that port, I get a similar error message. I am stumped. I have reinstalled > python36, but that made no difference and python36 is the only listed > dependency of py36-setuptools. > > I'm stumped and don't know python, so have no idea of how to deal with > this. > > I am running FreeBSD12-stable r342382 and have reinstalled all of my ports > after the upgrade. That all went fine, including py36-setuptools. > Here is the error I get: > Traceback (most recent call last): > File "setup.py", line 11, in > import setuptools > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/setuptools/__init__.py", > line 16, in > import setuptools.version > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/setuptools/version.py", > line 1, in > import pkg_resources > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 3126, in > @_call_aside > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 3110, in _call_aside > f(*args, **kwargs) > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 3139, in _initialize_master_working_set > working_set = WorkingSet._build_master() > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 572, in _build_master > ws = cls() > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 565, in __init__ > self.add_entry(entry) > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 621, in add_entry > for dist in find_distributions(entry, True): > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 1968, in find_on_path > for dist in factory(fullpath): > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 2038, in distributions_from_metadata > root, entry, metadata, precedence=DEVELOP_DIST, > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 2495, in from_location > py_version=py_version, platform=platform, **kw > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 2870, in _reload_version > md_version = _version_from_file(self._get_metadata(self.PKG_INFO)) > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 2459, in _version_from_file > line = next(iter(version_lines), '') > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 2649, in _get_metadata > for line in self.get_metadata_lines(name): > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 1414, in get_metadata_lines > return yield_lines(self.get_metadata(name)) > File > "/usr/ports/devel/py-setuptools/work-py36/setuptools-40.6.2/pkg_resources/__init__.py", > line 1411, in get_metadata > return value.decode('utf-8') if six.PY3 else value > UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfa in position 0: > invalid start byte > *** Error code 1 > > Stop. > > Any clues will be greatly appreciated! > I forgot to add (since this is tied to UTF-8): LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_COLLATE=C LC_TIME="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_ALL= -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 >