Run c_rehash to work around openssl rehash issue on focal/armhf. #848
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As discussed in
https://discourse.ros.org/t/ssl-failure-in-buildfarm-jobs-ros1/18304/3
there is an issue with Ubuntu 20.04 armhf when being run on an amd64
20.04 host via qemu which is interfering with openssl-rehash.
Until the cause is identified we're invoking c_rehash explicitly as the
last step before cache invalidation when the build environment is 20.04
on armhf.
On a local test using the script generated with
generate_release_script.py https://raw.githubusercontent.com/ros-infrastructure/ros_buildfarm_config/production/index.yaml noetic ufhf geometry_msgs ubuntu focal armhf > /tmp/geom.sh
I was able to get past the SSL issue shown on the buildfarm and confirmed with a local run before modification. But I then got a weird compiler issue when actually building the deb which didn't seem related but that I also didn't bother to triage deeply. So far as I can tell this is enough to get these packages operational.
@cottsay when examining the template files I saw that the binarydeb task file as opposed to the generate file didn't have the rehash workaround so I threw on an additional commit adding it. But it made no difference for me locally.