Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2019 23:05:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235901] Mk/Uses/python.mk should complain if there are unknown components in USE_PYTHON
Message-ID:  <bug-235901-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235901

            Bug ID: 235901
           Summary: Mk/Uses/python.mk should complain if there are unknown
                    components in USE_PYTHON
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: python@FreeBSD.org
          Reporter: tobik@freebsd.org
                CC: ports-bugs@FreeBSD.org

USES=3Dpython should complain if there are unknown components in
USE_PYTHON.  At the moment everything is just silently accepted.

For example

USE_PYTHON=3D     autoplist distutlls

is accepted, but it should be an error (distutlls should be distutils here)
since it doesn't really do anything

There is only a finite list of acceptable keywords for USE_PYTHON,
so it should be possible to check this and refuse the build if there
are unknown keywords in it.

--=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-235901-7788>