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

Kubilay Kocak <ko...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Keywords|patch                       |needs-qa
            Summary|[PATCH] lang/python27: "cc: |lang/python27,33,34,35:
                   |error: unsupported option   |"cc: error: unsupported
                   |'-print-multi-os-directory' |option
                   |"                           |'-print-multi-os-directory'
                   |                            |"

--- Comment #2 from Kubilay Kocak <ko...@freebsd.org> ---
Thank you for your report.

1) The following bugs will be closed duplicates of this bug, given they
describe identical symptoms (and likely, conditions and causes):

- bug 220333 (lang/python33)
- bug 220334 (lang/python34)
- bug 220335 (lang/python35)

Pretty cool that the bug numbers match the port versions :)

2) Could you please move the patches from those issues into this one (with
obvious descriptions, eg "patch lang/pythonXY")

3) I can see both "cc: error:"'s in a default CURRENT environment having
disabled the LIBFFI options, as well as in a poudriere build (12amd64 jail).
However, it is not obvious that the error is related to the warnings that just
precede it (related to ncurses) and doesn't appear to impact the build or
packaging. 

It would be good to get a better idea of where and for what the compiler
invocation is failing, along with additional details about the system
configuration and the impact you are observing due to the error (if any),
including:

- Version of FreeBSD (uname -a)
- Contents of /etc/make.conf if relevant
- Compiler overrides used, if any
- Include a full build log (as an attachment)

4) Is this reproducible for lang/python36?

Additional Notes:

- Python < 3.7 bundles libffi, so accordingly does not receive fixes/updates as
often or as quickly. It was removed in 3.7 for this reason [1]

- The print-multi-os-directory block in Modules/_ctypes/libffi/configure.ac
appears (intended) to be scoped to GCC

 # These variables are only ever used when we cross-build to X86_WIN32.
 # And we only support this with GCC, so...
 if test "x$GCC" = "xyes"; then

[1] https://bugs.python.org/issue27979
[2]
https://hg.python.org/cpython/file/3.6/Modules/_ctypes/libffi/configure.ac#l594

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to