Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Build of 9.10-MASTER succeeds, build of 9.10-STABLE fails

Joined
Oct 23, 2016
Messages
3
Hi all, I am trying to build FreeNAS from source in order to be able to add to it.
I was able to build the nightlies from Master branch with the instructions on README.md, but when I tried to build the stable version, it fails right at the beggining with the message:
Code:
[0:00:44] ==> Failed command: env -u DEBUG -u MAKEFLAGS MAKEOBJDIRPREFIX=/tmp/ghub/freenas-build/_BE/objs make -j 25 -C /tmp/ghub/freenas-build/_BE/os __MAKE_CONF=/tmp/ghub/freenas-build/_BE/objs/make-build.conf NOCLEAN=YES buildworld
[0:00:44] ==> Returned value: 2
[0:00:44] ==> ERROR: Build failed
*** Error code 1


When building the master branch, I only have to issue:
make checkout PROFILE=freenas9 && make release PROFILE=freenas9

I tried to build the stable version by checking out the 9.10-STABLE branch on freenas-build repo.
This points the branches on file ./build/profile/freenas9/repos.pyd to 9.10-STABLE.

When I run make checkout PROFILE=freenas9, everything goes fine,

when I run make release PROFILE=freenas9, it says: "you need to specify VERSION to build stable release"
I tried all these variations:
Code:
make release PROFILE=freenas9 VERSION=9.10
make release PROFILE=freenas9 VERSION=9.10.1-U2
make release PROFILE=freenas9 VERSION=9.10-STABLE
make release PROFILE=freenas9 VERSION=9.10-RELEASE
make release VERSION=9.10
make release VERSION=9.10.1-U2
make release VERSION=9.10.1-STABLE
make release VERSION=9.10.1-RELEASE


Always the error above.
Any hints?

Thank you a lot in advance!
D.
 
Last edited by a moderator:

dlavigne

Storage Engineering
Joined
May 24, 2011
Messages
12,063
Sounds like a bug in the README file for that branch. Please create a bug report at bugs.freenas.org and post the issue number here.
 
Joined
Oct 23, 2016
Messages
3
Sounds like a bug in the README file for that branch. Please create a bug report at bugs.freenas.org and post the issue number here.
Thank you dlavigne. I have filled a bug:
bugs.freenas.org: #18480

Meanwhile, anyone could share instructions for building STABLE release?

TIA,
D.
 

dlavigne

Storage Engineering
Joined
May 24, 2011
Messages
12,063
If I knew what they were, I'd update the README :) One of the devs should know though which is why creating a bug is a good thing.
 
Top