Re: [pfSense-discussion] Developer bootstrap errors
Comment out the call to update_cvs_depot? Or update that routine to better handle a development model that has no CVS access? I know, not optimal, but FWIW, I wouldn't mind it if someone hacked in a method to pull down the tree via other means (such as say mercurial, or subversion) so you could have a local cvs-other scm bridge and worked on the local scm. --Bill On 2/25/07, Paul [EMAIL PROTECTED] wrote: I will answer my own question: the problem is that RELENG_6_1 does not (currently) compile. To fix I changed the freebsd_branch variable in pfsense_local.sh to RELENG_6_2 that compiled cleanly. Now I have a second problem: Each time I call build_iso.sh the builder script will resync with the pfsense CVS hence loosing any changes that I make. On the wiki there's some info pointing me to define a SKIP_CHECKOUT variable, but update_cvs_depot defined in builder_common.sh which is responsible for taking care of this, only checks for SKIP_RSYNC and always updates from CVS (regardles what it states): update_cvs_depot() { # Update cvs depot. If SKIP_RSYNC is defined, skip the RSYNC update # and prompt if the operator would like to download cvs.tgz from pfsense.com . # If also SKIP_CHECKOUT is defined, don't update the tree at all if [ -z ${SKIP_RSYNC:-} ]; then rm -rf $BASE_DIR/pfSense rsync -avz [EMAIL PROTECTED]:/cvsroot /home/pfsense/ (cd $BASE_DIR cvs -d /home/pfsense/cvsroot co -r ${PFSENSETAG} pfSense) fixup_libmap else cvsup pfSense-supfile rm -rf pfSense rm -rf $BASE_DIR/pfSense (cd $BASE_DIR cvs -d /home/pfsense/cvsroot co -r ${PFSENSETAG} pfSense) (cd $BASE_DIR/tools/ cvs update -d) fixup_libmap fi } Am I looking at the wrong code or is there a different way to not update from CVS during build? Paul.
[pfSense-discussion] Developer bootstrap errors
Hi All, I'm trying to get started with pfsense development (my goal is to make it an isp-grade access server). I am trying to get the developer cd boot-strapped by so far had no luck with each of the ISO versions I could find (including 1.0release and the latest builds from 02-23-2007). The problem is the same: the initial dev_bootstrap.sh fails with an error on the enc device during kernel configuration (I guess there's a patch for the IPSEC shaping), logs attached at the end for clarity. As a work-aroung I try to call cvsup_current (in /home/pftools/.: with sh ./cvsup_current) and it runs properly (cvs update and some patches that succeed) until I come to some failed patches. My question is: How do I get pfsense to build properly (i.e. RELENG_6_1) so that I can make my first modifications on a reasonably stable tree before moving to head? Thank you for helping! Paul PS: Here's the attached logs: Initial dev_bootstrap.sh errors (with clean install): - Building world for i386 architecture Rebuilding the temporary build tree stage 1.1: legacy release compatibility shims stage 1.2: bootstrap tools stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3: cross tools stage 4.1: building includes stage 4.2: building libraries stage 4.3: make dependencies stage 4.4: building everything Building kernel for i386 architecture Kernel build for pfSense.6 started on Sat Feb 24 08:59:35 UTC 2007 stage 1: configuring the kernel Something went wrong, check errors! Log saved on /usr/obj.pfSense/home/pfsense/freesbie2/.tmp_buildkernel *** Signal 15 Stop in /home/pfsense/freesbie2. No matching processes were found # tail -n 30 /usr/obj.pfSense/home/pfsense/freesbie2/.tmp_buildkernel -- Kernel build for pfSense.6 started on Sat Feb 24 08:59:35 UTC 2007 -- === pfSense.6 mkdir -p /usr/obj.pfSense/usr/src/sys -- stage 1: configuring the kernel -- cd /usr/src/sys/i386/conf; PATH=/usr/obj.pfSense/usr/src/tmp/legacy/usr/sbin:/usr/obj.pfSense/usr/src/tmp/legacy/usr/bin:/usr/obj.pfSense/usr/src/tmp/legacy/usr/games:/usr/obj.pfSense/usr/src/tmp/usr/sbin:/usr/obj.pfSense/usr/src/tmp/usr/bin:/usr/obj.pfSense/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj.pfSense/usr/src/sys/pfSense.6 /home/pfsense/tools/builder_scripts/conf/pfSense.6 config: Error: device enc is unknown config: 1 errors *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src.