MidnightBSD Magus

net-mgmt/php73-snmp

The snmp shared extension for php

Flavor Version Run OSVersion Arch License Restricted Status
7.3.22 442 2.0 i386 php 0 fail

Events

Machine Type Time Message
m2032 info 2021-02-24 19:34:11.752884 Test Started
m2032 fail 2021-02-24 19:34:21.092308 make build returned non-zero: 1
m2032 fail 2021-02-24 19:34:21.139676 Test complete.

Log

===>  Building for php73-snmp-7.3.22
--- snmp.lo ---
/bin/sh /magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp/libtool --mode=compile cc  -I. -I/magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp -DPHP_ATOM_INC -I/magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp/include -I/magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp/main -I/magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H  -O2 -pipe -fno-strict-aliasing   -c /magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp/snmp.c -o snmp.lo
mkdir .libs
 cc -I. -I/magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp -DPHP_ATOM_INC -I/magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp/include -I/magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp/main -I/magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fno-strict-aliasing -c /magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp/snmp.c  -fPIC -DPIC -o .libs/snmp.o
In file included from /magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp/snmp.c:31:
In file included from ./php_snmp.h:42:
/usr/local/include/net-snmp/net-snmp-config.h:2317:10: fatal error: 'net-snmp/system/midnightbsd2.h' file not found
#include NETSNMP_SYSTEM_INCLUDE_FILE
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/net-snmp/net-snmp-config.h:1969:37: note: expanded from macro 'NETSNMP_SYSTEM_INCLUDE_FILE'
#define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/midnightbsd2.h"
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** [snmp.lo] Error code 1

make[1]: stopped in /magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp
1 error

make[1]: stopped in /magus/work/usr/mports/net-mgmt/php73-snmp/work/php-7.3.22/ext/snmp
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/net-mgmt/php73-snmp