"make everything" Failed

Started by kelvin1997, April 04, 2016, 02:52:46 AM

Previous topic - Next topic
April 04, 2016, 02:52:46 AM Last Edit: April 04, 2016, 07:33:50 AM by kelvin1997
So I follow the build instructions at 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

April 04, 2016, 04:44:24 PM #3 Last Edit: April 04, 2016, 04:53:24 PM by kelvin1997
I tried to 'git checkout 16.1.8' for core, src and tools. Then 'make everything' again, last pic is the error occurred.

(click to enlarge)

(click to enlarge)

(click to enlarge)

(click to enlarge)

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

April 04, 2016, 11:03:41 PM #5 Last Edit: April 05, 2016, 08:09:32 AM by kelvin1997
Here is the screenshot:
(click to enlarge)

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?