qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien GALLET (JIRA) <j...@apache.org>
Subject [jira] [Commented] (QPID-5629) Build fails with ruby 1.9
Date Wed, 19 Mar 2014 14:46:45 GMT

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

Sébastien GALLET commented on QPID-5629:
----------------------------------------

Ok
The patch I've submitted does not work on Debian Wheezy (cmake 2.8.9) but work on Ubuntu Saucy
(cmake 2.8.11)
If qpid bindings works with Ruby 2.1.1, it should be a good idea to update documentation in
INSTALL :

NOTE: Python 3.x is know to NOT work - please use 2.7 or earlier.
Ruby should be prior to version 2.

Thanks

> Build fails with ruby 1.9
> -------------------------
>
>                 Key: QPID-5629
>                 URL: https://issues.apache.org/jira/browse/QPID-5629
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>    Affects Versions: 0.26
>         Environment: Ubuntu Saucy
>            Reporter: Sébastien GALLET
>            Assignee: Darryl L. Pierce
>              Labels: patch
>         Attachments: ruby1.8.patch
>
>
> When ruby 1.9 is used or when ruby 1.8 AND ruby 1.9 are installed, the build fails.
> A patch is attached to use ruby 1.8. It must be used AFTER the one proposed in bug #5628
> [ 97%] Building CXX object bindings/qpid/ruby/CMakeFiles/cqpid_ruby.dir/rubyRUBY_wrap.cxx.o
> cd /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby
&& /usr/bin/c++   -Dcqpid_ruby_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4
-Wformat -Werror=format-security -Wno-error=cast-qual -Wno-error=cast-align -D_FORTIFY_SOURCE=2
 -O2 -g -DNDEBUG -fPIC -I/usr/include/ruby-1.9.1 -I/usr/include/ruby-1.9.1/x86_64-linux -I/home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/include
-I/home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/bindings    -fno-strict-aliasing
-o CMakeFiles/cqpid_ruby.dir/rubyRUBY_wrap.cxx.o -c /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:
In function ‘VALUE VariantToRb(const qpid::types::Variant*)’:
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2237:38:
error: format not a string literal and no format arguments [-Werror=format-security]
>              rb_raise(error, ex.what());
>                                       ^
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:
In function ‘VALUE _wrap_new_Address__SWIG_0(int, VALUE*, VALUE)’:
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2307:36:
error: format not a string literal and no format arguments [-Werror=format-security]
>        rb_raise(merror, error.what());
>                                     ^
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2311:36:
error: format not a string literal and no format arguments [-Werror=format-security]
>        rb_raise(merror, error.what());
>                                     ^
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2315:36:
error: format not a string literal and no format arguments [-Werror=format-security]
>        rb_raise(merror, error.what());
>                                     ^
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2319:36:
error: format not a string literal and no format arguments [-Werror=format-security]
>        rb_raise(merror, error.what());
>                                     ^
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2323:36:
error: format not a string literal and no format arguments [-Werror=format-security]
>        rb_raise(merror, error.what());
>                                     ^
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2327:36:
error: format not a string literal and no format arguments [-Werror=format-security]
>        rb_raise(merror, error.what());
>                                     ^
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2331:36:
error: format not a string literal and no format arguments [-Werror=format-security]
>        rb_raise(merror, error.what());
>                                     ^
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2335:36:
error: format not a string literal and no format arguments [-Werror=format-security]
>        rb_raise(merror, error.what());
>                                     ^
> /home/sebastien/devel/admin-repository/qpid-cpp/qpid-cpp-0.26/obj-x86_64-linux-gnu/bindings/qpid/ruby/rubyRUBY_wrap.cxx:2339:36:
error: format not a string literal and no format arguments [-Werror=format-security]
>        rb_raise(merror, error.what());
>                                     ^



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

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


Mime
View raw message