[jira] [Commented] (DISPATCH-2009) Cannot build on fedora F34

2021-03-24 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17307725#comment-17307725
 ] 

ASF subversion and git services commented on DISPATCH-2009:
---

Commit fdf834f15c39da4544e0bb2d7a6ea7c08d22fd63 in qpid-dispatch's branch 
refs/heads/master from Jiri Daněk
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=fdf834f ]

DISPATCH-2009 Fix printf format specifier for size_t in buffer_test.c (#1083)



> Cannot build on fedora F34
> --
>
> Key: DISPATCH-2009
> URL: https://issues.apache.org/jira/browse/DISPATCH-2009
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Protocol Adaptors
>Affects Versions: 1.15.0
> Environment: Fedora 34, 
> [armv7h|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057005] and 
> [i686|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057006] arches
>Reporter: Irina Boverman
>Priority: Major
>
> build is broken on 
> [armv7hl|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057005] and 
> [i686|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057006] arches:
> –
> [ 5%] Building C object 
> src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o
>  cd /builddir/build/BUILD/qpid-dispatch-1.15.0/src && /usr/bin/gcc 
> -Dqpid_dispatch_EXPORTS -I/builddir/build/BUILD/qpid-dispatch-1.15.0/include 
> -I/usr/include/python3.9 -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src 
> -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src/router_core -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 -march=armv7-a -mfpu=vfpv3-d16 
> -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -std=gnu99 -O2 -g 
> -DNDEBUG -fPIC -Werror -Wall -Wpedantic -o 
> CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o -c 
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: 
> In function '_create_client_connection':
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:149:29:
>  error: assignment to 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t 
> *, size_t, _Bool)' {aka 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t 
> *, unsigned int, _Bool)'} from incompatible pointer type 'int 
> (*)(h1_codec_request_state_t *, qd_buffer_list_t *, uintmax_t, _Bool)' {aka 
> 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t *, long long unsigned 
> int, _Bool)'} [-Werror=incompatible-pointer-types]
>  149 | config.rx_body = _client_rx_body_cb;
> |^
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: 
> At top level:
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:848:12:
>  error: conflicting types for '_client_rx_body_cb'; have 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, size_t, _Bool)' \{aka 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, unsigned int, _Bool)'}
>  848|static int _client_rx_body_cb(h1_codec_request_state_t *hrs, 
> qd_buffer_list_t *body, size_t len,|
> |^~
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12:
>  note: previous declaration of '_client_rx_body_cb' with type 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, uintmax_t, _Bool)' \{aka 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, long long unsigned int, 
> _Bool)'}
>  109|static int _client_rx_body_cb(h1_codec_request_state_t *lib_rs, 
> qd_buffer_list_t *body, uintmax_t len, bool more);|
> |^~
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12:
>  error: '_client_rx_body_cb' used but never defined [-Werror]
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:848:12:
>  error: '_client_rx_body_cb' defined but not used [-Werror=unused-function]
>  848|static int _client_rx_body_cb(h1_codec_request_state_t *hrs, 
> qd_buffer_list_t *body, size_t len,|
> |^~
>  cc1: all warnings being treated as errors|
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-2009) Cannot build on fedora F34

2021-03-24 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17307726#comment-17307726
 ] 

ASF GitHub Bot commented on DISPATCH-2009:
--

