Solved make distribution fails on 11.0-REL

Hello everyone!
Trying to set up new jail on
Code:
11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r307910
.
setenv JAIL /usr/jails/jl01 ; make installworld DESTDIR=$JAIL finishes OK, but I get the following error after make distribution DESTDIR=$JAIL :
Code:
...
install  -o root -g wheel  -m 555 accounting /usr/jails/jl01/etc/rc.d/
install  -o root -g wheel  -m 555 power_profile /usr/jails/jl01/etc/rc.d/
install  -o root -g wheel  -m 555 apm apmd /usr/jails/jl01/etc/rc.d/
install  -o root -g wheel  -m 555 bsnmpd /usr/jails/jl01/etc/rc.d/
install  -o root -g wheel  -m 555 hastd /usr/jails/jl01/etc/rc.d/
install  -o root -g wheel  -m 555 /usr/jails/jl01 jail /usr/jails/jl01/etc/rc.d/
install: /usr/jails/jl01: Inappropriate file type or format
*** Error code 71

Stop.
make[3]: stopped in /usr/src/etc/rc.d
*** Error code 1

Stop.
make[2]: stopped in /usr/src/etc
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1


Stop.
make: stopped in /usr/src
Any idea of what is wrong?
 
Last edited by a moderator:
Seems to fix this, but not sure if exactly what's wrong was...
Code:
options         COMPAT_FREEBSD7
. It was disabled in my kernel, enabling is solved my problem.
 
Back
Top