[Pkg-net-snmp-devel] Bug#851946: Depending on libssl1.0-dev breaks PHP builds
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sat Jan 21 21:04:43 UTC 2017
On 2017-01-20 21:36:00 [+0000], Niels Thykier wrote:
> Hi Ondřej,
> Sorry for being the "messenger" triggering this issue in php7.0.
> Kurt/Sebastian, what are you recommendations here? Should we migrate
> net-snmp itself to ssl1.1 (possibly with all of its rdeps) or can we
> detangle net-snmp and php7 from each other in a graceful manner?
From what it looks, net-snmp/library/cert_util.h exposes openssl' data
types and that is probably why they Depend on libssl-dev in the
libsnmp-dev package. I grep the deps  and didn't find a user of
cert_util.h so it looks like nobody cares about that.
I would suggest to drop the the libssl1.0-dev dep in libsnmp-dev and add
a guard cert_util.h to ensure openssl's version is less than 1.1.0 in
case someone tries to use this on its own.
I will try to make that change tomorrow and rebuild the packages .
 grep-dctrl -s Package -F Build-Depends,Build-Depends-Indep \
libsnmp-dev /var/lib/apt/lists/*Sources | sort -u
More information about the Pkg-net-snmp-devel