<div dir="ltr">Thanks for the analysis Gregor,<div>  It explains why when I built it by hand it seemed to work ok. There was a patch to fix parallel build where something needed to depend on something else. I suspect that there needs to be another (or more) of these dependencies.</div><div>Odd how if it doesn't find the library it just doesn't abort instead of merrily making a bad module, but there you go.</div><div><br></div><div>Probably also explains why the reproducible build check always fails.</div><div><br></div><div>It gives me a place to look, thanks!</div><div><br></div><div><br></div><div> - Craig</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 15 Oct 2019 at 06:07, gregor herrmann <<a href="mailto:gregoa@debian.org">gregoa@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 14 Oct 2019 10:34:41 +1100, Craig Small wrote:<br>
<br>
> > libsnmp-perl is broken.<br>
> Ouch, I don't use the module (or Perl much for that matter) but that's very<br>
> broken. No idea what's going on but it worries me that<br>
> netsnmp_ds_get_boolean is the first function in that module which means a<br>
> coincidence or all functions are not available.<br>
<br>
Some notes:<br>
<br>
    % apt-cache --no-all-versions show libsnmp-perl | grep Depends<br>
    Depends: perl (>= 5.30.0-6), perlapi-5.30.0, libc6 (>= 2.15)<br>
<br>
So the perl package doesn't depend on any snmp libraries. The<br>
previous version had<br>
    Depends: perl (>= 5.30.0-5), perlapi-5.30.0, libc6 (>= 2.15), libsnmp30 (>= 5.7.3+dfsg)<br>
<br>
Digging around in the git repo shows that the perl build system has<br>
been changed. (No idea if this is related.)<br>
<br>
Looking at the (local) build log we see:<br>
<br>
… well different things at each build, but once I saw the perl<br>
modules built first in dh_auto_build with warnings about missing C<br>
libraries …<br>
<br>
Upstream ChangeLog says:<br>
<br>
    The Perl module build problems were caused by a concurrent build<br>
    (make -j<n>) and not by a problem in any of the Makefile.PL files.<br>
<br>
When I try<br>
<br>
    %:<br>
        dh $@ --no-parallel<br>
<br>
I end up with<br>
<br>
    Depends: perl (>= 5.30.0-6), perlapi-5.30.0, libc6 (>= 2.15), libsnmp35 (>= 5.8+dfsg)<br>
<br>
and the problem is gone:<br>
<br>
    % perl -MSNMP -e 1<br>
    %<br>
<br>
So it looks like the "whole" problem is that net-snmp is not<br>
parallel-build safe …<br>
<br>
Not sure if --no-parallel is an acceptable solution but at least the<br>
area of the problem is a bit clearer now. (Fixing the many<br>
Makefile.*s might be cleaner but that's too much for me now.)<br>
<br>
<br>
Cheers,<br>
gregor<br>
<br>
<br>
-- <br>
 .''`.  <a href="https://info.comodo.priv.at" rel="noreferrer" target="_blank">https://info.comodo.priv.at</a> -- Debian Developer <a href="https://www.debian.org" rel="noreferrer" target="_blank">https://www.debian.org</a><br>
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06<br>
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe<br>
   `-   <br>
</blockquote></div>