[Bug 238821] lang/python35: Use -std=c99

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 1 07:09:31 UTC 2019


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

--- Comment #20 from commit-hook at freebsd.org ---
A commit references this bug:

Author: koobs
Date: Mon Jul  1 07:08:36 UTC 2019
New revision: 505546
URL: https://svnweb.freebsd.org/changeset/ports/505546

Log:
  MFH: r505210 lang/python35: Use -std=c99

  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=c99 [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), mat (mentor)
  Differential Revision:  https://reviews.freebsd.org/D20778

  Approved by:  ports-secteam (blanket: build fix)

Changes:
_U  branches/2019Q2/
  branches/2019Q2/lang/python35/Makefile

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list