Pfsense-tools patching errors



  • Hi, I'm trying to build pfsense-tools, i'm running set_version.sh which invokes apply_kernel_patches.sh which invokes update_freebsd_sources_and_apply_patches() from builder_common.sh

    I'm seeing a lot of errors while the patches are being applied and I was curious if anyone could point me in the right direction. Thank you in advance:

    Setting builder environment to use HEAD/RELENG_10_0 …

    Custom pfsense-build.conf contains:


    set_version.sh generated defaults

    export PFSENSE_VERSION=2.2-DEVELOPMENT
    export FREEBSD_VERSION=10
    export FREEBSD_BRANCH=RELENG_10_0
    export PFSENSETAG=HEAD
    export PFSPATCHFILE=/opt/src/pfsense-tools/builder_scripts/../builder_scripts/conf/patchlist/patches.RELENG_10_0
    export PFSPATCHDIR=/opt/src/pfsense-tools/builder_scripts/../patches/RELENG_10_0
    export SUPFILE=/opt/src/pfsense-tools/builder_scripts/../builder_scripts/conf/csup/RELENG_10_0-supfile
    export CUSTOM_COPY_LIST=/opt/src/pfsense-tools/builder_scripts/../builder_scripts/conf/copylist/copy.list.RELENG_2_2

    Comment out the following line if you would like to automatically select an update server.

    export OVERRIDE_FREEBSD_CVSUP_HOST=cvsup14.us.FreeBSD.org
    export BASE_DIR=/opt/src/pfsense-tools/builder_scripts/../..
    export BUILDER_TOOLS=/opt/src/pfsense-tools/builder_scripts/..
    export BUILDER_SCRIPTS=/opt/src/pfsense-tools/builder_scripts
    export EXTRA_DEVICES=siba_bwn,bwn
    export PFSPORTSFILE=buildports.RELENG_2_2
    export ARCH=amd64
    export TARGETARCH=amd64
    #export PFSENSE_WITH_FULL_GIT_CHECKOUT="true"

    NOTE: pfsense-build.conf values updated.  These values override pfsense_local.sh !!

    NOTE2: pfPorts will be rebuilt!
          remove /tmp/pfPorts_forced_build_required to cancel

    Setting CVSUp host to cvsup14.us.FreeBSD.org
    Removing old patch rejects...
    Removing original files ...
    Obtaining FreeBSD sources RELENG_10_0-supfile...Done!
    Removing needed files listed in patches.RELENG_10_0 HEAD
    Applying patches from /opt/src/pfsense-tools/builder_scripts/../builder_scripts/conf/patchlist/patches.RELENG_10_0 please wait...No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_cbq.h.rej
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_hfsc.h.rej
    failed to apply altq_max_queues.diff
    No file to patch.  Skipping...
    9 out of 9 hunks ignored--saving rejects to sbin/pfctl/parse.y.rej
    Can't create sbin/pfctl/parse.y.rej, output is in /tmp/patchrLVJVImIjsl: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/pfctl/pfctl_parser.c.rej
    Can't create sbin/pfctl/pfctl_parser.c.rej, output is in /tmp/patchrLVJVImIjsl: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchrLVJVImIjsl: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchrLVJVImIjsl: No such file or directory
    failed to apply dscp.RELENG_10.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/pfctl/pfctl_altq.c.rej
    Can't create sbin/pfctl/pfctl_altq.c.rej, output is in /tmp/patchrffXwQhQwOl: No such file or directory
    failed to apply hfscconfig.RELENG_10.diff
    No file to patch.  Skipping...
    7 out of 7 hunks ignored--saving rejects to sbin/pfctl/parse.y.rej
    Can't create sbin/pfctl/parse.y.rej, output is in /tmp/patchrLbYrAeuMB0: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/pfctl/pfctl_parser.c.rej
    Can't create sbin/pfctl/pfctl_parser.c.rej, output is in /tmp/patchrLbYrAeuMB0: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchrLbYrAeuMB0: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_dn_io.c.rej
    Can't create sys/netpfil/ipfw/ip_dn_io.c.rej, output is in /tmp/patchrLbYrAeuMB0: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_dummynet.c.rej
    Can't create sys/netpfil/ipfw/ip_dummynet.c.rej, output is in /tmp/patchrLbYrAeuMB0: No such file or directory
    No file to patch.  Skipping...
    18 out of 18 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchrLbYrAeuMB0: No such file or directory
    failed to apply dummynet.RELENG_10.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchriUUeaidYFK: No such file or directory
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/netpfil/pf/pf_ioctl.c.rej
    Can't create sys/netpfil/pf/pf_ioctl.c.rej, output is in /tmp/patchriUUeaidYFK: No such file or directory
    failed to apply get_tag_altq_ids.RELENG_10.diff
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchrOH1RnSI5de: No such file or directory
    failed to apply reply-to.RELENG_10.diff
    No file to patch.  Skipping...
    7 out of 7 hunks ignored--saving rejects to sbin/pfctl/parse.y.rej
    Can't create sbin/pfctl/parse.y.rej, output is in /tmp/patchr6A7SvPH5zp: No such file or directory
    failed to apply binat.RELENG_10.diff
    No file to patch.  Skipping...
    13 out of 13 hunks ignored--saving rejects to sbin/pfctl/parse.y.rej
    Can't create sbin/pfctl/parse.y.rej, output is in /tmp/patchrqlQoE1XBy9: No such file or directory
    No file to patch.  Skipping...
    6 out of 6 hunks ignored--saving rejects to sbin/pfctl/pfctl.c.rej
    Can't create sbin/pfctl/pfctl.c.rej, output is in /tmp/patchrqlQoE1XBy9: No such file or directory
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchrqlQoE1XBy9: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netpfil/pf/pf_ioctl.c.rej
    Can't create sys/netpfil/pf/pf_ioctl.c.rej, output is in /tmp/patchrqlQoE1XBy9: No such file or directory
    failed to apply schedule_label.RELENG_10.diff
    No file to patch.  Skipping...
    6 out of 6 hunks ignored--saving rejects to sys/net/pfil.c.rej
    Can't create sys/net/pfil.c.rej, output is in /tmp/patchrF0SbBnCFve: No such file or directory
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/net/pfil.h.rej
    Can't create sys/net/pfil.h.rej, output is in /tmp/patchrF0SbBnCFve: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netinet/ip_input.c.rej
    Can't create sys/netinet/ip_input.c.rej, output is in /tmp/patchrF0SbBnCFve: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/netinet6/ip6_input.c.rej
    Can't create sys/netinet6/ip6_input.c.rej, output is in /tmp/patchrF0SbBnCFve: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw_pfil.c.rej
    Can't create sys/netpfil/ipfw/ip_fw_pfil.c.rej, output is in /tmp/patchrF0SbBnCFve: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/netpfil/pf/pf_ioctl.c.rej
    Can't create sys/netpfil/pf/pf_ioctl.c.rej, output is in /tmp/patchrF0SbBnCFve: No such file or directory
    failed to apply pfil.RELENG_10.diff
    No file to patch.  Skipping...
    11 out of 11 hunks ignored--saving rejects to sbin/pfctl/parse.y.rej
    Can't create sbin/pfctl/parse.y.rej, output is in /tmp/patchrrDob9VDFks: No such file or directory
    No file to patch.  Skipping...
    14 out of 14 hunks ignored--saving rejects to sbin/pfctl/pfctl_altq.c.rej
    Can't create sbin/pfctl/pfctl_altq.c.rej, output is in /tmp/patchrrDob9VDFks: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/pfctl/pfctl_parser.h.rej
    Can't create sbin/pfctl/pfctl_parser.h.rej, output is in /tmp/patchrrDob9VDFks: No such file or directory
    No file to patch.  Skipping...
    6 out of 6 hunks ignored--saving rejects to sbin/pfctl/pfctl_qstats.c.rej
    Can't create sbin/pfctl/pfctl_qstats.c.rej, output is in /tmp/patchrrDob9VDFks: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/conf/NOTES.rej
    Can't create sys/conf/NOTES.rej, output is in /tmp/patchrrDob9VDFks: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/conf/files.rej
    Can't create sys/conf/files.rej, output is in /tmp/patchrrDob9VDFks: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/conf/options.rej
    Can't create sys/conf/options.rej, output is in /tmp/patchrrDob9VDFks: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/contrib/altq/altq/altq.h.rej
    No file to patch.  Skipping...
    6 out of 6 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_subr.c.rej
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_var.h.rej
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/net/pf_mtag.h.rej
    Can't create sys/net/pf_mtag.h.rej, output is in /tmp/patchrrDob9VDFks: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchrrDob9VDFks: No such file or directory
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchrrDob9VDFks: No such file or directory
    failed to apply fairq.RELENG_10.diff
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/net/if_enc.c.rej
    Can't create sys/net/if_enc.c.rej, output is in /tmp/patchruzRg8s2YXS: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netipsec/ipsec.h.rej
    Can't create sys/netipsec/ipsec.h.rej, output is in /tmp/patchruzRg8s2YXS: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/netipsec/ipsec_input.c.rej
    Can't create sys/netipsec/ipsec_input.c.rej, output is in /tmp/patchruzRg8s2YXS: No such file or directory
    No file to patch.  Skipping...
    7 out of 7 hunks ignored--saving rejects to sys/netipsec/ipsec_output.c.rej
    Can't create sys/netipsec/ipsec_output.c.rej, output is in /tmp/patchruzRg8s2YXS: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netipsec/keydb.h.rej
    Can't create sys/netipsec/keydb.h.rej, output is in /tmp/patchruzRg8s2YXS: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netipsec/xform_ipip.c.rej
    Can't create sys/netipsec/xform_ipip.c.rej, output is in /tmp/patchruzRg8s2YXS: No such file or directory
    failed to apply ipsec_altq.RELENG_10.diff
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sbin/ipfw/dummynet.c.rej
    failed to apply ipfw_dummynet_bandwidth.diff
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/netgraph/ng_iface.c.rej
    Can't create sys/netgraph/ng_iface.c.rej, output is in /tmp/patchrhBw0pl4uUG: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netgraph/ng_iface.h.rej
    Can't create sys/netgraph/ng_iface.h.rej, output is in /tmp/patchrhBw0pl4uUG: No such file or directory
    failed to apply ng_iface.RELENG_10.diff
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/netgraph/ng_eiface.c.rej
    Can't create sys/netgraph/ng_eiface.c.rej, output is in /tmp/patchreSSVB9D0TD: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netgraph/ng_eiface.h.rej
    Can't create sys/netgraph/ng_eiface.h.rej, output is in /tmp/patchreSSVB9D0TD: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to usr.sbin/ngctl/main.c.rej
    Can't create usr.sbin/ngctl/main.c.rej, output is in /tmp/patchreSSVB9D0TD: No such file or directory
    failed to apply ng_eiface.RELENG_10.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/boot/i386/boot0/boot0.S.rej
    Can't create sys/boot/i386/boot0/boot0.S.rej, output is in /tmp/patchrhlyoNiTahz: No such file or directory
    failed to apply lib386boot.diff
    No file to patch.  Skipping...
    13 out of 13 hunks ignored--saving rejects to usr.sbin/syslogd/syslogd.c.rej
    failed to apply syslogd.c.diff
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to usr.bin/netstat/if.c.rej
    Can't create usr.bin/netstat/if.c.rej, output is in /tmp/patchrrQZT0vLUGB: No such file or directory
    failed to apply netstat_ifname_size.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/net/if_ethersubr.c.rej
    Can't create sys/net/if_ethersubr.c.rej, output is in /tmp/patchrj9hxoqfgul: No such file or directory
    failed to apply if_ethersubr.c.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netinet/ip_carp.c.rej
    Can't create sys/netinet/ip_carp.c.rej, output is in /tmp/patchr3igz1gVG1A: No such file or directory
    failed to apply ip_carp.c.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to contrib/wpa/src/l2_packet/l2_packet_freebsd.c.rej
    Can't create contrib/wpa/src/l2_packet/l2_packet_freebsd.c.rej, output is in /tmp/patchr5TT1ssp6bq: No such file or directory
    failed to apply wpa_correct_mac_address.RELENG_10.diff
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/netgraph/ng_base.c.rej
    Can't create sys/netgraph/ng_base.c.rej, output is in /tmp/patchrFz9PBDuRa0: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netgraph/ng_message.h.rej
    Can't create sys/netgraph/ng_message.h.rej, output is in /tmp/patchrFz9PBDuRa0: No such file or directory
    failed to apply ng_ether_attach_command.diff
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/netinet/if_ether.c.rej
    Can't create sys/netinet/if_ether.c.rej, output is in /tmp/patchruec0INouLz: No such file or directory
    failed to apply carp_correct_mac.diff
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/netinet/ip_output.c.rej
    Can't create sys/netinet/ip_output.c.rej, output is in /tmp/patchrIsEiLGWtYL: No such file or directory
    failed to apply route-to_without_gw.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchrdPR0AaZ6ml: No such file or directory
    failed to apply pfvar_addr_compare.RELENG_10.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netinet/in.h.rej
    Can't create sys/netinet/in.h.rej, output is in /tmp/patchrYNS9eO7hSs: No such file or directory
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sys/netinet/ip_input.c.rej
    Can't create sys/netinet/ip_input.c.rej, output is in /tmp/patchrYNS9eO7hSs: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netinet/ip_output.c.rej
    Can't create sys/netinet/ip_output.c.rej, output is in /tmp/patchrYNS9eO7hSs: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/netinet/ip_var.h.rej
    Can't create sys/netinet/ip_var.h.rej, output is in /tmp/patchrYNS9eO7hSs: No such file or directory
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/netinet6/ip6_input.c.rej
    Can't create sys/netinet6/ip6_input.c.rej, output is in /tmp/patchrYNS9eO7hSs: No such file or directory
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/netinet6/ip6_output.c.rej
    Can't create sys/netinet6/ip6_output.c.rej, output is in /tmp/patchrYNS9eO7hSs: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netinet6/ip6_var.h.rej
    Can't create sys/netinet6/ip6_var.h.rej, output is in /tmp/patchrYNS9eO7hSs: No such file or directory
    failed to apply IPSEC_sysctl.RELENG_10.diff
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sys/netinet/ip_carp.c.rej
    Can't create sys/netinet/ip_carp.c.rej, output is in /tmp/patchrp6NkGe1xwl: No such file or directory
    failed to apply carp_replay_protection.diff
    No file to patch.  Skipping...
    48 out of 48 hunks ignored--saving rejects to sys/netinet/ip_carp.c.rej
    Can't create sys/netinet/ip_carp.c.rej, output is in /tmp/patchrDzqfCQxJCd: No such file or directory
    failed to apply carp_livelock_fixes.diff
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sbin/pfctl/parse.y.rej
    Can't create sbin/pfctl/parse.y.rej, output is in /tmp/patchrcMhYuE1jan: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/pfctl/pfctl_parser.c.rej
    Can't create sbin/pfctl/pfctl_parser.c.rej, output is in /tmp/patchrcMhYuE1jan: No such file or directory
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchrcMhYuE1jan: No such file or directory
    No file to patch.  Skipping...
    9 out of 9 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchrcMhYuE1jan: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netpfil/pf/pf_ruleset.c.rej
    Can't create sys/netpfil/pf/pf_ruleset.c.rej, output is in /tmp/patchrcMhYuE1jan: No such file or directory
    failed to apply pf_match.diff
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/net/if_bridge.c.rej
    Can't create sys/net/if_bridge.c.rej, output is in /tmp/patchrO5qXWf5a5h: No such file or directory
    failed to apply if_bridge_gif_mtu.diff
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sbin/pfctl/pfctl_altq.c.rej
    Can't create sbin/pfctl/pfctl_altq.c.rej, output is in /tmp/patchrFAvZvUrUoZ: No such file or directory
    failed to apply pfaltq_interface_bw.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netpfil/pf/pf_norm.c.rej
    Can't create sys/netpfil/pf/pf_norm.c.rej, output is in /tmp/patchrpfxq0IQUos: No such file or directory
    failed to apply scrub_FIN+SYN_drop.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/net/if.h.rej
    Can't create sys/net/if.h.rej, output is in /tmp/patchrz7aBQFIwtf: No such file or directory
    failed to apply ifqueue_maxlen.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchro8slgvdm6o: No such file or directory
    failed to apply pf_stickies_fix2.diff
    No file to patch.  Skipping...
    7 out of 7 hunks ignored--saving rejects to sys/net/netisr.c.rej
    Can't create sys/net/netisr.c.rej, output is in /tmp/patchrh6HRy4hirW: No such file or directory
    failed to apply netisr_default_values.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netinet/ip_input.c.rej
    Can't create sys/netinet/ip_input.c.rej, output is in /tmp/patchrlbS8AWAS4r: No such file or directory
    failed to apply ip_dstchng_fix.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/ifconfig/ifpfsync.c.rej
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/net/if_pfsync.h.rej
    Can't create sys/net/if_pfsync.h.rej, output is in /tmp/patchriJWNwE3SWI: No such file or directory
    No file to patch.  Skipping...
    8 out of 8 hunks ignored--saving rejects to sys/netpfil/pf/if_pfsync.c.rej
    Can't create sys/netpfil/pf/if_pfsync.c.rej, output is in /tmp/patchriJWNwE3SWI: No such file or directory
    failed to apply if_pfsync.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/route/route.c.rej
    Can't create sbin/route/route.c.rej, output is in /tmp/patchrXHOdnuOSNW: No such file or directory
    failed to apply route.diff
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sbin/ifconfig/ifvlan.c.rej
    No file to patch.  Skipping...
    7 out of 7 hunks ignored--saving rejects to sbin/pfctl/parse.y.rej
    Can't create sbin/pfctl/parse.y.rej, output is in /tmp/patchrpcq3EXoNpJ: No such file or directory
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sbin/pfctl/pfctl_parser.c.rej
    Can't create sbin/pfctl/pfctl_parser.c.rej, output is in /tmp/patchrpcq3EXoNpJ: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/net/if.h.rej
    Can't create sys/net/if.h.rej, output is in /tmp/patchrpcq3EXoNpJ: No such file or directory
    No file to patch.  Skipping...
    15 out of 15 hunks ignored--saving rejects to sys/net/if_vlan.c.rej
    Can't create sys/net/if_vlan.c.rej, output is in /tmp/patchrpcq3EXoNpJ: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/net/if_vlan_var.h.rej
    Can't create sys/net/if_vlan_var.h.rej, output is in /tmp/patchrpcq3EXoNpJ: No such file or directory
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchrpcq3EXoNpJ: No such file or directory
    No file to patch.  Skipping...
    6 out of 6 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchrpcq3EXoNpJ: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/sys/priv.h.rej
    Can't create sys/sys/priv.h.rej, output is in /tmp/patchrpcq3EXoNpJ: No such file or directory
    failed to apply pf_802.1p.diff
    No file to patch.  Skipping...
    11 out of 11 hunks ignored--saving rejects to sys/net/if_tun.c.rej
    Can't create sys/net/if_tun.c.rej, output is in /tmp/patchrvUFWz4U8N5: No such file or directory
    failed to apply tun_optimization.diff
    No file to patch.  Skipping...
    16 out of 16 hunks ignored--saving rejects to sbin/pfctl/parse.y.rej
    Can't create sbin/pfctl/parse.y.rej, output is in /tmp/patchrZyXCEc1OrD: No such file or directory
    No file to patch.  Skipping...
    9 out of 9 hunks ignored--saving rejects to sbin/pfctl/pfctl_altq.c.rej
    Can't create sbin/pfctl/pfctl_altq.c.rej, output is in /tmp/patchrZyXCEc1OrD: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/pfctl/pfctl_parser.h.rej
    Can't create sbin/pfctl/pfctl_parser.h.rej, output is in /tmp/patchrZyXCEc1OrD: No such file or directory
    No file to patch.  Skipping...
    9 out of 9 hunks ignored--saving rejects to sbin/pfctl/pfctl_qstats.c.rej
    Can't create sbin/pfctl/pfctl_qstats.c.rej, output is in /tmp/patchrZyXCEc1OrD: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/conf/files.rej
    Can't create sys/conf/files.rej, output is in /tmp/patchrZyXCEc1OrD: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/conf/options.rej
    Can't create sys/conf/options.rej, output is in /tmp/patchrZyXCEc1OrD: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/contrib/altq/altq/altq.h.rej
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_cbq.c.rej
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_cbq.h.rej
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_classq.h.rej
    No file to patch.  Skipping...
    8 out of 8 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_hfsc.c.rej
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_hfsc.h.rej
    No file to patch.  Skipping...
    9 out of 9 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_priq.c.rej
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_priq.h.rej
    No file to patch.  Skipping...
    7 out of 7 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_rmclass.c.rej
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_rmclass.h.rej
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_subr.c.rej
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/contrib/altq/altq/altq_var.h.rej
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchrZyXCEc1OrD: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/sys/mbuf.h.rej
    Can't create sys/sys/mbuf.h.rej, output is in /tmp/patchrZyXCEc1OrD: No such file or directory
    failed to apply altq_codel.diff
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchr27iIypSv0L: No such file or directory
    failed to apply pf_route_to_daemon_friendly.RELENG_10.diff
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sbin/pfctl/pfctl.c.rej
    Can't create sbin/pfctl/pfctl.c.rej, output is in /tmp/patchrKzF1pQLdZr: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchrKzF1pQLdZr: No such file or directory
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/netpfil/pf/pf_ioctl.c.rej
    Can't create sys/netpfil/pf/pf_ioctl.c.rej, output is in /tmp/patchrKzF1pQLdZr: No such file or directory
    failed to apply killifstates.RELENG_10.diff
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sbin/pfctl/parse.y.rej
    Can't create sbin/pfctl/parse.y.rej, output is in /tmp/patchrHehj3WUsJr: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/pfctl/pfctl_parser.c.rej
    Can't create sbin/pfctl/pfctl_parser.c.rej, output is in /tmp/patchrHehj3WUsJr: No such file or directory
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchrHehj3WUsJr: No such file or directory
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sys/netinet/ip_divert.c.rej
    Can't create sys/netinet/ip_divert.c.rej, output is in /tmp/patchrHehj3WUsJr: No such file or directory
    No file to patch.  Skipping...
    9 out of 9 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchrHehj3WUsJr: No such file or directory
    failed to apply divert.RELENG_10.diff
    No file to patch.  Skipping...
    9 out of 9 hunks ignored--saving rejects to sbin/ipfw/ipfw2.c.rej
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/netinet/ip_fw.h.rej
    Can't create sys/netinet/ip_fw.h.rej, output is in /tmp/patchrOytnLKlZwN: No such file or directory
    No file to patch.  Skipping...
    11 out of 11 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw2.c.rej
    Can't create sys/netpfil/ipfw/ip_fw2.c.rej, output is in /tmp/patchrOytnLKlZwN: No such file or directory
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw_pfil.c.rej
    Can't create sys/netpfil/ipfw/ip_fw_pfil.c.rej, output is in /tmp/patchrOytnLKlZwN: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw_private.h.rej
    Can't create sys/netpfil/ipfw/ip_fw_private.h.rej, output is in /tmp/patchrOytnLKlZwN: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw_sockopt.c.rej
    Can't create sys/netpfil/ipfw/ip_fw_sockopt.c.rej, output is in /tmp/patchrOytnLKlZwN: No such file or directory
    No file to patch.  Skipping...
    11 out of 11 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw_table.c.rej
    Can't create sys/netpfil/ipfw/ip_fw_table.c.rej, output is in /tmp/patchrOytnLKlZwN: No such file or directory
    failed to apply CP_speedup.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/ipfw/Makefile.rej
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sbin/ipfw/ipfw2.c.rej
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sbin/ipfw/ipfw2.h.rej
    No file to patch.  Skipping...
    6 out of 6 hunks ignored--saving rejects to sbin/ipfw/main.c.rej
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/netinet/ip_fw.h.rej
    Can't create sys/netinet/ip_fw.h.rej, output is in /tmp/patchrFJoJ3LXYc2: No such file or directory
    No file to patch.  Skipping...
    14 out of 14 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw2.c.rej
    Can't create sys/netpfil/ipfw/ip_fw2.c.rej, output is in /tmp/patchrFJoJ3LXYc2: No such file or directory
    No file to patch.  Skipping...
    8 out of 8 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw_dynamic.c.rej
    Can't create sys/netpfil/ipfw/ip_fw_dynamic.c.rej, output is in /tmp/patchrFJoJ3LXYc2: No such file or directory
    No file to patch.  Skipping...
    8 out of 8 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw_nat.c.rej
    Can't create sys/netpfil/ipfw/ip_fw_nat.c.rej, output is in /tmp/patchrFJoJ3LXYc2: No such file or directory
    No file to patch.  Skipping...
    6 out of 6 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw_private.h.rej
    Can't create sys/netpfil/ipfw/ip_fw_private.h.rej, output is in /tmp/patchrFJoJ3LXYc2: No such file or directory
    No file to patch.  Skipping...
    8 out of 8 hunks ignored--saving rejects to sys/netpfil/ipfw/ip_fw_sockopt.c.rej
    Can't create sys/netpfil/ipfw/ip_fw_sockopt.c.rej, output is in /tmp/patchrFJoJ3LXYc2: No such file or directory
    failed to apply CP_multi_instance_ipfw.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/ifconfig/Makefile.rej
    No file to patch.  Skipping...
    34 out of 34 hunks ignored--saving rejects to sys/net/if_stf.c.rej
    Can't create sys/net/if_stf.c.rej, output is in /tmp/patchrpspkYzRwAi: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/net/if_stf.h.rej
    Can't create sys/net/if_stf.h.rej, output is in /tmp/patchrpspkYzRwAi: No such file or directory
    failed to apply stf_6rd.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to system.rej
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to passwd.rej
    failed to apply pam_remove_nullok.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to beastie.4th.rej
    failed to apply beastie.4th.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to menu-commands.4th.rej
    failed to apply menu-commands.4th.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to menu.4th.rej
    failed to apply menu.4th.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to brand.4th.rej
    failed to apply brand.4th.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to loader.conf.rej
    failed to apply loader.conf.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to Makefile.inc1.rej
    failed to apply makefile.inc1.diff
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchrbPStY922Q7: No such file or directory
    failed to apply pf_tags_alloc.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/dev/sfxge/sfxge_port.c.rej
    Can't create sys/dev/sfxge/sfxge_port.c.rej, output is in /tmp/patchroBDRAVqtnG: No such file or directory
    failed to apply sfxge_compile_i386.diff
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netinet/udp_usrreq.c.rej
    Can't create sys/netinet/udp_usrreq.c.rej, output is in /tmp/patchrkD5jIIB3bo: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netinet6/udp6_usrreq.c.rej
    Can't create sys/netinet6/udp6_usrreq.c.rej, output is in /tmp/patchrkD5jIIB3bo: No such file or directory
    failed to apply udp_SO_REUSEADDR+PORT.diff
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/netinet/ip_ipsec.c.rej
    Can't create sys/netinet/ip_ipsec.c.rej, output is in /tmp/patchrb3tqGDN4Ov: No such file or directory
    No file to patch.  Skipping...
    31 out of 31 hunks ignored--saving rejects to sys/netipsec/key.c.rej
    Can't create sys/netipsec/key.c.rej, output is in /tmp/patchrb3tqGDN4Ov: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/netipsec/keydb.h.rej
    Can't create sys/netipsec/keydb.h.rej, output is in /tmp/patchrb3tqGDN4Ov: No such file or directory
    failed to apply ipsec_improvement.diff
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sbin/ifconfig/ifconfig.c.rej
    No file to patch.  Skipping...
    3 out of 3 hunks ignored--saving rejects to sys/netinet/in.c.rej
    Can't create sys/netinet/in.c.rej, output is in /tmp/patchr5O7KJEmEJB: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/sys/sockio.h.rej
    Can't create sys/sys/sockio.h.rej, output is in /tmp/patchr5O7KJEmEJB: No such file or directory
    failed to apply set_ifaddr_first.diff
    No file to patch.  Skipping...
    5 out of 5 hunks ignored--saving rejects to sbin/pfctl/parse.y.rej
    Can't create sbin/pfctl/parse.y.rej, output is in /tmp/patchri8eSZn5YIt: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/pfctl/pfctl.c.rej
    Can't create sbin/pfctl/pfctl.c.rej, output is in /tmp/patchri8eSZn5YIt: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sbin/pfctl/pfctl_parser.c.rej
    Can't create sbin/pfctl/pfctl_parser.c.rej, output is in /tmp/patchri8eSZn5YIt: No such file or directory
    No file to patch.  Skipping...
    1 out of 1 hunks ignored--saving rejects to sys/net/if_pflog.h.rej
    Can't create sys/net/if_pflog.h.rej, output is in /tmp/patchri8eSZn5YIt: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/net/pfvar.h.rej
    Can't create sys/net/pfvar.h.rej, output is in /tmp/patchri8eSZn5YIt: No such file or directory
    No file to patch.  Skipping...
    2 out of 2 hunks ignored--saving rejects to sys/netpfil/pf/if_pflog.c.rej
    Can't create sys/netpfil/pf/if_pflog.c.rej, output is in /tmp/patchri8eSZn5YIt: No such file or directory
    No file to patch.  Skipping...
    7 out of 7 hunks ignored--saving rejects to sys/netpfil/pf/pf.c.rej
    Can't create sys/netpfil/pf/pf.c.rej, output is in /tmp/patchri8eSZn5YIt: No such file or directory
    No file to patch.  Skipping...
    4 out of 4 hunks ignored--saving rejects to sys/netpfil/pf/pf_ioctl.c.rej
    Can't create sys/netpfil/pf/pf_ioctl.c.rej, output is in /tmp/patchri8eSZn5YIt: No such file or directory
    failed to apply pf_static_tracker.diff
    Done!

    Finding patch rejects...

    WARNING!  Rejected patches found!  Please fix before building!

    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_cbq.h.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_hfsc.h.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq.h.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_subr.c.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_var.h.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_cbq.c.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_classq.h.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_hfsc.c.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_priq.c.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_priq.h.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_rmclass.c.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq_rmclass.h.rej
    /usr/pfSensesrc/src/usr.sbin/syslogd/syslogd.c.rej
    /usr/pfSensesrc/src/sbin/ipfw/dummynet.c.rej
    /usr/pfSensesrc/src/sbin/ipfw/ipfw2.c.rej
    /usr/pfSensesrc/src/sbin/ipfw/Makefile.rej
    /usr/pfSensesrc/src/sbin/ipfw/ipfw2.h.rej
    /usr/pfSensesrc/src/sbin/ipfw/main.c.rej
    /usr/pfSensesrc/src/sbin/ifconfig/ifpfsync.c.rej
    /usr/pfSensesrc/src/sbin/ifconfig/ifvlan.c.rej
    /usr/pfSensesrc/src/sbin/ifconfig/Makefile.rej
    /usr/pfSensesrc/src/sbin/ifconfig/ifconfig.c.rej
    /usr/pfSensesrc/src/system.rej
    /usr/pfSensesrc/src/passwd.rej
    /usr/pfSensesrc/src/beastie.4th.rej
    /usr/pfSensesrc/src/menu-commands.4th.rej
    /usr/pfSensesrc/src/menu.4th.rej
    /usr/pfSensesrc/src/brand.4th.rej
    /usr/pfSensesrc/src/loader.conf.rej
    /usr/pfSensesrc/src/Makefile.inc1.rej

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

    NOTE: a lot of times you can run ./clean_build.sh to resolve.

    Press enter to continue.



  • This has to do with not all of the kernel files downloading via cvsup. I'm not sure if it's because I used a different repository or that I should be using git or svn.

    Utopian



  • Use set_version to fix you issues.

    Though the first post is using old tools repo from what i can see.



  • Just run it?

    or use ./build.sh –configure if you like some GUI.



  • Out of curiosity why you are building a custom pfSense?