Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - ros-indigo-stage

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: ros-indigo-stage 4.1.1-9

Git Clone URL: https://aur-dev.archlinux.org/ros-indigo-stage.git (read-only)
Package Base: ros-indigo-stage
Description: ROS - Mobile robot simulator http://rtv.github.com/Stage.
Upstream URL: http://rtv.github.com/Stage
Licenses: GPL
Submitter: bchretien
Maintainer: None
Last Packager: bchretien
Votes: 1
Popularity: 0.000000
First Submitted: 2014-06-07 17:26
Last Updated: 2015-10-11 12:14

Latest Comments

nylocx commented on 2017-01-17 11:10

The fix still works for kinetic but I had to use a slightly different prepare function.

prepare() {
cd ${srcdir}/${_dir}
sed -i 's/\("[^"]*"\)m\("[^"]*"\)/\1 m \2/' libstage/stage.hh
patch -p2 < ${startdir}/ros-kinetic-stage.patch

Maybe this will help others ;)

yiuin commented on 2016-07-17 21:31

Can confirm alvearian's fixes work.

Prepare stage:

prepare() {
sed -i 's/\("[^"]*"\)m\("[^"]*"\)/\1 m \2/' stage/libstage/stage.hh
patch -p1 < ${startdir}/ros-indigo-stage.patch.cpp

alvearian commented on 2016-05-22 14:53

Doesn't compile with gcc 6.1.1, with errors:
1. stage/libstage/stage.hh:625:62: error: unable to find string literal operator ‘operator""m
2. stage/libstage/world.cc:807:26: error: call of overloaded ‘abs(const double&)’ is ambiguous
const int32_t ay(abs(dy));

I was able to fix the issue by adding these steps to prepare():
1. sed -i 's/\("[^"]*"\)m\("[^"]*"\)/\1 m \2/' stage/libstage/stage.hh
2. applying this patch: http://pastebin.com/iDSvgYFc