Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2020 14:51:07 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Johan Hendriks <joh.hendriks@gmail.com>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: www/py-html5lib with FLAVOR=py27 failed to build
Message-ID:  <CAN6yY1tKH44p6VbTc=Gpxwj%2B8b%2BhRa6xVwtG3mA4GR2mfwMjXg@mail.gmail.com>
In-Reply-To: <d3e24d39-0c9c-28ec-2cfe-70d62d51b82c@gmail.com>
References:  <202007250617.06P6H4d1040934@kx.truefc.org> <d3e24d39-0c9c-28ec-2cfe-70d62d51b82c@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 25, 2020 at 7:40 AM Johan Hendriks <joh.hendriks@gmail.com> wro

>
> Op 25-07-2020 om 08:17 schreef KIRIYAMA Kazuhiko:
> > Hi, all
> >
> > www/py-html5lib with FLAVOR=py27 had failed to build:
> >
> > running build
> > running build_py
> > running install_lib
> > creating
> /var/ports/work/usr/ports/devel/py-pytest-runner/work-py27/stage/usr/local/lib/python2.7
> > creating
> /var/ports/work/usr/ports/devel/py-pytest-runner/work-py27/stage/usr/local/lib/python2.7/site-packages
> > copying build/lib/ptr.py ->
> /var/ports/work/usr/ports/devel/py-pytest-runner/work-py27/stage/usr/local/lib/python2.7/site-packages
> > byte-compiling
> /var/ports/work/usr/ports/devel/py-pytest-runner/work-py27/stage/usr/local/lib/python2.7/site-packages/ptr.py
> to ptr.pyc
> > writing byte-compilation script '/tmp/tmpw8WT4z.py'
> > /usr/local/bin/python2.7 -O /tmp/tmpw8WT4z.py
> > removing /tmp/tmpw8WT4z.py
> > running install_egg_info
> > running egg_info
> > writing pytest_runner.egg-info/PKG-INFO
> > writing namespace_packages to
> pytest_runner.egg-info/namespace_packages.txt
> > writing top-level names to pytest_runner.egg-info/top_level.txt
> > writing dependency_links to pytest_runner.egg-info/dependency_links.txt
> > writing entry points to pytest_runner.egg-info/entry_points.txt
> > reading manifest file 'pytest_runner.egg-info/SOURCES.txt'
> > writing manifest file 'pytest_runner.egg-info/SOURCES.txt'
> > Copying pytest_runner.egg-info to
> /var/ports/work/usr/ports/devel/py-pytest-runner/work-py27/stage/usr/local/lib/python2.7/site-packages/pytest_runner-2.11.1-py2.7.egg-info
> > running install_scripts
> > writing list of installed files to
> '/var/ports/work/usr/ports/devel/py-pytest-runner/work-py27/.PLIST.pymodtmp'
> > ====> Compressing man pages (compress-man)
> > ===>  Building package for py27-pytest-runner-2.11.1
> > ===>  py27-hypothesis-5.19.0 Unknown flavor 'py27', possible flavors:
> py37.
> > *** Error code 1
> >
> > Stop.
> > make[1]: stopped in /usr/ports/devel/py-hypothesis
> > *** Error code 1
> >
> > Stop.
> > make: stopped in /usr/ports/www/py-html5lib
> >
> > In devel/py-hypothesis/Makefile, USES=python:3.6+
> > specified. Which wrong to depend devel/py-hypothesis to
> > py27-hypothesis or to do not correspond devel/py-hypothesis
> > to py27 ?
> >
> > root@jdtpkxb:~ # svnlite info /usr/ports
> > Path: /usr/ports
> > Working Copy Root Path: /usr/ports
> > URL: http://svn.freebsd.org/ports/head
> > Relative URL: ^/head
> > Repository Root: http://svn.freebsd.org/ports
> > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> > Revision: 542063
> > Node Kind: directory
> > Schedule: normal
> > Last Changed Author: glewis
> > Last Changed Rev: 542063
> > Last Changed Date: 2020-07-12 11:13:27 +0900 (Sun, 12 Jul 2020)
> >
> > root@jdtpkxb:~ # uname -a
> > FreeBSD jdtpkxb 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r363381M: Thu Jul
> 23 22:48:19 JST 2020     root@msrvkxb:/usr/obj/usr/src/amd64.amd64/sys/XIJ
> amd64
> > root@jdtpkxb:~ #
> >
> > Regards
> > _______________________________________________
> > freebsd-ports@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
> >
> >
> Python2.7 has been removed from the ports tree.
> The error message you get verify's that.
>
> py27-hypothesis-5.19.0 Unknown flavor 'py27', possible flavors: py37.
>
> So you need to update your ports to the python 3.7 flavor.
>

Ahh, no. Both python2 and python27 are very much alive, if not well.
python27 will live until the end of the year. The problems that the latest
version of py-hypothesis no longer builds for python-2.7. You really need
to change your default python version to 3.7 and update a lot of ports that
currently depend on python-2.7.  As time passes, more and more stuff will
lose 2.7 compatibility.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tKH44p6VbTc=Gpxwj%2B8b%2BhRa6xVwtG3mA4GR2mfwMjXg>