Skip to content

Instantly share code, notes, and snippets.

@rbgarga
Created October 1, 2013 17:33
Show Gist options
  • Save rbgarga/6782174 to your computer and use it in GitHub Desktop.
Save rbgarga/6782174 to your computer and use it in GitHub Desktop.
Script started on Mon Sep 30 09:46:47 2013
command: make -C /usr/ports/devel/php53-pfSense-module TARGET_ARCH=amd64 BATCH=yes FORCE_PKG_REGISTER=yes OPTIONS_UNSET=X11 DOCS EXAMPLES MAN clean build install clean
===> Cleaning for php53-pfSense-module-0.1
if [ ! -d /usr/local/include/isc ]; then echo "Please reinstall isc-dhcp42-server port from pfPorts"; exit 1; fi
mkdir -p /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1
cp -r files/* /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1
===> Patching for php53-pfSense-module-0.1
===> php53-pfSense-module-0.1 depends on executable: dhcpd - found
===> php53-pfSense-module-0.1 depends on file: /usr/local/bin/phpize - found
===> php53-pfSense-module-0.1 depends on file: /usr/local/bin/autoconf-2.69 - found
===> PHPizing for php53-pfSense-module-0.1
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
===> Configuring for php53-pfSense-module-0.1
===> FreeBSD 10 autotools fix applied to /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/build/libtool.m4
===> FreeBSD 10 autotools fix applied to /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/acinclude.m4
===> FreeBSD 10 autotools fix applied to /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/aclocal.m4
===> FreeBSD 10 autotools fix applied to /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/configure
configure: loading site script /usr/ports/Templates/config.site
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd10.0 ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: creating ./config.status
config.status: creating config.h
===> Building for php53-pfSense-module-0.1
--- pfSense.lo ---
--- dummynet.lo ---
--- pfSense.lo ---
/bin/sh /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/libtool --mode=compile cc -I. -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1 -DPHP_ATOM_INC -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/include -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/main -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1 -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 -DHAVE_CONFIG_H -O2 -pipe -I/usr/local/include -L/usr/local/lib -I. -DDHCP_INTEGRATION -DIPFW_FUNCTIONS -fno-strict-aliasing -c /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/pfSense.c -o pfSense.lo
--- dummynet.lo ---
/bin/sh /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/libtool --mode=compile cc -I. -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1 -DPHP_ATOM_INC -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/include -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/main -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1 -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 -DHAVE_CONFIG_H -O2 -pipe -I/usr/local/include -L/usr/local/lib -I. -DDHCP_INTEGRATION -DIPFW_FUNCTIONS -fno-strict-aliasing -c /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/dummynet.c -o dummynet.lo
--- pfSense.lo ---
mkdir .libs
cc -I. -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1 -DPHP_ATOM_INC -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/include -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/main -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1 -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 -DHAVE_CONFIG_H -O2 -pipe -I/usr/local/include -L/usr/local/lib -I. -DDHCP_INTEGRATION -DIPFW_FUNCTIONS -fno-strict-aliasing -c /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/pfSense.c -fPIC -DPIC -o .libs/pfSense.o
--- dummynet.lo ---
cc -I. -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1 -DPHP_ATOM_INC -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/include -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/main -I/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1 -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 -DHAVE_CONFIG_H -O2 -pipe -I/usr/local/include -L/usr/local/lib -I. -DDHCP_INTEGRATION -DIPFW_FUNCTIONS -fno-strict-aliasing -c /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/dummynet.c -fPIC -DPIC -o .libs/dummynet.o
--- pfSense.lo ---
cc: warning: argument unused during compilation: '-L/usr/local/lib'
--- dummynet.lo ---
cc: warning: argument unused during compilation: '-L/usr/local/lib'
--- pfSense.lo ---
/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/pfSense.c:761:7: error: no member named 'ctxid' in 'struct _ip_fw3_opheader'
op3->ctxid = (uint16_t)zone;
~~~ ^
/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/pfSense.c:877:7: error: no member named 'ctxid' in 'struct _ip_fw3_opheader'
op3->ctxid = (uint16_t)zone;
~~~ ^
/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/pfSense.c:972:62: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
status = dhcpctl_new_authenticator(&auth, name, "hmac-md5", key, key_len);
^~~
/usr/local/include/dhcpctl.h:106:29: note: passing argument to parameter here
const unsigned char *, unsigned);
^
/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/pfSense.c:1029:43: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if ((status = dhcpctl_set_data_value(hp, (u_char *)ds, sizeof(struct ether_addr), "hardware-address")) != ISC_R_SUCCESS) {
^~~~~~~~~~~~
/usr/local/include/dhcpctl.h:80:24: note: passing argument to parameter here
const char *, unsigned, const char *);
^
/usr/ports/devel/php53-pfSense-module/work/pfSense-0.1/pfSense.c:1796:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
if (NgNameNode(PFSENSE_G(csock), ifname, newifname) < 0)
^~~~~~~~~
3 warnings and 2 errors generated.
*** [pfSense.lo] Error code 1
make[1]: stopped in /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1
1 error
make[1]: stopped in /usr/ports/devel/php53-pfSense-module/work/pfSense-0.1
===> 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/ports/devel/php53-pfSense-module
Script done on Mon Sep 30 09:46:52 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment