Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
proton-c-0.37.0
-
None
-
None
Description
This is a weird fluke. Upon rerun, the code compiled fine,
The compilation issue was
[ 31%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/error.c.o cd /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c && /usr/bin/gcc -Dqpid_proton_core_EXPORTS -I/builddir/build/BUILD/qpid-proton-0.37.0/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/c/src -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=deprecated-declarations -fvisibility=hidden -O2 -g -DNDEBUG -flto -fno-fat-lto-objects -fPIC -flto -fno-fat-lto-objects -std=c99 -Werror -Wall -pedantic-errors -Wno-unused-parameter -Wstrict-prototypes -Wvla -Wsign-compare -Wwrite-strings -MD -MT c/CMakeFiles/qpid-proton-core-objects.dir/src/core/error.c.o -MF CMakeFiles/qpid-proton-core-objects.dir/src/core/error.c.o.d -o CMakeFiles/qpid-proton-core-objects.dir/src/core/error.c.o -c /builddir/build/BUILD/qpid-proton-0.37.0/c/src/core/error.c In file included from /builddir/build/BUILD/qpid-proton-0.37.0/c/src/core/value_dump.c:27: /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src/protocol.h:359:44: error: 'size' undeclared here (not in a function); did you mean 'size_t'? 359 | const char FIELD_STRINGS_delivery_failed[size const char FIELD_STRIN const char FIELD_STRINGS_to[sizeof("to")]; | ^~~~ | size_t /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src/protocol.h:359:48: error: expected ']' before 'const' 359 | const char FIELD_STRINGS_delivery_failed[size const char FIELD_STRIN const char FIELD_STRINGS_to[sizeof("to")]; | ^ ~~~~~ | ] /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src/protocol.h:362:1: error: expected specifier-qualifier-list before 'extern' 362 | extern const struct FIELD_STRINGS FIELD_STRINGPOOL; | ^~~~~~ [ 32%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/buffer.c.o cd /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c && /usr/bin/gcc -Dqpid_proton_core_EXPORTS -I/builddir/build/BUILD/qpid-proton-0.37.0/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/c/src -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=deprecated-declarations -fvisibility=hidden -O2 -g -DNDEBUG -flto -fno-fat-lto-objects -fPIC -flto -fno-fat-lto-objects -std=c99 -Werror -Wall -pedantic-errors -Wno-unused-parameter -Wstrict-prototypes -Wvla -Wsign-compare -Wwrite-strings -MD -MT c/CMakeFiles/qpid-proton-core-objects.dir/src/core/buffer.c.o -MF CMakeFiles/qpid-proton-core-objects.dir/src/core/buffer.c.o.d -o CMakeFiles/qpid-proton-core-objects.dir/src/core/buffer.c.o -c /builddir/build/BUILD/qpid-proton-0.37.0/c/src/core/buffer.c gmake[2]: *** [c/CMakeFiles/qpid-proton-core-static.dir/build.make:296: c/CMakeFiles/qpid-proton-core-static.dir/src/core/value_dump.c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:322: c/CMakeFiles/qpid-proton-core-static.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [ 33%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/types.c.o cd /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c && /usr/bin/gcc -Dqpid_proton_core_EXPORTS -I/builddir/build/BUILD/qpid-proton-0.37.0/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/c/src -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=deprecated-declarations -fvisibility=hidden -O2 -g -DNDEBUG -flto -fno-fat-lto-objects -fPIC -flto -fno-fat-lto-objects -std=c99 -Werror -Wall -pedantic-errors -Wno-unused-parameter -Wstrict-prototypes -Wvla -Wsign-compare -Wwrite-strings -MD -MT c/CMakeFiles/qpid-proton-core-objects.dir/src/core/types.c.o -MF CMakeFiles/qpid-proton-core-objects.dir/src/core/types.c.o.d -o CMakeFiles/qpid-proton-core-objects.dir/src/core/types.c.o -c /builddir/build/BUILD/qpid-proton-0.37.0/c/src/core/types.c [ 33%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/framing.c.o cd /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c && /usr/bin/gcc -Dqpid_proton_core_EXPORTS -I/builddir/build/BUILD/qpid-proton-0.37.0/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/c/src -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=deprecated-declarations -fvisibility=hidden -O2 -g -DNDEBUG -flto -fno-fat-lto-objects -fPIC -flto -fno-fat-lto-objects -std=c99 -Werror -Wall -pedantic-errors -Wno-unused-parameter -Wstrict-prototypes -Wvla -Wsign-compare -Wwrite-strings -MD -MT c/CMakeFiles/qpid-proton-core-objects.dir/src/core/framing.c.o -MF CMakeFiles/qpid-proton-core-objects.dir/src/core/framing.c.o.d -o CMakeFiles/qpid-proton-core-objects.dir/src/core/framing.c.o -c /builddir/build/BUILD/qpid-proton-0.37.0/c/src/core/framing.c [ 34%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/value_dump.c.o cd /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c && /usr/bin/gcc -Dqpid_proton_core_EXPORTS -I/builddir/build/BUILD/qpid-proton-0.37.0/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/c/src -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=deprecated-declarations -fvisibility=hidden -O2 -g -DNDEBUG -flto -fno-fat-lto-objects -fPIC -flto -fno-fat-lto-objects -std=c99 -Werror -Wall -pedantic-errors -Wno-unused-parameter -Wstrict-prototypes -Wvla -Wsign-compare -Wwrite-strings -MD -MT c/CMakeFiles/qpid-proton-core-objects.dir/src/core/value_dump.c.o -MF CMakeFiles/qpid-proton-core-objects.dir/src/core/value_dump.c.o.d -o CMakeFiles/qpid-proton-core-objects.dir/src/core/value_dump.c.o -c /builddir/build/BUILD/qpid-proton-0.37.0/c/src/core/value_dump.c [ 35%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/codec.c.o cd /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c && /usr/bin/gcc -Dqpid_proton_core_EXPORTS -I/builddir/build/BUILD/qpid-proton-0.37.0/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/c/src -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=deprecated-declarations -fvisibility=hidden -O2 -g -DNDEBUG -flto -fno-fat-lto-objects -fPIC -flto -fno-fat-lto-objects -std=c99 -Werror -Wall -pedantic-errors -Wno-unused-parameter -Wstrict-prototypes -Wvla -Wsign-compare -Wwrite-strings -MD -MT c/CMakeFiles/qpid-proton-core-objects.dir/src/core/codec.c.o -MF CMakeFiles/qpid-proton-core-objects.dir/src/core/codec.c.o.d -o CMakeFiles/qpid-proton-core-objects.dir/src/core/codec.c.o -c /builddir/build/BUILD/qpid-proton-0.37.0/c/src/core/codec.c In file included from /builddir/build/BUILD/qpid-proton-0.37.0/c/src/core/value_dump.c:27: /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src/protocol.h:359:44: error: 'size' undeclared here (not in a function); did you mean 'size_t'? 359 | const char FIELD_STRINGS_delivery_failed[size const char FIELD_STRIN const char FIELD_STRINGS_to[sizeof("to")]; | ^~~~ | size_t /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src/protocol.h:359:48: error: expected ']' before 'const' 359 | const char FIELD_STRINGS_delivery_failed[size const char FIELD_STRIN const char FIELD_STRINGS_to[sizeof("to")]; | ^ ~~~~~ | ] /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src/protocol.h:362:1: error: expected specifier-qualifier-list before 'extern' 362 | extern const struct FIELD_STRINGS FIELD_STRINGPOOL; | ^~~~~~ gmake[2]: *** [c/CMakeFiles/qpid-proton-core-objects.dir/build.make:296: c/CMakeFiles/qpid-proton-core-objects.dir/src/core/value_dump.c.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... [ 35%] Building C object c/CMakeFiles/qpid-proton-core-objects.dir/src/core/decoder.c.o cd /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c && /usr/bin/gcc -Dqpid_proton_core_EXPORTS -I/builddir/build/BUILD/qpid-proton-0.37.0/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/c/src -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/include -I/builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-error=deprecated-declarations -fvisibility=hidden -O2 -g -DNDEBUG -flto -fno-fat-lto-objects -fPIC -flto -fno-fat-lto-objects -std=c99 -Werror -Wall -pedantic-errors -Wno-unused-parameter -Wstrict-prototypes -Wvla -Wsign-compare -Wwrite-strings -MD -MT c/CMakeFiles/qpid-proton-core-objects.dir/src/core/decoder.c.o -MF CMakeFiles/qpid-proton-core-objects.dir/src/core/decoder.c.o.d -o CMakeFiles/qpid-proton-core-objects.dir/src/core/decoder.c.o -c /builddir/build/BUILD/qpid-proton-0.37.0/c/src/core/decoder.c In file included from /builddir/build/BUILD/qpid-proton-0.37.0/c/src/core/codec.c:33: /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src/protocol.h:359:44: error: 'size' undeclared here (not in a function); did you mean 'size_t'? 359 | const char FIELD_STRINGS_delivery_failed[size const char FIELD_STRIN const char FIELD_STRINGS_to[sizeof("to")]; | ^~~~ | size_t /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src/protocol.h:359:48: error: expected ']' before 'const' 359 | const char FIELD_STRINGS_delivery_failed[size const char FIELD_STRIN const char FIELD_STRINGS_to[sizeof("to")]; | ^ ~~~~~ | ] /builddir/build/BUILD/qpid-proton-0.37.0/redhat-linux-build/c/src/protocol.h:362:1: error: expected specifier-qualifier-list before 'extern' 362 | extern const struct FIELD_STRINGS FIELD_STRINGPOOL; | ^~~~~~ gmake[2]: *** [c/CMakeFiles/qpid-proton-core-objects.dir/build.make:310: c/CMakeFiles/qpid-proton-core-objects.dir/src/core/codec.c.o] Error 1