[Pkg-net-snmp-devel] Bug#894626: Bug#894626: Bug#894626: libsnmp-info-perl: FTBFS against libsnmp-perl (src:net-snmp) 5.7.3+dfsg-2

gregor herrmann gregoa at debian.org
Tue Apr 3 17:15:51 UTC 2018

Control: tag -1 + patch

On Tue, 03 Apr 2018 12:09:16 +0000, Craig Small wrote:

> 1) Add --no-parallel to the dh line: This slows everything down
> 2) Fudge the debian/rules like the python module and run the perl creation
> stuff after the library is built
> 3) Patch the upstream Makefile so it only builds perl modules after the
> library is built.
> I know #1 works.
> #2 is my second option.
> I'd like to do #3 but it comes down to working out the multitude of
> Makefiles net-snmp has; most likely one word on the perlmodules line will
> do it.

The attached patch seems to work (the warnings are gone, and the
resulting libsnmp-perl package has a dependency on libsnmp30 again).

Maybe "snmplib" would be enough instead of "standardall", maybe the
"perlmodules" line would work as well instead of the "perlmakefiles"
target (but that probably still leaves the warnings) -- but the patch
seems to work and, as I understand it, makes sure that all perl stuff
happens only after the C libraries themselves are built.


 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Dido: Hunter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perl-parallel-build.patch
Type: text/x-diff
Size: 246 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20180403/5d0f5554/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20180403/5d0f5554/attachment.sig>

More information about the Pkg-net-snmp-devel mailing list