Page MenuHomeFreeBSD

lang/python35: Fix packaging on GCC architectures
ClosedPublic

Authored by pkubaj on Jun 27 2019, 11:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 1:58 AM
Unknown Object (File)
Tue, Nov 19, 6:18 AM
Unknown Object (File)
Fri, Nov 15, 9:18 AM
Unknown Object (File)
Sat, Nov 9, 8:14 PM
Unknown Object (File)
Tue, Nov 5, 9:58 AM
Unknown Object (File)
Oct 15 2024, 8:39 PM
Unknown Object (File)
Oct 14 2024, 10:38 PM
Unknown Object (File)
Oct 13 2024, 4:15 PM
Subscribers
None

Details

Summary

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

Set USE_CSTD=c99 to fix build.

PR: 238821

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 25077
Build 23782: arc lint + arc unit

Event Timeline

make sure the commit message contains every bit of information that was requested in the PR.

This revision is now accepted and ready to land.Jun 27 2019, 3:19 PM
This revision was automatically updated to reflect the committed changes.