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

Status
Not open for further replies.

denismpa

Cadet
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:
D

dlavigne

Guest
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.
 

denismpa

Cadet
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.
 
D

dlavigne

Guest
If I knew what they were, I'd update the README :smile: One of the devs should know though which is why creating a bug is a good thing.
 
Status
Not open for further replies.
Top