Date: Mon, 27 Jul 2020 11:16:19 +0900 From: KIRIYAMA Kazuhiko <kiri@truefc.org> To: Kevin Oberman <rkoberman@gmail.com> Cc: KIRIYAMA Kazuhiko <kiri@truefc.org>, Johan Hendriks <joh.hendriks@gmail.com>, FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: www/py-html5lib with FLAVOR=py27 failed to build Message-ID: <202007270216.06R2GJsh089876@kx.truefc.org> In-Reply-To: <CAN6yY1uxyKC7dbx9VsTrLD8Uft6yF=bzVAhCN-w4xkv%2B2qWAVQ@mail.gmail.com> References: <202007250617.06P6H4d1040934@kx.truefc.org> <d3e24d39-0c9c-28ec-2cfe-70d62d51b82c@gmail.com> <CAN6yY1tKH44p6VbTc=Gpxwj%2B8b%2BhRa6xVwtG3mA4GR2mfwMjXg@mail.gmail.com> <202007262141.06QLfaSS061647@kx.truefc.org> <CAN6yY1uxyKC7dbx9VsTrLD8Uft6yF=bzVAhCN-w4xkv%2B2qWAVQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Jul 2020 09:54:47 +0900, Kevin Oberman wrote: > > Still confused at why you are insisting on py27. py37-html5lib should work > fine. I use it. I don't insist on py27 but ports flamework does. I merely package-recursive in every port on ports tree in prune environment which has not /usr/local/*, any installed packages (before build `pkg delete -ayf') and clean WRKDIRPREFIX. > To be completely clear, python27 is approaching the end. While a few ports > still require it, I can't imagine any reason for leaving it as default. > It's time to bite the bullet and go to python. The transition is really > pretty trivial. Having py27 as default is simply getting totally unworkable. I'd set DEFAULT_VERSIONS=python=3.7 and tried to build packages before, but fail to build with confusion in every relavant py*- ports. Now, is there all right to set python=3.7 globally ? > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > > On Sun, Jul 26, 2020 at 2:41 PM KIRIYAMA Kazuhiko <kiri@truefc.org> wrote: > > > On Sun, 26 Jul 2020 06:51:07 +0900, > > Kevin Oberman wrote: > > > > > > 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. > > > > But still chromium-83.0.4103.116 wants py27-html5lib-1.0.1 > > and failed to build: > > > > /bin/mkdir -p > > /var/ports/work/usr/ports/misc/usbids/work/stage/usr/local/share/usbids/ > > install -m 0644 > > /var/ports/work/usr/ports/misc/usbids/work/usbids-8497c2c/usb.ids > > /var/ports/work/u > > sr/ports/misc/usbids/work/stage/usr/local/share/usbids/ > > ====> Compressing man pages (compress-man) > > ===> Installing for usbids-20200622 > > ===> Checking if usbids is already installed > > ===> Registering installation for usbids-20200622 as automatic > > Installing usbids-20200622... > > ===> chromium-83.0.4103.116 depends on file: > > /usr/local/share/usbids/usb.ids - found > > ===> Returning to build of chromium-83.0.4103.116 > > ===> chromium-83.0.4103.116 depends on package: py27-html5lib>0 - not > > found > > ===> Installing existing package > > /var/ports/packages/All/py27-html5lib-1.0.1.txz > > Installing py27-html5lib-1.0.1... > > `-- Installing py27-six-1.14.0... > > `-- Extracting py27-six-1.14.0: .......... done > > pkg-static: Missing dependency 'py27-webencodings' > > > > Failed to install the following 1 package(s): > > /var/ports/packages/All/py27-html5lib-1.0.1.txz > > ===== > > Message from py27-six-1.14.0: > > > > -- > > ===> NOTICE: > > > > This port is deprecated; you may wish to reconsider installing it: > > > > Uses Python 2.7 which is EOLed upstream. > > > > It is scheduled to be removed on or after 2020-12-31. > > *** Error code 70 > > > > Stop. > > make: stopped in /usr/ports/www/chromium > > > > > > Does it fix in r543430 ? > > > > --- > > Kazuhiko Kiriyama <kiri@truefc.org> > > > > > -- > > > Kevin Oberman, Part time kid herder and retired Network Engineer > > > E-mail: rkoberman@gmail.com > > > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > > _______________________________________________ > > > 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" > > > > > > _______________________________________________ > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007270216.06R2GJsh089876>