Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2019 10:11:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 238724] textproc/asciidoc 8.6.10 requires python 2.7 in spite of make.conf DEFAULT_VERSIONS+=python=3.7
Message-ID:  <bug-238724-25139-7xIUdegID3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238724-25139@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238724-25139@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=3D238724

Alexey Dokuchaev <danfe@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danfe@FreeBSD.org

--- Comment #3 from Alexey Dokuchaev <danfe@FreeBSD.org> ---
> I was trying to get to was that I already have python 3.7.3 built and
> installed from ports and I do NOT want another version of python around.
If you try to build textproc/asciidoc with Python 3.x, you'd immediately no=
tice
this error:

> =3D=3D=3D>  Building for asciidoc-8.6.10_1
> gmake[2]: Entering directory '.../work/asciidoc-8.6.10'
> Fixing CONF_DIR in asciidoc.py
> Fixing CONF_DIR in a2x.py
> /usr/local/bin/python3.6 a2x.py -f manpage doc/a2x.1.txt
>   File "a2x.py", line 79
>     print '%s: %s' % (PROG,msg)
>                  ^
> SyntaxError: invalid syntax
The code is still using 2.x syntax (print statement) and thus cannot be bui=
lt
with new Python as is (without patching).  Feel free to craft a patch. :-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238724-25139-7xIUdegID3>