So I follow the build instructions at https://github.com/opnsense/tools (https://github.com/opnsense/tools) cloned everything from git today. When I try to 'make everything' it says failed at 'make ports' Error Code 1. So I don't get anything in '/tmp/images'.
Is it supposed to compile correctly when I get it from git? Or am I expecting errors from unfinished development? How do I compile a 'stable version'?
You'll need to show us a bit more context, I can't make out which stage went wrong. The repos are out of sync between tagged commits (e.g. 16.1.8) so it may be that one is missing a fix due to progress in another. If you do:
# git checkout 16.1.8
on ports and tools and core, you'll likely end up with a working version. ;)
please send more information about your problem...but try to use TYPE=opnsense in your make command
I tried to 'git checkout 16.1.8' for core, src and tools. Then 'make everything' again, last pic is the error occurred.
(http://s16.postimg.org/6mljsy2ld/image.png) (click to enlarge) (http://postimg.org/image/6mljsy2ld/)
(http://s16.postimg.org/hbz8l7ee9/image.png) (click to enlarge) (http://postimg.org/image/hbz8l7ee9/)
(http://s16.postimg.org/nylwedw2p/image.png) (click to enlarge) (http://postimg.org/image/nylwedw2p/)
(http://s16.postimg.org/xlpeo3p29/image.png) (click to enlarge) (http://postimg.org/image/xlpeo3p29/)
@Aadolf, seems to give me the same error with or without TYPE=opnsense:
root@:/usr/tools # make everything TYPE=opnsense
doesn't make and difference.
It looks like a cleanup-related issue, can you provide the output of:
# make everything VERBOSE=
Here is the screenshot:
(http://s9.postimg.org/h0npkgcnf/image.jpg) (click to enlarge) (http://postimg.org/image/h0npkgcnf/)
I noticed the screenshot says reusing base set 16.7.a files, so I to go in /tmp/sets/ and delete all of them then double check I do 'git checkout 16.1.8' and try again:
'make base' passed
'make kernel' passed
'make ports' failed Error Code 1.
Unfortunately, same error.
Ok, progress, although that is a bit strange as it doesn't "break" at a command like it should.
Furthermore, let's see how far ports build has gone:
# tar -tf /tmp/sets/packages-*
You can leave the base set, it's better to reuse it as it's quicker. It's likely something with the ports that is not ok.
Debugging this will take a few more of these posts... it's quite easy to inspect in the system but with a "remote shell" it's tricky. ;)
thanks for trying to do a "remote shell" with me ;)
what is in /tmp/sets/ # ls
base-16.1.8-i386.obsolete
kernel-16.1.8-i386.txz
base-16.1.8-i386.txz
That's all. We don't have packages-* in this folder.
Do you reboot this VM? What's the output of these two commands:
# mount
# df -h
Also need more parameters... FreeBSD 10.2? Amount of RAM?