Augustin-FL/building-pfsense-iso-from-source

Build Failure when building ports

Closed this issue · 2 comments

image

The step fails as in the attached image.

./build.sh --update-pkg-repo

Logs:

=>> Building devel/php-10Sense-module
build started at Sun May 3 00:30:46 SAST 2020
port directory: /usr/ports/devel/php-10Sense-module
package name: php73-10Sense-module-0.68
building for: FreeBSD 10Sense_master_amd64-10Sense_devel-job-02 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 1200086 amd64
maintained by: coreteam@pfsense.org
Makefile ident:
Poudriere version: 3.3.99.20200326
Host OSVERSION: 1200086
Jail OSVERSION: 1200086
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RELEASE-p10 1200086
UNAME_r=12.0-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20200326
MASTERMNT=/usr/local/poudriere/data/.m/10Sense_master_amd64-10Sense_devel/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
GID=0
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
UID=0
PWD=/usr/local/poudriere/data/.m/10Sense_master_amd64-10Sense_devel/ref/.p/pool
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=10Sense_master_amd64-10Sense_devel
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/10Sense_master_amd64-10Sense_devel/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=php73
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=php73
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for php73-10Sense-module-0.68:
ETHERSWITCH=on: Enable etherswitch functions
IPFW=on: Enable IPFW functions
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
coreteam@pfsense.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-10Sense --with-php-config=/usr/local/bin/php-config --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73 XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73 HOME=/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73 XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73 HOME=/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include -I. -DTCPSTATES -Wall -Wredundant-decls -Wnested-externs -Winline -DETHERSWITCH_FUNCTIONS -DIPFW_FUNCTIONS -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -I. -DTCPSTATES -Wall -Wredundant-decls -Winline -DETHERSWITCH_FUNCTIONS -DIPFW_FUNCTIONS -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PHP_EXT_DIR=20180731 OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/10Sense" EXAMPLESDIR="share/examples/10Sense" DATADIR="share/10Sense" WWWDIR="www/10Sense" ETCDIR="etc/10Sense"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20180731 PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/10Sense DOCSDIR=/usr/local/share/doc/10Sense EXAMPLESDIR=/usr/local/share/examples/10Sense WWWDIR=/usr/local/www/10Sense ETCDIR=/usr/local/etc/10Sense
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes

/usr/local/etc/poudriere.d/10Sense_devel-make.conf

Define pfSense repos

PFSENSE_REPOS= pfSense-repo pfSense-repo-devel pfSense-repo-244

Generic options

OPTIONS_UNSET_FORCE= X11 DOCS EXAMPLES MAN INFO MANPAGES

Individual ports options

.if ${.CURDIR:Nnet/quagga}=="" || ${.CURDIR:Nnet/frr}==""
CUR_ARCH!= /usr/bin/uname -p
. if ${CUR_ARCH} == "armv7"
WITH_DEBUG=yes
. endif
.endif

.if ${.CURDIR:Nnet/rsync}==""
CFLAGS+= -static
.endif

.if ${.CURDIR:Nsecurity/openiked}==""
CONFIGURE_ARGS= --without-openssl-header-check
.endif

DEFAULT_VERSIONS= php=73 ssl=base
PHP_FD_SETSIZE= 3172

. if ${.CURDIR:Nsysutils/check_reload_status}==""
WITH_DEBUG= yes
. endif

Options for packages

databases

databases_rrdtool12_UNSET_FORCE= PERL

databases_rrdtool_UNSET_FORCE= PYTHON_MODULE RUBY_MODULE PERL_MODULE DEJAVU GRAPH

devel

devel_apr1_SET_FORCE=IPV6 SQLITE SSL THREADS
devel_apr1_UNSET_FORCE=BDB MYSQL NSS PGSQL

devel_git_UNSET_FORCE=CVS GITWEB GUI HTMLDOCS P4 SVN CONTRIB PERL ETCSHELLS

dns

dns_unbound_SET_FORCE= LIBEVENT PYTHON

