MidnightBSD Magus

net-mgmt/php71-snmp

The snmp shared extension for php

Flavor Version Run OSVersion Arch License Restricted Status
7.1.33 395 1.2 i386 php 0 fail

Events

Machine Type Time Message
m1232 info 2020-01-04 15:15:10.383283 Test Started
m1232 fail 2020-01-04 15:15:20.933348 make build returned non-zero: 1
m1232 fail 2020-01-04 15:15:20.979416 Test complete.

Log

===>  Building for php71-snmp-7.1.33
/bin/sh /magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/ext/snmp/libtool --mode=compile cc  -I. -I/magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/ext/snmp -DPHP_ATOM_INC -I/magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/ext/snmp/include -I/magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/ext/snmp/main -I/magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/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/php71-snmp/work/php-7.1.33/ext/snmp/snmp.c -o snmp.lo
mkdir .libs
 cc -I. -I/magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/ext/snmp -DPHP_ATOM_INC -I/magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/ext/snmp/include -I/magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/ext/snmp/main -I/magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/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/php71-snmp/work/php-7.1.33/ext/snmp/snmp.c  -fPIC -DPIC -o .libs/snmp.o
In file included from /magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/ext/snmp/snmp.c:33:
In file included from ./php_snmp.h:44:
/usr/local/include/net-snmp/net-snmp-config.h:2106:10: fatal error: 'net-snmp/system/midnightbsd1.h' file not found
#include NETSNMP_SYSTEM_INCLUDE_FILE
         ^
/usr/local/include/net-snmp/net-snmp-config.h:1762:37: note: expanded from macro 'NETSNMP_SYSTEM_INCLUDE_FILE'
#define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/midnightbsd1.h"
                                    ^
1 error generated.
*** [snmp.lo] Error code 1

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

make[1]: stopped in /magus/work/usr/mports/net-mgmt/php71-snmp/work/php-7.1.33/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/php71-snmp