Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build VerneMQ v1.11.0 from source as it is bound to master branch of this repo #43

Open
vytasmk opened this issue Mar 30, 2021 · 3 comments

Comments

@vytasmk
Copy link

vytasmk commented Mar 30, 2021

I have building VerneMQ from source and now working with v1.11.0 until yesterday everything was working fine.

From yesterday I started getting strange error after build:

09:25:53.162 [error] Syntax error in /vernemq/bin/../etc/vernemq.conf after line 1471 column 1, parsing incomplete

Checked what line is cousing this problem and found that default config now has this line at the end:

include conf.d/*.conf

And VerneMQ does not like it. Started digging what caused this as few days ago it was working fine and I have made no changes.

And found one line in rebar.config

{project_plugins, [
                   {rebar3_cuttlefish, {git, "git://github.com/vernemq/rebar3_cuttlefish",
                                        {branch, "master"}}}]}.

Branch is set to master there! Visited this repository and found that there was some changes "yesterday". After changes cuttlefish version was set to v2.6.0 but in the dependency list in VerneMQ v1.11.0 source cuttlefish version is v2.3.0. It looks like this broke the whole build process from source. Also removing that include line from config does not work either I get other errors in the console.

May be it is possible to have some tags in this repository too and do not depend on master branch as it can change some day unexpectedly again. Can this problem be fixed?

@vytasmk vytasmk changed the title Can't build VerneMQ v1.11.0 from source as itis bound to master of this repo Can't build VerneMQ v1.11.0 from source as it is bound to master branch of this repo Mar 30, 2021
@ioolkos
Copy link
Contributor

ioolkos commented Mar 30, 2021

@vytasmk jep, it's possible this broke VerneMQ build in master. I'll look into it.

@vytasmk
Copy link
Author

vytasmk commented Mar 30, 2021

I am building VerneMQ not from master bus using release version. v1.11.0 so it should not change in time. And from the release of the VerneMQ v1.11.0 there was more commit in this rebar3_cuttlefish repository. So it should be using not master branch but some tag to always get to right dependency set.

By the way thanks you for the fast reply.

@vytasmk
Copy link
Author

vytasmk commented Mar 30, 2021

At least i have quick solution that works for me.

I cloned source of the VerneMQ v1.11.0 and changed in the rebar.config file line from master branch to specific commit hash number before official VerneMQ v1.11.0 release and now everything builds and works as earlier.

{project_plugins, [
                   {rebar3_cuttlefish, {git, "git://github.com/vernemq/rebar3_cuttlefish",
                                        {ref, "4934e63e9615cdffff4b4202a66389280bcb0abf"}}}]}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants