jyavenard
Patron
- Joined
- Oct 16, 2013
- Messages
- 361
Hi
Has anyone managed to compile FreeNAS directly on FreeNAS?
so far all my attempts have failed and I have to build into a VMWare machine, which takes forever.
This are the steps I've attempted so far:
- build from within the port jail (this cause issue trying to mount some temp)
- chroot from main shell, into the ports jail location; mount /dev so there's no restriction.
things end up failing with:
Getting the same error using either 9.1.1-release, or 9.2.2-beta
my freenas box is the fastest freebsd machine I have around, so would much prefer to compile on it.
Thanks in advance
Has anyone managed to compile FreeNAS directly on FreeNAS?
so far all my attempts have failed and I have to build into a VMWare machine, which takes forever.
This are the steps I've attempted so far:
- build from within the port jail (this cause issue trying to mount some temp)
- chroot from main shell, into the ports jail location; mount /dev so there's no restriction.
things end up failing with:
cc -static -o rescue rescue.o cat.lo chflags.lo chio.lo chmod.lo cp.lo date.lo dd.lo df.lo echo.lo ed.lo expr.lo getfacl.lo hostname.lo kenv.lo kill.lo ln.lo ls.lo mkdir.lo mv.lo pkill.lo ps.lo pwd.lo realpath.lo rm.lo rmdir.lo setfacl.lo sh.lo stty.lo sync.lo test.lo csh.lo atacontrol.lo badsect.lo camcontrol.lo ccdconfig.lo clri.lo devfs.lo dmesg.lo dump.lo dumpfs.lo dumpon.lo fsck.lo fsck_ffs.lo fsck_msdosfs.lo fsdb.lo fsirand.lo gbde.lo geom.lo ifconfig.lo init.lo kldconfig.lo kldload.lo kldstat.lo kldunload.lo ldconfig.lo md5.lo mdconfig.lo mdmfs.lo mknod.lo mount.lo mount_cd9660.lo mount_msdosfs.lo mount_nfs.lo mount_ntfs.lo mount_nullfs.lo mount_udf.lo mount_unionfs.lo newfs.lo newfs_msdos.lo nos-tun.lo ping.lo reboot.lo restore.lo rcorder.lo route.lo routed.lo rtquery.lo rtsol.lo savecore.lo spppcontrol.lo swapon.lo sysctl.lo tunefs.lo umount.lo ping6.lo zfs.lo zpool.lo bsdlabel.lo fdisk.lo dhclient.lo head.lo mt.lo nc.lo sed.lo tail.lo tee.lo gzip.lo bzip2.lo less.lo xz.lo tar.lo vi.lo id.lo chroot.lo chown.lo /root/freenas/git/os-base/amd64/root/freenas/git/FreeBSD/src/rescue/rescue/../librescue/exec.o /root/freenas/git/os-base/amd64/root/freenas/git/FreeBSD/src/rescue/rescue/../librescue/getusershell.o /root/freenas/git/os-base/amd64/root/freenas/git/FreeBSD/src/rescue/rescue/../librescue/login_class.o /root/freenas/git/os-base/amd64/root/freenas/git/FreeBSD/src/rescue/rescue/../librescue/popen.o /root/freenas/git/os-base/amd64/root/freenas/git/FreeBSD/src/rescue/rescue/../librescue/rcmdsh.o /root/freenas/git/os-base/amd64/root/freenas/git/FreeBSD/src/rescue/rescue/../librescue/sysctl.o /root/freenas/git/os-base/amd64/root/freenas/git/FreeBSD/src/rescue/rescue/../librescue/system.o -lcrypt -ledit -lkvm -ll -ltermcap -lutil -lalias -lcam -lcurses -ldevstat -lipsec -lavl -ljail -lzfs_core -lzfs -lnvpair -lpthread -luutil -lumem -lgeom -lbsdxml -lkiconv -lmd -lreadline -lsbuf -lufs -lz -lbz2 -llzma -larchive -lcrypto -lm
nc.lo: In function `_$$hide$$ nc.lo main':
(.text+0x1dbf): warning: warning: mktemp() possibly used unsafely; consider using mkstemp()
/root/freenas/git/os-base/amd64/root/freenas/git/FreeBSD/src/tmp/usr/lib/libc.a(nsdispatch.o): In function `_nsdispatch':
nsdispatch.c:(.text+0x620): undefined reference to `_nsyyin'
nsdispatch.c:(.text+0x67e): undefined reference to `_nsyyin'
/root/freenas/git/os-base/amd64/root/freenas/git/FreeBSD/src/tmp/usr/lib/libc.a(nsparser.o): In function `_nsaddsrctomap':
nsparser.c:(.text+0x2a): undefined reference to `_nsyytext'
nsparser.c:(.text+0x30): undefined reference to `_nsyylineno'
/root/freenas/git/os-base/amd64/root/freenas/git/FreeBSD/src/tmp/usr/lib/libc.a(nsparser.o): In function `_nsyyparse':
nsparser.c:(.text+0x576): undefined reference to `_nsyylex'
nsparser.c:(.text+0x5a2): undefined reference to `_nsyyerror'
nsparser.c:(.text+0x688): undefined reference to `_nsyyerror'
nsparser.c:(.text+0x7c5): undefined reference to `_nsyylex'
*** [rescue] Error code 1
1 error
*** [rescue] Error code 2
1 error
*** [all] Error code 2
1 error
*** [rescue.all__D] Error code 2
7 errors
*** [everything] Error code 2
1 error
*** [buildworld] Error code 2
1 error
Getting the same error using either 9.1.1-release, or 9.2.2-beta
my freenas box is the fastest freebsd machine I have around, so would much prefer to compile on it.
Thanks in advance