Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
[SOLVED] Can't get 17.1 compiled
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Can't get 17.1 compiled (Read 6253 times)
ajee
Newbie
Posts: 2
Karma: 1
[SOLVED] Can't get 17.1 compiled
«
on:
February 28, 2017, 04:18:45 pm »
Hi,
I just follow the instruction as the opnsense git said:
# pkg install git
# cd /usr
# rm -rf src ports
# git clone
https://github.com/opnsense/plugins
# git clone
https://github.com/opnsense/ports
# git clone
https://github.com/opnsense/tools
# git clone
https://github.com/opnsense/core
# git clone
https://github.com/opnsense/src
# cd tools
# make cdrom
All these done on a newly installed FreeBSD 11.0. At the beginning I got some error like:
>>> Running build step: base
>>> /usr/src does not match expected branch: stable/17.1
>>> To continue anyway set SRCBRANCH=master
*** Error code 1
After I do on each directory by "git checkout stable/17.1" it can go on but finally failed at:
Installing gettext-tools-0.19.8.1...
`-- Installing gettext-runtime-0.19.8.1_1...
`-- Extracting gettext-runtime-0.19.8.1_1: 100%
Extracting gettext-tools-0.19.8.1: 100%
>>> Locking packages in /usr/obj/usr/tools/config/17.1/OpenSSL:amd64: -a
>>> Setting up /usr/core copy in /usr/obj/usr/tools/config/17.1/OpenSSL:amd64
fatal: ambiguous argument '17.1.2': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
*** Error code 128
I wonder why only me to ask this building problem, is there anything doing wrong? The full log as attached, please help to troubleshoot what happens.
Thanks
«
Last Edit: March 01, 2017, 12:33:49 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: Can't get 17.1 compiled
«
Reply #1 on:
February 28, 2017, 06:49:56 pm »
Hi ajee,
Sorry, forgot to push the core.git tag for 17.1.2.
# cd /usr/tools
# make update-core
Cheers,
Franco
Logged
ajee
Newbie
Posts: 2
Karma: 1
Re: Can't get 17.1 compiled
«
Reply #2 on:
March 01, 2017, 01:29:49 am »
Great, it works, finally I got the image
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: [SOLVED] Can't get 17.1 compiled
«
Reply #3 on:
March 01, 2017, 12:35:38 pm »
Yay.
Logged
bobbis
Full Member
Posts: 102
Karma: 5
Re: [SOLVED] Can't get 17.1 compiled
«
Reply #4 on:
July 10, 2017, 10:40:07 pm »
hi, i followed the instruction as written in the tools readme, and also did "make update-core" but still complains:
>>> Running build step: base
>>> /usr/src does not match expected branch: stable/17.1
>>> To continue anyway set SRCBRANCH=master
*** Error code 1
how can i fix that ?
uname -a
11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016
thanks
«
Last Edit: July 10, 2017, 10:58:09 pm by bobbis
»
Logged
bobbis
Full Member
Posts: 102
Karma: 5
Re: [SOLVED] Can't get 17.1 compiled
«
Reply #5 on:
July 10, 2017, 11:01:45 pm »
ok.. reading in the forum here i found this:
cd /usr/src && git checkout stable/17.1
cd ../tools
make dvd
now its doing something ...
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: [SOLVED] Can't get 17.1 compiled
«
Reply #6 on:
July 11, 2017, 05:24:51 pm »
Hi Bobbis,
in that case...
# make update-src
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.1 Legacy Series
»
[SOLVED] Can't get 17.1 compiled