[Bug 223357] sysutils/uefi-edk2-bhyve: build failure on python 3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 1 08:52:51 UTC 2017


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

Charlie Li <ml+freebsd-bugs at vishwin.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|sysutils/uefi-edk2-bhyve:   |sysutils/uefi-edk2-bhyve:
                   |explicitly specify python 2 |build failure on python 3
                   |for build                   |

--- Comment #1 from Charlie Li <ml+freebsd-bugs at vishwin.info> ---
Additionally, this port actually fails to build when DEFAULT_VERSIONS contains
python=3.x. Relevant snippet from build log:

gmake -C Tests
gmake[2]: Entering directory
'/wrkdirs/usr/ports/sysutils/uefi-edk2-bhyve/work/uefi-edk2-a36132939e259df79b16699c03c6f1d63c7454b9/BaseTools/Tests'
Traceback (most recent call last):
  File "RunTests.py", line 22, in <module>
    import TestTools
  File
"/wrkdirs/usr/ports/sysutils/uefi-edk2-bhyve/work/uefi-edk2-a36132939e259df79b16699c03c6f1d63c7454b9/BaseTools/Tests/TestTools.py",
line 87
    print description, '(base64 encoded):'
                    ^
SyntaxError: invalid syntax
gmake[2]: *** [GNUmakefile:17: test] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/sysutils/uefi-edk2-bhyve/work/uefi-edk2-a36132939e259df79b16699c03c6f1d63c7454b9/BaseTools/Tests'
gmake[1]: *** [GNUmakefile:25: Tests] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/sysutils/uefi-edk2-bhyve/work/uefi-edk2-a36132939e259df79b16699c03c6f1d63c7454b9/BaseTools'
*** Error code 2

Stop.
make: stopped in /usr/ports/sysutils/uefi-edk2-bhyve

I would patch this file, but there is no telling where else in the source tree
contains python2-isms.

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


More information about the freebsd-ports-bugs mailing list