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

Changed catkin version to 0.7.17 to fix catkin -lpthread error #624

Closed
wants to merge 1 commit into from
Closed

Changed catkin version to 0.7.17 to fix catkin -lpthread error #624

wants to merge 1 commit into from

Conversation

counter-logic
Copy link

@counter-logic counter-logic commented Apr 7, 2019

Several do_configure tasks fails as catkin make error can not find library '-lpthread'. Refer to #620. This has been fixed recently on catkin 0.7.15 and 0.7.16 version. Refer to ros/catkin#975.
I can also confirm that pull request #621 works and needs to be merged along this pull request to make it work.

@shr-project shr-project changed the base branch from master to legacy July 2, 2019 12:25
@herb-kuta-lge herb-kuta-lge added the legacy Only applicable to the [legacy] branch label Jul 2, 2019
@shr-project
Copy link
Contributor

It looks like the catkin patch for cross compilation is still needed, otherwise many components are failing with errors like this:

| CMake Error at /jenkins/mjansa/build-webos-ose-thud/BUILD/work/qemux86-webos-linux/rostime/0.5.8-r0/recipe-sysroot/opt/ros/indigo/share/cpp_common/cmake/cpp_commonConfig.cmake:113 (message):
| Project 'cpp_common' specifies
| '/jenkins/mjansa/build-webos-ose-thud/BUILD/work/qemux86-webos-linux/cpp-common/0.5.8-r0/recipe-sysroot/usr/include'
| as an include dir, which is not found. It does neither exist as an
| absolute directory nor in
| '/opt/ros/indigo//jenkins/mjansa/build-webos-ose-thud/BUILD/work/qemux86-webos-linux/cpp-common/0.5.8-r0/recipe-sysroot/usr/include'.
| Check the website 'http://www.ros.org/wiki/cpp_common' for information and
| consider reporting the problem.
| Call Stack (most recent call first):
| /jenkins/mjansa/build-webos-ose-thud/BUILD/work/qemux86-webos-linux/rostime/0.5.8-r0/recipe-sysroot-native/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
| CMakeLists.txt:4 (find_package)

So instead of whole catkin upgrade, I'm testing backporting just this fix:
ros/catkin@98f97ff

shr-project added a commit to shr-project/meta-ros that referenced this pull request Jul 3, 2019
* fixes:
  ros#620
* the catkin upgrade from:
  ros#624
  is causing some other issues, so backport just the fix for pthread

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
shr-project added a commit that referenced this pull request Jul 4, 2019
* fixes:
  #620
* the catkin upgrade from:
  #624
  is causing some other issues, so backport just the fix for pthread

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
@shr-project
Copy link
Contributor

@herb-kuta-lge this might be related to the rosgraph-msgs/1.11.2 build failure with melodic we dicussed.

@shr-project
Copy link
Contributor

-lpthread issue was fixed in legacy branch, we're not going to upgrade catkin in legacy, there is new version in thud-drafts branch (with melodic).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy Only applicable to the [legacy] branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants