Public bug reported: ruby-ethon, as a wrapper for libcurl, needs libcurl (:
d/control has libcurl-dev as a build dependency, which should install the libraries which are then made dependencies of the binary, via a libcurl:Depends substvar. However, this substvar is being created dynamically by d/mksubstvars, which looks for the installed package providing libcurl.so.4. libcurl-dev is a virtual package, provided by either libcurl4-openssl-dev or libcurl4-gnutls-dev. libcurl4-openssl-dev depends on libcurl4t64, but libcurl4-gnutls-dev depends on libcurl3t64-gnutls... which does not contain libcurl.so.4 (: See https://bugs.debian.org/1020780 for more interesting information With the changes to the apt solver, libcurl4-gnutls-dev is being selected by providing libcurl-dev, which leads to no package containing libcurl.so.4 which leads to no package listed in the dependencies of the ruby-ethon binary, which leads to # apt show ruby-ethon Package: ruby-ethon Version: 0.16.0-3ubuntu1 Priority: optional Section: ruby (...) Depends: ruby-ffi (>= 1.15.0), ruby-mime-types Homepage: https://github.com/typhoeus/ethon Download-Size: 36.5 kB (...) The fix here is making sure libcurl4t64 is made a dependency of ruby- ethon. This was done manually in Debian, as seen in https://salsa.debian.org/ruby-team/ruby- ethon/-/commit/7d8118c67101d80cb20d4c63825580b3b44a402b On the Ubuntu side, we can change the build-depends instead to install specifically libcurl4-openssl-dev, thus ensuring the mksubstvars finds the required package. ** Affects: ruby-ethon (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2144351 Title: Missing dependency on libcurl4t64 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby-ethon/+bug/2144351/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
