question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

build fail on ubuntu with dashing

See original GitHub issue

When generating javascript messages, I got the following error message

Start to generate the JavaScript messages...
Caught error: Error: EACCES: permission denied, mkdir '/opt/ros/dashing/share/tf2_msgs/action/msg'

It looks like the current method to support action creates the .msg files from the .action files and uses them to generate the messages. This fails in ubuntu as its trying to create .msg files in a directory owned by root.

The result is that some messages are not generated, particularly packages that include both .action and .msg files, e.g. example_interfaces. This also causes some tests to fail as they rely on example_interfaces.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
koonpengcommented, Sep 12, 2019

Yes, they are installed using apt. For now I am working around it by commenting out some lines to disable actions too.

0reactions
minggangwcommented, Dec 5, 2019

The implementation of actionlib of rclnodejs is prior to that of rcl, so me have marked the actionlib as deprecated (we haven’t achieved to wrap the actionlib related functions from rcl and exposed them). I prefer to remove the generation for .action because they become useless now, which will eliminate the current error you meet on Linux.

I am going to submit a PR to remove it, thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build Error on Ubuntu 20.04 With Release 0.17.0.2 #4168
I cloned the repo and was able to build the depends directory successfully. I then cd .. to the dash directory and ran...
Read more >
Installing ROS2-Dashing from source fails (Ubuntu 19.10 eoan)
I'm interested in working with rclcpp, so I've decided to install ROS2 (Dashing) by building it from source, on a system with a...
Read more >
Getting error while making dash wallet - Unix StackExchange
In the past, the build documentation contained instructions on how to build Dash with system-wide installed dependencies like BerkeleyDB 4.8 ...
Read more >
Compiling Dash Core — Dash latest documentation
Compile Dash Core for Linux, macOS, Windows and Gitian deterministic builds. ... If the expected key is not found, the script will fail...
Read more >
Bash: Syntax error: redirection unexpected - Stack Overflow
The default system shell in Ubuntu is dash, not bash, so if you have #!/bin/sh then your script will be using a different...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found