Bug#867541: please build ruby binding of grpc
On Tue, 1 Aug 2017 22:00:28 +0530 Pirate Praveenwrote:> I was able to build and make tests pass for grpc after adding this patch > (attached). I'm planning to NMU this patch, please review/upload if you like. https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=867541;filename=add-wrap-memcpy-flags.diff;msg=89 signature.asc Description: OpenPGP digital signature
Bug#867541: please build ruby binding of grpc
On Wed, 19 Jul 2017 13:24:21 +0530 Pirate Praveenwrote:> How about creating a project in alioth as well so we can have mailing > list and a git repo for the package? Creating a project may even be a > requirement to creating mailing list or some other project might want to > host the list. > Cloned the original bug about ruby-grpc so we can discuss creating mailing list/project/git seprately at #870452. signature.asc Description: OpenPGP digital signature
Bug#867541: please build ruby binding of grpc
Control: tags -1 - help Control: tags -1 patch On Tue, 1 Aug 2017 10:54:40 +0530 Pirate Praveenwrote:> I was able to build it against libgrpc.a from libgrpc-dev, but during > tests I get undefined symbol error. I'm trying to figure out a way to > pass libgrpc.a path to the built-tree instead of trying to build it again. I was able to build and make tests pass for grpc after adding this patch (attached). ruby-grpc tests were failing with this error grpc_c.so: undefined symbol: __wrap_memcpy wRAR from #debian-mentors showed me this link https://github.com/grpc/grpc/blob/master/src/core/lib/support/wrap_memcpy.c#L26 Now tests are passing. I think it is better to have ruby-grpc built from a separate source package. Once this patch is included, I will upload ruby-grpc from separate source package --- a/Makefile +++ b/Makefile @@ -3155,7 +3155,7 @@ ifeq ($(SYSTEM),Darwin) $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -install_name $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) -dynamiclib -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS) else - $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.3 -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS) + $(Q) $(LD) $(LDFLAGS) -L$(LIBDIR)/$(CONFIG) -shared -Wl,-soname,libgrpc.so.3 -Wl,-wrap,memcpy -o $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBGRPC_OBJS) $(LIBDIR)/$(CONFIG)/libgpr.a $(OPENSSL_MERGE_LIBS) $(LDLIBS_SECURE) $(ZLIB_MERGE_LIBS) $(CARES_MERGE_LIBS) $(LDLIBS) $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so.3 $(Q) ln -sf $(SHARED_PREFIX)grpc$(SHARED_VERSION_CORE).$(SHARED_EXT_CORE) $(LIBDIR)/$(CONFIG)/libgrpc$(SHARED_VERSION_CORE).so endif signature.asc Description: OpenPGP digital signature
Bug#867541: please build ruby binding of grpc
Control: tag -1 help On Wed, 12 Jul 2017 23:10:48 +0530 Pirate Praveenwrote: > On Mon, 10 Jul 2017 01:00:07 +0530 Pirate Praveen > wrote: > > Attaching the debdiff to build ruby-grpc. > Sesse, László, > > See this debdiff which use --gem-install option so it installs all > required files. But its failing to find openssl. > > Can you help? I was able to build it locally since I had older openssl > installed I guess. The failure is in sbuild. I was able to build it against libgrpc.a from libgrpc-dev, but during tests I get undefined symbol error. I'm trying to figure out a way to pass libgrpc.a path to the built-tree instead of trying to build it again. Current work can be found at https://git.fosscommunity.in/praveen/grpc (under branch ruby). RUBYLIB=. GEM_PATH=debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./src/ruby/spec/\*\*/\*_spec.rb --format documentation /<>/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/gems/grpc-1.3.2/src/ruby/lib/grpc/grpc.rb:37:in `require_relative': /<>/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/gems/grpc-1.3.2/src/ruby/lib/grpc/grpc_c.so: undefined symbol: inflate - /<>/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/gems/grpc-1.3.2/src/ruby/lib/grpc/grpc_c.so (LoadError) signature.asc Description: OpenPGP digital signature
Bug#867541: please build ruby binding of grpc
On ബുധന് 19 ജൂലൈ 2017 06:09 രാവിലെ, Andrew Pollock wrote: > Okay, I don't see why the mailing list for this package needs to be a > Google-controlled one. I suggest setting up a list on Alioth and then we can > subscribe grpc-packa...@google.com to it for our downstream communication > consolidation purposes and everyone should be happy. Who wants to take care > of creating the list and updating the package's maintainer field? > How about creating a project in alioth as well so we can have mailing list and a git repo for the package? Creating a project may even be a requirement to creating mailing list or some other project might want to host the list. signature.asc Description: OpenPGP digital signature
Bug#867541: please build ruby binding of grpc
On Wed, Jul 19, 2017 at 01:16:18AM +0200, Steinar H. Gunderson wrote: > On Wed, Jul 19, 2017 at 08:44:12AM +1000, Andrew Pollock wrote: > > Also, to achieve the desired outcome, can't you subscribe to the package in > > the PTS and BTS? > > That doesn't give you a public archive of maintainer discussion, though, > which is usually desirable. Okay, I don't see why the mailing list for this package needs to be a Google-controlled one. I suggest setting up a list on Alioth and then we can subscribe grpc-packa...@google.com to it for our downstream communication consolidation purposes and everyone should be happy. Who wants to take care of creating the list and updating the package's maintainer field? signature.asc Description: Digital signature
Bug#867541: please build ruby binding of grpc
On Wed, Jul 19, 2017 at 08:44:12AM +1000, Andrew Pollock wrote: > Also, to achieve the desired outcome, can't you subscribe to the package in > the PTS and BTS? That doesn't give you a public archive of maintainer discussion, though, which is usually desirable. /* Steinar */ -- Homepage: https://www.sesse.net/
Bug#867541: please build ruby binding of grpc
On Tue, Jul 11, 2017 at 12:25:52PM +0200, László Böszörményi (GCS) wrote: > On Tue, Jul 11, 2017 at 11:12 AM, Steinar H. Gunderson> wrote: > > On Tue, Jul 11, 2017 at 10:07:58AM +1000, Andrew Pollock wrote: > >>> Andrew, please link me to the grpc-packages link/account if possible. > >>> It's bad that I can't follow this package from the first hand. > >> Sorry, can you please clarify what you're asking for here? > > > > Maintainer: gRPC Package Maintainers > > > > Presumably he wants to be added to that list. > +1, all uploads, bugreports, migration, etc mails go to the email > address specified in the maintainer field. That's why it's usually a > mailing list and anyone can subscribe to it. At the moment I don't get > mails sent to grpc-packages@ and I'm kind of blind about the package. I've just asked around, and putting non-Googlers on that address is going to expose you to bits and pieces that we don't want to, so we'll have to spin up a dedicated address for the Debian package and make that the maintainer address. Personally, I'd be happy with that being an Alioth address. Also, to achieve the desired outcome, can't you subscribe to the package in the PTS and BTS? signature.asc Description: Digital signature
Bug#867541: please build ruby binding of grpc
On Mon, 10 Jul 2017 01:00:07 +0530 Pirate Praveenwrote: > Attaching the debdiff to build ruby-grpc. Sesse, László, See this debdiff which use --gem-install option so it installs all required files. But its failing to find openssl. Can you help? I was able to build it locally since I had older openssl installed I guess. The failure is in sbuild. Complete error message is, Building native extensions. This could take a while... current directory: /<>/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/gems/grpc-1.3.2/src/ruby/ext/grpc /usr/bin/ruby2.3 -r ./siteconf20170712-5516-a2vncs.rb extconf.rb Building internal gRPC into /<>/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/gems/grpc-1.3.2/src/ruby/ext/grpc/libs/opt make[2]: Entering directory '/<>/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/gems/grpc-1.3.2' Makefile:954: recipe for target 'stop' failed make[2]: *** [stop] Error 1 make[2]: *** Waiting for unfinished jobs DEPENDENCY ERROR The target you are trying to run requires an OpenSSL implementation. Your system doesn't have one, and either the third_party directory doesn't have it, or your compiler can't build BoringSSL. Please consult INSTALL to get more information. If you need information about why these tests failed, run: make run_dep_checks make[2]: Leaving directory '/<>/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/gems/grpc-1.3.2' *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/$(RUBY_BASE_NAME)2.3 ERROR: Error installing /tmp/d20170712-5510-13pbudl/grpc-1.3.2.gem: ERROR: Failed to build gem native extension. Building has failed. See above output for more information on the failure. extconf failed, exit code 1 Gem files will remain installed in /<>/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/gems/grpc-1.3.2 for inspection. Results logged to /<>/debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0/extensions/x86_64-linux/2.3.0/grpc-1.3.2/gem_make.out /usr/lib/ruby/vendor_ruby/gem2deb.rb:56:in `run': /usr/bin/ruby2.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-rdoc --no-ri --ignore-dependencies --install-dir debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0 /tmp/d20170712-5510-13pbudl/grpc-1.3.2.gem (Gem2Deb::CommandFailed) from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:189:in `gem' from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:103:in `block in install_files_and_build_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:51:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/gem_installer.rb:51:in `install_files_and_build_extensions' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `block in install' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:82:in `each' from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:82:in `install' from /usr/bin/dh_ruby:94:in `' dh_auto_install: dh_ruby --install /<>/debian/tmp returned exit code 1 debian/rules:32: recipe for target 'override_dh_auto_install' failed make[1]: *** [override_dh_auto_install] Error 1 make[1]: Leaving directory '/<>' debian/rules:42: recipe for target 'binary' failed diff -Nru grpc-1.3.2/debian/changelog grpc-1.3.2/debian/changelog --- grpc-1.3.2/debian/changelog 2017-06-01 21:41:56.0 +0530 +++ grpc-1.3.2/debian/changelog 2017-07-10 00:46:41.0 +0530 @@ -1,3 +1,10 @@ +grpc (1.3.2-0.3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add ruby-grpc package + + -- Pirate Praveen Mon, 10 Jul 2017 00:46:41 +0530 + grpc (1.3.2-0.2) unstable; urgency=medium * Non-maintainer upload. diff -Nru grpc-1.3.2/debian/control grpc-1.3.2/debian/control --- grpc-1.3.2/debian/control 2017-05-18 21:54:27.0 +0530 +++ grpc-1.3.2/debian/control 2017-07-10 00:46:41.0 +0530 @@ -2,12 +2,28 @@ Priority: optional Maintainer: gRPC Package Maintainers Uploaders: Andrew Pollock , Laszlo Boszormenyi (GCS) -Build-Depends: debhelper (>= 9), zlib1g-dev, libssl-dev, libprotobuf-dev, protobuf-compiler, libgflags-dev, libgtest-dev, libgoogle-perftools-dev, python, libprotoc-dev, libc-ares-dev +Build-Depends: debhelper (>= 9), zlib1g-dev, libssl-dev, libprotobuf-dev, protobuf-compiler, libgflags-dev, libgtest-dev,
Bug#867541: please build ruby binding of grpc
On Mon, 10 Jul 2017 10:59:07 +0200 =?UTF-8?B?TMOhc3psw7MgQsO2c3rDtnJtw6lueWkgKEdDUyk=?=wrote: > On Mon, Jul 10, 2017 at 7:24 AM, Pirate Praveen > wrote: > > I'd like to be a co-maintainer since I'm interested in ruby-grpc for > > gitlab. Would you like to host it in collab-maint? > I think no, but you may join to the group and/or send patches. If not collab-maint, would you consider a dedicated alioth project pkg-grpc? Collaborating with git and branches are much nicer than working with patches. signature.asc Description: OpenPGP digital signature
Bug#867541: please build ruby binding of grpc
On Tue, Jul 11, 2017 at 12:25:52PM +0200, László Böszörményi (GCS) wrote: > On Tue, Jul 11, 2017 at 11:12 AM, Steinar H. Gunderson> wrote: > > On Tue, Jul 11, 2017 at 10:07:58AM +1000, Andrew Pollock wrote: > >>> Andrew, please link me to the grpc-packages link/account if possible. > >>> It's bad that I can't follow this package from the first hand. > >> Sorry, can you please clarify what you're asking for here? > > > > Maintainer: gRPC Package Maintainers > > > > Presumably he wants to be added to that list. > +1, all uploads, bugreports, migration, etc mails go to the email > address specified in the maintainer field. That's why it's usually a > mailing list and anyone can subscribe to it. At the moment I don't get > mails sent to grpc-packages@ and I'm kind of blind about the package. Got it. Let me see what I can do about changing the maintainer address to something more conducive to outside collaboration, or adding folks to that mailing list. signature.asc Description: Digital signature
Bug#867541: please build ruby binding of grpc
On Tue, Jul 11, 2017 at 11:12 AM, Steinar H. Gundersonwrote: > On Tue, Jul 11, 2017 at 10:07:58AM +1000, Andrew Pollock wrote: >>> Andrew, please link me to the grpc-packages link/account if possible. >>> It's bad that I can't follow this package from the first hand. >> Sorry, can you please clarify what you're asking for here? > > Maintainer: gRPC Package Maintainers > > Presumably he wants to be added to that list. +1, all uploads, bugreports, migration, etc mails go to the email address specified in the maintainer field. That's why it's usually a mailing list and anyone can subscribe to it. At the moment I don't get mails sent to grpc-packages@ and I'm kind of blind about the package. Laszlo/GCS
Bug#867541: please build ruby binding of grpc
On Tue, Jul 11, 2017 at 10:07:58AM +1000, Andrew Pollock wrote: >> Andrew, please link me to the grpc-packages link/account if possible. >> It's bad that I can't follow this package from the first hand. > Sorry, can you please clarify what you're asking for here? Maintainer: gRPC Package MaintainersPresumably he wants to be added to that list. IIRC there's no way to put non-Googlers on such groups, so you'd have to migrate to a @googlegroups.com list. (Unless something changed in Groups after I left Google, of course.) That's probably for the better anyway, so that you can have a public archive. /* Steinar */ -- Homepage: https://www.sesse.net/
Bug#867541: please build ruby binding of grpc
On Mon, Jul 10, 2017 at 10:59:07AM +0200, László Böszörményi (GCS) wrote: > Andrew, please link me to the grpc-packages link/account if possible. > It's bad that I can't follow this package from the first hand. > Sorry, can you please clarify what you're asking for here? signature.asc Description: Digital signature
Bug#867541: please build ruby binding of grpc
On Mon, Jul 10, 2017 at 7:24 AM, Pirate Praveenwrote: > [copying current maintainers] > > On 07/10/2017 01:26 AM, Steinar H. Gunderson wrote: >> On Mon, Jul 10, 2017 at 01:00:07AM +0530, Pirate Praveen wrote: It would be great if grpc package could also build ruby-grpc binary. >>> Attaching the debdiff to build ruby-grpc. I think it would be a good >>> idea to maintain it in collab-maint. >> >> FWIW, I don't intend to maintain grpc myself, but as it is, it doesn't seem >> like the maintainers are active anymore, so perhaps someone should declare >> this effectively orphaned. I don't remember the proper procedure for doing >> so, though. I'm still active and would like to update protobuf first. But I've several security related bugs to fix in my other packages and those have priority. Andrew, please link me to the grpc-packages link/account if possible. It's bad that I can't follow this package from the first hand. > I'd like to be a co-maintainer since I'm interested in ruby-grpc for > gitlab. Would you like to host it in collab-maint? I think no, but you may join to the group and/or send patches. Regards, Laszlo/GCS
Bug#867541: please build ruby binding of grpc
[copying current maintainers] On 07/10/2017 01:26 AM, Steinar H. Gunderson wrote: > On Mon, Jul 10, 2017 at 01:00:07AM +0530, Pirate Praveen wrote: >>> It would be great if grpc package could also build ruby-grpc binary. >> Attaching the debdiff to build ruby-grpc. I think it would be a good >> idea to maintain it in collab-maint. > > FWIW, I don't intend to maintain grpc myself, but as it is, it doesn't seem > like the maintainers are active anymore, so perhaps someone should declare > this effectively orphaned. I don't remember the proper procedure for doing > so, though. > > /* Steinar */ > Hi Andrew, Laszlo, I'd like to be a co-maintainer since I'm interested in ruby-grpc for gitlab. Would you like to host it in collab-maint? Thanks Praveen signature.asc Description: OpenPGP digital signature
Bug#867541: please build ruby binding of grpc
On Mon, Jul 10, 2017 at 01:00:07AM +0530, Pirate Praveen wrote: >> It would be great if grpc package could also build ruby-grpc binary. > Attaching the debdiff to build ruby-grpc. I think it would be a good > idea to maintain it in collab-maint. FWIW, I don't intend to maintain grpc myself, but as it is, it doesn't seem like the maintainers are active anymore, so perhaps someone should declare this effectively orphaned. I don't remember the proper procedure for doing so, though. /* Steinar */ -- Homepage: https://www.sesse.net/
Bug#867541: please build ruby binding of grpc
On Fri, 7 Jul 2017 12:44:15 +0530 Pirate Praveenwrote: > It > would be great if grpc package could also build ruby-grpc binary. Attaching the debdiff to build ruby-grpc. I think it would be a good idea to maintain it in collab-maint. diff -Nru grpc-1.3.2/debian/changelog grpc-1.3.2/debian/changelog --- grpc-1.3.2/debian/changelog 2017-06-01 21:41:56.0 +0530 +++ grpc-1.3.2/debian/changelog 2017-07-10 00:46:41.0 +0530 @@ -1,3 +1,10 @@ +grpc (1.3.2-0.3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add ruby-grpc package + + -- Pirate Praveen Mon, 10 Jul 2017 00:46:41 +0530 + grpc (1.3.2-0.2) unstable; urgency=medium * Non-maintainer upload. diff -Nru grpc-1.3.2/debian/control grpc-1.3.2/debian/control --- grpc-1.3.2/debian/control 2017-05-18 21:54:27.0 +0530 +++ grpc-1.3.2/debian/control 2017-07-10 00:46:41.0 +0530 @@ -2,12 +2,28 @@ Priority: optional Maintainer: gRPC Package Maintainers Uploaders: Andrew Pollock , Laszlo Boszormenyi (GCS) -Build-Depends: debhelper (>= 9), zlib1g-dev, libssl-dev, libprotobuf-dev, protobuf-compiler, libgflags-dev, libgtest-dev, libgoogle-perftools-dev, python, libprotoc-dev, libc-ares-dev +Build-Depends: debhelper (>= 9), zlib1g-dev, libssl-dev, libprotobuf-dev, protobuf-compiler, libgflags-dev, libgtest-dev, libgoogle-perftools-dev, python, libprotoc-dev, libc-ares-dev, gem2deb Standards-Version: 3.9.8 Section: libs Homepage: http://www.grpc.io/ Vcs-Git: https://github.com/grpc/grpc.git Vcs-Browser: https://github.com/grpc/grpc +XS-Ruby-Versions: all + +Package: ruby-grpc +Architecture: any +XB-Ruby-Versions: ${ruby:Versions} +Depends: ruby | ruby-interpreter, + ruby-google-protobuf (>= 3.1), + ruby-googleauth (>= 0.5.1), + ${misc:Depends}, + ${shlibs:Depends} +Description: GRPC system in Ruby + Send RPCs from Ruby using GRPC. + . + GRPC is a modern, open source remote procedure call (RPC) framework that can + run anywhere. It enables client and server applications to communicate + transparently, and makes it easier to build connected systems. Package: libgrpc-dev Section: libdevel @@ -61,3 +77,4 @@ . This package provides the plugins needed for compiling gRPC service definitions with the protobuf compiler. + diff -Nru grpc-1.3.2/debian/patches/no-embed-libs.patch grpc-1.3.2/debian/patches/no-embed-libs.patch --- grpc-1.3.2/debian/patches/no-embed-libs.patch 1970-01-01 05:30:00.0 +0530 +++ grpc-1.3.2/debian/patches/no-embed-libs.patch 2017-07-09 21:48:53.0 +0530 @@ -0,0 +1,15 @@ +--- a/src/ruby/ext/grpc/extconf.rb b/src/ruby/ext/grpc/extconf.rb +@@ -69,9 +69,9 @@ + + ENV['AR'] = 'libtool -o' if RUBY_PLATFORM =~ /darwin/ + +-ENV['EMBED_OPENSSL'] = 'true' +-ENV['EMBED_ZLIB'] = 'true' +-ENV['EMBED_CARES'] = 'true' ++ENV['EMBED_OPENSSL'] = 'false' ++ENV['EMBED_ZLIB'] = 'false' ++ENV['EMBED_CARES'] = 'false' + ENV['ARCH_FLAGS'] = RbConfig::CONFIG['ARCH_FLAG'] + ENV['ARCH_FLAGS'] = '-arch i386 -arch x86_64' if RUBY_PLATFORM =~ /darwin/ + ENV['CFLAGS'] = '-DGPR_BACKWARDS_COMPATIBILITY_MODE' diff -Nru grpc-1.3.2/debian/patches/series grpc-1.3.2/debian/patches/series --- grpc-1.3.2/debian/patches/series2017-04-28 23:01:13.0 +0530 +++ grpc-1.3.2/debian/patches/series2017-07-09 21:48:37.0 +0530 @@ -3,3 +3,4 @@ unvendor-zlib.diff fix-libgrpc++-soname.diff make-pkg-config-files-nonexecutable.diff +no-embed-libs.patch diff -Nru grpc-1.3.2/debian/rules grpc-1.3.2/debian/rules --- grpc-1.3.2/debian/rules 2017-04-26 23:21:56.0 +0530 +++ grpc-1.3.2/debian/rules 2017-07-10 00:05:31.0 +0530 @@ -14,8 +14,11 @@ # package maintainers to append LDFLAGS #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export GEM2DEB_TEST_RUNNER = --check-dependencies + override_dh_auto_build: make shared prefix=/usr + dh_auto_build -O--buildsystem=ruby override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) @@ -24,6 +27,13 @@ override_dh_auto_install: make install prefix=$(CURDIR)/debian/tmp/usr + dh_auto_install -O--buildsystem=ruby + +override_dh_auto_clean: + dh_auto_clean + dh_auto_clean -O--buildsystem=ruby + rm -rf src/ruby/ext/grpc/objs/ + rm -f src/ruby/ext/grpc/libs/opt/libgrpc.a %: dh $@ --parallel signature.asc Description: OpenPGP digital signature
Bug#867541: please build ruby binding of grpc
package: grpc version: 1.3.2-0.2 severity: wishlist I have been trying to build ruby binding of grpc without success. It would be great if grpc package could also build ruby-grpc binary. ruby-grpc is required for updating gitlab. signature.asc Description: OpenPGP digital signature