|Summary:||[NEW PORT] lang/python38|
|Product:||Ports & Packages||Reporter:||Wen Heping <wen>|
|Component:||Individual Port(s)||Assignee:||Wen Heping <wen>|
|Status:||In Progress ---|
|Severity:||Affects Only Me||CC:||jcfyecrayz, python, thierry|
|Priority:||---||Keywords:||feature, needs-patch, needs-qa|
Description Wen Heping 2019-10-22 15:10:00 UTC
Created attachment 208509 [details] repocopy python37-->python38 Repocopy lang/python37 --> lang/python38 and update to 3.8.0
Comment 1 Kubilay Kocak 2019-10-23 02:16:18 UTC
Need to integrate this with https://reviews.freebsd.org/D19822
Comment 2 Dmitry Marakasov 2019-10-24 18:26:46 UTC
> Need to integrate this with https://reviews.freebsd.org/D19822 Umm, why? This patch supersedes that review completely, it could just be dropped.
Comment 3 Kubilay Kocak 2019-10-25 05:08:28 UTC
"if / where necessary" I didn't review each patchset
Comment 4 Daniel Engberg 2019-10-28 07:46:07 UTC
Any reason why --enable-optimizations isn't used?
Comment 5 Dmitry Marakasov 2019-10-31 19:01:45 UTC
I've tested it with some ports and it works great. Anything delaying the commit?
Comment 6 Kubilay Kocak 2019-11-01 02:06:28 UTC
Review, confirmation of QA & python@ approval on attachment 208509 [details] as is normal
Comment 7 commit-hook 2019-11-02 23:41:12 UTC
A commit references this bug: Author: wen Date: Sat Nov 2 23:40:42 UTC 2019 New revision: 516377 URL: https://svnweb.freebsd.org/changeset/ports/516377 Log: - Repocopy lang/python37 --> python38 and update to 3.8.0 PR: 241416 Submitted by: wen@(myself) Reviewed by: koobs@, amdmi3@ Changes: head/Mk/Uses/python.mk head/Mk/bsd.default-versions.mk head/lang/Makefile head/lang/python-doc-html/distinfo head/lang/python38/ head/lang/python38/Makefile head/lang/python38/Makefile.version head/lang/python38/distinfo head/lang/python38/files/patch-Makefile.pre.in head/lang/python38/files/patch-issue20210 head/lang/python38/pkg-plist
Comment 8 Kubilay Kocak 2019-11-03 01:59:09 UTC
(In reply to commit-hook from comment #7) Note: I didn't review this, and still have questions for understanding the removal of files/patch-Makefile.pre.in
Comment 9 Wen Heping 2019-11-03 02:35:18 UTC
(In reply to Kubilay Kocak from comment #8) Sorry for add you to reviewer. But files/patch-Makefile.pre.in had not been removed. wen
Comment 10 Antoine Brodin 2019-11-03 07:26:34 UTC
There are problems: - _sqlite3 _tkinter _gdbm are no longer disabled - with DEBUG turned on it fails to package
Comment 11 Wen Heping 2019-11-03 08:22:16 UTC
(In reply to Antoine Brodin from comment #10) Thank you ! I shall fix it later. wen
Comment 12 Kubilay Kocak 2019-11-03 09:03:57 UTC
(In reply to Wen Heping from comment #9) Apologies, I meant files/patch-Makefile.pre.in *modification*, with removal of the block that creates symlinks for non-ABI-suffixed files: # Description: Create symlinks for non-ABI-suffixed python*-config and ABI-suffixed python-*.pc # Submitted by: antoine@ (r358029) # TODO: Upstream Diff: https://svnweb.freebsd.org/ports/head/lang/python38/files/patch-Makefile.pre.in?r1=516377&r2=516375&pathrev=516377
Comment 13 Wen Heping 2019-11-03 09:15:46 UTC
(In reply to Kubilay Kocak from comment #12) Thank you again! The removal of the patch(files/patch-Makefile.pre.in modification) which creatd by antoine@ will result in package error, I shall re-test it later. wen
Comment 14 John Hein 2020-02-07 11:20:58 UTC
(In reply to Antoine Brodin from comment #10) See bug 243937 for a fix for disabling extensions.
Comment 15 Thierry Thomas 2021-05-16 16:52:34 UTC
Upgrading Python to 3.8.10 as a port in developer mode displays the following errors: ====> Running Q/A tests (stage-qa) Error: /usr/local/lib/python3.8/lib-dynload/_gdbm.cpython-38.so is linked to /usr/local/lib/libgdbm.so.6 from databases/gdbm but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libgdbm.so:databases/gdbm Error: /usr/local/lib/python3.8/lib-dynload/_sqlite3.cpython-38.so is linked to /usr/local/lib/libsqlite3.so.0 from databases/sqlite3 but it is not declared as a dependency Warning: you need USES+=sqlite Error: /usr/local/lib/python3.8/lib-dynload/_tkinter.cpython-38_failed.so is linked to /usr/local/lib/libtk86.so.1 from x11-toolkits/tk86 but it is not declared as a dependency Warning: you need USES+=tk Error: /usr/local/lib/python3.8/lib-dynload/_tkinter.cpython-38_failed.so is linked to /usr/local/lib/libtcl86.so.1 from lang/tcl86 but it is not declared as a dependency Warning: you need USES+=tcl Error: /usr/local/lib/python3.8/lib-dynload/_tkinter.cpython-38_failed.so is linked to /usr/local/lib/libX11.so.6 from x11/libX11 but it is not declared as a dependency Warning: you need USE_XORG+=x11 readelf: Not an ELF file. Warning: /usr/ports/lang/python38/work/stage/usr/local/lib/libpython3.8.so.1.0-gdb.py doesn't have a SONAME. Warning: pkg(8) will not register it as being provided by the port. Warning: If another port depend on it, pkg will not be able to know where it comes from. Warning: It is directly in /usr/local/lib, it is probably used by other ports. That means that python3.8 from the port and python3.87 from a package might be different.