[ adding #978172 to Cc ] On Tue, Feb 08, 2022 at 07:30:24AM -0800, tony mancill wrote: > On Tue, Feb 08, 2022 at 09:34:48AM +0200, Adrian Bunk wrote: > > Package: libphonenumber-dev > > Version: 8.12.41-1 > > Severity: serious > > Tags: ftbfs > > Control: affects -1 src:kamailio > > > > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/kamailio.html > > Hi Adrian,
Hi Tony, > Thank you for the bug report. Unless I am missing some context, this is > another instance of the discussion in #978172 [1], just with a different > library. I mention it in case you'd like to weigh in on that bug. yes, this is a similar issue, and I do also see the dependency as mandatory there: When libphonenumber8 is only using a library without exposing it in its API, then there is no need for a dependency in libphonenumber-dev.[1] When a library is exposing its own dependencies in its API, by #include'ing of headers of the libraries it uses, then the dependencies should provide everything necessary for using the headers. > In the meantime, I am adding the dependency on libabsl-dev. > > Cheers, > tony >... cu Adrian [1] Ignoring the static libraries in libphonenumber-dev, in practice static libraries are rarely used and -dev packages do not usually have dependencies for using them.