www/py-html5lib with FLAVOR=py27 failed to build

Johan Hendriks joh.hendriks at gmail.com
Sat Jul 25 14:40:32 UTC 2020


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 at 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 at jdtpkxb:~ # uname -a
> FreeBSD jdtpkxb 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r363381M: Thu Jul 23 22:48:19 JST 2020     root at msrvkxb:/usr/obj/usr/src/amd64.amd64/sys/XIJ  amd64
> root at jdtpkxb:~ #
>
> Regards
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at 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.



More information about the freebsd-ports mailing list