This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ux
Recipients ux
Date 2021-09-16.14:56:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631804203.7.0.524724045399.issue45221@roundup.psfhosted.org>
In-reply-to
Content
Hi,

Since 3.8 (included), the following build command fails:

    LDFLAGS=-headerpad_max_install_names ./configure
    make

With the following error:

    setup.py: error: argument -h/--help: ignored explicit argument 'eaderpad_max_install_names'


A quick hack in setup.py "fixes" the issue:

-                options, _ = parser.parse_known_args(env_val.split())
+                options, _ = parser.parse_known_args([x for x in env_val.split() if not x.startswith('-h')])

Another workaround as a user is to do use `LDFLAGS=-Wl,-headerpad_max_install_names`.
History
Date User Action Args
2021-09-16 14:56:43uxsetrecipients: + ux
2021-09-16 14:56:43uxsetmessageid: <1631804203.7.0.524724045399.issue45221@roundup.psfhosted.org>
2021-09-16 14:56:43uxlinkissue45221 messages
2021-09-16 14:56:43uxcreate