Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
"make everything" Failed
« previous
next »
Print
Pages: [
1
]
Author
Topic: "make everything" Failed (Read 6744 times)
kelvin1997
Newbie
Posts: 8
Karma: 0
"make everything" Failed
«
on:
April 04, 2016, 02:52:46 am »
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'?
«
Last Edit: April 04, 2016, 07:33:50 am by kelvin1997
»
Logged
franco
Administrator
Hero Member
Posts: 17751
Karma: 1620
Re: "make everything" Failed
«
Reply #1 on:
April 04, 2016, 08:02:54 am »
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.
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.
Logged
Aadolf
Newbie
Posts: 33
Karma: 2
Re: "make everything" Failed
«
Reply #2 on:
April 04, 2016, 04:30:07 pm »
please send more information about your problem...but try to use TYPE=opnsense in your make command
Logged
kelvin1997
Newbie
Posts: 8
Karma: 0
Re: "make everything" Failed
«
Reply #3 on:
April 04, 2016, 04:44:24 pm »
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.
«
Last Edit: April 04, 2016, 04:53:24 pm by kelvin1997
»
Logged
franco
Administrator
Hero Member
Posts: 17751
Karma: 1620
Re: "make everything" Failed
«
Reply #4 on:
April 04, 2016, 06:23:23 pm »
It looks like a cleanup-related issue, can you provide the output of:
# make everything VERBOSE=
Logged
kelvin1997
Newbie
Posts: 8
Karma: 0
Re: "make everything" Failed
«
Reply #5 on:
April 04, 2016, 11:03:41 pm »
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.
«
Last Edit: April 05, 2016, 08:09:32 am by kelvin1997
»
Logged
franco
Administrator
Hero Member
Posts: 17751
Karma: 1620
Re: "make everything" Failed
«
Reply #6 on:
April 05, 2016, 07:23:01 am »
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.
Logged
kelvin1997
Newbie
Posts: 8
Karma: 0
Re: "make everything" Failed
«
Reply #7 on:
April 05, 2016, 12:33:00 pm »
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.
Logged
franco
Administrator
Hero Member
Posts: 17751
Karma: 1620
Re: "make everything" Failed
«
Reply #8 on:
April 05, 2016, 11:12:10 pm »
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?
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
"make everything" Failed