Giter Club home page Giter Club logo

building-pfsense-iso-from-source's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

building-pfsense-iso-from-source's Issues

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

Hello, recently I meet anthor problems.

When I execute ./build.sh --update-pkg-repo, it tells :

Finished security/clamav | clamav-0.102.1,1: Failed: fetch
Finished textproc/flex | flex-2.6.4_1: Failed: fetch/runaway
Finished devel/protobuf | protobuf-3.9.2,1: Failed: fetch/runaway

I think these problems are same. Could you help me?
Thanks!

mkfile pkg can't be installed

pkg install -y git nginx poudriere-devel mkfile rsync sudo

The mkfile install fails.

pkg install -y mkfile
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'mkfile' have been found in the repositories

pre-installed packages

Hi,

Thanks for your detailed tutorial

I've build my pfSense without any problem

Now I want to build a version embedded with some packages ( like Squid )

Do you have any idea how I can do that?

./build.sh --update-pkg-repo Error snort not found

Dear Augustine,

Please help to solve the below issue.

=> snort-2.9.16.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://snort.org/downloads/snort/snort-2.9.16.tar.gz
fetch: https://snort.org/downloads/snort/snort-2.9.16.tar.gz: Not Found
=> Attempting to fetch https://mirrors.rit.edu/zi/snort-2.9.16.tar.gz
fetch: https://mirrors.rit.edu/zi/snort-2.9.16.tar.gz: Not Found
=> Attempting to fetch https://www.zi0r.com/mirrors/snort-2.9.16.tar.gz
fetch: https://www.zi0r.com/mirrors/snort-2.9.16.tar.gz: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/zi/snort-2.9.16.tar.gz
fetch: http://distcache.FreeBSD.org/local-distfiles/zi/snort-2.9.16.tar.gz: Not Found
=> Attempting to fetch http://distcache.us-east.FreeBSD.org/local-distfiles/zi/snort-2.9.16.tar.gz
fetch: http://distcache.us-east.FreeBSD.org/local-distfiles/zi/snort-2.9.16.tar.gz: Not Found
=> Attempting to fetch http://distcache.eu.FreeBSD.org/local-distfiles/zi/snort-2.9.16.tar.gz
fetch: http://distcache.eu.FreeBSD.org/local-distfiles/zi/snort-2.9.16.tar.gz: Not Found
=> Attempting to fetch http://distcache.us-west.FreeBSD.org/local-distfiles/zi/snort-2.9.16.tar.gz
fetch: http://distcache.us-west.FreeBSD.org/local-distfiles/zi/snort-2.9.16.tar.gz: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/snort-2.9.16.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/snort-2.9.16.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/snort
=>> Cleaning up wrkdir
===> Cleaning for snort-2.9.16
build of security/snort | snort-2.9.16 ended at Thu Aug 20 21:03:59 IST 2020
build time: 00:00:30
!!! build failure encountered !!!

Unable to access file /root/MyFirewall/tmp/stage-dir/share/MyFirewall/fix_for_SA-19-10.ufs:No such file or directory

Dear Augustin,

