Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2019 11:46:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 238821] lang/python35: Fix packaging on GCC architectures
Message-ID:  <bug-238821-21822-TcRKafw1Uq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238821-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238821-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=3D238821

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|python@FreeBSD.org          |pkubaj@FreeBSD.org

--- Comment #14 from Kubilay Kocak <koobs@FreeBSD.org> ---
lang/python35: Use -std=3Dc99

Python 3.5 is currently failing to build the pickle module on GCC-based
architectures, with the following (several) errors:

  error: 'for' loop initial declaration used outside C99 mode

This causes packaging to fail, as the pickle module filename changes on
failure to build, so the plist ends up incorrect

Python 3.6+ switched to using -std=3Dc99 [1][2], but the changes were not
backported to 3.5

[1] https://bugs.python.org/issue28017
[2] https://hg.python.org/cpython/rev/b5b2bb56d303
[3] https://hg.python.org/cpython/rev/91017e2202ae

PR: 238821
Reviewed by: koobs (python)
Approved by: koobs (python)
MFH: 2019Q2 (blanket: build fix)

--=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-238821-21822-TcRKafw1Uq>