Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
[SOLVED] Build error
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Build error (Read 21980 times)
mohammed.sherif
Newbie
Posts: 3
Karma: 1
[SOLVED] Build error
«
on:
May 24, 2015, 02:53:16 pm »
Hi,
I'm trying to build opnsense as per the instructions given here.
https://github.com/opnsense/tools
Initially I tried to "make everything", was unsucessfull, now am trying unit by unit, so when I run "make base", it stops with the following error. FreeBSD version is 10.1 i386. Any help is highly appreciated. Also tried with "set MAKE_JOBS_UNSAFE=yes"
cd /usr/src/kerberos5/lib/libasn1; make install -DNO_SUBDIR DESTDIR=/usr/obj/usr/src/release/dist/base SHARED=copies
install -C -o root -g wheel -m 444 libasn1.a /usr/obj/usr/src/release/dist/base/usr/lib
install -s -o root -g wheel -m 444 libasn1.so.11 /usr/obj/usr/src/release/dist/base/usr/lib
install -l s libasn1.so.11 /usr/obj/usr/src/release/dist/base/usr/lib/libasn1.so
cmp -s krb5_asn1.hx krb5_asn1.h 2> /dev/null || cp krb5_asn1.hx krb5_asn1.h
cp: not found
*** Error code 127[/i][/i]
«
Last Edit: June 15, 2015, 09:04:26 am by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Build error
«
Reply #1 on:
May 25, 2015, 10:30:01 am »
You have maybe run out is disk space.
Can you please provide output for:
# cp
# df -h
«
Last Edit: May 25, 2015, 10:43:37 am by franco
»
Logged
mohammed.sherif
Newbie
Posts: 3
Karma: 1
Re: Build error
«
Reply #2 on:
May 28, 2015, 11:51:18 am »
Sorry for my late response, as I was expecting an email from the forum for any replies
There is enough space, as this VM is dedicated for opnsense build. please see the below out put
Filesystem Size Used Avail Capacity Mounted on
/dev/da0p2 18G 4.8G 12G 29% /
devfs 1.0K 1.0K 0B 100% /dev
<below>:/usr/ports 37G 23G 12G 66% /usr/local/stage/usr/ports
<below>:/usr/src 37G 23G 12G 66% /usr/local/stage/usr/src
devfs 1.0K 1.0K 0B 100% /usr/local/stage/dev
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpvx] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpvx] source_file ... target_directory
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: Build error
«
Reply #3 on:
May 29, 2015, 01:57:09 pm »
This is strange. If you go to /usr/src, does the following run fine?
# make clean
# make buildworld
# cd release
# make obj
# make base.txz
It looks like the FreeBSD build itself stops at some point, basically all the tools do is wrap around it using the above command sequence. Let me know if that works (it won't fix the issue, but it's a start).
Alternatively, you can skip the base/kernel builds by downloading the prebuilt sets:
# mkdir -p /tmp/sets
# cd /tmp/sets
# fetch
https://pkg.opnsense.org/sets/kernel-15.1.11-i386.txz
# fetch
https://pkg.opnsense.org/sets/base-15.1.11-i386.txz
And afterwards you only run "make packages", not "make everything".
Logged
mohammed.sherif
Newbie
Posts: 3
Karma: 1
Re: Build error
«
Reply #4 on:
May 29, 2015, 06:44:36 pm »
All the make in /usr/src ran successfully without any errors. Trying to run "make everything" once again
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
[SOLVED] Build error