Created attachment 433546 [details] emerge --info Perl 5.24.0 is not yet in tree, but this issue cropped up in preparation. ../include/net-snmp/library/int64.h:8:30: error: conflicting types for 'U64' typedef struct counter64 U64; Will probably affect other versions.
I've changed the perl dep to <dev-lang/perl-5.24.0:=
Two patches are needed to build successfully on 5.24.0, will follow as attachments. Please consider a revbump where the perl dep is relaxed again. * patch 1: from net-snmp upstream git, removes the U64 definition that clashes with Perl * patch 2: from freebsd, encapsulates the Makefile.pl files in the subdirectories so an ugly Perl bug is not triggered anymore (see links in the patch)
Created attachment 434368 [details, diff] Remove U64 typedef
Created attachment 434370 [details, diff] patch 2 for Perl 5.24
Comment on attachment 434370 [details, diff] patch 2 for Perl 5.24 This patch lacks a description.
(In reply to Jeroen Roovers from comment #5) > Comment on attachment 434370 [details, diff] [details, diff] > patch 2 for Perl 5.24 > > This patch lacks a description. https://rt.perl.org/Public/Bug/Display.html?id=125907#txn-1363270 my best summary following ^ is: Encapsulate subdirectory Makefile.pl files as separate packages, such that buggy behaviour in core perl is not hit (which leads to a Perl panic (abort due to caught freed-pointer access) since Perl 5.24.0).
This seems to be hitting ~arch users hard, and breaking the whole Perl dep resolution... Shout at me if you must. commit bbb99092d27c92491db9f84b3ea34933a5bff2f1 Author: Andreas K. Hüttel <dilfridge@gentoo.org> Date: Sat May 21 03:14:59 2016 +0200 net-analyzer/net-snmp: Add revbump with fixes for Perl 5.24, bug 582368 Package-Manager: portage-2.3.0_rc1 net-analyzer/net-snmp/Manifest | 2 ++ net-analyzer/net-snmp/net-snmp-5.7.3-r5.ebuild | 192 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 194 insertions(+)