OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Questions on building code
« previous next »
  • Print
Pages: [1]

Author Topic: Questions on building code  (Read 1320 times)

GeorgePatches

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Questions on building code
« on: September 16, 2022, 02:43:41 am »
Hello all, so I'd like to work on getting the code to build for the Pi4.  I'm very new to building code from source, but I'm very handy with VMs and had a 13.1 VM spun up in no time.  I'm following the instructions on the github on https://github.com/opnsense/tools/blob/master/README.md.  I'm trying to build an AMD64 image to confirm everything works before I try the crosscompiling the pi will require. I have no issues following the instructions to setup the build environment, but when I try "make dvd" it runs for a while before it errors out saying my pkg version is 1.18 when it expected 1.17.  I have no idea where it's logging the build to, so I have no idea where in the build process things are even failing.  Can someone give me a little guidance on where the make command is logging it's progress to, or if that's something I need to enable?  Thanks.
Logged

GeorgePatches

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Questions on building code
« Reply #1 on: September 16, 2022, 03:10:55 am »
Dug a little harder on this and tried pushing the stdout to a file.  It seems to be completing the base and kernel steps, and then blowing up on the ports step.  The log directories seem to be empty, no idea why.
Logged

GeorgePatches

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Questions on building code
« Reply #2 on: September 17, 2022, 10:56:25 pm »
Anyone know how to correct the pkg version error I’m getting?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6294
  • Karma: 432
    • View Profile
Re: Questions on building code
« Reply #3 on: September 17, 2022, 11:05:20 pm »
You need to downgrade to 1.17 via /usr/ports, there are couple of closed issues like this in Tools repo
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Questions on building code
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2