On Mon, Apr 6, 2020 at 8:28 am, László Böszörményi (GCS) <g...@debian.org> wrote:
On Wed, Apr 1, 2020 at 1:39 AM László Böszörményi (GCS) <g...@debian.org> wrote:
On Tue, Mar 31, 2020 at 8:12 PM Pirate Praveen <prav...@onenetbeyond.org> wrote:
 > dh_missing --list-missing
 > dh_missing: warning: usr/lib/x86_64-linux-gnu/libupb.so exists in
 > debian/tmp but is not installed to anywhere
> dh_missing: warning: usr/lib/x86_64-linux-gnu/libupb.so.9 exists in
 > debian/tmp but is not installed to anywhere
> dh_missing: warning: usr/lib/x86_64-linux-gnu/libupb.so.9.0.0 exists in
 > debian/tmp but is not installed to anywhere
 > dh_missing: warning: usr/lib/x86_64-linux-gnu/libupb.a exists in
 > debian/tmp but is not installed to anywhere
Reason is simple. It's an _external_ project and does _not_ needed in
 Sid / Bullseye as those use the normal protobuf packages.
 Please see that it's a third_party library[1] in gRPC, developed
 independently[2] and that it's _not_ a full implementation (but a
 micro, subset one)[3].
 Just for the record, I've packaged upb [4] if you might need it for
something. It's in the NEW queue as well, hopefully it will be
accepted soon.
Still no intention to ship it from gRPC, especially that your problem
lies elsewhere, in dh_dwz.


After adding debhelper >= 12.3~ in control, dh_dwz error is gone, but we are back with missing libupb.so.9 error (dpkg-shlibdeps comes after a dh_dwz so grpc is now failing in debhelper-compat 11 and 12).

So some options I can think of,

1. Wait til upb clears NEW and migrate to testing.
2. Try if removing upb from build process will help it pick protobuf

See new log below,

  dh_dwz