jiridanek merged pull request #1083:
URL: https://github.com/apache/qpid-dispatch/pull/1083


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Cannot build on fedora F34
> --
>
> Key: DISPATCH-2009
> URL: https://issues.apache.org/jira/browse/DISPATCH-2009
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Protocol Adaptors
>Affects Versions: 1.15.0
> Environment: Fedora 34, 
> [armv7h|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057005] and 
> [i686|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057006] arches
>Reporter: Irina Boverman
>Priority: Major
>
> build is broken on 
> [armv7hl|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057005] and 
> [i686|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057006] arches:
> –
> [ 5%] Building C object 
> src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o
>  cd /builddir/build/BUILD/qpid-dispatch-1.15.0/src && /usr/bin/gcc 
> -Dqpid_dispatch_EXPORTS -I/builddir/build/BUILD/qpid-dispatch-1.15.0/include 
> -I/usr/include/python3.9 -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src 
> -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src/router_core -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 -march=armv7-a -mfpu=vfpv3-d16 
> -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -std=gnu99 -O2 -g 
> -DNDEBUG -fPIC -Werror -Wall -Wpedantic -o 
> CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o -c 
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: 
> In function '_create_client_connection':
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:149:29:
>  error: assignment to 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t 
> *, size_t, _Bool)' {aka 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t 
> *, unsigned int, _Bool)'} from incompatible pointer type 'int 
> (*)(h1_codec_request_state_t *, qd_buffer_list_t *, uintmax_t, _Bool)' {aka 
> 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t *, long long unsigned 
> int, _Bool)'} [-Werror=incompatible-pointer-types]
>  149 | config.rx_body = _client_rx_body_cb;
> |^
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: 
> At top level:
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:848:12:
>  error: conflicting types for '_client_rx_body_cb'; have 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, size_t, _Bool)' \{aka 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, unsigned int, _Bool)'}
>  848|static int _client_rx_body_cb(h1_codec_request_state_t *hrs, 
> qd_buffer_list_t *body, size_t len,|
> |^~
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12:
>  note: previous declaration of '_client_rx_body_cb' with type 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, uintmax_t, _Bool)' \{aka 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, long long unsigned int, 
> _Bool)'}
>  109|static int _client_rx_body_cb(h1_codec_request_state_t *lib_rs, 
> qd_buffer_list_t *body, uintmax_t len, bool more);|
> |^~
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12:
>  error: '_client_rx_body_cb' used but never defined [-Werror]
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:848:12:
>  error: '_client_rx_body_cb' defined but not used [-Werror=unused-function]
>  848|static int _client_rx_body_cb(h1_codec_request_state_t *hrs, 
> qd_buffer_list_t *body, size_t len,|
> |^~
>  cc1: all warnings being treated as errors|
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-2009) Cannot build on fedora F34

2021-03-22 Thread Jira


[ 
https://issues.apache.org/jira/browse/DISPATCH-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17306211#comment-17306211
 ] 

Jiri Daněk commented on DISPATCH-2009:
--

[~iboverma] https://github.com/apache/qpid-dispatch/pull/1083.patch should fix 
this

> Cannot build on fedora F34
> --
>
> Key: DISPATCH-2009
> URL: https://issues.apache.org/jira/browse/DISPATCH-2009
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Protocol Adaptors
>Affects Versions: 1.15.0
> Environment: Fedora 34, 
> [armv7h|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057005] and 
> [i686|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057006] arches
>Reporter: Irina Boverman
>Priority: Major
>
> build is broken on 
> [armv7hl|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057005] and 
> [i686|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057006] arches:
> –
> [ 5%] Building C object 
> src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o
>  cd /builddir/build/BUILD/qpid-dispatch-1.15.0/src && /usr/bin/gcc 
> -Dqpid_dispatch_EXPORTS -I/builddir/build/BUILD/qpid-dispatch-1.15.0/include 
> -I/usr/include/python3.9 -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src 
> -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src/router_core -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 -march=armv7-a -mfpu=vfpv3-d16 
> -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -std=gnu99 -O2 -g 
> -DNDEBUG -fPIC -Werror -Wall -Wpedantic -o 
> CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o -c 
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: 
> In function '_create_client_connection':
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:149:29:
>  error: assignment to 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t 
> *, size_t, _Bool)' {aka 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t 
> *, unsigned int, _Bool)'} from incompatible pointer type 'int 
> (*)(h1_codec_request_state_t *, qd_buffer_list_t *, uintmax_t, _Bool)' {aka 
> 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t *, long long unsigned 
> int, _Bool)'} [-Werror=incompatible-pointer-types]
>  149 | config.rx_body = _client_rx_body_cb;
> |^
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: 
> At top level:
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:848:12:
>  error: conflicting types for '_client_rx_body_cb'; have 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, size_t, _Bool)' \{aka 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, unsigned int, _Bool)'}
>  848|static int _client_rx_body_cb(h1_codec_request_state_t *hrs, 
> qd_buffer_list_t *body, size_t len,|
> |^~
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12:
>  note: previous declaration of '_client_rx_body_cb' with type 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, uintmax_t, _Bool)' \{aka 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, long long unsigned int, 
> _Bool)'}
>  109|static int _client_rx_body_cb(h1_codec_request_state_t *lib_rs, 
> qd_buffer_list_t *body, uintmax_t len, bool more);|
> |^~
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12:
>  error: '_client_rx_body_cb' used but never defined [-Werror]
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:848:12:
>  error: '_client_rx_body_cb' defined but not used [-Werror=unused-function]
>  848|static int _client_rx_body_cb(h1_codec_request_state_t *hrs, 
> qd_buffer_list_t *body, size_t len,|
> |^~
>  cc1: all warnings being treated as errors|
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-2009) Cannot build on fedora F34

