Bug#871167: ros-std-msgs: FTBFS: ImportError: No module named yaml
Lucas Nussbaum
lucas at debian.org
Sun Aug 6 22:15:05 UTC 2017
Source: ros-std-msgs
Version: 0.5.11-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'
> [ 1%] Generating Lisp code from std_msgs/Bool.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/Bool.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/std_msgs/msg
> [ 2%] Generating Lisp code from std_msgs/Int32.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/Int32.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/std_msgs/msg
> [ 3%] Generating Lisp code from std_msgs/String.msg
> [ 4%] Generating Python from MSG std_msgs/String
> [ 6%] Generating C++ code from std_msgs/String.msg
> [ 6%] Generating Python from MSG std_msgs/ByteMultiArray
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/String.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/std_msgs/msg
> [ 7%] Generating Lisp code from std_msgs/Int64MultiArray.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genpy/genmsg_py.py /<<PKGBUILDDIR>>/msg/String.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/std_msgs/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genpy/genmsg_py.py /<<PKGBUILDDIR>>/msg/ByteMultiArray.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/std_msgs/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/gencpp/gen_cpp.py /<<PKGBUILDDIR>>/msg/String.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include/std_msgs -e /usr/share/gencpp/cmake/..
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/Int64MultiArray.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/std_msgs/msg
> [ 8%] Generating Lisp code from std_msgs/ByteMultiArray.msg
> [ 10%] Generating Python from MSG std_msgs/Bool
> [ 14%] Generating C++ code from std_msgs/ByteMultiArray.msg
> [ 14%] Generating Python from MSG std_msgs/Float32
> [ 14%] Generating Lisp code from std_msgs/Float32.msg
> [ 14%] Generating C++ code from std_msgs/Float32.msg
> [ 14%] Generating Python from MSG std_msgs/Int64MultiArray
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/ByteMultiArray.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/std_msgs/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genpy/genmsg_py.py /<<PKGBUILDDIR>>/msg/Float32.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/std_msgs/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/gencpp/gen_cpp.py /<<PKGBUILDDIR>>/msg/ByteMultiArray.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include/std_msgs -e /usr/share/gencpp/cmake/..
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genpy/genmsg_py.py /<<PKGBUILDDIR>>/msg/Bool.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/std_msgs/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/Float32.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/std_msgs/msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/gencpp/gen_cpp.py /<<PKGBUILDDIR>>/msg/Float32.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include/std_msgs -e /usr/share/gencpp/cmake/..
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genpy/genmsg_py.py /<<PKGBUILDDIR>>/msg/Int64MultiArray.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/lib/python2.7/dist-packages/std_msgs/msg
> [ 15%] Generating C++ code from std_msgs/Bool.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/gencpp/gen_cpp.py /<<PKGBUILDDIR>>/msg/Bool.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/include/std_msgs -e /usr/share/gencpp/cmake/..
> [ 16%] Generating Lisp code from std_msgs/Time.msg
> catkin_generated/env_cached.sh /usr/bin/python /usr/lib/genlisp/gen_lisp.py /<<PKGBUILDDIR>>/msg/Time.msg -Istd_msgs:/<<PKGBUILDDIR>>/msg -p std_msgs -o /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/devel/share/common-lisp/ros/std_msgs/msg
> Traceback (most recent call last):
> 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
> 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
> CMakeFiles/std_msgs_generate_messages_py.dir/build.make:96: recipe for target 'devel/lib/python2.7/dist-packages/std_msgs/msg/_String.py' failed
> make[3]: *** [devel/lib/python2.7/dist-packages/std_msgs/msg/_String.py] Error 1
The full build log is available from:
http://aws-logs.debian.net/2017/08/05/ros-std-msgs_0.5.11-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