[jira] [Commented] (PROTON-550) Ruby tests fail if dependencies are missing

2014-03-31 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955649#comment-13955649
 ] 

ASF subversion and git services commented on PROTON-550:


Commit 1583443 from [~mcpierce] in branch 'proton/trunk'
[ https://svn.apache.org/r1583443 ]

PROTON-550: Add check for Ruby gem dependencies for tests.

If these dependencies are missing then raise a warning message during
the CMake generation process.

> Ruby tests fail if dependencies are missing
> ---
>
> Key: PROTON-550
> URL: https://issues.apache.org/jira/browse/PROTON-550
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: ruby-binding
>Affects Versions: 0.7
> Environment: Fedora 19, x86-64
>Reporter: Justin Ross
>Assignee: Darryl L. Pierce
>
> The ruby tests fail (that is, they do not opt out) if I don't have rspec and 
> simplecov installed.
> On Fedora, I had to install rubygem-rspec and rubygem-simplecov.
> These deps, if missing, should produce warnings in the initial cmake output.  
> If missing, the tests should be skipped.  Finally, rspec and simplecov should 
> be listed in the README with minitest.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Resolved] (PROTON-550) Ruby tests fail if dependencies are missing

2014-03-31 Thread Darryl L. Pierce (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Darryl L. Pierce resolved PROTON-550.
-

Resolution: Fixed

> Ruby tests fail if dependencies are missing
> ---
>
> Key: PROTON-550
> URL: https://issues.apache.org/jira/browse/PROTON-550
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: ruby-binding
>Affects Versions: 0.7
> Environment: Fedora 19, x86-64
>Reporter: Justin Ross
>Assignee: Darryl L. Pierce
>
> The ruby tests fail (that is, they do not opt out) if I don't have rspec and 
> simplecov installed.
> On Fedora, I had to install rubygem-rspec and rubygem-simplecov.
> These deps, if missing, should produce warnings in the initial cmake output.  
> If missing, the tests should be skipped.  Finally, rspec and simplecov should 
> be listed in the README with minitest.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (PROTON-540) [proton-c] Messenger segfault when shutting down

2014-03-31 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955548#comment-13955548
 ] 

ASF subversion and git services commented on PROTON-540:


