Package Details: ros-melodic-tf2-py 0.6.5-3

Git Clone URL: https://aur.archlinux.org/ros-melodic-tf2-py.git (read-only, click to copy)
Package Base: ros-melodic-tf2-py
Description: ROS - The tf2_py package.
Upstream URL: https://wiki.ros.org/tf2_py
Licenses: BSD
Submitter: GPereira
Maintainer: bionade24
Last Packager: bionade24
Votes: 2
Popularity: 0.195556
First Submitted: 2018-05-08 14:13
Last Updated: 2019-11-20 18:56

Latest Comments

bionade24 commented on 2019-11-20 09:41

@Nim65s: Please wait until the CI has pushed the change to AUR.

Nim65s commented on 2019-11-20 09:08

Hi,

This PKGBUILD still contains references to python 3.7:

    -DPYTHON_INCLUDE_DIR=/usr/include/python3.7m \
    -DPYTHON_LIBRARY=/usr/lib/libpython3.7m.so \

Could this be updated ?

wilsonwong318 commented on 2018-10-04 13:38

@GPereira thanks!

GPereira commented on 2018-10-04 13:31

It's fixed, thanks

wilsonwong318 commented on 2018-10-04 13:14

Hi,I encounter an error!

/tmp/yaourt-tmp-wilson/aur-ros-melodic-tf2-py/src/geometry2-release-release-melodic-tf2_py-0.6.3-0/src/python_compat.h:31:33: error: invalid conversion from ‘const char’ to ‘char’ [-fpermissive] data = PyUnicode_AsUTF8AndSize(input, &size);

How can I fix it?Thank you!

timonegk commented on 2018-09-08 11:44

Here is the patch for python3.7 mentioned in https://aur.archlinux.org/packages/ros-melodic-desktop-full/#comment-662164

Add the following prepare function:

prepare() {
  # Python3.7 compatibility
  sed -i -e "/char \* data/d" -e "/data =/i\ \ const char * data;" -e "/PyString_AsStringAndSize/i\ \ char * data;" ${srcdir}/${_dir}/src/python_compat.h
}

As mentioned in the other comment, this is just a workaround until there is a new release for tf2_py with https://github.com/ros/geometry2/pull/320 included.