Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Nov 2017 08:52:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223357] sysutils/uefi-edk2-bhyve: build failure on python 3
Message-ID:  <bug-223357-13-xL91Xvgc3G@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223357-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223357-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223357

Charlie Li <ml+freebsd-bugs@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@vishwin.info> ---
Additionally, this port actually fails to build when DEFAULT_VERSIONS conta=
ins
python=3D3.x. Relevant snippet from build log:

gmake -C Tests
gmake[2]: Entering directory
'/wrkdirs/usr/ports/sysutils/uefi-edk2-bhyve/work/uefi-edk2-a36132939e259df=
79b16699c03c6f1d63c7454b9/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-a36132939e259df=
79b16699c03c6f1d63c7454b9/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-a36132939e259df=
79b16699c03c6f1d63c7454b9/BaseTools/Tests'
gmake[1]: *** [GNUmakefile:25: Tests] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/sysutils/uefi-edk2-bhyve/work/uefi-edk2-a36132939e259df=
79b16699c03c6f1d63c7454b9/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 t=
ree
contains python2-isms.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223357-13-xL91Xvgc3G>