2021-03-22 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17306208#comment-17306208
 ] 

ASF GitHub Bot commented on DISPATCH-2009:
--

jiridanek opened a new pull request #1083:
URL: https://github.com/apache/qpid-dispatch/pull/1083


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Cannot build on fedora F34
> --
>
> Key: DISPATCH-2009
> URL: https://issues.apache.org/jira/browse/DISPATCH-2009
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Protocol Adaptors
>Affects Versions: 1.15.0
> Environment: Fedora 34, 
> [armv7h|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057005] and 
> [i686|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057006] arches
>Reporter: Irina Boverman
>Priority: Major
>
> build is broken on 
> [armv7hl|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057005] and 
> [i686|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057006] arches:
> –
> [ 5%] Building C object 
> src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o
>  cd /builddir/build/BUILD/qpid-dispatch-1.15.0/src && /usr/bin/gcc 
> -Dqpid_dispatch_EXPORTS -I/builddir/build/BUILD/qpid-dispatch-1.15.0/include 
> -I/usr/include/python3.9 -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src 
> -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src/router_core -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 -march=armv7-a -mfpu=vfpv3-d16 
> -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -std=gnu99 -O2 -g 
> -DNDEBUG -fPIC -Werror -Wall -Wpedantic -o 
> CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o -c 
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: 
> In function '_create_client_connection':
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:149:29:
>  error: assignment to 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t 
> *, size_t, _Bool)' {aka 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t 
> *, unsigned int, _Bool)'} from incompatible pointer type 'int 
> (*)(h1_codec_request_state_t *, qd_buffer_list_t *, uintmax_t, _Bool)' {aka 
> 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t *, long long unsigned 
> int, _Bool)'} [-Werror=incompatible-pointer-types]
>  149 | config.rx_body = _client_rx_body_cb;
> |^
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: 
> At top level:
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:848:12:
>  error: conflicting types for '_client_rx_body_cb'; have 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, size_t, _Bool)' \{aka 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, unsigned int, _Bool)'}
>  848|static int _client_rx_body_cb(h1_codec_request_state_t *hrs, 
> qd_buffer_list_t *body, size_t len,|
> |^~
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12:
>  note: previous declaration of '_client_rx_body_cb' with type 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, uintmax_t, _Bool)' \{aka 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, long long unsigned int, 
> _Bool)'}
>  109|static int _client_rx_body_cb(h1_codec_request_state_t *lib_rs, 
> qd_buffer_list_t *body, uintmax_t len, bool more);|
> |^~
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12:
>  error: '_client_rx_body_cb' used but never defined [-Werror]
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:848:12:
>  error: '_client_rx_body_cb' defined but not used [-Werror=unused-function]
>  848|static int _client_rx_body_cb(h1_codec_request_state_t *hrs, 
> qd_buffer_list_t *body, size_t len,|
> |^~
>  cc1: all warnings being treated as errors|
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-2009) Cannot build on fedora F34

2021-03-22 Thread Irina Boverman (Jira)


[ 
https://issues.apache.org/jira/browse/DISPATCH-2009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17306189#comment-17306189
 ] 

Irina Boverman commented on DISPATCH-2009:
--