dns_bind-pfsense_SET_FORCE=DLZ_FILESYSTEM FILTER_AAAA IPV6 LINKS RRL SIGCHASE SSL THREADS GSSAPI_NONE
dns_bind-pfsense_UNSET_FORCE=FIXED_RRSET IDN LARGE_FILE LMDB

dns_bind99_SET_FORCE=DLZ_FILESYSTEM FILTER_AAAA IPV6 LINKS RRL SIGCHASE SSL THREADS GSSAPI_NONE
dns_bind99_UNSET_FORCE=FIXED_RRSET IDN LARGE_FILE

dns_bind910_SET_FORCE=DLZ_FILESYSTEM FILTER_AAAA IPV6 LINKS RRL SIGCHASE SSL THREADS GSSAPI_NONE
dns_bind910_UNSET_FORCE=FIXED_RRSET IDN LARGE_FILE

dns_bind911_SET_FORCE=DLZ_FILESYSTEM FILTER_AAAA IPV6 LINKS RRL SIGCHASE SSL THREADS GSSAPI_NONE
dns_bind911_UNSET_FORCE=FIXED_RRSET IDN LARGE_FILE LMDB

dns_bind912_SET_FORCE=DLZ_FILESYSTEM FILTER_AAAA IPV6 LINKS RRL SIGCHASE SSL THREADS GSSAPI_NONE
dns_bind912_UNSET_FORCE=FIXED_RRSET IDN LARGE_FILE LMDB

emulators

emulators_qemu_UNSET_FORCE= SDL

graphics

graphics_cairo_UNSET_FORCE=X11 XCB OPENGL

graphics_gd_SET_FORCE=ICONV
graphics_gd_UNSET_FORCE=FONTCONFIG XPM

graphics_graphviz_SET_FORCE=ICONV NLS
graphics_graphviz_UNSET_FORCE=DIGCOLA IPSEPCOLA PANGOCAIRO XPM

lang

lang_gcc_UNSET_FORCE=JAVA

mail

mail_pear-Mail_SET_FORCE= PEAR_NET_SMTP

net

net_avahi_UNSET_FORCE=GTK

net_freeradius2_SET_FORCE=KERBEROS LDAP MYSQL PERL PGSQL PYTHON SSL_PORT
net_freeradius3_SET_FORCE=HEIMDAL LDAP MYSQL PERL PGSQL PYTHON SQLITE3

net_haproxy17_SET_FORCE=OPENSSL SPCRE LUA
net_haproxy17_UNSET_FORCE=DPCRE

net_haproxy18_SET_FORCE=OPENSSL SPCRE LUA
net_haproxy18_UNSET_FORCE=DPCRE

net_haproxy_SET_FORCE=OPENSSL SPCRE LUA
net_haproxy_UNSET_FORCE=DPCRE

net_haproxy-devel_SET_FORCE=OPENSSL SPCRE LUA
net_haproxy-devel_UNSET_FORCE=DPCRE

net_libpcap_SET_FORCE=IPV6
net_libpcap_UNSET_FORCE=DAG

net_libzmq4_UNSET_FORCE=PGM

net_miniupnpd_SET_FORCE= PF_FILTER_RULES IPV6 CHECK_PORTINUSE

net_mtr_UNSET_FORCE=X11

net_nss_ldap_UNSET_FORCE=SASL KERBEROS

net_ntp_UNSET_FORCE= PERL_UTILS

net_relayd_SET_FORCE= LIBEVENT_STATIC

net-mgmt

net-mgmt_net-snmp_SET_FORCE=IPV6 MFD_REWRITES TLS
net-mgmt_net-snmp_UNSET_FORCE=AX_DISABLE_TRAP AX_SOCKONLY DOCS DUMMY JAIL MYSQL PYTHON SMUX TKMIB UNPRIVILEGED

net-mgmt_zabbix3-agent_SET_FORCE=IPV6

net-mgmt_zabbix3-proxy_SET_FORCE=IPMI IPV6 LIBXML2 SQLITE SSH
net-mgmt_zabbix3-proxy_UNSET_FORCE=MYSQL

net-mgmt_zabbix4-agent_SET_FORCE=IPV6

