how to start?
-
hi?i am new.
is there any information about how to build pfsense iso, step by step?thanks.
-
Hi,
Build from source code? maybe this ? building-pfsense-iso-from-source. Do not know if I can put external links where, very related thought. -
hi
i have followed the link, and tried many times.but always got these errors:[00:00:46] [01] [00:00:11] Finished devel/libffi | libffi-3.3_1: Failed: fetch
[00:00:47] [01] [00:00:12] Skipping net-mgmt/arpwatch | arpwatch-3.1: Dependent port devel/libffi | libffi-3.3_1 failed
[00:00:47] [01] [00:00:12] Skipping net/avahi-app | avahi-app-0.8: Dependent port devel/libffi | libffi-3.3_1 failed
[00:00:47] [01] [00:00:12] Skipping net-mgmt/bandwidthd | bandwidthd-2.0.1_12: Dependent port devel/libffi | libffi-3.3_1 failed
[00:00:47] [01] [00:00:12] Skipping dns/bind-tools | bind-tools-9.16.12: Dependent port devel/libffi | libffi-3.3_1 failed
[00:00:47] [01] [00:00:12] Skipping dns/bind916 | bind916-9.16.12: Dependent port devel/libffi | libffi-3.3_1 failed
[00:00:47] [01] [00:00:12] Skipping devel/boost-libs | boost-libs-1.72.0_3: Dependent port devel/libffi | libffi-3.3_1 failed
[00:00:47] [01] [00:00:12] Skipping www/c-icap-modules | c-icap-modules-0.5.4: Dependent port devel/libffi | libffi-3.3_1 failed
[00:00:47] [01] [00:00:12] Skipping graphics/cairo | cairo-1.16.0_1,3: Dependent port devel/libffi | libffi-3.3_1 failed
[00:00:47] [01] [00:00:12] Skipping security/clamav | clamav-0.103.0,1: Dependent port devel/libffi | libffi-3.3_1 failed
[00:00:47] [01] [00:00:12] Skipping devel/cmake | cmake-3.19.2: Dependent port devel/libffi | libffi-3.3_1 failed.....
[00:00:47] [01] [00:00:00] Building net/libdnet | libdnet-1.13_3
[00:01:01] [01] [00:00:14] Finished net/libdnet | libdnet-1.13_3: Failed: configure
[00:01:01] [01] [00:00:14] Skipping net/daq | daq-2.2.2_3: Dependent port net/libdnet | libdnet-1.13_3 failed.....
00:04:45] Logs: /usr/local/poudriere/data/logs/bulk/libreSense_v2_5_0-24-g23f7fa0bd4_amd64-libreSense_v2_5_0/2022-10-27_15h40m32s
[00:09:33] [01] [00:05:28] Finished benchmarks/iperf | iperf-2.0.14a_3: Failed: fetch
[00:09:33] Stopping 1 builders
[00:09:34] Creating pkg repository
Creating repository in /tmp/packages: 100%
Packing files for repository: 100%
[00:09:36] Warning: Not committing packages to repository as failures were encountered
[00:09:36] Failed ports: devel/libffi:fetch net/libdnet:configure security/wireguard-tools:fetch sysutils/libreSense-repo:build benchmarks/iperf:fetch
[00:09:36] Skipped ports: archivers/libarchive archivers/liblz4 archivers/zstd comms/py-pyserial@py37 databases/ldb21 databases/mysql57-client databases/pecl-rrd@php74 databases/py-sqlite3@py37 databases/rrdtool databases/tdb devel/boost-libs devel/cmake devel/dbus devel/dbus-glib devel/gdb@py37 devel/git@default devel/glib20 devel/gobject-introspection devel/hyperscan devel/icu devel/json-c devel/jsoncpp devel/libgit2 devel/meson devel/ninja devel/php-libreSense-module@php74 devel/php74-intl devel/py-ply@py37 devel/py-setuptools@py37 devel/py-yaml@py37 devel/ruby-gems devel/talloc devel/tevent devel/yajl dns/bind-tools dns/bind916 dns/libreSense-pkg-bind dns/unbound emulators/libreSense-pkg-Open-VM-Tools emulators/open-vm-tools-nox11 emulators/qemu-user-static graphics/cairo graphics/gd graphics/graphviz graphics/jpeg-turbo graphics/p5-GD graphics/tiff graphics/webp lang/python37 lang/ruby27 lang/rust net-mgmt/arpwatch net-mgmt/bandwidthd net-mgmt/libreSense-pkg-arpwatch net-mgmt/libreSense-pkg-bandwidthd net-mgmt/rtrlib net/avahi-app net/daq net/freeradius3 net/frr7 net/frr7-pythontools net/libreSense-pkg-Avahi net/libreSense-pkg-Status_Traffic_Totals net/libreSense-pkg-cellular net/libreSense-pkg-freeradius3 net/libreSense-pkg-frr net/libreSense-pkg-ntopng net/libreSense-pkg-pfBlockerNG-devel net/libreSense-pkg-pfBlockerNG@php74 net/libyang net/libzmq4 net/ndpi net/norm net/ntopng net/pecl-zmq@php74 net/py-maxminddb@py37 net/py-speedtest-cli@py37 net/rsync net/vnstat security/clamav security/libreSense-pkg-openvpn-client-export security/libreSense-pkg-snort security/libreSense-pkg-suricata security/libreSense-pkg-zeek security/libreSense@php74 security/libssh security/opensc security/openvpn security/openvpn-auth-script security/openvpn-client-export security/snort security/sssd security/strongswan security/suricata security/wpa_supplicant security/zeek sysutils/cmocka sysutils/htop sysutils/libreSense-Status_Monitoring@php74 sysutils/libreSense-builder sysutils/libreSense-pkg-node_exporter sysutils/libreSense-pkg-syslog-ng sysutils/syslog-ng sysutils/xe-guest-utilities sysutils/xen-guest-tools textproc/groff textproc/rubygem-asciidoctor textproc/source-highlight textproc/uchardet www/c-icap-modules www/libreSense-pkg-Lightsquid www/libreSense-pkg-squid www/lightsquid
[libreSense_v2_5_0-24-g23f7fa0bd4_amd64-libreSense_v2_5_0] [2022-10-27_15h40m32s] [pkgrepo:] Queued: 118 Built: 0 Failed: 5 Skipped: 113 Ignored: 0 Fetched: 0 Tobuild: 0 Time: 00:09:35
[00:09:36] Logs: /usr/local/poudriere/data/logs/bulk/libreSense_v2_5_0-24-g23f7fa0bd4_amd64-libreSense_v2_5_0/2022-10-27_15h40m32s
[00:09:36] Cleaning up
[00:09:36] Unmounting file systemshow to correct these errors?
-
@watermirror said in how to start?:
[00:00:46] [01] [00:00:11] Finished devel/libffi | libffi-3.3_1: Failed: fetch
This is the only error that matters. The others that followed it are just a symptom as they have
libffi
listed as a dependency, so when that port fails to build the others with a dependency on it will also fail to build.To see why
libffi
is failing, you will need to examine its Makefile and perhaps the Poudriere build log for that package. The error says it failed to fetch the source code. That could be because the repo referenced in the Makefile is offline, or it might be that the source file location has been customized to some place not publicly accessible (like a private GitHub, for instance).And lastly, I will say that trying to build a custom pfSense image is not for the faint of heart. It requires quite a bit of patience to track down and correct some weird errors, and it also demands a lot of experience with using and maintaining FreeBSD build environments.