-
Notifications
You must be signed in to change notification settings - Fork 60
Build is failing on debian Jessie due to SSL issues #61
Comments
It looks like this is an issue with older openjdk7 versions: gradle/gradle#2421 Travis was tracking this and then closed it: travis-ci/travis-ci#8503 I found there's a pretty ugly workaround here to inject the EC parameter support: eseifert/gral@c24e08a |
Hi @tfoote, thanks for reporting this. Which version of OpenJDK are you using in the build? I just tried installing rosjava from source in Ubuntu 14.04 with OpenJDK 1.7.0_151 and I didn't experience issues (the installation process downloads the gradle distribution without problems). We can think of two quick workarounds, but they are somewhat dirty.
Any thoughts about this? What do you think is best to solve the problem? |
@jubeira from the logs it looks like openjdk-7-jdk_7u151-2.6.11-1~deb8u1_amd64.deb is being installed on in the buildfarm container as well. Are you able to reproduce the issue if you use the ros_buildfarm scripts? I'll try and give it a shot later as well. |
@nuclearsandwich no, I haven't, but it will be interesting to try indeed. I will give it a shot later too. |
I just realized that my |
Did you test with Oracle's JDK 7, because JDK 8 whether open or otherwise would have the updated crypto protocols. |
I tried this on a clean Ubuntu 14.04 docker and was able to reproduce the error. As @jubeira points out either
I have not tested this on Debian but a similar solution should work. |
Sorry for the confusion, I meant Oracle JDK 8 which was the version I had installed. |
Installing openjdk 8 on Jessie would require enabling the jessie-backports repository and either changing the |
@tfoote can that be done, or is it too complicated / considered bad practice? |
That's quite intrusive and potentially has a lot of potential side effects on other users. Two other options might be to download/install the jdk8 into the rosjava_bootstrap repo and export the JAVA home. Alternatively it could be declared that rosjava can't support Jessie due to lack openjdk support and we just disable the builds for Jessie. |
Well, in this case the only problem seems to be downloading the Gradle distribution. Placing the binary for Gradle and modifying the URL should do too, but I'd rather avoid placing binaries here. As for Jessie, perhaps then it's wiser to drop its support now. We could announce this in ROS Discourse to check if anyone was using it, but I don't really think many people actually do. I already updated the install instructions for Ubuntu 14 in case anyone was having issues with it. |
I agree that dropping support for Rosjava on Debian Jessie would be the way to go. There's always the option to build from sources and we can point this for the affected users. |
I have submitted it to be blacklisted on Jessie: ros-infrastructure/ros_buildfarm_config#101 |
* diable rosjava_boostrap on jessie due to SSL issues rosjava/rosjava_bootstrap#61 * blacklisting rosjava_boostrap on all arm platforms
Thanks for taking care of this @tfoote ! |
* diable rosjava_boostrap on jessie due to SSL issues rosjava/rosjava_bootstrap#61 * blacklisting rosjava_boostrap on all arm platforms
http://build.ros.org/view/Kbin_dj_dJ64/job/Kbin_dj_dJ64__rosjava_bootstrap__debian_jessie_amd64__binary/30/console
I think this might be a systematic issue with Jessie being older.
@nuclearsandwich @mikaelarguedas FYI
The text was updated successfully, but these errors were encountered: