Building from source branch 2_4_2 fails at the final stages



  • 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



  • Line 12520 ?!



  • @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.



  • @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



  • 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.


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy