[Pkg-net-snmp-devel] Bug#825014: net-snmp: FTBFS with Perl 5.24: error: conflicting types for 'U64'

gregor herrmann gregoa at debian.org
Fri Sep 2 12:05:47 UTC 2016


On Thu, 07 Jul 2016 16:42:07 +0200, Niko Tyni wrote:

> This seems to have been fixed upstream by
>  https://sourceforge.net/p/net-snmp/code/ci/477b4307ef12ddce3b6a9205e0bdddbfb2e0e9b6
> 
> which applies as-is to the current Debian package.
> 
> Patch attached for convenience.

After applying the patch, the build fails (with 5.24 from
experimental) with:

chmod a+x net-snmp-config
touch net-snmp-config-x
Checking if your kit is complete...
Looks good
Warning: -L../../snmplib/.libs changed to -L/build/net-snmp-5.7.3+dfsg/perl/default_store/../../snmplib/.libs
Warning: -L../../snmplib/ changed to -L/build/net-snmp-5.7.3+dfsg/perl/default_store/../../snmplib/
Generating a Unix-style Makefile
Writing Makefile for NetSNMP::default_store
Writing MYMETA.yml and MYMETA.json
Checking if your kit is complete...
Looks good
Warning: -L../../snmplib/.libs changed to -L/build/net-snmp-5.7.3+dfsg/perl/ASN/../../snmplib/.libs
Warning: -L../../snmplib/ changed to -L/build/net-snmp-5.7.3+dfsg/perl/ASN/../../snmplib/
Generating a Unix-style Makefile
Writing Makefile for NetSNMP::ASN
Writing MYMETA.yml and MYMETA.json
ERROR from evaluation of /build/net-snmp-5.7.3+dfsg/perl/OID/Makefile.PL: panic: attempt to copy freed scalar 1d7b1f8 to 265fce0 at /usr/share/perl/5.24/Carp.pm line 229.
Checking if your kit is complete...
Looks good
Makefile:302: recipe for target 'perlmakefiles' failed
make[2]: *** [perlmakefiles] Error 2
make[2]: Leaving directory '/build/net-snmp-5.7.3+dfsg'
dh_auto_build: make -j1 returned exit code 2
debian/rules:64: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/net-snmp-5.7.3+dfsg'
debian/rules:40: recipe for target 'build' failed
make: *** [build] Error 2

(2 tries, 2 same errors (with verying addresses)).


With the patch applied and 5.22 from unstable the build succeeds.

The panic in Carp is a bit beyond my field of excercise :)


Cheers,
gregor

-- 
 .''`.  Homepage https://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20160902/15c2da54/attachment.sig>


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