net-mgmt_zabbix4-proxy_SET_FORCE=IPMI IPV6 LIBXML2 SQLITE SSH
net-mgmt_zabbix4-proxy_UNSET_FORCE=MYSQL

net-mgmt_zabbix42-agent_SET_FORCE=IPV6

net-mgmt_zabbix42-proxy_SET_FORCE=IPMI IPV6 LIBXML2 SQLITE SSH
net-mgmt_zabbix42-proxy_UNSET_FORCE=MYSQL

net-mgmt_zabbix44-agent_SET_FORCE=IPV6

net-mgmt_zabbix44-proxy_SET_FORCE=IPMI IPV6 LIBXML2 SQLITE SSH
net-mgmt_zabbix44-proxy_UNSET_FORCE=MYSQL

security

security_barnyard2_SET_FORCE=BRO GRE IPV6 MPLS MYSQL PORT_PCAP
security_barnyard2_UNSET_FORCE=ODBC PGSQL PRELUDE

security_ca_root_nss_SET_FORCE= ETCSYMLINK

security_opensc_SET_FORCE= PCSC
security_opensc_UNSET_FORCE= DOCS MANPAGES

security_openvpn_SET_FORCE= X509ALTUSERNAME
security_openvpn_UNSET_FORCE= EASYRSA

shells_scponly_SET_FORCE=CHROOT SCP WILDCARDS WINSCP
shells_scponly_UNSET_FORCE=DEFAULT_CHDIR DOCS GFTP RSYNC SVN SVNSERVE UNISON

security_sudo_SET_FORCE=LDAP

security_snort_SET_FORCE=APPID BARNYARD GRE IPV6 NORMALIZER PERFPROFILE SOURCEFIRE
security_snort_UNSET_FORCE=FILEINSPECT HA PULLEDPORK

security_snortsam_UNSET_FORCE= IPFW

.if ${.CURDIR:Nsecurity/snort3}==""
CUR_ARCH!= /usr/bin/uname -p
.if ${CUR_ARCH} == "armv7" || ${CUR_ARCH} == "aarch64"
security_snort3_SET_FORCE=LARGEPCAP STATICDAQ
security_snort3_UNSET_FORCE=HYPERSCAN TSC
else
security_snort3_SET_FORCE=LARGEPCAP STATICDAQ HYPERSCAN
.endif
.endif

security_strongswan_SET_FORCE= CURL EAPDYNAMIC EAPRADIUS EAPSIMFILE
IKEv1 UNBOUND XAUTH IPSECKEY PKCS11 PKI UNITY VICI VSTR SWANCTL
security_strongswan_UNSET_FORCE= EAPAKA3GPP2 BUILTIN LIBC SMP

security_suricata_SET_FORCE=GEOIP HTP_PORT IPFW JSON LUAJIT NSS PORTS_PCAP NETMAP HYPERSCAN REDIS
security_suricata4_SET_FORCE=GEOIP HTP_PORT IPFW JSON LUAJIT NSS PORTS_PCAP NETMAP HYPERSCAN REDIS
.if ${.CURDIR:Nsecurity/suricata}==""
CUR_ARCH!= /usr/bin/uname -p

XXX Disable native rust for now while https://reviews.freebsd.org/D23133 is not committed

#NATIVE_BUILD!= /sbin/sysctl -qn kern.supported_archs | grep -q ${CUR_ARCH} && echo yes || /usr/bin/true
#.if ${NATIVE_BUILD} != "yes"
.if ${CUR_ARCH} == "armv6" || ${CUR_ARCH} == "armv7" || ${CUR_ARCH} == "aarch64"
security_suricata_UNSET_FORCE=LUA PRELUDE SC TESTS RUST
security_suricata4_UNSET_FORCE=LUA PRELUDE SC TESTS RUST
.else
security_suricata_UNSET_FORCE=LUA PRELUDE SC TESTS
security_suricata4_UNSET_FORCE=LUA PRELUDE SC TESTS
.endif
.endif

security_xinetd_UNSET_FORCE= XCONV

sysutils