Commit 1583408 from r...@apache.org in branch 'proton/trunk'
[ https://svn.apache.org/r1583408 ]

PROTON-540: use pn_new/pn_free for pn_lister_ctx_t

> [proton-c] Messenger segfault when shutting down
> 
>
> Key: PROTON-540
> URL: https://issues.apache.org/jira/browse/PROTON-540
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: 0.7
>Reporter: Ken Giusti
>Assignee: Rafael H. Schloming
> Fix For: 0.7
>
>
> The 'star_topology' Messenger test are throwing the occasional seg-fault.  
> Here's a valgrind backtrace:
> proton_tests.soak.MessengerTests.test_star_topology_valgrind 
> ..
>  fail
> Error during test:  Traceback (most recent call last):
> File "./tests/python/proton-test", line 352, in run
>   phase()
> File 
> "/home/kgiusti/work/proton/0.7/qpid-proton-0.7/tests/python/proton_tests/soak.py",
>  line 348, in test_star_topology_valgrind
>   self._do_star_topology_test( MessengerReceiverValgrind, 
> MessengerSenderValgrind )
> File 
> "/home/kgiusti/work/proton/0.7/qpid-proton-0.7/tests/python/proton_tests/soak.py",
>  line 280, in _do_star_topology_test
>   self._do_test(iterations)
> File 
> "/home/kgiusti/work/proton/0.7/qpid-proton-0.7/tests/python/proton_tests/soak.py",
>  line 112, in _do_test
>   R.stderr()))
>   AssertionError: Command '['/usr/bin/valgrind', '--error-exitcode=1', 
> '--quiet', '--trace-children=yes', '--leak-check=full', 
> '--suppressions=/home/kgiusti/work/proton/0.7/qpid-proton-0.7/tests/python/proton_tests/valgrind.supp',
>  'msgr-recv', '-X', 'READY', '-a', 
> 'amqp://~0.0.0.0:62305,amqp://~0.0.0.0:57030,amqp://~0.0.0.0:63714', '-c', 
> '1530', '-t', '60', '-R']' failed status=1: '==16855== Invalid read of size 8
>   ==16855==at 0x4C258CE: pn_compare (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C25959: pn_equals (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C25D79: pn_list_index (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C25DE8: pn_list_remove (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C445FE: pn_listener_ctx_free (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C442D1: pni_listener_finalize (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C4AC22: pn_selectable_finalize (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C25745: pn_finalize (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C256BE: pn_decref (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C257E0: pn_free (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C4B126: pn_selectable_free (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C46AED: pni_wait (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==  Address 0x4ea6bb0 is 16 bytes before a block of size 56 alloc'd
>   ==16855==at 0x4A06409: malloc (in 
> /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
>   ==16855==by 0x4C443ED: pn_listener_ctx (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C47928: pn_messenger_subscribe (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4021CE: main (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/tests/tools/apps/c/msgr-recv)
>   ==16855== 
> The problem is that the pn_listener_ctx is allocated using malloc: 
>   pn_listener_ctx_t *ctx = (pn_listener_ctx_t *) 
> malloc(sizeof(pn_listener_ctx_t));
>   ctx->messenger = messenger;
> but it is stored on a pn_list (messenger->listeners) - which assumes it is 
> derived from an "object" type.  When messenger tries to clean up a listener, 
> the pn_list attempts to access the non-existing clazz header.



--
This message was sent by Atlassian 

[jira] [Resolved] (PROTON-551) Typo in Messenger.blocking? API causes it to fail

2014-03-31 Thread Darryl L. Pierce (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Darryl L. Pierce resolved PROTON-551.
-

Resolution: Fixed

> Typo in Messenger.blocking? API causes it to fail
> -
>
> Key: PROTON-551
> URL: https://issues.apache.org/jira/browse/PROTON-551
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: ruby-binding
>Affects Versions: 0.6
>Reporter: Darryl L. Pierce
>Assignee: Darryl L. Pierce
>
> There's an extra 's' in the call to the underlying C code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (PROTON-551) Typo in Messenger.blocking? API causes it to fail

2014-03-31 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955150#comment-13955150
 ] 

ASF subversion and git services commented on PROTON-551:


Commit 1583319 from [~mcpierce] in branch 'proton/trunk'
[ https://svn.apache.org/r1583319 ]

PROTON-551: Fixed a typo in the Ruby Messenger blocking call.

Added a missing 's'.

> Typo in Messenger.blocking? API causes it to fail
> -
>
> Key: PROTON-551
> URL: https://issues.apache.org/jira/browse/PROTON-551
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: ruby-binding
>Affects Versions: 0.6
>Reporter: Darryl L. Pierce
>Assignee: Darryl L. Pierce
>
> There's an extra 's' in the call to the underlying C code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (PROTON-551) Typo in Messenger.blocking? API causes it to fail

2014-03-31 Thread Darryl L. Pierce (JIRA)
Darryl L. Pierce created PROTON-551:
---

 Summary: Typo in Messenger.blocking? API causes it to fail
 Key: PROTON-551
 URL: https://issues.apache.org/jira/browse/PROTON-551
 Project: Qpid Proton
  Issue Type: Bug
  Components: ruby-binding
Affects Versions: 0.6
Reporter: Darryl L. Pierce
Assignee: Darryl L. Pierce


There's an extra 's' in the call to the underlying C code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Assigned] (PROTON-550) Ruby tests fail if dependencies are missing

2014-03-31 Thread Darryl L. Pierce (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Darryl L. Pierce reassigned PROTON-550:
---

Assignee: Darryl L. Pierce

> Ruby tests fail if dependencies are missing
> ---
>
> Key: PROTON-550
> URL: https://issues.apache.org/jira/browse/PROTON-550
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: ruby-binding
>Affects Versions: 0.7
> Environment: Fedora 19, x86-64
>Reporter: Justin Ross
>Assignee: Darryl L. Pierce
>
> The ruby tests fail (that is, they do not opt out) if I don't have rspec and 
> simplecov installed.
> On Fedora, I had to install rubygem-rspec and rubygem-simplecov.
> These deps, if missing, should produce warnings in the initial cmake output.  
> If missing, the tests should be skipped.  Finally, rspec and simplecov should 
> be listed in the README with minitest.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (PROTON-540) [proton-c] Messenger segfault when shutting down

2014-03-31 Thread Justin Ross (JIRA)

[ 
https://issues.apache.org/jira/browse/PROTON-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13955137#comment-13955137
 ] 

Justin Ross commented on PROTON-540:


I'm seeing this as well (every time I run the tests, so far) on my system 
(Fedora 19, x86-64).

> [proton-c] Messenger segfault when shutting down
> 
>
> Key: PROTON-540
> URL: https://issues.apache.org/jira/browse/PROTON-540
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: 0.7
>Reporter: Ken Giusti
>Assignee: Rafael H. Schloming
> Fix For: 0.7
>
>
> The 'star_topology' Messenger test are throwing the occasional seg-fault.  
> Here's a valgrind backtrace:
> proton_tests.soak.MessengerTests.test_star_topology_valgrind 
> ..
>  fail
> Error during test:  Traceback (most recent call last):
> File "./tests/python/proton-test", line 352, in run
>   phase()
> File 
> "/home/kgiusti/work/proton/0.7/qpid-proton-0.7/tests/python/proton_tests/soak.py",
>  line 348, in test_star_topology_valgrind
>   self._do_star_topology_test( MessengerReceiverValgrind, 
> MessengerSenderValgrind )
> File 
> "/home/kgiusti/work/proton/0.7/qpid-proton-0.7/tests/python/proton_tests/soak.py",
>  line 280, in _do_star_topology_test
>   self._do_test(iterations)
> File 
> "/home/kgiusti/work/proton/0.7/qpid-proton-0.7/tests/python/proton_tests/soak.py",
>  line 112, in _do_test
>   R.stderr()))
>   AssertionError: Command '['/usr/bin/valgrind', '--error-exitcode=1', 
> '--quiet', '--trace-children=yes', '--leak-check=full', 
> '--suppressions=/home/kgiusti/work/proton/0.7/qpid-proton-0.7/tests/python/proton_tests/valgrind.supp',
>  'msgr-recv', '-X', 'READY', '-a', 
> 'amqp://~0.0.0.0:62305,amqp://~0.0.0.0:57030,amqp://~0.0.0.0:63714', '-c', 
> '1530', '-t', '60', '-R']' failed status=1: '==16855== Invalid read of size 8
>   ==16855==at 0x4C258CE: pn_compare (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C25959: pn_equals (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C25D79: pn_list_index (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C25DE8: pn_list_remove (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C445FE: pn_listener_ctx_free (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C442D1: pni_listener_finalize (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C4AC22: pn_selectable_finalize (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C25745: pn_finalize (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C256BE: pn_decref (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C257E0: pn_free (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C4B126: pn_selectable_free (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C46AED: pni_wait (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==  Address 0x4ea6bb0 is 16 bytes before a block of size 56 alloc'd
>   ==16855==at 0x4A06409: malloc (in 
> /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
>   ==16855==by 0x4C443ED: pn_listener_ctx (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4C47928: pn_messenger_subscribe (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/proton-c/libqpid-proton.so.2.0.0)
>   ==16855==by 0x4021CE: main (in 
> /home/kgiusti/work/proton/0.7/qpid-proton-0.7/build/tests/tools/apps/c/msgr-recv)
>   ==16855== 
> The problem is that the pn_listener_ctx is allocated using malloc: 
>   pn_listener_ctx_t *ctx = (pn_listener_ctx_t *) 
> malloc(sizeof(pn_listener_ctx_t));
>   ctx->messenger = messenger;
> but it is stored on a pn_list (messenger->listeners) - which assumes it is 
> derived from an "object" type.  When messenger tries to clean up a listener, 
> the pn_list attempts to access the non-existing clazz header.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (PROTON-550) Ruby tests fail if dependencies are missing

2014-03-31 Thread Justin Ross (JIRA)
Justin Ross created PROTON-550:
--

 Summary: Ruby tests fail if dependencies are missing
 Key: PROTON-550
 URL: https://issues.apache.org/jira/browse/PROTON-550
 Project: Qpid Proton
  Issue Type: Bug
  Components: ruby-binding
Affects Versions: 0.7
 Environment: Fedora 19, x86-64
Reporter: Justin Ross


The ruby tests fail (that is, they do not opt out) if I don't have rspec and 
simplecov installed.

On Fedora, I had to install rubygem-rspec and rubygem-simplecov.

These deps, if missing, should produce warnings in the initial cmake output.  
If missing, the tests should be skipped.  Finally, rspec and simplecov should 
be listed in the README with minitest.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (PROTON-549) Perl and Python bindings produce warnings on Fedora

2014-03-31 Thread Justin Ross (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTON-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Ross updated PROTON-549:
---

Summary: Perl and Python bindings produce warnings on Fedora  (was: Perl 
and Python bindings produces warning on Fedora)

> Perl and Python bindings produce warnings on Fedora
> ---
>
> Key: PROTON-549
> URL: https://issues.apache.org/jira/browse/PROTON-549
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: perl-binding, python-binding
>Affects Versions: 0.7
> Environment: Fedora 19, x86-64
>Reporter: Justin Ross
>Priority: Minor
>
> [...]
> Linking C shared module _cproton.so
> [ 69%] Built target _cproton
> [ 71%] Swig source
> /home/jross/code/qpid-proton/proton-c/include/proton/types.h:56: Warning 801: 
> Wrong class name (corrected to `Pn_decimal128_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/types.h:56: Warning 801: 
> Wrong class name (corrected to `Pn_decimal128_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/types.h:59: Warning 801: 
> Wrong class name (corrected to `Pn_uuid_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/types.h:59: Warning 801: 
> Wrong class name (corrected to `Pn_uuid_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/types.h:63: Warning 801: 
> Wrong class name (corrected to `Pn_bytes_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/types.h:63: Warning 801: 
> Wrong class name (corrected to `Pn_bytes_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/object.h:50: Warning 
> 801: Wrong class name (corrected to `Pn_class_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/object.h:50: Warning 
> 801: Wrong class name (corrected to `Pn_class_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/delivery.h:50: Warning 
> 801: Wrong class name (corrected to `Pn_delivery_tag_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/delivery.h:50: Warning 
> 801: Wrong class name (corrected to `Pn_delivery_tag_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/codec.h:71: Warning 801: 
> Wrong class name (corrected to `Pn_atom_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/codec.h:71: Warning 801: 
> Wrong class name (corrected to `Pn_atom_t')
> /home/jross/code/qpid-proton/proton-c/include/proton/codec.h:92: Warning 801: 
> Wrong class name (corrected to `Pn_atom_t_u')
> /home/jross/code/qpid-proton/proton-c/include/proton/codec.h:92: Warning 801: 
> Wrong class name (corrected to `Pn_atom_t_u')
> Scanning dependencies of target cproton-ruby
> [ 73%] Building C object 
> proton-c/bindings/ruby/CMakeFiles/cproton-ruby.dir/rubyRUBY_wrap.c.o
> Linking C shared module cproton.so
> [ 73%] Built target cproton-ruby
> [ 75%] Swig source
> Scanning dependencies of target cproton
> [ 76%] Building C object 
> proton-c/bindings/php/CMakeFiles/cproton.dir/phpPHP_wrap.c.o
> Linking C shared module cproton.so
> [ 76%] Built target cproton
> [ 78%] Swig source
> /home/jross/code/qpid-proton/proton-c/include/proton/cproton.i:25: Warning 
> 302: Identifier 'uint32_t' redefined (ignored),
> /home/jross/code/qpid-proton/proton-c/bindings/perl/perl.i:16: Warning 302: 
> previous definition of 'uint32_t'.
> /home/jross/code/qpid-proton/proton-c/include/proton/cproton.i:26: Warning 
> 302: Identifier 'int32_t' redefined (ignored),
> /home/jross/code/qpid-proton/proton-c/bindings/perl/perl.i:18: Warning 302: 
> previous definition of 'int32_t'.
> /home/jross/code/qpid-proton/proton-c/include/proton/cproton.i:27: Warning 
> 302: Identifier 'uint64_t' redefined (ignored),
> /home/jross/code/qpid-proton/proton-c/bindings/perl/perl.i:17: Warning 302: 
> previous definition of 'uint64_t'.
> Scanning dependencies of target cproton_perl
> [ 80%] Building C object 
> proton-c/bindings/perl/CMakeFiles/cproton_perl.dir/perlPERL_wrap.c.o
> /home/jross/code/qpid-proton/build/proton-c/bindings/perl/perlPERL_wrap.c: In 
> function '_wrap_pn_data_put_uuid':
> /home/jross/code/qpid-proton/build/proton-c/bindings/perl/perlPERL_wrap.c:22188:19:
>  warning: initialization from incompatible pointer type [enabled by default]
>AV* tmpav = SvRV(ST(1));
>^
> Linking C shared module libcproton_perl.so
> [ 80%] Built target cproton_perl
> [...]



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (PROTON-549) Perl and Python bindings produces warning on Fedora

2014-03-31 Thread Justin Ross (JIRA)
Justin Ross created PROTON-549:
--

 Summary: Perl and Python bindings produces warning on Fedora
 Key: PROTON-549
 URL: https://issues.apache.org/jira/browse/PROTON-549
 Project: Qpid Proton
  Issue Type: Bug
  Components: perl-binding, python-binding
Affects Versions: 0.7
 Environment: Fedora 19, x86-64
Reporter: Justin Ross
Priority: Minor


[...]
Linking C shared module _cproton.so
[ 69%] Built target _cproton
[ 71%] Swig source
/home/jross/code/qpid-proton/proton-c/include/proton/types.h:56: Warning 801: 
Wrong class name (corrected to `Pn_decimal128_t')
/home/jross/code/qpid-proton/proton-c/include/proton/types.h:56: Warning 801: 
Wrong class name (corrected to `Pn_decimal128_t')
/home/jross/code/qpid-proton/proton-c/include/proton/types.h:59: Warning 801: 
Wrong class name (corrected to `Pn_uuid_t')
/home/jross/code/qpid-proton/proton-c/include/proton/types.h:59: Warning 801: 
Wrong class name (corrected to `Pn_uuid_t')
/home/jross/code/qpid-proton/proton-c/include/proton/types.h:63: Warning 801: 
Wrong class name (corrected to `Pn_bytes_t')
/home/jross/code/qpid-proton/proton-c/include/proton/types.h:63: Warning 801: 
Wrong class name (corrected to `Pn_bytes_t')
/home/jross/code/qpid-proton/proton-c/include/proton/object.h:50: Warning 801: 
Wrong class name (corrected to `Pn_class_t')
/home/jross/code/qpid-proton/proton-c/include/proton/object.h:50: Warning 801: 
Wrong class name (corrected to `Pn_class_t')
/home/jross/code/qpid-proton/proton-c/include/proton/delivery.h:50: Warning 
801: Wrong class name (corrected to `Pn_delivery_tag_t')
/home/jross/code/qpid-proton/proton-c/include/proton/delivery.h:50: Warning 
801: Wrong class name (corrected to `Pn_delivery_tag_t')
/home/jross/code/qpid-proton/proton-c/include/proton/codec.h:71: Warning 801: 
Wrong class name (corrected to `Pn_atom_t')
/home/jross/code/qpid-proton/proton-c/include/proton/codec.h:71: Warning 801: 
Wrong class name (corrected to `Pn_atom_t')
/home/jross/code/qpid-proton/proton-c/include/proton/codec.h:92: Warning 801: 
Wrong class name (corrected to `Pn_atom_t_u')
/home/jross/code/qpid-proton/proton-c/include/proton/codec.h:92: Warning 801: 
Wrong class name (corrected to `Pn_atom_t_u')
Scanning dependencies of target cproton-ruby
[ 73%] Building C object 
proton-c/bindings/ruby/CMakeFiles/cproton-ruby.dir/rubyRUBY_wrap.c.o
Linking C shared module cproton.so
[ 73%] Built target cproton-ruby
[ 75%] Swig source
Scanning dependencies of target cproton
[ 76%] Building C object 
proton-c/bindings/php/CMakeFiles/cproton.dir/phpPHP_wrap.c.o
Linking C shared module cproton.so
[ 76%] Built target cproton
[ 78%] Swig source
/home/jross/code/qpid-proton/proton-c/include/proton/cproton.i:25: Warning 302: 
Identifier 'uint32_t' redefined (ignored),
/home/jross/code/qpid-proton/proton-c/bindings/perl/perl.i:16: Warning 302: 
previous definition of 'uint32_t'.
/home/jross/code/qpid-proton/proton-c/include/proton/cproton.i:26: Warning 302: 
Identifier 'int32_t' redefined (ignored),
/home/jross/code/qpid-proton/proton-c/bindings/perl/perl.i:18: Warning 302: 
previous definition of 'int32_t'.
/home/jross/code/qpid-proton/proton-c/include/proton/cproton.i:27: Warning 302: 
Identifier 'uint64_t' redefined (ignored),
/home/jross/code/qpid-proton/proton-c/bindings/perl/perl.i:17: Warning 302: 
previous definition of 'uint64_t'.
Scanning dependencies of target cproton_perl
[ 80%] Building C object 
proton-c/bindings/perl/CMakeFiles/cproton_perl.dir/perlPERL_wrap.c.o
/home/jross/code/qpid-proton/build/proton-c/bindings/perl/perlPERL_wrap.c: In 
function '_wrap_pn_data_put_uuid':
/home/jross/code/qpid-proton/build/proton-c/bindings/perl/perlPERL_wrap.c:22188:19:
 warning: initialization from incompatible pointer type [enabled by default]
   AV* tmpav = SvRV(ST(1));
   ^
Linking C shared module libcproton_perl.so
[ 80%] Built target cproton_perl
[...]



--
This message was sent by Atlassian JIRA
(v6.2#6252)