Comments (10)
The Debian package doesn't seem to contain any of the Python modules (at least on amd64):
$ dpkg -L ros-r2b2-topic-monitor
/.
/opt
/opt/ros
/opt/ros/r2b2
/opt/ros/r2b2/lib
/opt/ros/r2b2/lib/python3.5
/opt/ros/r2b2/lib/python3.5/site-packages
/opt/ros/r2b2/lib/python3.5/site-packages/topic_monitor-0.0.0.egg-info
/opt/ros/r2b2/lib/python3.5/site-packages/topic_monitor-0.0.0.egg-info/PKG-INFO
/opt/ros/r2b2/lib/python3.5/site-packages/topic_monitor-0.0.0.egg-info/dependency_links.txt
/opt/ros/r2b2/lib/python3.5/site-packages/topic_monitor-0.0.0.egg-info/entry_points.txt
/opt/ros/r2b2/lib/python3.5/site-packages/topic_monitor-0.0.0.egg-info/requires.txt
/opt/ros/r2b2/lib/python3.5/site-packages/topic_monitor-0.0.0.egg-info/top_level.txt
/opt/ros/r2b2/lib/topic_monitor
/opt/ros/r2b2/lib/topic_monitor/data_publisher
/opt/ros/r2b2/lib/topic_monitor/launch_depth_demo
/opt/ros/r2b2/lib/topic_monitor/launch_fragmentation_demo
/opt/ros/r2b2/lib/topic_monitor/launch_reliability_demo
/opt/ros/r2b2/lib/topic_monitor/topic_monitor
/opt/ros/r2b2/share
/opt/ros/r2b2/share/ament_index
/opt/ros/r2b2/share/ament_index/resource_index
/opt/ros/r2b2/share/ament_index/resource_index/packages
/opt/ros/r2b2/share/ament_index/resource_index/packages/topic_monitor
/opt/ros/r2b2/share/topic_monitor
/opt/ros/r2b2/share/topic_monitor/package.xml
/usr
/usr/share
/usr/share/doc
/usr/share/doc/ros-r2b2-topic-monitor
/usr/share/doc/ros-r2b2-topic-monitor/changelog.Debian.gz
from demos.
Yeah, the file list looks the same on ARM64.
from demos.
Examining the build output now. Looks like it isn't building properly. Now to determine why.
from demos.
dh_clean/setup.py clean can't find ament_python even during binarydeb time.
01:21:00 dh clean -v --buildsystem=pybuild --with python3
01:21:00 dh_testdir -O-v -O--buildsystem=pybuild
01:21:00 debian/rules override_dh_auto_clean
01:21:00 make[1]: Entering directory '/tmp/binarydeb/ros-r2b2-topic-monitor-0.0.0'
01:21:00 # We don't have ament_python in the iamge that creates sourcedebs
01:21:00 # So for now we need to give a pass to dh_auto_clean invoking setup.py clean.
01:21:00 dh_auto_clean || true
01:21:00 pybuild --clean -i python{version} -p 3.5 --dir .
01:21:00 I: pybuild base:184: python3.5 setup.py clean
01:21:00 Traceback (most recent call last):
01:21:00 File "setup.py", line 1, in <module>
01:21:00 from ament_python.data_files import get_data_files
01:21:00 ImportError: No module named 'ament_python'
01:21:00 E: pybuild pybuild:274: clean: plugin distutils failed with: exit code=1: python3.5 setup.py clean
01:21:00 dh_auto_clean: pybuild --clean -i python{version} -p 3.5 --dir . returned exit code 13
There's not much output about building the package, but setup.py build
is invoked
01:21:01 debian/rules build
01:21:01 dh build -v --buildsystem=pybuild --with python3
01:21:01 dh_testdir -O-v -O--buildsystem=pybuild
01:21:01 dh_update_autotools_config -O-v -O--buildsystem=pybuild
01:21:01 debian/rules override_dh_auto_configure
01:21:01 make[1]: Entering directory '/tmp/binarydeb/ros-r2b2-topic-monitor-0.0.0'
01:21:01 # In case we're installing to a non-standard location, look for a setup.sh
01:21:01 # in the install tree that was dropped by catkin, and source it. It will
01:21:01 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
01:21:01 if [ -f "/opt/ros/r2b2/setup.sh" ]; then . "/opt/ros/r2b2/setup.sh"; fi && \
01:21:01 dh_auto_configure
01:21:01 pybuild --configure -i python{version} -p 3.5 --dir .
01:21:02 I: pybuild base:184: python3.5 setup.py config
01:21:02 running config
01:21:02 make[1]: Leaving directory '/tmp/binarydeb/ros-r2b2-topic-monitor-0.0.0'
01:21:02 debian/rules override_dh_auto_build
01:21:02 make[1]: Entering directory '/tmp/binarydeb/ros-r2b2-topic-monitor-0.0.0'
01:21:02 # In case we're installing to a non-standard location, look for a setup.sh
01:21:02 # in the install tree that was dropped by catkin, and source it. It will
01:21:02 # set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
01:21:02 if [ -f "/opt/ros/r2b2/setup.sh" ]; then . "/opt/ros/r2b2/setup.sh"; fi && \
01:21:02 dh_auto_build
01:21:03 pybuild --build -i python{version} -p 3.5 --dir .
01:21:03 I: pybuild base:184: /usr/bin/python3 setup.py build
01:21:03 running build
01:21:03 make[1]: Leaving directory '/tmp/binarydeb/ros-r2b2-topic-monitor-0.0.0'
from demos.
Currently making changes to bloom to deal with ros2/rosdistro#9. I've figured out why ament_python wasn't being found but I'm not sure how or if that would affect the later build.
from demos.
The Debian package of topic_monitor
does contain its scripts in the libexec folder. So ament_python
seems to do its job correctly.
from demos.
The only python file that isn't a script or launch file (which are registered as entrypoints and installed) is the empty file here correct?
from demos.
Sure enough when building the tarball at source time we see this output.
12:31:39 dpkg-source: warning: newly created empty file 'topic_monitor/__init__.py' will not be represented in diff
12:31:39 dpkg-source: warning: newly created empty file 'topic_monitor/launch_files/__init__.py' will not be represented in diff
12:31:39 dpkg-source: warning: newly created empty file 'topic_monitor/scripts/__init__.py' will not be represented in diff
Deleting the tarball and rebuilding the sourcedebs should resolve the issue. The root cause is the confluence of not cranking version numbers and debian's packaging system treating new empty files as irrelevant.
from demos.
Purging the upstream tarball does indeed resolve the issue. The package currently building on the farm is busted due to the bloom changes around ros2/rosdistro#9 but freshest of fresh packages are blossoming as I write this 🌸
from demos.
Resolved in the latest Debian package (0.0.0-10).
from demos.
Related Issues (20)
- rviz2 cannot display image of img_tools
- vexing parse problem leads to compile error
- Listener node cannot hear the message from the talker node HOT 10
- Bad order of node.destroy_node() and rclpy.try_shutdown() in demos/demo_nodes_py/demo_nodes_py/topics/listener.py HOT 5
- Launch composable nodes (how-to): The program 'burgerimage' received an XWindow System error. HOT 2
- ``image_tools``: Use type adapter for cv::Mat from cv_bridge HOT 7
- How to load parameters in component? HOT 1
- pinned memory HOT 1
- Typo: It should be self._timer not self._timer_ HOT 1
- RGB order flipped when using cam2image with showimage HOT 2
- pendulum_control executables not available via ros2 run
- Do not use "off" for client_configure_introspection param in service introspection client HOT 3
- Long sleep time for the execution of each demo test case
- Quality of service demo interactive_{publisher,subscriber} doesn't quit properly
- Add py versions of nodes from logging_demo pkg
- When does CycloneDDS trigger message lost event? HOT 2
- [allocator_tutorial] Adding polymorphic allocators HOT 1
- Bug: rclcpp lifecycle node crashes when using mulithreaded executor and callback groups HOT 1
- Component Container process has died ROS2 galactic RCLCPP HOT 1
- Exception in get_state: std::future_error: No associated state HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demos.