sysutils_apcupsd_SET_FORCE=APCDUMB_DRV APCSMART_DRV PCNET_DRV SNMP_DRV TCP_WRAPPERS USB
sysutils_apcupsd_UNSET_FORCE=CGI CLIENT_ONLY GAPCMON SNMP_DRV_OLD TEST_DRV

sysutils_flashrom_UNSET_FORCE= FTDI BUSPIRATE

sysutils_pftop_SET_FORCE=ALTQ

sysutils_syslog-ng_SET_FORCE= SYS_SSL
sysutils_syslog-ng_UNSET_FORCE= PORTS_SSL

www

www_c-icap_SET_FORCE=LARGE_FILES
www_c-icap_UNSET_FORCE=IPV6

www_lightsquid_SET_FORCE=GD

www_lighttpd_SET_FORCE= NODELAY

www_nginx_SET_FORCE= LUA

www_squid_SET_FORCE=ARP_ACL AUTH_LDAP AUTH_NIS AUTH_SASL CACHE_DIGESTS DELAY_POOLS FOLLOW_XFF FS_AUFS FS_DISKD GSSAPI_MIT HTCP ICAP ICMP IDENT IPV6 KQUEUE LARGEFILE LAX_HTTP SNMP SSL SSL_CRTD TP_PF WCCP WCCPV2
www_squid_UNSET_FORCE=AUTH_SMB AUTH_SQL DEBUG DNS_HELPER ECAP ESI FS_ROCK GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL STACKTRACES TP_IPF TP_IPFW VIA_DB

www_squid3_SET_FORCE=ARP_ACL AUTH_LDAP AUTH_NIS AUTH_SASL CACHE_DIGESTS DELAY_POOLS FOLLOW_XFF FS_AUFS FS_DISKD GSSAPI_MIT HTCP ICAP ICMP IDENT IPV6 KQUEUE LARGEFILE LAX_HTTP SNMP SSL SSL_CRTD TP_PF WCCP WCCPV2
www_squid3_UNSET_FORCE=AUTH_SMB AUTH_SQL DEBUG DNS_HELPER ECAP ESI FS_ROCK GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL STACKTRACES TP_IPF TP_IPFW VIA_DB

www_squidguard_SET_FORCE=DNS_BL LDAP STRIP_NTDOMAIN
www_squidguard_UNSET_FORCE=QUOTE_STRING

www_e2guardian_SET_FORCE=ICAP NTLM SSL_MITM

net_frr7_SET_FORCE=MULTIPATH

PKG_REPO_BRANCH_DEVEL=master
PKG_REPO_BRANCH_RELEASE=v2_4_5
PKG_REPO_SERVER_DEVEL=pkg+http://10.0.108.110/packages
PKG_REPO_SERVER_RELEASE=pkg+http://10.0.108.110/packages
POUDRIERE_PORTS_NAME=10Sense_devel
PFSENSE_DEFAULT_REPO=10Sense-repo-devel
PRODUCT_NAME=10Sense
REPO_BRANCH_PREFIX=

/usr/ports/Mk/Scripts/ports_env.sh

_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.0-RELEASE-p10
OSREL=12.0
OSVERSION=1200086
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
_SMP_CPUS=8
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1

Misc Poudriere

---End make.conf---
--Resource limits--
cpu time (seconds, -t) unlimited
file size (512-blocks, -f) unlimited
data seg size (kbytes, -d) 33554432
stack size (kbytes, -s) 524288
core file size (512-blocks, -c) unlimited
max memory size (kbytes, -m) unlimited
locked memory (kbytes, -l) unlimited
max user processes (-u) 19558
open files (-n) 1024
virtual mem size (kbytes, -v) unlimited
swap limit (kbytes, -w) unlimited
socket buffer size (bytes, -b) unlimited
pseudo-terminals (-p) unlimited
kqueues (-k) unlimited
umtx shared locks (-o) unlimited
--End resource limits--
=======================<phase: check-sanity >============================

