Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2019 10:08:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 238821] lang/python35: fix packaging on GCC architectures
Message-ID:  <bug-238821-21822-fdpS41XwWc@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
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python mailing
list <python@FreeBSD.org> for maintainer-feedback:
Bug 238821: lang/python35: fix packaging on GCC architectures
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238821



--- Description ---
_pickle.so isn't build with base GCC by default:
/usr/local/poudriere/ports/default/lang/python35/work/Python-3.5.7/Modules/=
_pic
kle.c:
In function 'PyMemoTable_Copy':
/usr/local/poudriere/ports/default/lang/python35/work/Python-3.5.7/Modules/=
_pic
kle.c:677:
error: 'for' loop initial declaration used outside C99 mode
/usr/local/poudriere/ports/default/lang/python35/work/Python-3.5.7/Modules/=
_pic
kle.c:
In function '_pickle_PicklerMemoProxy_copy_impl':
/usr/local/poudriere/ports/default/lang/python35/work/Python-3.5.7/Modules/=
_pic
kle.c:4207:
error: 'for' loop initial declaration used outside C99 mode
/usr/local/poudriere/ports/default/lang/python35/work/Python-3.5.7/Modules/=
_pic
kle.c:
In function 'Unpickler_set_memo':
/usr/local/poudriere/ports/default/lang/python35/work/Python-3.5.7/Modules/=
_pic
kle.c:6794:
error: 'for' loop initial declaration used outside C99 mode
/usr/local/poudriere/ports/default/lang/python35/work/Python-3.5.7/Modules/=
_pic
kle.c:6842:
error: 'for' loop initial declaration used outside C99 mode

Set USE_CSTD=3Dc99 to fix build.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238821-21822-fdpS41XwWc>