From owner-freebsd-python@freebsd.org Mon Aug 28 04:25:32 2017 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3581E0544F for ; Mon, 28 Aug 2017 04:25:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8A02A68223 for ; Mon, 28 Aug 2017 04:25:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 863E5E0544E; Mon, 28 Aug 2017 04:25:32 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85C8BE0544D for ; Mon, 28 Aug 2017 04:25:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7367B68222 for ; Mon, 28 Aug 2017 04:25:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7S4PW4h032245 for ; Mon, 28 Aug 2017 04:25:32 GMT (envelope-from bugzilla-noreply@freebsd.org) 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'" Date: Mon, 28 Aug 2017 04:25:32 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status keywords short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 04:25:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220332 Kubilay Kocak 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 --- 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.=