pfSense Forum

Development/Documentation => Development => Topic started by: lemonparty1 on December 31, 2017, 09:08:08 pm

Title: Building from source branch 2_4_2 fails at the final stages
Post by: lemonparty1 on December 31, 2017, 09:08:08 pm
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 (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
}
Title: Re: Building from source branch 2_4_2 fails at the final stages
Post by: Gertjan on January 02, 2018, 08:19:06 am
Line 12520 ?!
Title: Re: Building from source branch 2_4_2 fails at the final stages
Post by: lemonparty1 on January 03, 2018, 06:06:19 am
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.
Title: Re: Building from source branch 2_4_2 fails at the final stages
Post by: Gertjan on January 03, 2018, 07:42:06 am
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