SOLVED Can't compile port within jail

Status
Not open for further replies.

DangerIsGo

Dabbler
Joined
Nov 8, 2015
Messages
10
FreeNAS 9.3 STABLE

My friend recommended me try out NZBGet (over SABnzbd which has a proper plugin) so I had to do things a bit more manually.
I created the jail and web-consoled in.
I then did a portsnap fetch update followed by a portsnap extract.
I then did a cd /usr/ports/news/nzbget followed by a make.

Unfortunately, I am greeted with:

"/usr/ports/Mk/bsd.port.mk", line 1042: Unknown directive
"/usr/ports/Mk/bsd.port.mk", line 1042: Unknown directive
Unknown modifier 't'

"/usr/ports/Mk/Uses/compiler.mk", line 149: warning: String comparison operator should be either == or !=
"/usr/ports/Mk/Uses/compiler.mk", line 149: Malformed conditional ((${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 35) || ${COMP
ILER_TYPE} == gcc)
Unknown modifier 't'

Unknown modifier 't'

"/usr/ports/Mk/bsd.port.mk", line 1741: Malformed conditional (defined(LLD_UNSAFE) && ${_TEST_LD:tA} == "/usr/bin/ld.lld")
"/usr/ports/Mk/bsd.port.mk", line 5357: if-less endif
make: fatal errors encountered -- cannot continue

Any ideas on what I might be doing wrong? And the reason I'm not doing pkg install nzbget is even though I did on a separate jail, it's using an older, broken version of nzbget. I need 18.1 for which they fixed the SSL. Thanks!!
 

DangerIsGo

Dabbler
Joined
Nov 8, 2015
Messages
10
Similar output no matter what port was chosen to make. I tried OpenSSl, newsfish, etc... They all produce a similar output. I don't think its the port itself.
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Just noticed you're running 9.3? You're a couple of versions out of date. Suggest you upgrade to FreeNAS 9.10.2-U6 as a minimum and create a new jail.
 
Status
Not open for further replies.
Top