I applied a number of patches from master, and now only have 1 warning:

[ 81%] Building C object tests/CMakeFiles/unit_tests_size.dir/buffer_test.c.o
cd /builddir/build/BUILD/qpid-dispatch-1.15.0/tests && /usr/bin/gcc 
-I/builddir/build/BUILD/qpid-dispatch-1.15.0/include -I/usr/include/python3.9 
-I/builddir/build/BUILD/qpid-dispatch-1.15.0/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 -march=armv7-a -mfpu=vfpv3-d16 
-mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -std=gnu99 -O2 -g 
-DNDEBUG -Werror -Wall -Wpedantic -o 
CMakeFiles/unit_tests_size.dir/buffer_test.c.o -c 
/builddir/build/BUILD/qpid-dispatch-1.15.0/tests/buffer_test.c
/builddir/build/BUILD/qpid-dispatch-1.15.0/tests/buffer_test.c: In function 
'test_buffer_list_append':
/builddir/build/BUILD/qpid-dispatch-1.15.0/tests/buffer_test.c:116:62: error: 
format '%ld' expects argument of type 'long int', but argument 3 has type 
'size_t' \{aka 'unsigned int'} [-Werror=format=]
 116 | sprintf(error, "Incorrect accumulated buffer size: %ld", list_len);
 | ~~^ 
 | | |
 | | size_t \{aka unsigned int}
 | long int
 | %d
cc1: all warnings being treated as errors

> Cannot build on fedora F34
> --
>
> Key: DISPATCH-2009
> URL: https://issues.apache.org/jira/browse/DISPATCH-2009
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Protocol Adaptors
>Affects Versions: 1.15.0
> Environment: Fedora 34, 
> [armv7h|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057005] and 
> [i686|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057006] arches
>Reporter: Irina Boverman
>Priority: Major
>
> build is broken on 
> [armv7hl|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057005] and 
> [i686|https://koji.fedoraproject.org/koji/taskinfo?taskID=64057006] arches:
> –
> [ 5%] Building C object 
> src/CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o
>  cd /builddir/build/BUILD/qpid-dispatch-1.15.0/src && /usr/bin/gcc 
> -Dqpid_dispatch_EXPORTS -I/builddir/build/BUILD/qpid-dispatch-1.15.0/include 
> -I/usr/include/python3.9 -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src 
> -I/builddir/build/BUILD/qpid-dispatch-1.15.0/src/router_core -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 -march=armv7-a -mfpu=vfpv3-d16 
> -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -std=gnu99 -O2 -g 
> -DNDEBUG -fPIC -Werror -Wall -Wpedantic -o 
> CMakeFiles/qpid-dispatch.dir/adaptors/http1/http1_client.c.o -c 
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: 
> In function '_create_client_connection':
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:149:29:
>  error: assignment to 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t 
> *, size_t, _Bool)' {aka 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t 
> *, unsigned int, _Bool)'} from incompatible pointer type 'int 
> (*)(h1_codec_request_state_t *, qd_buffer_list_t *, uintmax_t, _Bool)' {aka 
> 'int (*)(h1_codec_request_state_t *, qd_buffer_list_t *, long long unsigned 
> int, _Bool)'} [-Werror=incompatible-pointer-types]
>  149 | config.rx_body = _client_rx_body_cb;
> |^
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c: 
> At top level:
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:848:12:
>  error: conflicting types for '_client_rx_body_cb'; have 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, size_t, _Bool)' \{aka 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, unsigned int, _Bool)'}
>  848|static int _client_rx_body_cb(h1_codec_request_state_t *hrs, 
> qd_buffer_list_t *body, size_t len,|
> |^~
>  
> /builddir/build/BUILD/qpid-dispatch-1.15.0/src/adaptors/http1/http1_client.c:109:12:
>  note: previous declaration of '_client_rx_body_cb' with type 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, uintmax_t, _Bool)' \{aka 
> 'int(h1_codec_request_state_t *, qd_buffer_list_t *, long long unsigned int, 
> _Bool)'}
>  109|static int _client_rx_body_cb(h1_codec_request_state_t *lib_rs,