Package Details: ros-melodic-tf2-py 0.6.6-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: None
Last Packager: sokoloowski
Votes: 2
Popularity: 0.000000
First Submitted: 2018-05-08 14:13 (UTC)
Last Updated: 2022-06-02 19:04 (UTC)

Latest Comments

bionade24 commented on 2019-11-20 09:41 (UTC)

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

Nim65s commented on 2019-11-20 09:08 (UTC)

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 (UTC)

@GPereira thanks!

GPereira commented on 2018-10-04 13:31 (UTC)

It's fixed, thanks

wilsonwong318 commented on 2018-10-04 13:14 (UTC) (edited on 2018-10-04 13:27 (UTC) by wilsonwong318)

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 (UTC) (edited on 2018-09-08 11:45 (UTC) by timonegk)

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.