|Summary:||print/hplip: Building fails unless net-mgmt/net-snmp is built with option IPV6|
|Product:||Ports & Packages||Reporter:||Samy Mahmoudi <samy.mahmoudi>|
|Component:||Individual Port(s)||Assignee:||Ryan Steinmetz <zi>|
|Severity:||Affects Some People||CC:||samy.mahmoudi, tijl|
Description Samy Mahmoudi 2020-10-11 21:38:22 UTC
Hi, Building fails under Poudriere (12.1-RELEASE-p10). The following link gives the full log: http://logs.imp.ovh/hplip-3.20.6.log The log ends with the following error message: --- libhpmud_la-pml.lo --- In file included from io/hpmud/pml.c:45: In file included from /usr/local/include/net-snmp/net-snmp-includes.h:24: In file included from /usr/local/include/net-snmp/definitions.h:22: In file included from /usr/local/include/net-snmp/types.h:425: In file included from /usr/local/include/net-snmp/library/snmp_api.h:33: In file included from /usr/local/include/net-snmp/varbind_api.h:102: In file included from /usr/local/include/net-snmp/library/snmp_client.h:33: /usr/local/include/net-snmp/session_api.h:317:10: fatal error: 'net-snmp/library/snmpUDPIPv6Domain.h' file not found #include <net-snmp/library/snmpUDPIPv6Domain.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** [libhpmud_la-pml.lo] Error code 1 make: stopped in /wrkdirs/usr/ports/print/hplip/work/hplip-3.20.6
Comment 1 Samy Mahmoudi 2020-10-11 21:57:02 UTC
OK, I found something interesting: if I turn on the option IPV6 on net-mgmt/net-snmp, the aforementioned header is not missing anymore and the port builds.
Comment 2 Tijl Coosemans 2020-10-12 15:39:11 UTC
Looks like the net-snmp ipv6 headers should be installed even if the IPV6 option is off. Let's see what the net-snmp maintainer has to say.