-
Notifications
You must be signed in to change notification settings - Fork 423
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
Don't install erlang-ftp and erlang-tftp to fix xenial #532
Conversation
…u 16.04 (xenial) in the rabbitmq-erlang repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for digging in.
A bit of research suggests that the packages was introduced (extracted from inets
?) in Erlang 21. Since we base our packages on the original Debian ones, I suspect that the ones for Xenial exclude the package even when we build Erlang 21+ (which Xenial never packaged but we do).
Can exclude those packages from the install list for
- Erlang versions < 21
- Xenial and its respective Debian counterpart
instead? Or use it as a base and add those packages for distributions newer than Xenial/its Debian counterpart?
We'd need to run Kitchen tests on a lot more distributions it seems :(
…me, since they are not available for xenial.
I pushed a change to remove them from the list if Also, feel free to modify my branch if needed. |
All Erlang package tests pass (including on Xenial). Thank you! |
Hmm.. Do we need to add the same thing to the By the way, what are these packages even used for? Does rabbitmq ever use any ftp functionality? |
Yes, we should do the same thing for The package is not used by RabbitMQ but it is a dependency of erlang-inets which includes, among other things, an HTTP client. So we cannot drop |
Proposed Changes
Hi, this is as much a question as a possible solution. It does not appear that erlang-ftp and erlang-tftp are available for Ubuntu 16.04 (xenial) in the rabbitmq-erlang repository.
The files
erlang-ftp_21.3.8.2-1_amd64.deb
anderlang-tftp_21.3.8.2-1_amd64.deb
are available for bionic, but not for xenial.I don't know what these packages are used for in RabbitMQ, but from what I can gather, things appear to be working without them.
Types of Changes
Checklist
CONTRIBUTING.md
documentFurther Comments
Please tell me if I'm doing something wrong. :)
Fixes this error: