Date: Mon, 28 Aug 2017 04:25:32 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 220332] lang/python27,33,34,35: "cc: error: unsupported option '-print-multi-os-directory'" Message-ID: <bug-220332-21822-hkNsBr3Lj6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-220332-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-220332-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220332 Kubilay Kocak <koobs@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 <koobs@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 j= ust precede it (related to ncurses) and doesn't appear to impact the build or packaging.=20 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/update= s 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" =3D "xyes"; then [1] https://bugs.python.org/issue27979 [2] https://hg.python.org/cpython/file/3.6/Modules/_ctypes/libffi/configure.ac#= l594 --=20 You are receiving this mail because: You are the assignee for the bug. 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-220332-21822-hkNsBr3Lj6>