Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-c-0.38.0
-
None
Description
https://github.com/apache/qpid-dispatch/runs/6027612292?check_suite_focus=true#step:14:709
creating build/temp.linux-x86_64-3.6/__w/qpid-dispatch/qpid-dispatch/qpid-proton/build/python/dist/src/sasl gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPROTON_DECLARE_STATIC -Ibuild/include -I/__w/qpid-dispatch/qpid-dispatch/qpid-proton/build/python/dist/include -I/__w/qpid-dispatch/qpid-dispatch/qpid-proton/build/python/dist/src -I/usr/include -I -I/usr/include/python3.6m -c /__w/qpid-dispatch/qpid-dispatch/qpid-proton/build/python/dist/src/core/util.c -o build/temp.linux-x86_64-3.6/__w/qpid-dispatch/qpid-dispatch/qpid-proton/build/python/dist/src/core/util.o /__w/qpid-dispatch/qpid-dispatch/qpid-proton/build/python/dist/src/core/util.c: In function 'pn_quote_data': /__w/qpid-dispatch/qpid-dispatch/qpid-proton/build/python/dist/src/core/util.c:40:3: error: 'for' loop initial declarations are only allowed in C99 mode for (unsigned i = 0; i < size; i++) ^ /__w/qpid-dispatch/qpid-dispatch/qpid-proton/build/python/dist/src/core/util.c:40:3: note: use option -std=c99 or -std=gnu99 to compile your code /__w/qpid-dispatch/qpid-dispatch/qpid-proton/build/python/dist/src/core/util.c: In function 'pn_strndup': /__w/qpid-dispatch/qpid-dispatch/qpid-proton/build/python/dist/src/core/util.c:131:5: error: 'for' loop initial declarations are only allowed in C99 mode for (const char *c = src; size < n && *c; c++) { ^ error: command 'gcc' failed with exit status 1 gmake[2]: *** [python/CMakeFiles/py_pkg_wheel] Error 1 gmake[2]: Leaving directory `/__w/qpid-dispatch/qpid-dispatch/qpid-proton/build' gmake[1]: Leaving directory `/__w/qpid-dispatch/qpid-dispatch/qpid-proton/build' gmake[1]: *** [python/CMakeFiles/py_pkg_wheel.dir/all] Error 2 gmake: *** [all] Error 2 Error: Process completed with exit code 2.
Attachments
Issue Links
- relates to
-
PROTON-2526 [Python] distutils will soon be removed from Python, we should stop using it
- Closed
-
PROTON-2527 Since we produce python packages and ruby gems there is no need to "install" anything if SYSINSTALL_BINDINGS is off
- Closed