Building 2.0…



  • Hello…

    I am trying to build the BETA 2.0

    I have set up an freeBSD 8 build machine & followed the wiki instructions...

    http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso

    However.. on 5.2 "Invoke the Apply patches option"

    I receive the errors listed below... am I missing a step?

    Steps 1 - 5.1 all executed fine with no errors.

    Please help..

    Thanks..

    Jim

    --The errors!!!

    Setting CVSUp host to cvs.pfsense.org
    Removing needed files listed in patches.RELENG_8_0 HEAD
    Obtaining FreeBSD sources RELENG_8-supfile...Done!
    Removing old patch rejects...
    Applying patches, please wait...Hunk #1 failed at 44.
    Hunk #2 failed at 262.
    Hunk #3 failed at 401.
    Hunk #4 failed at 422.
    Hunk #5 failed at 465.
    Hunk #8 failed at 4779.
    Hunk #9 failed at 5207.
    Hunk #10 failed at 5215.
    Hunk #11 failed at 5228.
    9 out of 11 hunks failed--saving rejects to contrib/pf/pfctl/parse.y.rej
    Hunk #1 failed at 42.
    Hunk #3 failed at 120.
    Hunk #5 failed at 238.
    Hunk #8 failed at 462.
    4 out of 14 hunks failed--saving rejects to contrib/pf/pfctl/pfctl_altq.c.rej
    Hunk #1 failed at 149.
    1 out of 1 hunks failed--saving rejects to contrib/pf/pfctl/pfctl_parser.h.rej
    Hunk #1 failed at 38.
    Hunk #2 failed at 47.
    Hunk #3 failed at 79.
    3 out of 6 hunks failed--saving rejects to contrib/pf/pfctl/pfctl_qstats.c.rej
    Hunk #1 failed at 629.
    1 out of 1 hunks failed--saving rejects to sys/conf/NOTES.rej
    Hunk #1 failed at 357.
    1 out of 1 hunks failed--saving rejects to sys/conf/options.rej
    Hunk #1 failed at 63.
    1 out of 1 hunks failed--saving rejects to sys/contrib/altq/altq/altq.h.rej
    Hunk #2 failed at 7120.
    Hunk #3 failed at 7584.
    2 out of 3 hunks failed--saving rejects to sys/contrib/pf/net/pf.c.rej
    Hunk #1 failed at 42.
    1 out of 1 hunks failed--saving rejects to sys/contrib/pf/net/pf_mtag.h.rej
    Hunk #2 failed at 1416.
    1 out of 2 hunks failed--saving rejects to sys/contrib/pf/net/pfvar.h.rej
    Hunk #1 failed at 185.
    Hunk #2 failed at 196.
    Hunk #3 failed at 418.
    Hunk #4 failed at 434.
    Hunk #5 failed at 1820.
    Hunk #8 failed at 4606.
    Hunk #9 failed at 5404.
    7 out of 9 hunks failed--saving rejects to contrib/pf/pfctl/parse.y.rej
    Hunk #1 failed at 839.
    1 out of 1 hunks failed--saving rejects to contrib/pf/pfctl/pfctl_parser.c.rej
    Hunk #1 failed at 3342.
    Hunk #2 failed at 3767.
    Hunk #3 failed at 4125.
    Hunk #4 failed at 4387.
    4 out of 4 hunks failed--saving rejects to sys/contrib/pf/net/pf.c.rej
    Hunk #1 failed at 672.
    1 out of 2 hunks failed--saving rejects to sys/contrib/pf/net/pfvar.h.rej
    Hunk #1 failed at 112.
    1 out of 1 hunks failed--saving rejects to contrib/pf/pfctl/pfctl_qstats.c.rej
    Hunk #1 failed at 721.
    1 out of 1 hunks failed--saving rejects to contrib/pf/pfctl/pfctl_altq.c.rej
    Hunk #1 failed at 76.
    Hunk #2 failed at 120.
    Hunk #3 failed at 241.
    Hunk #5 failed at 2547.
    4 out of 6 hunks failed--saving rejects to contrib/pf/pfctl/pfctl.c.rej
    Hunk #1 failed at 32.
    Hunk #3 failed at 229.
    Hunk #4 failed at 288.
    Hunk #5 failed at 424.
    Hunk #6 failed at 453.
    Hunk #7 failed at 497.
    Hunk #8 failed at 521.
    Hunk #9 failed at 1480.
    Hunk #13 failed at 6351.
    Hunk #14 failed at 7152.
    Hunk #15 failed at 7170.
    Hunk #16 failed at 7193.
    Hunk #17 failed at 7208.
    Hunk #18 failed at 7247.
    Hunk #19 failed at 7266.
    15 out of 20 hunks failed--saving rejects to contrib/pf/pfctl/parse.y.rej
    Hunk #2 failed at 86.
    Hunk #3 failed at 112.
    Hunk #5 failed at 234.
    Hunk #8 failed at 930.
    Hunk #11 failed at 2276.
    Hunk #13 failed at 2794.
    Hunk #14 failed at 2811.
    Hunk #1 failed at 132.
    Hunk #2 failed at 144.
    Hunk #3 failed at 212.
    Hunk #4 failed at 444.
    Hunk #5 failed at 473.
    Hunk #6 failed at 2049.
    Hunk #9 failed at 3868.
    Hunk #11 failed at 7269.
    Hunk #12 failed at 7280.
    Hunk #13 failed at 7314.
    10 out of 13 hunks failed--saving rejects to contrib/pf/pfctl/parse.y.rej
    Hunk #2 failed at 1043.
    1 out of 2 hunks failed--saving rejects to contrib/pf/pfctl/pfctl_parser.c.rej
    Hunk #1 failed at 137.
    Hunk #5 failed at 7670.
    Hunk #1 failed at 1290.
    Hunk #2 failed at 1340.
    Hunk #3 failed at 2499.
    3 out of 4 hunks failed--saving rejects to sys/contrib/pf/net/pf_ioctl.c.rej
    Hunk #2 failed at 6543.
    Hunk #3 failed at 6730.
    2 out of 3 hunks failed--saving rejects to sys/contrib/pf/net/pf.c.rej
    Hunk #1 failed at 4109.
    Hunk #2 failed at 4117.
    Hunk #3 failed at 4135.
    Hunk #4 failed at 4177.
    Hunk #5 failed at 4193.
    5 out of 5 hunks failed--saving rejects to contrib/pf/pfctl/parse.y.rej
    Hunk #1 failed at 299.
    Hunk #2 failed at 519.
    Hunk #3 failed at 591.
    Hunk #4 failed at 4717.
    Hunk #5 failed at 4750.
    Hunk #6 failed at 5015.
    Hunk #7 failed at 5302.
    7 out of 8 hunks failed--saving rejects to sys/contrib/pf/net/pf.c.rej
    Hunk #1 failed at 801.
    Hunk #2 failed at 1905.
    2 out of 2 hunks failed--saving rejects to sys/contrib/pf/net/pfvar.h.rej
    Hunk #1 failed at 7.
    1 out of 1 hunks failed--saving rejects to sys/modules/pf/Makefile.rej
    Hunk #1 failed at 7428.
    1 out of 1 hunks failed--saving rejects to pf.c.rej
    Hunk #1 failed at 211.
    Hunk #2 failed at 320.
    Hunk #3 failed at 433.
    Hunk #4 failed at 474.
    Hunk #5 failed at 2071.
    Hunk #8 failed at 5522.
    Hunk #11 failed at 5610.
    Hunk #12 failed at 5886.
    8 out of 13 hunks failed--saving rejects to contrib/pf/pfctl/parse.y.rej
    Hunk #1 failed at 81.
    Hunk #2 failed at 121.
    Hunk #4 failed at 2294.
    3 out of 6 hunks failed--saving rejects to contrib/pf/pfctl/pfctl.c.rej
    Hunk #1 failed at 594.
    1 out of 3 hunks failed--saving rejects to sys/contrib/pf/net/pfvar.h.rej
    Hunk #1 failed at 3837.
    Hunk #2 failed at 3850.
    2 out of 2 hunks failed--saving rejects to sys/contrib/pf/net/pf_ioctl.c.rej
    Hunk #1 failed at 34.
    Hunk #2 failed at 77.
    Hunk #5 failed at 844.
    Hunk #6 failed at 854.
    4 out of 6 hunks failed--saving rejects to sys/net/pfil.c.rej
    Hunk #1 failed at 38.
    Hunk #2 failed at 53.
    Hunk #3 failed at 75.
    Hunk #4 failed at 85.
    4 out of 4 hunks failed--saving rejects to sys/net/pfil.h.rej
    Hunk #1 failed at 338.
    1 out of 1 hunks failed--saving rejects to sys/netinet/ip_input.c.rej
    Hunk #1 failed at 452.
    Hunk #2 failed at 487.
    2 out of 2 hunks failed--saving rejects to sys/netinet/ipfw/ip_fw_pfil.c.rej
    Hunk #1 failed at 153.
    Hunk #2 failed at 283.
    2 out of 2 hunks failed--saving rejects to sys/netinet6/ip6_input.c.rej
    Hunk #1 failed at 2205.
    Hunk #2 failed at 2463.
    2 out of 2 hunks failed--saving rejects to sys/conf/files.rej
    Hunk #2 failed at 240.
    1 out of 3 hunks failed--saving rejects to sys/net/if_enc.c.rej
    Hunk #1 failed at 436.
    1 out of 1 hunks failed--saving rejects to sys/netipsec/ipsec.h.rej
    Hunk #1 failed at 482.
    Hunk #2 failed at 750.
    2 out of 2 hunks failed--saving rejects to sys/netipsec/ipsec_input.c.rej
    Hunk #2 failed at 129.
    Hunk #4 failed at 692.
    Hunk #5 failed at 798.
    Hunk #6 failed at 1057.
    Hunk #7 failed at 1135.
    5 out of 7 hunks failed--saving rejects to sys/netipsec/ipsec_output.c.rej
    Hunk #1 failed at 58.
    1 out of 1 hunks failed--saving rejects to sys/netipsec/keydb.h.rej
    Hunk #1 failed at 365.
    1 out of 1 hunks failed--saving rejects to sys/netipsec/xform_ipip.c.rej
    Hunk #1 failed at 825.
    Hunk #2 failed at 1066.
    2 out of 2 hunks failed--saving rejects to sbin/ifconfig/ifconfig.c.rej
    Hunk #1 failed at 362.
    Hunk #2 failed at 3667.
    Hunk #3 failed at 3735.
    Hunk #4 failed at 3784.
    Hunk #5 failed at 3863.
    5 out of 5 hunks failed--saving rejects to sbin/ipfw/ipfw2.c.rej
    Hunk #1 failed at 150.
    1 out of 1 hunks failed--saving rejects to sys/net/if.h.rej
    Hunk #1 failed at 819.
    1 out of 1 hunks failed--saving rejects to sys/net/if_ethersubr.c.rej
    Hunk #1 failed at 448.
    1 out of 1 hunks failed--saving rejects to sys/netinet/in.h.rej
    Hunk #1 failed at 559.
    1 out of 1 hunks failed--saving rejects to sys/netinet/ip_fw.h.rej
    Hunk #1 failed at 521.
    1 out of 1 hunks failed--saving rejects to sys/netinet/raw_ip.c.rej
    Hunk #1 failed at 148.
    Hunk #2 failed at 1826.
    Hunk #3 failed at 1842.
    Hunk #4 failed at 1937.
    Hunk #5 failed at 1950.
    Hunk #6 failed at 2043.
    Hunk #8 failed at 2840.
    Hunk #9 failed at 3462.
    Hunk #11 failed at 4546.
    9 out of 12 hunks failed--saving rejects to sys/netinet/ipfw/ip_fw2.c.rej
    Hunk #1 failed at 85.
    Hunk #3 failed at 245.
    2 out of 4 hunks failed--saving rejects to sys/netinet/ipfw/ip_fw_pfil.c.rej
    Hunk #1 failed at 729.
    Hunk #2 failed at 771.
    Hunk #3 failed at 810.
    3 out of 3 hunks failed--saving rejects to if_vlan.c.rej
    Hunk #1 failed at 649.
    1 out of 1 hunks failed--saving rejects to proc.h.rej
    Hunk #1 failed at 10.
    1 out of 1 hunks failed--saving rejects to Makefile.rej
    Hunk #1 failed at 70.
    Hunk #3 failed at 659.
    Hunk #4 failed at 677.
    3 out of 4 hunks failed--saving rejects to ng_iface.c.rej
    Hunk #1 failed at 70.
    1 out of 1 hunks failed--saving rejects to ng_iface.h.rej
    Hunk #1 failed at 42.
    Hunk #3 failed at 462.
    2 out of 4 hunks failed--saving rejects to sys/netgraph/ng_eiface.c.rej
    Hunk #1 failed at 54.
    1 out of 1 hunks failed--saving rejects to sys/netgraph/ng_eiface.h.rej
    Hunk #1 failed at 216.
    1 out of 1 hunks failed--saving rejects to usr.sbin/ngctl/main.c.rej
    Hunk #1 failed at 647.
    1 out of 1 hunks failed--saving rejects to i386/boot0/boot0.S.rej
    Hunk #1 failed at 283.
    1 out of 1 hunks failed--saving rejects to i386/boot2/boot2.c.rej
    Hunk #1 failed at 270.
    Hunk #2 failed at 293.
    2 out of 2 hunks failed--saving rejects to i386/libfirewire/firewire.c.rej
    Hunk #1 failed at 378.
    1 out of 1 hunks failed--saving rejects to i386/libi386/biosdisk.c.rej
    Hunk #1 failed at 152.
    Hunk #2 failed at 210.
    Hunk #3 failed at 490.
    Hunk #4 failed at 1050.
    4 out of 4 hunks failed--saving rejects to tcp_output.c.rej
    Hunk #1 failed at 1328.
    1 out of 1 hunks failed--saving rejects to if.c.rej
    Hunk #1 failed at 244.
    Hunk #2 failed at 323.
    2 out of 2 hunks failed--saving rejects to kern_timeout.c.rej
    Hunk #1 failed at 222.
    Hunk #2 failed at 291.
    Hunk #3 failed at 313.
    3 out of 3 hunks failed--saving rejects to usr.bin/netstat/if.c.rej
    Hunk #1 failed at 708.
    1 out of 1 hunks failed--saving rejects to sys/conf/NOTES.rej
    Hunk #1 failed at 2367.
    1 out of 1 hunks failed--saving rejects to sys/conf/files.rej
    Hunk #1 failed at 496.
    1 out of 1 hunks failed--saving rejects to sys/conf/options.rej
    Hunk #1 failed at 968.
    1 out of 1 hunks failed--saving rejects to net/if_ethersubr.c.rej
    Hunk #2 failed at 200.
    Hunk #3 failed at 212.
    Hunk #4 failed at 286.
    Hunk #5 failed at 302.
    Hunk #6 failed at 312.
    Hunk #7 failed at 327.
    Hunk #8 failed at 344.
    7 out of 8 hunks failed--saving rejects to ipcp.c.rej
    Hunk #1 failed at 109.
    1 out of 1 hunks failed--saving rejects to sys/kern/tty.c.rej
    Hunk #1 failed at 2036.
    1 out of 1 hunks failed--saving rejects to sys/kern/uipc_syscalls.c.rej
    Hunk #1 failed at 3361.
    1 out of 1 hunks failed--saving rejects to if_ndis.c.rej
    Hunk #1 failed at 132.
    1 out of 1 hunks failed--saving rejects to ata-disk.c.rej
    Hunk #1 failed at 112.
    Hunk #2 failed at 348.
    2 out of 2 hunks failed--saving rejects to sys/dev/usb/serial/umodem.c.rej
    Hunk #1 failed at 124.
    Hunk #2 failed at 169.
    2 out of 2 hunks failed--saving rejects to sys/dev/usb/quirk/usb_quirk.c.rej
    Hunk #1 failed at 53.
    1 out of 1 hunks failed--saving rejects to sys/dev/usb/quirk/usb_quirk.h.rej
    Hunk #1 failed at 1102.
    Hunk #3 failed at 1823.
    2 out of 3 hunks failed--saving rejects to sys/dev/usb/usbdevs.rej
    Hunk #1 failed at 501.
    Hunk #2 failed at 550.
    2 out of 2 hunks failed--saving rejects to ip_carp.c.rej
    Done!

    Finding patch rejects...

    WARNING!  Rejected patches found!  Please fix before building!

    /usr/pfSensesrc/src/usr.sbin/ngctl/main.c.rej
    /usr/pfSensesrc/src/usr.sbin/ppp/ipcp.c.rej
    /usr/pfSensesrc/src/usr.sbin/syslogd/syslogd.c.rej
    /usr/pfSensesrc/src/sys/dev/ata/ata-disk.c.rej
    /usr/pfSensesrc/src/sys/dev/if_ndis/if_ndis.c.rej
    /usr/pfSensesrc/src/sys/dev/usb/quirk/usb_quirk.c.rej
    /usr/pfSensesrc/src/sys/dev/usb/quirk/usb_quirk.h.rej
    /usr/pfSensesrc/src/sys/dev/usb/serial/umodem.c.rej
    /usr/pfSensesrc/src/sys/dev/usb/usbdevs.rej
    /usr/pfSensesrc/src/sys/boot/i386/boot0/boot0.S.rej
    /usr/pfSensesrc/src/sys/boot/i386/boot2/boot2.c.rej
    /usr/pfSensesrc/src/sys/boot/i386/libfirewire/firewire.c.rej
    /usr/pfSensesrc/src/sys/boot/i386/libi386/biosdisk.c.rej
    /usr/pfSensesrc/src/sys/conf/NOTES.rej
    /usr/pfSensesrc/src/sys/conf/options.rej
    /usr/pfSensesrc/src/sys/conf/files.rej
    /usr/pfSensesrc/src/sys/contrib/altq/altq/altq.h.rej
    /usr/pfSensesrc/src/sys/contrib/pf/net/pf.c.rej
    /usr/pfSensesrc/src/sys/contrib/pf/net/pf_mtag.h.rej
    /usr/pfSensesrc/src/sys/contrib/pf/net/pfvar.h.rej
    /usr/pfSensesrc/src/sys/contrib/pf/net/pf_ioctl.c.rej
    /usr/pfSensesrc/src/sys/kern/kern_timeout.c.rej
    /usr/pfSensesrc/src/sys/kern/tty.c.rej
    /usr/pfSensesrc/src/sys/kern/uipc_syscalls.c.rej
    /usr/pfSensesrc/src/sys/modules/ipfw/Makefile.rej
    /usr/pfSensesrc/src/sys/modules/pf/Makefile.rej
    /usr/pfSensesrc/src/sys/net/pfil.c.rej
    /usr/pfSensesrc/src/sys/net/pfil.h.rej
    /usr/pfSensesrc/src/sys/net/if_enc.c.rej
    /usr/pfSensesrc/src/sys/net/if.h.rej
    /usr/pfSensesrc/src/sys/net/if_ethersubr.c.rej
    /usr/pfSensesrc/src/sys/net/if_vlan.c.rej
    /usr/pfSensesrc/src/sys/net/if.c.rej
    /usr/pfSensesrc/src/sys/netgraph/ng_iface.c.rej
    /usr/pfSensesrc/src/sys/netgraph/ng_iface.h.rej
    /usr/pfSensesrc/src/sys/netgraph/ng_eiface.c.rej
    /usr/pfSensesrc/src/sys/netgraph/ng_eiface.h.rej
    /usr/pfSensesrc/src/sys/netinet/ipfw/ip_fw_pfil.c.rej
    /usr/pfSensesrc/src/sys/netinet/ipfw/ip_fw2.c.rej
    /usr/pfSensesrc/src/sys/netinet/ip_input.c.rej
    /usr/pfSensesrc/src/sys/netinet/in.h.rej
    /usr/pfSensesrc/src/sys/netinet/ip_fw.h.rej
    /usr/pfSensesrc/src/sys/netinet/raw_ip.c.rej
    /usr/pfSensesrc/src/sys/netinet/tcp_output.c.rej
    /usr/pfSensesrc/src/sys/netinet/ip_carp.c.rej
    /usr/pfSensesrc/src/sys/netinet6/ip6_input.c.rej
    /usr/pfSensesrc/src/sys/netipsec/ipsec.h.rej
    /usr/pfSensesrc/src/sys/netipsec/ipsec_input.c.rej
    /usr/pfSensesrc/src/sys/netipsec/ipsec_output.c.rej
    /usr/pfSensesrc/src/sys/netipsec/keydb.h.rej
    /usr/pfSensesrc/src/sys/netipsec/xform_ipip.c.rej
    /usr/pfSensesrc/src/sys/sys/proc.h.rej
    /usr/pfSensesrc/src/contrib/pf/pfctl/parse.y.rej
    /usr/pfSensesrc/src/contrib/pf/pfctl/pfctl_altq.c.rej
    /usr/pfSensesrc/src/contrib/pf/pfctl/pfctl_parser.h.rej
    /usr/pfSensesrc/src/contrib/pf/pfctl/pfctl_qstats.c.rej
    /usr/pfSensesrc/src/contrib/pf/pfctl/pfctl_parser.c.rej
    /usr/pfSensesrc/src/contrib/pf/pfctl/pfctl.c.rej
    /usr/pfSensesrc/src/sbin/ifconfig/ifconfig.c.rej
    /usr/pfSensesrc/src/sbin/ipfw/ipfw2.c.rej
    /usr/pfSensesrc/src/usr.bin/netstat/if.c.rej

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

    Press enter to continue.



  • I think this said it all… any ideas why?

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

    Press enter to continue.



  • hi,
    did you manage to solve this issue, im getting the same errors as i try it.



  • Well, to me it stop in this line :

    obtainig FreeBSD sources RELENG_8-supfile …

    for hours...

    someone have any idea for solve this?


  • Rebel Alliance Developer Netgate

    Has it really stopped or is it actually downloading something?

    Did you change the cvsup host to a FreeBSD mirror? (the cvsup.livebsd.org server is not public)



  • Has it really stopped or is it actually downloading something?

    No there aren´t activity in interfaces, I was monitoring it.

    Did you change the cvsup host to a FreeBSD mirror? (the cvsup.livebsd.org server is not public)

    No, I don´t change this…I will read the docs with more attention. But I ignore this step and go to the next and appears to create the .ISO and in the of creation, it is try again >>> obtainig FreeBSD sources RELENG_8-supfile ... and stop in it.

    I was doing it remotely because my internet connection it too slow, so today I will try again locally.

    what is the cvsup that I can use it ?

    Thanks.


  • Rebel Alliance Developer Netgate

    you can use any of the FreeBSD.org cvsup mirrors.

    Just pick one near you, here's a big list:

    http://www.freebsd.org/doc/en/books/handbook/cvsup.html#HANDBOOK-MIRRORS-CHAPTER-SGML-CENTRAL-CVSUP



  • You can also clear or comment out the setting from your pfsense-build.conf and it will automatically pick one for you.



  • I change to  cvsup.br.FreeBSD.org and works fine for me now, thanks!!



  • HI, now before compiling all the kernel, I get this :

    Testing PHP installation in /usr/local/pfsense-fs:
    Fatal error: Call to undefined function pfSense_get_interface_addresses() in /etc/inc/globals.inc on line 49

    An error occured while testing the php installation in /usr/local/pfsense-fs

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

    what could be this ?


  • Rebel Alliance Developer Netgate

    That is the "pfSense" PHP module. Perhaps you need to rebuild PHP and modules inside of pfPorts.



  • Right, I stop building right now, but I will try later. Thanks


Locked