Bug#871174: ros-dynamic-reconfigure: FTBFS: ImportError: No module named yaml

Lucas Nussbaum lucas at debian.org
Sun Aug 6 22:14:48 UTC 2017


Source: ros-dynamic-reconfigure
Version: 1.5.46-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170805 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [  5%] Generating C++ code from dynamic_reconfigure/IntParameter.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/gencpp/gen_cpp.py /<<PKGBUILDDIR>>/msg/IntParameter.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include/dynamic_reconfigure -e /usr/share/gencpp/cmake/..
> [  8%] Generating Python from MSG dynamic_reconfigure/ConfigDescription
> [ 10%] Generating Lisp code from dynamic_reconfigure/ConfigDescription.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genpy/genmsg_py.py /<<PKGBUILDDIR>>/msg/ConfigDescription.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/dynamic_reconfigure/msg
> [ 13%] Generating Python from MSG dynamic_reconfigure/StrParameter
> [ 18%] Generating Lisp code from dynamic_reconfigure/IntParameter.msg
> [ 18%] Generating C++ code from dynamic_reconfigure/SensorLevels.msg
> [ 21%] Generating Python from MSG dynamic_reconfigure/SensorLevels
> [ 24%] Generating Lisp code from dynamic_reconfigure/SensorLevels.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/ConfigDescription.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/dynamic_reconfigure/msg
> [ 27%] Generating Python from MSG dynamic_reconfigure/IntParameter
> [ 29%] Generating Lisp code from dynamic_reconfigure/StrParameter.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/IntParameter.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/dynamic_reconfigure/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genpy/genmsg_py.py /<<PKGBUILDDIR>>/msg/StrParameter.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/dynamic_reconfigure/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/gencpp/gen_cpp.py /<<PKGBUILDDIR>>/msg/SensorLevels.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include/dynamic_reconfigure -e /usr/share/gencpp/cmake/..
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genpy/genmsg_py.py /<<PKGBUILDDIR>>/msg/SensorLevels.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/dynamic_reconfigure/msg
> [ 35%] Generating C++ code from dynamic_reconfigure/ParamDescription.msg
> [ 35%] Generating Python from MSG dynamic_reconfigure/ParamDescription
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/SensorLevels.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/dynamic_reconfigure/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genpy/genmsg_py.py /<<PKGBUILDDIR>>/msg/IntParameter.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/dynamic_reconfigure/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/StrParameter.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/dynamic_reconfigure/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/gencpp/gen_cpp.py /<<PKGBUILDDIR>>/msg/ParamDescription.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include/dynamic_reconfigure -e /usr/share/gencpp/cmake/..
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genpy/genmsg_py.py /<<PKGBUILDDIR>>/msg/ParamDescription.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/dynamic_reconfigure/msg
> [ 37%] Generating C++ code from dynamic_reconfigure/StrParameter.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/gencpp/gen_cpp.py /<<PKGBUILDDIR>>/msg/StrParameter.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include/dynamic_reconfigure -e /usr/share/gencpp/cmake/..
> [ 40%] Generating C++ code from dynamic_reconfigure/ConfigDescription.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/gencpp/gen_cpp.py /<<PKGBUILDDIR>>/msg/ConfigDescription.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include/dynamic_reconfigure -e /usr/share/gencpp/cmake/..
> [ 43%] Generating C++ code from dynamic_reconfigure/GroupState.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/gencpp/gen_cpp.py /<<PKGBUILDDIR>>/msg/GroupState.msg -Idynamic_reconfigure:/<<PKGBUILDDIR>>/msg -Istd_msgs:/usr/share/std_msgs/cmake/../msg -p dynamic_reconfigure -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include/dynamic_reconfigure -e /usr/share/gencpp/cmake/..
> Traceback (most recent call last):
>   File "/usr/lib/genpy/genmsg_py.py", line 44, in <module>
>     import genpy.generator
>   File "/usr/lib/python2.7/dist-packages/genpy/__init__.py", line 34, in <module>
>     from . message import Message, SerializationError, DeserializationError, MessageException, struct_I
>   File "/usr/lib/python2.7/dist-packages/genpy/message.py", line 44, in <module>
>     import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
>   File "/usr/lib/genpy/genmsg_py.py", line 44, in <module>
>     import genpy.generator
>   File "/usr/lib/python2.7/dist-packages/genpy/__init__.py", line 34, in <module>
>     from . message import Message, SerializationError, DeserializationError, MessageException, struct_I
>   File "/usr/lib/python2.7/dist-packages/genpy/message.py", line 44, in <module>
>     import yaml
> ImportError: No module named yaml
> Traceback (most recent call last):
> CMakeFiles/dynamic_reconfigure_generate_messages_py.dir/build.make:99: recipe for target 'devel/lib/python2.7/dist-packages/dynamic_reconfigure/msg/_StrParameter.py' failed
> make[3]: *** [devel/lib/python2.7/dist-packages/dynamic_reconfigure/msg/_StrParameter.py] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/08/05/ros-dynamic-reconfigure_1.5.46-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list