Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Feb 2018 14:10:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225752] Mk/Uses/python.mk: remove deprecated "USES=python:2" and "USES=python:3"
Message-ID:  <bug-225752-13-e4ynLVxpNQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225752-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225752-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=3D225752

--- Comment #7 from Yasuhiro KIMURA <yasu@utahime.org> ---
(In reply to Mathieu Arnold from comment #1)
> I have not looked at the whole diff, but it feels like a very mechanical
> change. USES=3Dpython:2 installs other files than the python2 symlink,
> files that ports may need.  Have you tested that they all still build?

I tried test build of all affected ports with poudriere.

Ports tree: r461207 + proposed patch.
Host OS: 11.1-RELEASE amd64
Poudriere jail OS: 11.1-RELEASE amd64

Build logs are put at following URL.

http://www.utahime.org/FreeBSD/poudriere/data/logs/bulk/111amd64-git/2018-0=
2-08_20h41m06s/

Out of 457 target ports. 453 ports could be built successfully.

There 4 ports that couldn't be built.

1. databases/pgworksheet

Build of this port is skipped because databases/py-pyPgSQL, one of depending
port, is marked BROKEN.

2. math/hfst

Build of this port is ignored because it is marked BROKEN.

3. net/xorp
4. lang/v8-devel

Build of these ports failed at build phase. So I retried build of these por=
ts
without applying proposed patch and confirmed build still failed.

> Also, I do not think there is any need to bump PORTREVISION.

If 'USES=3Dpython:2" is changed into 'USES=3Dpython:2.7', then run-time dep=
endency
changes from lang/python2 to lang/python2.7. So I think bumping is necessar=
y.

> Also, do not completely remove the code from python.mk, you must change
> the DEV_WARNING to a DEV_ERROR.

OK. As for it I'll update my 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-225752-13-e4ynLVxpNQ>