=======================<phase: pkg-depends >============================
===> php73-10Sense-module-0.68 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.12.0_1.txz
[10Sense_master_amd64-10Sense_devel-job-02] Installing pkg-1.12.0_1...
[10Sense_master_amd64-10Sense_devel-job-02] Extracting pkg-1.12.0_1: .......... done
===> php73-10Sense-module-0.68 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of php73-10Sense-module-0.68

=======================<phase: fetch-depends >============================

=======================<phase: fetch >============================
===> Fetching all distfiles required by php73-10Sense-module-0.68 for building

=======================<phase: checksum >============================
===> Fetching all distfiles required by php73-10Sense-module-0.68 for building

=======================<phase: extract-depends>============================

=======================<phase: extract >============================
mkdir -p /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68
cp -r files/* /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68

=======================<phase: patch-depends >============================

=======================<phase: patch >============================
mkdir -p /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68
cp -r files/* /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68
===> Patching for php73-10Sense-module-0.68

=======================<phase: build-depends >============================
===> php73-10Sense-module-0.68 depends on file: /usr/local/bin/phpize - not found
===> Installing existing package /packages/All/php73-7.3.16.txz
[10Sense_master_amd64-10Sense_devel-job-02] Installing php73-7.3.16...
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing libargon2-20190702... [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting libargon2-20190702: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing libxml2-2.9.10... [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting libxml2-2.9.10: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing pcre2-10.33... [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting pcre2-10.33: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] Extracting php73-7.3.16: .......... done
===> php73-10Sense-module-0.68 depends on file: /usr/local/bin/phpize - found
===> Returning to build of php73-10Sense-module-0.68
===> php73-10Sense-module-0.68 depends on package: autoconf>0 - not found
===> Installing existing package /packages/All/autoconf-2.69_3.txz
[10Sense_master_amd64-10Sense_devel-job-02] Installing autoconf-2.69_3...
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing autoconf-wrapper-20131203... [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting autoconf-wrapper-20131203: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing indexinfo-0.3.1... [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting indexinfo-0.3.1: .... done
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing m4-1.4.18_1,1... [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting m4-1.4.18_1,1: ...... done
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing perl5-5.30.1... [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting perl5-5.30.1: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] Extracting autoconf-2.69_3: .......... done

Message from perl5-5.30.1:

--
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:

#!/usr/local/bin/perl

or

#!/usr/bin/env perl

The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
===> php73-10Sense-module-0.68 depends on package: autoconf>0 - found
===> Returning to build of php73-10Sense-module-0.68

=======================<phase: lib-depends >============================
===> php73-10Sense-module-0.68 depends on shared library: libvici.so - not found
===> Installing existing package /packages/All/strongswan-5.8.2.txz
[10Sense_master_amd64-10Sense_devel-job-02] Installing strongswan-5.8.2...
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing curl-7.67.0... [10Sense_master_amd64-10Sense_devel-job-02] | -- Installing ca_root_nss-3.51...
[10Sense_master_amd64-10Sense_devel-job-02] | -- Extracting ca_root_nss-3.51: ........ done [10Sense_master_amd64-10Sense_devel-job-02] | -- Installing libnghttp2-1.40.0...
[10Sense_master_amd64-10Sense_devel-job-02] | -- Extracting libnghttp2-1.40.0: .......... done [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting curl-7.67.0: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing ldns-1.7.1_1... [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting ldns-1.7.1_1: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing unbound-1.9.6... [10Sense_master_amd64-10Sense_devel-job-02] | -- Installing expat-2.2.8...
[10Sense_master_amd64-10Sense_devel-job-02] | -- Extracting expat-2.2.8: .......... done [10Sense_master_amd64-10Sense_devel-job-02] | -- Installing libevent-2.1.11...
[10Sense_master_amd64-10Sense_devel-job-02] | -- Extracting libevent-2.1.11: .......... done [10Sense_master_amd64-10Sense_devel-job-02] | -- Installing python37-3.7.6...
[10Sense_master_amd64-10Sense_devel-job-02] | | -- Installing gettext-runtime-0.20.1... [10Sense_master_amd64-10Sense_devel-job-02] | | -- Extracting gettext-runtime-0.20.1: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] | | -- Installing libffi-3.2.1_3... [10Sense_master_amd64-10Sense_devel-job-02] | | -- Extracting libffi-3.2.1_3: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] | | -- Installing readline-8.0.1... [10Sense_master_amd64-10Sense_devel-job-02] | | -- Extracting readline-8.0.1: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] | -- Extracting python37-3.7.6: .......... done ===> Creating groups. Using existing group 'unbound'. ===> Creating users Using existing user 'unbound'. [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting unbound-1.9.6: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] -- Installing vstr-1.0.15_1... [10Sense_master_amd64-10Sense_devel-job-02] -- Extracting vstr-1.0.15_1: .......... done
[10Sense_master_amd64-10Sense_devel-job-02] Extracting strongswan-5.8.2: .......... done

Message from ca_root_nss-3.51:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.

This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  • /etc/ssl/cert.pem
  • /usr/local/etc/ssl/cert.pem
  • /usr/local/openssl/cert.pem
    =====
    Message from python37-3.7.6:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py37-gdbm databases/py-gdbm@py37
py37-sqlite3 databases/py-sqlite3@py37
py37-tkinter x11-toolkits/py-tkinter@py37

Message from vstr-1.0.15_1:

--
===> NOTICE:

The vstr port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===> php73-10Sense-module-0.68 depends on shared library: libvici.so - found (/usr/local/lib/ipsec/libvici.so)
===> Returning to build of php73-10Sense-module-0.68

=======================<phase: configure >============================
===> PHPizing for php73-10Sense-module-0.68
===> Configuring for php73-10Sense-module-0.68
Configuring for:
PHP Api Version: 20180731
Zend Module Api No: 20180731
Zend Extension Api No: 320180731
configure: loading site script /usr/ports/Templates/config.site
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... amd64-portbld-freebsd12.0
checking host system type... amd64-portbld-freebsd12.0
checking target system type... amd64-portbld-freebsd12.0
checking for PHP prefix... /usr/local
checking for PHP includes... -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
checking for PHP extension directory... /usr/local/lib/php/20180731
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... (cached) /usr/bin/awk
checking if /usr/bin/awk is broken... no
checking whether to enable 10Sense support... yes, shared
./configure: 10SENSE_SHARED_LIBADD=-lnetgraph dummy0SENSE_SHARED_LIBADD: not found
./configure: 10SENSE_SHARED_LIBADD=-lvici dummy0SENSE_SHARED_LIBADD: not found
./configure: 10SENSE_SHARED_LIBADD=-L/usr/local/lib/ipsec dummy0SENSE_SHARED_LIBADD: not found
./configure: 10SENSE_SHARED_LIBADD=-Wl,-rpath,/usr/local/lib/ipsec dummy0SENSE_SHARED_LIBADD: not found
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd12.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC...
checking if c++ static flag works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd12.0 ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: creating ./config.status
config.status: creating config.h

=======================<phase: build >============================
===> Building for php73-10Sense-module-0.68
--- 10Sense.lo ---
--- dummynet.lo ---
--- ifmedia.lo ---
--- 10Sense.lo ---
/bin/sh /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/libtool --mode=compile cc -I. -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/include -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/main -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -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 -I. -DTCPSTATES -Wall -Wredundant-decls -Wnested-externs -Winline -DETHERSWITCH_FUNCTIONS -DIPFW_FUNCTIONS -fstack-protector-strong -fno-strict-aliasing -c /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/10Sense.c -o 10Sense.lo
--- ifmedia.lo ---
/bin/sh /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/libtool --mode=compile cc -I. -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/include -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/main -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -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 -I. -DTCPSTATES -Wall -Wredundant-decls -Wnested-externs -Winline -DETHERSWITCH_FUNCTIONS -DIPFW_FUNCTIONS -fstack-protector-strong -fno-strict-aliasing -c /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/ifmedia.c -o ifmedia.lo
--- dummynet.lo ---
/bin/sh /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/libtool --mode=compile cc -I. -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/include -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/main -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -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 -I. -DTCPSTATES -Wall -Wredundant-decls -Wnested-externs -Winline -DETHERSWITCH_FUNCTIONS -DIPFW_FUNCTIONS -fstack-protector-strong -fno-strict-aliasing -c /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/dummynet.c -o dummynet.lo
--- ifmedia.lo ---
mkdir .libs
cc -I. -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/include -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/main -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -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 -I. -DTCPSTATES -Wall -Wredundant-decls -Wnested-externs -Winline -DETHERSWITCH_FUNCTIONS -DIPFW_FUNCTIONS -fstack-protector-strong -fno-strict-aliasing -c /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/ifmedia.c -fPIC -DPIC -o .libs/ifmedia.o
--- 10Sense.lo ---
cc -I. -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/include -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/main -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -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 -I. -DTCPSTATES -Wall -Wredundant-decls -Wnested-externs -Winline -DETHERSWITCH_FUNCTIONS -DIPFW_FUNCTIONS -fstack-protector-strong -fno-strict-aliasing -c /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/10Sense.c -fPIC -DPIC -o .libs/10Sense.o
--- dummynet.lo ---
cc -I. -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/include -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/main -I/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68 -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 -I. -DTCPSTATES -Wall -Wredundant-decls -Wnested-externs -Winline -DETHERSWITCH_FUNCTIONS -DIPFW_FUNCTIONS -fstack-protector-strong -fno-strict-aliasing -c /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/dummynet.c -fPIC -DPIC -o .libs/dummynet.o
In file included from /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/dummynet.c:55:
./php_10Sense.h:128:26: error: expected identifier or '('
extern zend_module_entry 10Sense_module_entry;
^
/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/dummynet.c:640:31: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (read_bandwidth(arg, &link->bandwidth, buf, sizeof(buf)) == -1)
^~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/dummynet.c:495:32: note: passing argument to parameter 'bandwidth' here
read_bandwidth(char *arg, int *bandwidth, char *if_name, int namelen)
^
--- 10Sense.lo ---
In file included from /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/10Sense.c:119:
./php_10Sense.h:128:26: error: expected identifier or '('
extern zend_module_entry 10Sense_module_entry;
^
/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/10Sense.c:188:19: error: expected identifier or '('
zend_module_entry 10Sense_module_entry = {
^
/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/10Sense.c:202:1: error: invalid suffix 'Sense_module_entry' on integer constant
ZEND_GET_MODULE(10Sense)
^
/usr/local/include/php/Zend/zend_API.h:149:62: note: expanded from macro 'ZEND_GET_MODULE'
ZEND_DLEXPORT zend_module_entry *get_module(void) { return &name##_module_entry; }
^
:36:3: note: expanded from here
10Sense_module_entry
^
--- dummynet.lo ---
/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/dummynet.c:1427:30: warning: passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign]
if (read_bandwidth(av[0], &p->bandwidth, NULL, 0) == -1)
^~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/dummynet.c:495:32: note: passing argument to parameter 'bandwidth' here
read_bandwidth(char *arg, int *bandwidth, char *if_name, int namelen)
^
2 warnings and 1 error generated.
*** [dummynet.lo] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68
--- 10Sense.lo ---
3 errors generated.
*** [10Sense.lo] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68
2 errors

make[1]: stopped in /wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68
===> 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/php-10Sense-module
=>> Cleaning up wrkdir
===> Cleaning for php73-10Sense-module-0.68
build of devel/php-10Sense-module | php73-10Sense-module-0.68 ended at Sun May 3 00:31:00 SAST 2020
build time: 00:00:14
!!! build failure encountered !!!

zend_module_entry 10Sense_module_entry = {
^
/wrkdirs/usr/ports/devel/php-10Sense-module/work-php73/10Sense-0.68/10Sense.c:202:1: error: invalid suffix 'Sense_module_entry' on integer constant

It seems that you cannot name your product with something starting with numbers...
Could you try with tenSense instead of 10Sense? It should work

Hi,

Thanks for the response. I figured it out as well. The product name is being used as variable in the code and in programming languages variable names cannot start with numbers. I changed the product name to TenSense and was able to build the iso successfully.