The issue is still pending, please support me . :(

====>> Copying metadata for package rc
====>> Creating core package rc
pkg: Unable to access file /usr/MyFirewall/tmp/stage-dir/share/MyFirewall/fix_for_SA-19-10.ufs:No such file or directory
pkg: cannot load keyword from /usr/ports/Keywords/shell.ucl: No such file or directory
pkg: unknown keyword shell: @shell
====>> ERROR: Execution of 'pkg create -o /usr/MyFirewall/tmp/MyFirewall_MyFirewall_2_5_amd64-core/.real_20191113-2128/All -p /tmp/rc.4yZobsv/rc_plist -r /usr/MyFirewall/tmp/stage-dir -m /tmp/rc.4yZobsv/rc_metadir' failed (rc = 70)
====>> Removing immutable flags from /tmp/rc.4yZobsv
====>> Removing recursively /tmp/rc.4yZobsv

####################################
Something went wrong, check errors!
####################################

./build.sh --update-pkg-repo rust-1.38.0 compile error

Dear Augustin,

I am trying to build but getting error unable to build rust.
see the log

-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-diff
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-dis
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-dwarfdump
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-dwp
*** Signal 9

Stop.
make: stopped in /usr/ports/lang/rust
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-elfabi
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-exegesis
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-extract
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-jitlink
=>> Cleaning up wrkdir
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-link
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-lipo
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-lto2
===> Cleaning for rust-1.38.0
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-mc
-- Installing: /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-mca
CMake Error at tools/llvm-mca/cmake_install.cmake:36 (file):
file INSTALL cannot copy file
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/build/bin/llvm-mca"
to
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/bin/llvm-mca".
Call Stack (most recent call first):
tools/cmake_install.cmake:76 (include)
cmake_install.cmake:63 (include)

gmake[1]: *** [Makefile:62: install] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/build/x86_64-unknown-freebsd/llvm/build'
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2

build script failed, must exit now', /wrkdirs/usr/ports/lang/rust/work/rustc-1.38.0-src/vendor/cmake/src/lib.rs:813:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.
finished in 6526.926
build of lang/rust | rust-1.38.0 ended at Sat Oct 19 23:05:10 IST 2019
build time: 02:29:55
!!! build failure encountered !!!

./build.sh --skip-final-rsync iso error pkg: Unable to access file /root/pfsense/tmp/stage-dir/share/MyFirewall/fix_for_SA-19-10.ufs:No such file or directory

Dear Augustin,

Getting Error again Please help.

Installing kernel MyFirewall completed on Fri Oct 25 12:34:05 IST 2019

====>> Compressing kernel

Cloning everything to /root/pfsense/tmp/stage-dir staging area...mv: rename /root/pfsense/tmp/stage-dir/usr/local/sbin/pfSense-upgrade to /root/pfsense/tmp/stage-dir/usr/local/sbin/MyFirewall-upgrade: No such file or directory
====>> Copying metadata for package rc
====>> Creating core package rc
pkg: Unable to access file /root/pfsense/tmp/stage-dir/share/MyFirewall/fix_for_SA-19-10.ufs:No such file or directory
====>> ERROR: Execution of 'pkg create -o /root/pfsense/tmp/MyFirewall_master_amd64-core/.real_20191025-1230/All -p /tmp/rc.sJG5WBB/rc_plist -r /root/pfsense/tmp/stage-dir -m /tmp/rc.sJG5WBB/rc_metadir' failed (rc = 70)
====>> Removing immutable flags from /tmp/rc.sJG5WBB
====>> Removing recursively /tmp/rc.sJG5WBB

####################################
Something went wrong, check errors!
####################################

NOTE: a lot of times you can run './build.sh --clean-builder' to resolve.

Terminated

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

follow:https://github.com/Augustin-FL/building-pfsense-iso-from-source

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

[00:03:15] [01] [00:00:00] Building benchmarks/iperf | iperf-2.0.14a_3

[00:03:18] [01] [00:00:03] Finished benchmarks/iperf | iperf-2.0.14a_3: Failed: fetch

[00:03:18] Stopping 1 builders

[00:03:19] Creating pkg repository

Creating repository in /tmp/packages: 100%

Packing files for repository: 100%

[00:03:20] Warning: Not committing packages to repository as failures were encountered

[00:03:20] Failed ports: graphics/gd:fetch databases/sqlite3:fetch dns/libidn2:fetch security/p5-Net-SSLeay:fetch databases/rrdtool:fetch databases/lmdb:fetch devel/popt:fetch net/norm:fetch net/libyang:fetch archivers/brotli:fetch devel/tevent:fetch devel/protobuf:fetch x11-fonts/libfontenc:fetch archivers/arc:fetch security/p5-GSSAPI:fetch www/lua-resty-lrucache:fetch net/libdnet:fetch devel/oniguruma:fetch security/p5-Digest-HMAC:fetch devel/icu:fetch www/w3m:fetch sysutils/cmocka:fetch devel/ragel:fetch net/pear-Net_Socket:fetch www/p5-HTML-Parser:fetch security/libmcrypt:fetch net/libpcap:fetch textproc/docbook-xsl:fetch net-mgmt/net-snmp:fetch devel/libgit2:fetch dns/ldns:fetch shells/bash:fetch textproc/libxslt:fetch security/krb5:fetch dns/unbound:fetch misc/getopt:fetch devel/json-c:fetch devel/p5-IO-Stringy:fetch net/pear-Net_URL2:fetch devel/p5-ExtUtils-PkgConfig:fetch devel/libinotify:fetch archivers/unzoo:fetch archivers/arj:fetch net/openldap24-sasl-client:fetch devel/py-ply:fetch net/openldap24-client:fetch devel/nspr:fetch net/p5-IO-Socket-INET6:fetch graphics/cairo:fetch devel/vstr:fetch databases/hiredis:fetch sysutils/lbl-hf:fetch databases/db5:fetch databases/unixODBC:fetch devel/pcsc-lite:fetch devel/libdaemon:fetch textproc/rubygem-asciidoctor:fetch lang/lua53:fetch net/libnet:fetch net/fping:fetch lang/tcl86:fetch devel/xxhash:fetch devel/libpci:fetch security/nettle:fetch dns/c-ares:fetch lang/go:fetch devel/ctags:fetch net/libosip2:fetch sysutils/lbl-cf:fetch devel/fstrm:fetch sysutils/dmidecode:fetch devel/jansson:fetch sysutils/fusefs-libs:fetch databases/postgresql12-client:fetch devel/dbus-glib:fetch sysutils/pfsense-repo:build security/wireguard-tools:fetch www/links:fetch security/wpa_supplicant:fetch benchmarks/iperf:fetch

[00:03:20] Skipped ports: converters/php74-mbstring databases/ldb21 databases/mysql57-client databases/pecl-rrd databases/php74-pdo_sqlite databases/php74-pgsql databases/php74-sqlite3 databases/py-sqlite3 devel/boost-libs devel/gdb devel/git devel/gobject-introspection devel/hyperscan devel/libccid devel/p5-Config-IniFiles devel/php-pfsense-module devel/php74-intl devel/protobuf-c dns/bind-tools dns/bind916 dns/dnsmasq dns/pfsense-pkg-bind emulators/open-vm-tools-nox11 emulators/pfsense-pkg-Open-VM-Tools graphics/graphviz graphics/p5-GD lang/rust mail/pear-Mail net-mgmt/arpwatch net-mgmt/bandwidthd net-mgmt/dhcp_probe net-mgmt/lldpd net-mgmt/pfsense-pkg-Telegraf net-mgmt/pfsense-pkg-arpwatch net-mgmt/pfsense-pkg-bandwidthd net-mgmt/pfsense-pkg-lldpd net-mgmt/pfsense-pkg-net-snmp net-mgmt/pfsense-pkg-snmptt net-mgmt/pfsense-pkg-zabbix-proxy net-mgmt/pfsense-pkg-zabbix-proxy4 net-mgmt/pfsense-pkg-zabbix-proxy5 net-mgmt/pfsense-pkg-zabbix-proxy52 net-mgmt/snmptt net-mgmt/telegraf net-mgmt/zabbix3-proxy net-mgmt/zabbix4-proxy net-mgmt/zabbix5-proxy net-mgmt/zabbix52-proxy net/arping net/avahi-app net/daq net/freeradius3 net/frr7 net/frr7-pythontools net/haproxy net/haproxy18 net/libzmq4 net/mobile-broadband-provider-info net/mosh net/ndpi net/nss_ldap net/ntopng net/pear-Net_SMTP net/pear-XML_RPC2 net/pecl-zmq net/pfsense-pkg-Avahi net/pfsense-pkg-Status_Traffic_Totals net/pfsense-pkg-arping net/pfsense-pkg-freeradius3 net/pfsense-pkg-frr net/pfsense-pkg-haproxy net/pfsense-pkg-haproxy-devel net/pfsense-pkg-ntopng net/pfsense-pkg-pfBlockerNG net/pfsense-pkg-pfBlockerNG-devel net/pfsense-pkg-siproxd net/php74-ldap net/rsync net/siproxd net/vnstat net/whois security/clamav security/nss security/opensc security/openvpn security/openvpn-auth-script security/openvpn-client-export security/p5-Authen-SASL security/p5-IO-Socket-SSL security/pam_ldap security/pear-Crypt_CHAP security/pecl-mcrypt security/pfsense security/pfsense-pkg-openvpn-client-export security/pfsense-pkg-snort security/pfsense-pkg-sudo security/pfsense-pkg-suricata security/pfsense-pkg-zeek security/snort security/sssd security/strongswan security/sudo security/suricata security/zeek sysutils/flashrom sysutils/logrotate sysutils/node_exporter sysutils/nut sysutils/openipmi sysutils/pfsense-Status_Monitoring sysutils/pfsense-builder sysutils/pfsense-pkg-Netgate_Coreboot_Upgrade sysutils/pfsense-pkg-node_exporter sysutils/pfsense-pkg-nut sysutils/pfsense-pkg-syslog-ng sysutils/syslog-ng sysutils/xe-guest-utilities sysutils/xen-guest-tools textproc/jq textproc/source-highlight textproc/xmlstarlet textproc/xmlto www/c-icap www/c-icap-modules www/lightsquid www/lighttpd www/lua-resty-core www/nginx www/p5-CGI www/pear-HTTP_Request2 www/pfsense-pkg-Lightsquid www/pfsense-pkg-squid www/pfsense-pkg-squidGuard www/simplepie www/squid www/squidclamav www/squidguard x11-fonts/mkfontscale x11-fonts/webfonts

[pfsense_v2_5_0_amd64-pfsense_v2_5_0] [2021-06-26_04h24m17s] [pkgrepo:] Queued: 219 Built: 0 Failed: 80 Skipped: 139 Ignored: 0 Tobuild: 0 Time: 00:03:18

[00:03:20] Logs: /usr/local/poudriere/data/logs/bulk/pfsense_v2_5_0_amd64-pfsense_v2_5_0/2021-06-26_04h24m17s

[00:03:20] Cleaning up

[00:03:20] Unmounting file systems

ERROR: Something went wrong...

####################################

Something went wrong, check errors!

####################################

NOTE: a lot of times you can run './build.sh --clean-builder' to resolve.

Thanks!

./build.sh --skip-final-rsync iso Error

Dear Augustin,

While running "./build.sh --skip-final-rsync iso" getting error, please help to solve the issue

Installing kernel MyFirewall completed on Fri Oct 25 10:54:01 IST 2019


====>> Compressing kernel

Cloning everything to /root/pfsense/tmp/stage-dir staging area...mv: rename /root/pfsense/tmp/stage-dir/usr/local/sbin/pfSense-upgrade to /root/pfsense/tmp/stage-dir/usr/local/sbin/MyFirewall-upgrade: No such file or directory
sed: /root/pfsense/tools/templates/pkg_repos/MyFirewall-repo-devel.abi: No such file or directory
sed: /root/pfsense/tools/templates/pkg_repos/MyFirewall-repo-devel.altabi: No such file or directory
====>> Copying metadata for package rc
====>> Creating core package rc
pkg: Unable to access file /root/pfsense/tmp/stage-dir/share/MyFirewall/fix_for_SA-19-10.ufs:No such file or directory
====>> ERROR: Execution of 'pkg create -o /root/pfsense/tmp/MyFirewall_master_amd64-core/.real_20191025-1005/All -p /tmp/rc.6tjjVCY/rc_plist -r /root/pfsense/tmp/stage-dir -m /tmp/rc.6tjjVCY/rc_metadir' failed (rc = 70)
====>> Removing immutable flags from /tmp/rc.6tjjVCY
====>> Removing recursively /tmp/rc.6tjjVCY

####################################
Something went wrong, check errors!
####################################

NOTE: a lot of times you can run './build.sh --clean-builder' to resolve.

Terminated

inaccurate text in README.md

Netgate doesn't allow you to build a product using the name "pfSense" (because of copyright/trademark).

It's trademark, not copyright.

Built error for sysutils/cloakSense-repo ( productname: cloakSense)

Hi,

I need some help on ports built. I managed to get all built (500+) built successfully using instruction provided. But, there is an error for "Building for cloakSense-repo-2.4.4_8
sed: /wrkdirs/usr/ports/sysutils/cloakSense-repo/work/cloakSense-repo-2.4.4/pfSense-repo-245.conf: No such file or directory" while building sysutils/cloakSense-repo.
I can't figure out which part missing. Could you able to guide me through? log message as attached.
cloakSense-repo-2.4.4_8 (2).log

./build.sh --setup-poudriere error

follow:building-pfsense-iso-from-source. Error log:

--- _libinstall ---
sh /usr/local/poudriere/jails/libreSense_master_amd64/usr/src/tools/install.sh -s -o root -g wheel -m 444 -S libkrb5.so.11 /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/
sh /usr/local/poudriere/jails/libreSense_master_amd64/usr/src/tools/install.sh -o root -g wheel -m 444 libkrb5.so.11.debug /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/debug/usr/lib/
sh /usr/local/poudriere/jails/libreSense_master_amd64/usr/src/tools/install.sh -l rs -o root -g wheel -m 755 -S libkrb5.so.11 /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/libkrb5.so
--- secure/lib/libssh__L ---
--- kerberos5/lib/libhdb__L ---
--- secure/lib/libssh__L ---
===> secure/lib/libssh (obj,all,install)
--- kerberos5/lib/libhdb__L ---
===> kerberos5/lib/libhdb (obj,all,install)
--- asn1_Salt.c ---
cp -f asn1_Salt.x asn1_Salt.c
--- asn1_Key.c ---
cp -f asn1_Key.x asn1_Key.c
--- asn1_Event.c ---
cp -f asn1_Event.x asn1_Event.c
--- asn1_HDBFlags.c ---
cp -f asn1_HDBFlags.x asn1_HDBFlags.c
--- asn1_GENERATION.c ---
cp -f asn1_GENERATION.x asn1_GENERATION.c
--- asn1_HDB_Ext_PKINIT_acl.c ---
cp -f asn1_HDB_Ext_PKINIT_acl.x asn1_HDB_Ext_PKINIT_acl.c
--- asn1_HDB_Ext_PKINIT_cert.c ---
cp -f asn1_HDB_Ext_PKINIT_cert.x asn1_HDB_Ext_PKINIT_cert.c
--- secure/lib/libssh__L ---
--- .depend ---
echo libprivatessh.so.5.full: /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/libprivateldns.a /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/libcrypto.a /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/libcrypt.a /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/libz.a >> .depend
--- kerberos5/lib/libhdb__L ---
--- asn1_HDB_Ext_PKINIT_hash.c ---
cp -f asn1_HDB_Ext_PKINIT_hash.x asn1_HDB_Ext_PKINIT_hash.c
--- secure/lib/libssh__L ---
--- ssh_api.o ---
cc -target x86_64-unknown-freebsd12.2 --sysroot=/root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp -B/root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -DHAVE_LDNS=1 -I/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/contrib/ldns -I/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/crypto/openssh -include ssh_namespace.h -include krb5_config.h -g -MD -MF.depend.ssh_api.o -MTssh_api.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c /usr/local/poudriere/jails/libreSense_master_amd64/usr/src/crypto/openssh/ssh_api.c -o ssh_api.o
--- kerberos5/lib/libhdb__L ---
--- asn1_HDB_Ext_Constrained_delegation_acl.c ---
cp -f asn1_HDB_Ext_Constrained_delegation_acl.x asn1_HDB_Ext_Constrained_delegation_acl.c
--- asn1_HDB_Ext_Lan_Manager_OWF.c ---
cp -f asn1_HDB_Ext_Lan_Manager_OWF.x asn1_HDB_Ext_Lan_Manager_OWF.c
--- asn1_HDB_Ext_Password.c ---
cp -f asn1_HDB_Ext_Password.x asn1_HDB_Ext_Password.c
--- asn1_HDB_Ext_Aliases.c ---
--- secure/lib/libssh__L ---
In file included from /usr/local/poudriere/jails/libreSense_master_amd64/usr/src/crypto/openssh/ssh_api.c:18:
/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/crypto/openssh/includes.h:19:10: fatal error: 'config.h' file not found
#include "config.h"
^~~~~~~~~~
--- kerberos5/lib/libhdb__L ---
cp -f asn1_HDB_Ext_Aliases.x asn1_HDB_Ext_Aliases.c
--- asn1_HDB_extension.c ---
cp -f asn1_HDB_extension.x asn1_HDB_extension.c
--- asn1_HDB_extensions.c ---
cp -f asn1_HDB_extensions.x asn1_HDB_extensions.c
--- asn1_hdb_entry.c ---
cp -f asn1_hdb_entry.x asn1_hdb_entry.c
--- asn1_hdb_entry_alias.c ---
cp -f asn1_hdb_entry_alias.x asn1_hdb_entry_alias.c
--- asn1_hdb_keyset.c ---
cp -f asn1_hdb_keyset.x asn1_hdb_keyset.c
--- hdb_asn1-priv.h ---
cp -f hdb_asn1-priv.hx hdb_asn1-priv.h
--- .depend ---
echo libhdb.so.11.full: /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/libasn1.a /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/libcom_err.a /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/libkrb5.a /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/libroken.a /root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/lib/libprivatesqlite3.a >> .depend
--- common.o ---
cc -target x86_64-unknown-freebsd12.2 --sysroot=/root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp -B/root/pfsense/tmp/obj/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -I/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/crypto/heimdal/lib/hdb -I/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/crypto/heimdal/lib/asn1 -I/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/crypto/heimdal/lib/roken -I/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/contrib/sqlite3/ -I/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/crypto/heimdal/lib/krb5 -I/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/contrib/com_err -I. -DHDB_DB_DIR=""/var/heimdal"" -DHAVE_CONFIG_H -I/usr/local/poudriere/jails/libreSense_master_amd64/usr/src/kerberos5/include -g -MD -MF.depend.common.o -MTcommon.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wno-error=deprecated-declarations -Wsystem-headers -Werror -Wno-pointer-sign -Wno-error=absolute-value -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -c /usr/local/poudriere/jails/libreSense_master_amd64/usr/src/crypto/heimdal/lib/hdb/common.c -o common.o
--- secure/lib/libssh__L ---
1 error generated.
*** [ssh_api.o] Error code 1

make[4]: stopped in /usr/local/poudriere/jails/libreSense_master_amd64/usr/src/secure/lib/libssh
1 error

make[4]: stopped in /usr/local/poudriere/jails/libreSense_master_amd64/usr/src/secure/lib/libssh
--- kerberos5/lib/libhdb__L ---
[00:27:15] Error: Failed to 'make buildworld'
[00:27:15] Error while creating jail, cleaning up.
[00:27:15] Removing libreSense_master_amd64 jail... done
[00:27:16] Cleaning libreSense_master_amd64 data... done

Thanks!

./build.sh --skip-final-rsync iso Error Building and installing crypto tools and athstats for amd64 architecture

Dear Augustin,

Please help on the below error.

Building and installing crypto tools and athstats for amd64 architecture... (Starting - Sun Oct 20 18:18:23 IST 2019)
Something went wrong, check errors!
Terminated


Log

�[0m�[1m/root/MyFirewall/tmp/obj/root/MyFirewall/tmp/FreeBSD-src/amd64.amd64/tmp/usr/include/openssl/ossl_typ.h:80:16: �[0m�[0;1;30mnote: �[0mforward declaration of 'struct bignum_st'�[0m
typedef struct bignum_st BIGNUM;
�[0;1;32m ^
�[0m�[1m/root/MyFirewall/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c:147:25: �[0m�[0;1;35mwarning: �[0m�[1massigning to 'caddr_t' (aka 'char *') from 'u_int8_t *' (aka 'unsigned char *')
converts between pointers to integer types with different sign [-Wpointer-sign]�[0m
kop.crk_param[0].crp_p = ale;
�[0;1;32m ^ ~~~
�[0m�[1m/root/MyFirewall/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c:149:25: �[0m�[0;1;35mwarning: �[0m�[1massigning to 'caddr_t' (aka 'char *') from 'u_int8_t *' (aka 'unsigned char *')
converts between pointers to integer types with different sign [-Wpointer-sign]�[0m
kop.crk_param[1].crp_p = ble;
�[0;1;32m ^ ~~~
�[0m�[1m/root/MyFirewall/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c:151:25: �[0m�[0;1;35mwarning: �[0m�[1massigning to 'caddr_t' (aka 'char *') from 'u_int8_t *' (aka 'unsigned char *')
converts between pointers to integer types with different sign [-Wpointer-sign]�[0m
kop.crk_param[2].crp_p = cle;
�[0;1;32m ^ ~~~
�[0m�[1m/root/MyFirewall/tmp/FreeBSD-src/tools/tools/crypto/cryptokeytest.c:153:25: �[0m�[0;1;35mwarning: �[0m�[1massigning to 'caddr_t' (aka 'char *') from 'u_int8_t *' (aka 'unsigned char *')
converts between pointers to integer types with different sign [-Wpointer-sign]�[0m
kop.crk_param[3].crp_p = cle;
�[0;1;32m ^ ~~~
�[0m4 warnings and 2 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /root/MyFirewall/tmp/FreeBSD-src/tools/tools/crypto
*** Error code 1

Stop.
make: stopped in /root/MyFirewall/tmp/FreeBSD-src/tools/tools/crypto

Failed to build ports phase

Hi ,
After successfully executing : ./build.sh --setup-poudriere
I'm trying to build ports with ./build.sh --update-pkg-repo

The process terminated immediately with the plot :

[00:00:01] Mounting system devices for gold_v2_5_0_amd64-gold_v2_5_0
[00:00:01] Using packages from previously failed build: /usr/local/poudriere/data/packages/gold_v2_5_0_amd64-gold_v2_5_0/.building
[00:00:01] Mounting ports from: /usr/local/poudriere/ports/gold_v2_5_0
[00:00:01] Mounting packages from: /usr/local/poudriere/data/packages/gold_v2_5_0_amd64-gold_v2_5_0
[00:00:01] Mounting distfiles from: /usr/ports/distfiles
[00:00:02] Appending to make.conf: /usr/local/etc/poudriere.d/gold_v2_5_0-make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/.m/gold_v2_5_0_amd64-gefen_v2_5_0/ref/etc/resolv.conf
[00:00:02] Starting jail gold_v2_5_0_amd64-gold_v2_5_0
[00:00:02] Logs: /usr/local/poudriere/data/logs/bulk/gold_v2_5_0_amd64-gold_v2_5_0/2021-04-26_17h45m28s
[00:00:02] Loading MOVED for /usr/local/poudriere/data/.m/gold_v2_5_0_amd64-gold_v2_5_0/ref/usr/ports
[00:00:02] Ports supports: FLAVORS SELECTED_OPTIONS
[00:00:02] Gathering ports metadata
[00:00:03] Warning: (security/gold): make: "/usr/ports/security/gold/Makefile" line 80: Unassociated shell command "wol>=0:net/wol wpa_supplicant>=0:security/wpa_supplicant xinetd>=0:security/xinetd openvpn-auth-script>=0:security/openvpn-auth-script opensc>0:security/opensc ccid>0:devel/libccid iftop>0:net-mgmt/iftop nss_ldap>0:net/nss_ldap pam_ldap>0:security/pam_ldap pam_mkhomedir>0:security/pam_mkhomedir"
[00:00:03] Warning: (security/gold): make: Fatal errors encountered -- cannot continueError: Error looking up dependencies for security/gold
[00:00:03] Error: Fatal errors encountered gathering ports metadata
[00:00:03] Cleaning up
[00:00:03] Unmounting file systems

ERROR: Something went wrong...

####################################
Something went wrong, check errors!
####################################

NOTE: a lot of times you can run './build.sh --clean-builder' to resolve.

Terminated

./build.sh --skip-final-rsync iso error

Here is the install_pkg_install_ports.txt:

Bootstrapping pkg from pkg+http://192.168.0.43/packages/jzSense_v2_5_0_amd64-jzSense_v2_5_0, please wait...
Verifying signature with trusted certificate fingerprint... done
Installing pkg-1.16.1...
Extracting pkg-1.16.1: 0%^MExtracting pkg-1.16.1: 0%^MExtracting pkg-1.16.1: 1%^MExtracting pkg-1.16.1: 3%^MExtracting pkg-1.16.1: 4%^MExtracting pkg-1.16.1: 6%^MExtracting pkg-1.16.1: 7%^MExtracting pkg-1.16.1: 9%^MExtracting pkg-1.16.1: 11%^MExtracting pkg-1.16.1: 12%^MExtracting pkg-1.16.1: 14%^MExtracting pkg-1.16.1: 15%^MExtracting pkg-1.16.1: 17%^MExtracting pkg-1.16.1: 19%^MExtracting pkg-1.16.1: 20%^MExtracting pkg-1.16.1: 22%^MExtracting pkg-1.16.1: 23%^MExtracting pkg-1.16.1: 25%^MExtracting pkg-1.16.1: 26%^MExtracting pkg-1.16.1: 28%^MExtracting pkg-1.16.1: 30%^MExtracting pkg-1.16.1: 31%^MExtracting pkg-1.16.1: 33%^MExtracting pkg-1.16.1: 34%^MExtracting pkg-1.16.1: 36%^MExtracting pkg-1.16.1: 38%^MExtracting pkg-1.16.1: 39%^MExtracting pkg-1.16.1: 41%^MExtracting pkg-1.16.1: 42%^MExtracting pkg-1.16.1: 44%^MExtracting pkg-1.16.1: 46%^MExtracting pkg-1.16.1: 47%^MExtracting pkg-1.16.1: 49%^MExtracting pkg-1.16.1: 50%^MExtracting pkg-1.16.1: 52%^MExtracting pkg-1.16.1: 53%^MExtracting pkg-1.16.1: 55%^MExtracting pkg-1.16.1: 57%^MExtracting pkg-1.16.1: 58%^MExtracting pkg-1.16.1: 60%^MExtracting pkg-1.16.1: 61%^MExtracting pkg-1.16.1: 63%^MExtracting pkg-1.16.1: 65%^MExtracting pkg-1.16.1: 66%^MExtracting pkg-1.16.1: 68%^MExtracting pkg-1.16.1: 69%^MExtracting pkg-1.16.1: 71%^MExtracting pkg-1.16.1: 73%^MExtracting pkg-1.16.1: 74%^MExtracting pkg-1.16.1: 76%^MExtracting pkg-1.16.1: 77%^MExtracting pkg-1.16.1: 79%^MExtracting pkg-1.16.1: 80%^MExtracting pkg-1.16.1: 82%^MExtracting pkg-1.16.1: 84%^MExtracting pkg-1.16.1: 85%^MExtracting pkg-1.16.1: 87%^MExtracting pkg-1.16.1: 88%^MExtracting pkg-1.16.1: 90%^MExtracting pkg-1.16.1: 92%^MExtracting pkg-1.16.1: 93%^MExtracting pkg-1.16.1: 95%^MExtracting pkg-1.16.1: 96%^MExtracting pkg-1.16.1: 98%^MExtracting pkg-1.16.1: 100%
Updating jzSense-core repository catalogue...
pkg: http://192.168.0.43/packages/jzSense_v2_5_0_amd64-core/meta.txz: Not Found
repository jzSense-core has no meta file, using default settings
pkg: http://192.168.0.43/packages/jzSense_v2_5_0_amd64-core/packagesite.txz: Not Found
Unable to update repository jzSense-core
Updating jzSense repository catalogue...
Fetching meta.conf: 0%^MFetching meta.conf: 100% 163 B 0.2kB/s 00:01
jzSense repository is up to date.
Error updating repositories!
pkg: Repository jzSense-core cannot be opened. 'pkg update' required
pkg: Repository jzSense cannot be opened. 'pkg update' required
Updating database digests format: 0%^MUpdating database digests format: 0%^MUpdating database digests format: 100%
pkg: No packages available to install matching 'jzSense' have been found in the repositories

There is no .latest in the /root/pfsense/tmp/jzSense_v2_5_0_amd64-core.
so,when i input http://192.168.0.43/packages/jzSense_v2_5_0_amd64-core in my browser,i get 404 error.

I don't known if this is caused by pkg 1.16.3,i have changed the pkg version because of the ./build.sh --update-pkg-repo error.

wireguard build&rust problem

Hello,
i get fail error with wireguard package ...
i try to open the ports i see the link is : github.netgate.com
how i can bypass that ?
also the rust package always fail i tried to remove suricata form poudriere_bulk. but its still try to build. rust i dep for suricata
Thanks.

Question: Suggestion on Development Environment for html/php/js

@Augustin-FL ,
Firstly, thanks for this "xxxsense" github documentation. It's been very helpful.

Are you able help me with suggestions on how I could setup a web development environment to work on the web gui of xxxsense?

My setup has a VM with QEMU/KVM. Instead of pulling in the repo directly into the VM, I thought I would try share the web repository from the host to the guest VM. The idea is that I would manage the web development on the host and then see the changes on the guest via the web browser. I think I have reached my limit on how to go about this. Secondly, I am not sure what needs to be built to do this?

Any suggestions, or creative ideas would be appreciated.

after build kernal, iso not able to find iso file in /pfsense/tmp

yesterday system was restarted but FreeBSD ports was build after restart then i run command for building iso after that i`m not able to get iso file as you mention the path
/pfsense/tmp/${product_name}/installer

i think product_name was reset after restart because it gives "product_name undefined "
now i`m not able to find what the problem is?? where is the ISO file??
what steps will required again to build iso
123

libreSense-repo-2.4.4_5 depends on file: /usr/local/sbin/libreSense-upgrade - not found

i need yours help kidly help me
libreSense-repo-2.4.4_5 depends on file: /usr/local/sbin/libreSense-upgrade - not found
===> Installing existing package /packages/All/pfSense-upgrade-0.62.txz
[libreSense_v2_4_4_amd64-libreSense_v2_4_4-job-02] Installing pfSense-upgrade-0.62...
[libreSense_v2_4_4_amd64-libreSense_v2_4_4-job-02] Extracting pfSense-upgrade-0.62: ..... done
===> libreSense-repo-2.4.4_5 depends on file: /usr/local/sbin/libreSense-upgrade - not found
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/libreSense-repo
=>> Cleaning up wrkdir
===> Cleaning for libreSense-repo-2.4.4_5
build of sysutils/libreSense-repo | libreSense-repo-2.4.4_5 ended at Sat Oct 26 04:52:43 UTC 2019
build time: 00:00:02
!!! build failure encountered !!!

jail newer than host

Hello,
after i build the jail and try to build the ports its give me waring that jail is newer than host.
thanks.

How to rebrand logo to match productname?

Hi,

Just to check, how could we rebrand logo to match our productname? By just modify logo.svg willl cause "Parse error: syntax error, unexpected 'version' (T_STRING) in logo.svg" when loading the first login page.

Hope that you could provide tutorial on this.

PKG_REPO_SIGN_KEY

hi
what is PKG_REPO_SIGN_KEY?
when I enter this by export PKG_REPO_SIGNING_COMMAND="/root/sign/sign.sh ${PKG_REPO_SIGN_KEY}"
in freebsd
freebsd tell me PKG_REPO_SIGN_KEY is undefined varrieble

Fetch timeout

Hello! This is my third questions. Thank you very much.
Recently, I execute ./build.sh --update-pkg-repo, but the result seems failed.
Now I am in China, you know we have GFW, and it limits access to some website and speeds down to some websites, like github.com or ftpmirror.gnu.org.

So I failed to build these ports

"ports":{"failed":[{"origin":"sysutils/libreSense-upgrade","pkgname":"pfSense-upgrade-0.67","phase":"stage","errortype":"install_error","elapsed":"2"},{"origin":"devel/readline","pkgname":"readline-8.0.0","phase":"fetch/runaway","errortype":"runaway_process","elapsed":"7202"},{"origin":"textproc/libxml2","pkgname":"libxml2-2.9.9","phase":"fetch/runaway","errortype":"runaway_process","elapsed":"7201"},{"origin":"devel/swig30","pkgname":"swig30-3.0.12","phase":"fetch/runaway","errortype":"runaway_process","elapsed":"7201"},{"origin":"devel/protobuf","pkgname":"protobuf-3.9.2,1","phase":"fetch/runaway","errortype":"runaway_process","elapsed":"7201"},{"origin":"math/gmp","pkgname":"gmp-6.1.2_1","phase":"fetch/runaway","errortype":"runaway_process","elapsed":"7201"},{"origin":"archivers/libmspack","pkgname":"libmspack-0.9.1","phase":"fetch/runaway","errortype":"runaway_process","elapsed":"7202"},{"origin":"sysutils/screen","pkgname":"screen-4.6.2_3","phase":"fetch/runaway","errortype":"runaway_process","elapsed":"7202"}],

Above all are failed logs.

This is /usr/local/poudriere/data/logs/bulk/libreSense_v2_4_5_amd64-libreSense_v2_4_5/2020-01-01_00h24m01s/logs/screen-4.6.2_3.log
=> Attempting to fetch http://xmlsoft.org/sources/libxml2-2.9.9.tar.gz
libxml2-2.9.9.tar.gz =>> Killing runaway build after 7200 seconds with no output
=>> Cleaning up wrkdir
===> Cleaning for libxml2-2.9.9
Killed
build of textproc/libxml2 | libxml2-2.9.9 ended at Wed Jan 1 02:42:58 CST 2020
build time: 02:00:23
!!! build failure encountered !!!

So could you help me to solve this problem?
Thanks!

Error in ./build.sh --skip-final-rsync iso

Hello ,
first of all thank you for this guide. In this final step i'll receive a strange error.
Opening /root/pfsense/logs/install_pkg_install_ports.txt

Bootstrapping pkg from pkg+http://10.6.75.198/packages/exoSphere_master_amd64-exoSphere_master, please wait...
pkg: Error fetching http://10.6.75.198/packages/exoSphere_master_amd64-exoSphere_master/Latest/pkg.txz: Not Found
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
Bootstrapping pkg from pkg+http://10.6.75.198/packages/exoSphere_master_amd64-exoSphere_master, please wait...
pkg: Error fetching http://10.6.75.198/packages/exoSphere_master_amd64-exoSphere_master/Latest/pkg.txz: Not Found
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
Bootstrapping pkg from pkg+http://10.6.75.198/packages/exoSphere_master_amd64-exoSphere_master, please wait...
pkg: Error fetching http://10.6.75.198/packages/exoSphere_master_amd64-exoSphere_master/Latest/pkg.txz: Not Found
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.

On server console:
installing build ports (packages) in chroot (/root/pfsense/tmp/stage-dir)... Failed!

Obviously in my local repository i have:
http://10.6.75.198/packages/exoSphere_v2_4_5_amd64-exoSphere_v_2_4_5 (v2_4_5 and not master!)

I changed everything pointed out in the guide. Since in an old issue the problem could be name files i check it again, but nothing changed. Compiled different times but i wasn't able to resolve. I don't know why it search for "..master.." and not for branch "v2_4_5".

I'm compiling on FreeBSD 11.4 for my pfsense version 2_4_5.
Same error on FreeBSD 12.1 for my pfsense version 2_4_5.
Virtual machine 16 CPU 16 GB RAM 300 GB HDD Space

I can't understand where i go wrong.
Thanks in advance

Alessandro

make: cannot open /usr/ports/Mk/bsd.port.mk

Hello Augustin-FL
I try to follow your steps.

When I execute ./build.sh --update-pkg-repo,
I meet this problem:
make: cannot open /usr/ports/Mk/bsd.port.mk.
[00:00:01] Error: Error looking up pre-build ports vars

I have tried to re-execute portsnap fetch extract and add privilege to /usr/ports/Mk/bsd.port.mk
The result is same as I have met.

So could you help me solve this problem?

Thanks!

"Wireguard-Tools-20210201 Failed Port on fetch"

Augustin, followed your directions and the other guide to the T, however after removing the wireguard calls, I am somehow getting this error:
"wireguard-tools-20210201 failed port on fetch", and I have removed the wireguard call as per your guide. I tried to pull the wireguard dist mirror and it would not allow me to do that, either.

=>> Building security/wireguard-tools
build started at Sun Aug 22 03:08:28 EDT 2021
port directory: /usr/ports/security/wireguard-tools
package name: wireguard-tools-20210201
building for: FreeBSD SixSense_v2_5_0_amd64-SixSense_v2_5_0-job-01 12.2-STABLE FreeBSD 12.2-STABLE 1202504 amd64
maintained by: [email protected]
Makefile datestamp: -rw-r--r-- 1 root wheel 522 Aug 21 21:58 /usr/local/poudriere/data/.m/SixSense_v2_5_0_amd64-SixSense_v2_5_0/01//usr/ports/security/wireguard-tools/Makefile
Port last git commit: fddd9a02b
Port unclean checkout: no
Poudriere version: 3.3.99.20210617
Host OSVERSION: 1202000
Jail OSVERSION: 1202504
Job Id: 01

"./build.sh --skip-final-rsync iso " error


Installing kernel GFireWall completed on Mon Jul 19 00:22:43 CST 2021


====>> Compressing kernel

Cloning everything to /root/pfsense/tmp/stage-dir staging area...====>> Copying metadata for package rc
====>> Creating core package rc
pkg: cannot load keyword from /usr/ports/Keywords/shell.ucl: No such file or directory
pkg: unknown keyword shell: @shell
====>> ERROR: Execution of 'pkg create -o /root/pfsense/tmp/GFireWall_v2_5_0_amd64-core/.real_20210719-0016/All -p /tmp/rc.z1poVzm/rc_plist -r /root/pfsense/tmp/stage-dir -m /tmp/rc.z1poVzm/rc_metadir' failed (rc = 1)
====>> Removing immutable flags from /tmp/rc.z1poVzm
====>> Removing recursively /tmp/rc.z1poVzm

####################################
Something went wrong, check errors!
####################################

NOTE: a lot of times you can run './build.sh --clean-builder' to resolve.

Terminated

Thinks!

./build.sh --skip-final-rsync iso error (install_pkg_install_ports.txt)

install_pkg_install_ports.txt

A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
Bootstrapping pkg from pkg+http://192.168.1.84/packages/libreSense_v2_5_1_amd64-libreSense_v2_5_1, please wait
pkg: Error fetching http://192.168.1.84/packages/libreSense_v2_5_1_amd64-libreSense_v2_5_1/Latest/pkg.txz: Not Found
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
Bootstrapping pkg from pkg+http://192.168.1.84/packages/libreSense_v2_5_1_amd64-libreSense_v2_5_1, please wait...
pkg: Error fetching http://192.168.1.84/packages/libreSense_v2_5_1_amd64-libreSense_v2_5_1/Latest/pkg.txz: Not Found
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.

but, The url is: http://192.168.1.84/packages/libreSense_v2_5_0_amd64-libreSense_v2_5_0/Latest/pkg.txz
What can I do?
Thanks!

missing libpfctl.h while compiling "php-myfirewall-module"

hello Augustin,
Good morning/afternoon.
php74-Kontrol-module-0.72.log

Did you try to compile RELENG_2_5_2 version? Have you faced the issue below?
I am getting the error message below while compiling the port "php-kontrol-module" - that file is required to compile the "security/pfSense" port - In my case, "security/Kontrol" port.

Error message:
--- Kontrol.lo --- /wrkdirs/usr/ports/devel/php-Kontrol-module/work-php74/Kontrol-0.72/Kontrol.c:96:10: fatal error: 'libpfctl.h' file not found #include <libpfctl.h> ^~~~~~~~~~~~

I have searched for the libpfctl.h and here is what I found:

`find / -iname "libpfctl.h"

/usr/src/lib/libpfctl/libpfctl.h
/usr/obj/usr/src/amd64.amd64/tmp/usr/include/libpfctl.h
/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/include/libpfctl.h
/usr/include/libpfctl.h
`
Knowing that, I am not sure why the port is complaining about the #include.
This is the first time I see such error. I have compiled the RELENG_2_5_0 and 2_5_1 with absolutely no errors.

I have also attached the log file, just in case.

Thanks
Fabricio.

Make update changes

hello,
After completing the build and the entire environment, how can I create updates? (system -> update)?
currently I do:
create my change in the GUI (add widget in www / widgets)
commit git
up version PORTREVISION in sysutils / libreSense-repo / Makefile
./build.sh iso
./build.sh --update-pkg-repo
./build.sh --rsync-repos

everything goes up to the server correctly, but it is not displayed when I update through the interface, only when I do "pkg upgrade -f"

Do you know if I'm forgetting something?

thank you very much for the tudorial :)

Build of v2.4.5 fails on the *-upgrade port

Followed the directions, but the [whatevername]-upgrade port will always fail, citing a missing file or directory. As a test, I edited the Makefile to change the pfSense references there, which allowed it to compile, but then it breaks the dependent ports (sysutils/-repo and security/-2.4.5.a.20191217.0825). There may have been something changed between when you ran your test and the 2.4.5 code. Might need some tweaks to that section as I can't find an easy solution....currently it appears as though there's a few dozen edits needed to those 3 ports to make it work.

Revised renaming of pfSense

I submitted a PR to eliminate the need to manually rename a number of pfSense files in the ports repo. Those should no longer be necessary, might check to make sure the wiki is updated to match the current pfsense master.

Compressing kernel error : Unable to access file /root/MyFirewall/tmp/stage-dir/share/MyFirewall/fix_for_SA-19-10.ufs:No such file or directory

Dear Augustin,

Please help me.

====>> Compressing kernel

Cloning everything to /root/MyFirewall/tmp/stage-dir staging area...mv: rename /root/MyFirewall/tmp/stage-dir/usr/local/sbin/pfSense-upgrade to /root/MyFirewall/tmp/stage-dir/usr/local/sbin/MyFirewall-upgrade: No such file or directory
====>> Copying metadata for package rc
====>> Creating core package rc
pkg: Unable to access file /root/MyFirewall/tmp/stage-dir/share/MyFirewall/fix_for_SA-19-10.ufs:No such file or directory
====>> ERROR: Execution of 'pkg create -o /root/MyFirewall/tmp/MyFirewall_master_amd64-core/.real_20191103-0902/All -p /tmp/rc.FEKuT1R/rc_plist -r /root/MyFirewall/tmp/stage-dir -m /tmp/rc.FEKuT1R/rc_metadir' failed (rc = 70)
====>> Removing immutable flags from /tmp/rc.FEKuT1R
====>> Removing recursively /tmp/rc.FEKuT1R

Build for ARM

Dear Augustin,

What are the changes required for ARM ?

Build Failure when building ports

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: [email protected]
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--
[email protected]
--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 !!!

Rename files is required;

Hello guys,
Don't forget to rename the following files according to your ${product} variable:

pfSense-ddb.conf and pfSense-devd.conf

pfSense-ddb.conf is called by the pfsense-rc file
pfSense-devd.conf is called by the util.inc file.

just rename the files to something like: libreSense-ddb.conf and libreSense-devd.conf

Hope that helps!

ISO building fails after building Kernel

Dear Augustin,

i`m facing one issue during building ISO after building kernel successfully ,
the screenshot of the error is mention below.
please find the attachment below.

regards:
iso_building_failed
Tajummal

./build.sh --update-pkg-repo error c-icap-modules marked as broken

Dear Augustin,

Getting error @ update pkg repo

[00:00:09] Trimming IGNORED and blacklisted ports
[00:00:09] Ignoring www/c-icap-modules | c-icap-modules-0.5.3_1: is marked as broken: fails to build
[00:00:09] Skipping www/myfirewall-pkg-squid | myfirewall-pkg-squid-0.4.44_9: Dependent port www/c-icap-modules | c-icap-modules-0.5.3_1 ignored

nginx config issue

Hi , first of all, thank you for the hard job doing that,

I have an issue when running the link command :
ln -s /usr/local/poudriere/data/packages/${product_name}_${pfSense_gui_branch}_amd64-${product_name}_${pfSense_port_branch} packages/${product_name}_${pfSense_gui_branch}_amd64-${product_name}_${pfSense_port_branch}

I get error No such file or directory.
please your advice.
Thanks again

./build.sh --skip-final-rsync iso KERNCONF=MyFirewall buildkernel' failed (rc = 2) Error

Dear Augustin,

Getting Error :( Please help

Building MyFirewall kernel.
Sun Oct 20 20:13:59 IST 2019 - Starting build kernel for amd64 architecture...
====>> Building kernel (MyFirewall)
make[1]: "/root/MyFirewall/tmp/FreeBSD-src/Makefile.inc1" line 343: SYSTEM_COMPILER: libclang will be built for bootstrapping a cross-compiler.
make[1]: "/root/MyFirewall/tmp/FreeBSD-src/Makefile.inc1" line 346: SYSTEM_LINKER: Determined that LD=ld matches the source tree. Not bootstrapping a cross-linker.
make[1]: "/root/MyFirewall/tmp/FreeBSD-src/Makefile.inc1" line 1526: Missing KERNCONF /root/MyFirewall/tmp/FreeBSD-src/sys/amd64/conf/MyFirewall
--- buildkernel ---
*** [buildkernel] Error code 1

make: stopped in /root/MyFirewall/tmp/FreeBSD-src
.ERROR_TARGET='buildkernel'
.ERROR_META_FILE=''
.MAKE.LEVEL='0'
MAKEFILE=''
.MAKE.MODE='normal'
_ERROR_CMD='.PHONY'
.CURDIR='/root/MyFirewall/tmp/FreeBSD-src'
.MAKE='make'
.OBJDIR='/root/MyFirewall/tmp/obj/root/MyFirewall/tmp/FreeBSD-src/amd64.amd64'
.TARGETS='buildkernel'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX=''
MAKESYSPATH='/root/MyFirewall/tmp/FreeBSD-src/share/mk'
MAKE_VERSION='20180512'
PATH='/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/root/MyFirewall/tmp/FreeBSD-src'
OBJTOP='/root/MyFirewall/tmp/obj/root/MyFirewall/tmp/FreeBSD-src/amd64.amd64'
1 error

make: stopped in /root/MyFirewall/tmp/FreeBSD-src
.ERROR_TARGET='buildkernel'
.ERROR_META_FILE=''
.MAKE.LEVEL='0'
MAKEFILE=''
.MAKE.MODE='normal'
_ERROR_CMD='.PHONY'
.CURDIR='/root/MyFirewall/tmp/FreeBSD-src'
.MAKE='make'
.OBJDIR='/root/MyFirewall/tmp/obj/root/MyFirewall/tmp/FreeBSD-src/amd64.amd64'
.TARGETS='buildkernel'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX=''
MAKESYSPATH='/root/MyFirewall/tmp/FreeBSD-src/share/mk'
MAKE_VERSION='20180512'
PATH='/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/root/MyFirewall/tmp/FreeBSD-src'
OBJTOP='/root/MyFirewall/tmp/obj/root/MyFirewall/tmp/FreeBSD-src/amd64.amd64'
====>> ERROR: Execution of 'make -C /root/MyFirewall/tmp/FreeBSD-src -s -j6 KERNCONF=MyFirewall buildkernel' failed (rc = 2)

powerpc build

Can we build it for the powerpc platform, particularly the QorIQ P2020?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.