[Bug 243937] lang/python38: really disable tkinter, sqlite3, gdbm modules (fixes check-plist)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 6 19:28:23 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243937

            Bug ID: 243937
           Summary: lang/python38: really disable tkinter, sqlite3, gdbm
                    modules (fixes check-plist)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python at FreeBSD.org
          Reporter: jcfyecrayz at liamekaens.com
             Flags: maintainer-feedback?(python at FreeBSD.org)
          Assignee: python at FreeBSD.org

Created attachment 211420
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211420&action=edit
[patch] fix broken disable modules (v0)

make check-plist gives errors for lang/python38 ...


====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: lib/python%%XYDOT%%/lib-dynload/_gdbm.so
Error: Orphaned: lib/python%%XYDOT%%/lib-dynload/_sqlite3.so
Error: Orphaned: lib/python%%XYDOT%%/lib-dynload/_tkinter.so
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1


The attached patch fixes the check-plist error (and avoids building the modules
saving a bit of build time) by using Modules/Setup.

See also https://bugs.python.org/issue20210

The fix could also be applied to python37 (and then we could remove the
files/patch-issue20210 and DISABLED_EXTENSIONS in Makefile).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list