[Bug 252294] devel/py-colorama: build broken with python36

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 30 22:36:09 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252294

            Bug ID: 252294
           Summary: devel/py-colorama: build broken with python36
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: ygy at freebsd.org

The Update breaks the build with python36:

===>   Returning to build of py36-colorama-0.4.4
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for py36-colorama-0.4.4
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 36, in <module>
    long_description=read_file('README.rst'),
  File "setup.py", line 19, in read_file
    return fp.read()
  File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 852:
ordinal not in range(128)
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-colorama
=>> Cleaning up wrkdir
===>  Cleaning for py36-colorama-0.4.4
build of devel/py-colorama at py36 | py36-colorama-0.4.4 ended at Mon Nov 23
01:04:02 CET 2020
build time: 00:00:03
!!! build failure encountered !!!

This is due to an upstream (encoding) bug in the setup.py. A PR is open:
https://github.com/tartley/colorama/issues/291 and the issue will be fixed by
the next version.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list