Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
[SOLVED] "make distfiles" failed
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] "make distfiles" failed (Read 4618 times)
miac60
Newbie
Posts: 22
Karma: 2
[SOLVED] "make distfiles" failed
«
on:
March 25, 2016, 06:08:39 am »
Hi! I need some help.
I want preload distfiles before build, I type:
# make distfiles
And got error:
>>> Setting up stage in /usr/obj/usr/tools/config/16.1/OpenSSL
>>> Setting up world in /usr/obj/usr/tools/config/16.1/OpenSSL
tar: Option -f requires an argument
Usage:
List: tar -tf <archive-filename>
Extract: tar -xf <archive-filename>
Create: tar -cf <archive-filename> [filenames...]
Help: tar --help
*** Error code 1
Stop.
make: stopped in /usr/tools
«
Last Edit: March 30, 2016, 02:46:48 pm by franco
»
Logged
franco
Administrator
Hero Member
Posts: 17675
Karma: 1613
Re: "make distfiles" failed
«
Reply #1 on:
March 25, 2016, 11:35:08 am »
Hrm, this sounds logical, "distfiles" builds a jail for the ports and for this it needs the "base" target as a prerequisite:
https://github.com/opnsense/tools/commit/c3e9bf296459d165b60aca324c3e53ccd9e354e3
If you build your own ports the above patch should help you get started. If you have never build a base set before you can also "prefetch" from a mirror (try to prefetch the current version as older ones get nuked from the mirror frequently):
# make prefetch-base VERSION=16.1.8
After that "distfiles" can run, but distfiles is really just a convenience target so that "ports" can build without internet access and you can share the distfiles set with different build machines. It's about 650 MB total I think.
Cheers,
Franco
Logged
miac60
Newbie
Posts: 22
Karma: 2
Re: "make distfiles" failed
«
Reply #2 on:
March 30, 2016, 01:51:24 pm »
Thank you!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
[SOLVED] "make distfiles" failed