Re: [Suspected Spam] [rabbitmq-users] How to contribute to rabbitmq-java-client ?

71 views
Skip to first unread message

Arnaud Cogoluegnes

unread,
Feb 15, 2021, 9:25:18 AM2/15/21
to rabbitm...@googlegroups.com
A recent change in the broker build system broke the Java client build procedure, sorry about that. I added a section in the readme [1] that should help getting started. Favor the option when RabbitMQ runs in a Docker container, this avoids having to install the broker and Erlang locally.

[1] https://github.com/rabbitmq/rabbitmq-java-client#building-from-source

________________________________________
From: rabbitm...@googlegroups.com <rabbitm...@googlegroups.com> on behalf of Julien Blondeau <blond...@gmail.com>
Sent: Friday, February 12, 2021 11:28 AM
To: rabbitmq-users
Subject: [Suspected Spam] [rabbitmq-users] How to contribute to rabbitmq-java-client ?


Hello,
I would like to contribute to the java client, but I can't get working properly.

After cloning the https://github.com/rabbitmq/rabbitmq-java-client repository, I tried to launch:
/mvnw clean test

But I get the error:
Traceback (most recent call last): File "/home/user/projects/rabbitmq-java-client/codegen.py", line 24, in from amqp_codegen
import * ModuleNotFoundError: No module named 'amqp_codegen'

I think amqp_codegen comes from the repository rabbitmq-server, so I tried to install it, but I get the error:
make[1]: Entering directory '/home/user/projects/rabbitmq-server/deps/rabbit_common'
DEP lager (3.8.0)
{"init terminating in do_boot",{undef,[{rmemo,start,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,680}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,126}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}} init terminating in do_boot ({undef,[{rmemo,start,[],[]},{erl_eval,do_apply,6,[{_},{_}]},{erl_eval,exprs,5,[{_},{_}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
Crash dump is being written to: erl_crash.dump...done
Error: No Makefile to build dependency /home/user/projects/rabbitmq-server/deps/lager.
make[1]: *** [erlang.mk:4512: deps] Error 2
make[1]: Leaving directory '/home/user/projects/rabbitmq-server/deps/rabbit_common'
make: *** [erlang.mk:4512: deps] Error 2

I also tried using the umbrella project, but it doesn't work (and it's replaced by rabbitmq-server if I understand correctly).

What I am doing wrong ?

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com<mailto:rabbitmq-user...@googlegroups.com>.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/a3464286-fd47-43f1-97ea-bd942560ddeen%40googlegroups.com<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Frabbitmq-users%2Fa3464286-fd47-43f1-97ea-bd942560ddeen%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cacogoluegnes%40vmware.com%7C0ce04abcf4884c61a98b08d8cf410063%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637487225376710515%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=6c73Bb%2Fx2LMOTfLqw5nrLkk6WB%2FaKFpMR9QYO8u33lk%3D&reserved=0>.
Reply all
Reply to author
Forward
0 new messages