Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Trying to Build 2.0.2RC2 and its failing on git

    Scheduled Pinned Locked Moved Development
    3 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      podilarius
      last edited by

      I am trying to build 2.0.2RC2 for internal testing and I am getting the follow error:

      >>> Obtaining FreeBSD sources RELENG_8_1-supfile...Done!
      >>> Applying patches from /usr/home/pfsense/tools/builder_scripts/../builder_scripts/patches.RELENG_8_1 please wait...Done!
      >>> Finding patch rejects...
      >>> Updating pfSense GIT repo...
      >>> Cloning https://github.com/bsdperimeter/pfsense.git / RELENG_2_0...
      !!!! An error occured while checking out pfSense
           Could not locate /usr/home/pfsense/tools/builder_scripts/../../pfSenseGITREPO/pfSenseGITREPO
      
      

      The /usr/home/pfsense/pfSenseGITREPO exists and as I understand it, git should create pfSenseGITREPO inside that directory. It does not work now. I have used this build environment many times to create 2.0.x builds. I have sanitized the pfsense base directory and still the issue is occurring.
      Is there a work around or something I can do to get this working? Please let me know if you need any further information.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        a couple things could be an issue here.

        1. Update your builder OS (freebsd-update fetch && freebsd-update install, reboot) to make sure you have the OpenSSL fixes in the base system
        2. Update ports (portsnap fetch extract) and then remove and re-add git from ports, to make sure it's using the updated OpenSSL
        3. Then run: ./update_git_repos.sh && ./clean_build.sh && ./apply_kernel_patches.sh
        4. Try the build again

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • P
          podilarius
          last edited by

          Thank you Jim,
          I have gotten past the part where it normally errors out. It is building kernels now and it should finish normally from here.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.