1
17.1 Legacy Series / [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
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