Navigation

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

    Building from source branch 2_4_2 fails at the final stages

    Development
    3
    5
    721
    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.
    • L
      lemonparty1 last edited by

      Hey guys, I have been at this for a week. My build fails at the final stages and I can't seem to figure it out. What am I missing here?

      The only modification I have done is change the name of the software from nonsense to GNS, I understand I can't build using pfSense as the name due to copyright and licensing. I just want to build this for personal use and testing in my homelab.

      I am following PiBa-NL's guide here: https://github.com/PiBa-NL/PiBa-NL-WIKI/wiki/How-to-building-a-pfSense-.iso-from-sources

      You can find my build.log attached and below are some additional info:

      I have made my own pkg repo for building as this is required. I am using nginx to make the pkg repo available internally and I can browse and download from it just fine.

      FreeBSD: { enabled: no }

      GNS-core: {
        url: "pkg+http://pkgdevel.gns.local/packages/GNS_v2_4_2_amd64-core",
        mirror_type: "srv",
        signature_type: "PUBKEY",
        pubkey: "/usr/local/etc/ssl/repo.pub",
        enabled: yes
      }

      GNS: {
        url: "pkg+http://pkgstaging.gns.local/packages/GNS_v2_4_2_amd64-GNS_v2_4_2",
        mirror_type: "srv",
        signature_type: "PUBKEY",
        pubkey: "/usr/local/etc/ssl/repo.pub",
        enabled: yes
      }
      build.txt

      1 Reply Last reply Reply Quote 0
      • Gertjan
        Gertjan last edited by

        Line 12520 ?!

        1 Reply Last reply Reply Quote 0
        • L
          lemonparty1 last edited by

          @Gertjan:

          Line 12520 ?!

          Did you mean line 2520? No, that is not causing the build to fail. It turns out I had setup the repo.conf file template wrong. Since I chose not to sign packages for testing the build, I should have left out verification of package signatures from the template as well.
          All seems well now, ISO build succeeds.

          1 Reply Last reply Reply Quote 0
          • Gertjan
            Gertjan last edited by

            @lemonparty1:

            @Gertjan:

            Line 12520 ?!

            Did you mean line 2520? No, that is not causing the build to fail. It turns out I had setup the repo.conf file template wrong. Since I chose not to sign packages for testing the build, I should have left out verification of package signatures from the template as well.
            All seems well now, ISO build succeeds.

            Line 12520 really - in your file/log.

            Cloning everything to /usr/MyFirewall/tmp/stage-dir staging area…mv: rename /usr/MyFirewall/tmp/stage-dir/usr/local/sbin**/pfSense-upgrade** to /usr/MyFirewall/tmp/stage-dir/usr/local/sbin/GNS-upgrade: No such file or directory

            as you already figured out  ;D

            1 Reply Last reply Reply Quote 0
            • fabricioguzzy
              fabricioguzzy last edited by

              Hello LemonParty1

              It seems we are doing the same thing but for different reasons. Anyway, I see you renamed the firewall to GNS, but taking a closer look to your log file, it seems you forgot to rename one of the build.conf lines to GNS, cause it is still showing "MyFirewall" as the PIBA-NL wiki is showing.
              Not sure if you already figured it out, but if you don't, try it again renaming all fields to "GNS" as you did to the other fields/lines.
              I could generate a brand new ISO file with a different name. It took me a week to understand everything, but it's now much more clear to me.
              I didn't try to generate a RELEASE ISO file yet, just a DEVELOPMENT. Let me know if you could finally finish your compilation.
              Meybe we can exchange good information.

              Regards
              Fabricio.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy