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

Patch boost failure in image_view #541

Merged
merged 4 commits into from
Jun 12, 2020
Merged

Conversation

SteveMacenski
Copy link
Member

For foxy release

@JWhitleyWork
Copy link
Collaborator

Build says it's now missing dependency reference to GTK3 as well:

12:02:00 CMake Warning at CMakeLists.txt:36 (find_package):
12:02:00   By not providing "FindGTK3.cmake" in CMAKE_MODULE_PATH this project has
12:02:00   asked CMake to find a package configuration file provided by "GTK3", but
12:02:00   CMake did not find one.
12:02:00 
12:02:00   Could not find a package configuration file provided by "GTK3" with any of
12:02:00   the following names:
12:02:00 
12:02:00     GTK3Config.cmake
12:02:00     gtk3-config.cmake
12:02:00 
12:02:00   Add the installation prefix of "GTK3" to CMAKE_PREFIX_PATH or set
12:02:00   "GTK3_DIR" to a directory containing one of the above files.  If "GTK3"
12:02:00   provides a separate development package or SDK, be sure it has been
12:02:00   installed.

@SteveMacenski
Copy link
Member Author

I see <depend>gtk3</depend> in the package.xml. Its also a valid rosdep key https://github.com/ros/rosdistro/blob/master/rosdep/base.yaml#L1314

The summary at the end only lists camera_calibration as a fail though:


12:02:23 Summary: 7 packages finished [21.8s]
12:02:23   1 package failed: camera_calibration
12:02:23   1 package had stderr output: camera_calibration
12:02:23 # END SUBSECTION

@SteveMacenski
Copy link
Member Author

@JWhitleyWork


12:17:57     from camera_calibration.calibrator import MonoCalibrator, StereoCalibrator, \
12:17:57 src/camera_calibration/calibrator.py:41: in <module>
12:17:57     import cv_bridge
12:17:57 /opt/ros/foxy/lib/python3.8/site-packages/cv_bridge/__init__.py:6: in <module>
12:17:57     from cv_bridge.boost.cv_bridge_boost import cvtColorForDisplay, getCvType
12:17:57 E   SystemError: initialization of cv_bridge_boost raised unreported exception
12:17:57 ---- generated xml file: /tmp/ws/test_results/camera_calibration/pytest.xml ----

This looks alot like an issue with vision_opencv not this repo, correct?

@JWhitleyWork
Copy link
Collaborator

This looks alot like an issue with vision_opencv not this repo, correct?

It does appear that way.

@SteveMacenski
Copy link
Member Author

SteveMacenski commented Jun 12, 2020

@JWhitleyWork what do you think? Should I merge and release this so I stop getting the image_view build failure messages? CI is failing due to camera_calibration from the cv_bridge error. I filed a ticket ros-perception/vision_opencv#339

You should also update your maintainer email. Its still the astuff email so you're not getting the failure emails

@JWhitleyWork
Copy link
Collaborator

@SteveMacenski There seems to be an error with camera_calibration in this one too. Give me a sec to update the CI images to the official ones instead of my custom ones and then you should rebase and see if it still exists.

@SteveMacenski
Copy link
Member Author

@JWhitleyWork the camera_calibration failure is the cv_bridge failure if you look at it.

@JWhitleyWork
Copy link
Collaborator

@SteveMacenski Yeah, you're right. Go ahead.

@SteveMacenski
Copy link
Member Author

But I'm a little suspect right now. Ferg's PR #544 has Circle pass yet this one doesn't. Maybe just need to rebase? Not sure why his is OK but this one is not given it only impacts image_view

@JWhitleyWork
Copy link
Collaborator

I'm getting the error in Circle now too. Current config.yaml on ros2 pulls the latest source for 2 dependent packages. Using the released version causes the error.

Copy link
Collaborator

@JWhitleyWork JWhitleyWork left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Required to build correctly.

@SteveMacenski
Copy link
Member Author

SteveMacenski commented Jun 12, 2020

Can you clarify that? Are you saying to merge this right now or after I figure out why Circle is failing?

I'm still getting RuntimeError: FATAL: module compiled as little endian, but detected different endianness at runtime on the cv_bridge issue. It builds, it just doesn't pass tests.

@JWhitleyWork
Copy link
Collaborator

@SteveMacenski It's up to you. Two possibilities:

  1. Have CircleCI mimic the build farm and fail the same way.
  2. Import the source for camera_calibration from the upstream repo and CircleCI will pass or expose other issues until a new version of camera_calibration is released (at which point, switch back to doing the same thing as the farm).

Since we basically have two sets of CI, I think it's more advantageous to use 2 since we already know how it will fail on the build farm and we want to expose more stuff.

@SteveMacenski
Copy link
Member Author

SteveMacenski commented Jun 12, 2020

@JWhitleyWork camera_calibration is from this package, not an upstream repo.

@SteveMacenski
Copy link
Member Author

OK added back in upstream to get circle passing.

@SteveMacenski SteveMacenski merged commit 47d3cde into ros2 Jun 12, 2020
@SteveMacenski SteveMacenski deleted the SteveMacenski-patch-1 branch June 12, 2020 20:33
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

Successfully merging this pull request may close these issues.

2 participants