dwz: debian/libgrpc9/usr/lib/x86_64-linux-gnu/libaddress_sorting.so.9.0.0: .debug_info section not present dwz: debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgpr.so.9.0.0: .debug_info section not present dwz: debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc.so.9.0.0: .debug_info section not present dwz: debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc_cronet.so.9.0.0: .debug_info section not present dwz: debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc_unsecure.so.9.0.0: .debug_info section not present
dwz: Too few files for multifile optimization
dh_dwz: warning: No dwz multifile created, but not explicitly requested either so ignoring it. dh_dwz: warning: Common issues include no debug information at all (missing -g) and
dh_dwz: warning: compressed debug information (#931891).
dwz: debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++.so.1.26.0: .debug_info section not present dwz: debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_error_details.so.1.26.0: .debug_info section not present dwz: debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_reflection.so.1.26.0: .debug_info section not present dwz: debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_unsecure.so.1.26.0: .debug_info section not present dwz: debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpcpp_channelz.so.1.26.0: .debug_info section not present
dwz: Too few files for multifile optimization
dh_dwz: warning: No dwz multifile created, but not explicitly requested either so ignoring it. dh_dwz: warning: Common issues include no debug information at all (missing -g) and
dh_dwz: warning: compressed debug information (#931891).
dwz: debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/extensions/x86_64-linux/2.5.0/grpc-1.26.0/grpc/grpc_c.so: .debug_info section not present dwz: debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/gems/grpc-1.26.0/src/ruby/lib/grpc/grpc_c.so: .debug_info section not present
dwz: Too few files for multifile optimization
dh_dwz: warning: No dwz multifile created, but not explicitly requested either so ignoring it. dh_dwz: warning: Common issues include no debug information at all (missing -g) and
dh_dwz: warning: compressed debug information (#931891).
  dh_strip
  dh_makeshlibs
  dh_shlibdeps
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/python3-grpcio/usr/lib/python3/dist-packages/grpc/_cython/cygrpc.cpython-37m-x86_64-linux-gnu.so was not linked against librt.so.1 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/protobuf-compiler-grpc/usr/bin/grpc_php_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_ruby_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_objective_c_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_node_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_cpp_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_python_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_csharp_plugin were not linked against libcares.so.2 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/protobuf-compiler-grpc/usr/bin/grpc_php_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_ruby_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_objective_c_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_node_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_cpp_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_python_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_csharp_plugin were not linked against libpthread.so.0 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/protobuf-compiler-grpc/usr/bin/grpc_php_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_ruby_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_objective_c_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_node_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_cpp_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_python_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_csharp_plugin were not linked against libz.so.1 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/protobuf-compiler-grpc/usr/bin/grpc_php_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_ruby_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_objective_c_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_node_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_cpp_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_python_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_csharp_plugin were not linked against libprofiler.so.0 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/protobuf-compiler-grpc/usr/bin/grpc_php_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_ruby_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_objective_c_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_node_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_cpp_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_python_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_csharp_plugin were not linked against libdl.so.2 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/protobuf-compiler-grpc/usr/bin/grpc_php_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_ruby_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_objective_c_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_node_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_cpp_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_python_plugin debian/protobuf-compiler-grpc/usr/bin/grpc_csharp_plugin were not linked against librt.so.1 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc_unsecure.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc_cronet.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libaddress_sorting.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgpr.so.9.0.0 were not linked against libgcc_s.so.1 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc_unsecure.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc_cronet.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libaddress_sorting.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgpr.so.9.0.0 were not linked against libdl.so.2 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc_unsecure.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgrpc_cronet.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libaddress_sorting.so.9.0.0 debian/libgrpc9/usr/lib/x86_64-linux-gnu/libgpr.so.9.0.0 were not linked against libprofiler.so.0 (they use none of the library's symbols) dpkg-shlibdeps: error: cannot find library libupb.so.9 needed by debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++.so.1.26.0 (ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '') dpkg-shlibdeps: error: cannot find library libupb.so.9 needed by debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_unsecure.so.1.26.0 (ELF format: 'elf64-x86-64' abi: '0201003e00000000'; RPATH: '') dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpcpp_channelz.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_error_details.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_reflection.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_unsecure.so.1.26.0 were not linked against libdl.so.2 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpcpp_channelz.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_error_details.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_reflection.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_unsecure.so.1.26.0 were not linked against librt.so.1 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpcpp_channelz.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_error_details.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_reflection.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_unsecure.so.1.26.0 were not linked against libcares.so.2 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpcpp_channelz.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_error_details.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_reflection.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++.so.1.26.0 debian/libgrpc++1/usr/lib/x86_64-linux-gnu/libgrpc++_unsecure.so.1.26.0 were not linked against libprofiler.so.0 (they use none of the library's symbols)
dpkg-shlibdeps: error: cannot continue due to the errors listed above
Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file.
To help dpkg-shlibdeps find private libraries, you might need to use -l.
dh_shlibdeps: error: dpkg-shlibdeps -Tdebian/libgrpc\+\+1.substvars debian/libgrpc\+\+1/usr/lib/x86_64-linux-gnu/libgrpc\+\+_reflection.so.1.26.0 debian/libgrpc\+\+1/usr/lib/x86_64-linux-gnu/libgrpcpp_channelz.so.1.26.0 debian/libgrpc\+\+1/usr/lib/x86_64-linux-gnu/libgrpc\+\+_error_details.so.1.26.0 debian/libgrpc\+\+1/usr/lib/x86_64-linux-gnu/libgrpc\+\+.so.1.26.0 debian/libgrpc\+\+1/usr/lib/x86_64-linux-gnu/libgrpc\+\+_unsecure.so.1.26.0 returned exit code 2 dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/extensions/x86_64-linux/2.5.0/grpc-1.26.0/grpc/grpc_c.so debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/gems/grpc-1.26.0/src/ruby/lib/grpc/grpc_c.so were not linked against libpthread.so.0 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/extensions/x86_64-linux/2.5.0/grpc-1.26.0/grpc/grpc_c.so debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/gems/grpc-1.26.0/src/ruby/lib/grpc/grpc_c.so were not linked against libcrypt.so.1 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/extensions/x86_64-linux/2.5.0/grpc-1.26.0/grpc/grpc_c.so debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/gems/grpc-1.26.0/src/ruby/lib/grpc/grpc_c.so were not linked against libgmp.so.10 (they use none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/extensions/x86_64-linux/2.5.0/grpc-1.26.0/grpc/grpc_c.so debian/ruby-grpc/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0/gems/grpc-1.26.0/src/ruby/lib/grpc/grpc_c.so were not linked against libdl.so.2 (they use none of the library's symbols)

Regards,
Laszlo/GCS
[4] dget -x http://www.barcikacomp.hu/gcs/upb_0.0.0~git200311-1.dsc

Reply via email to