Package Details: gazebo 11.14.0-2

Git Clone URL: https://aur.archlinux.org/gazebo.git (read-only, click to copy)
Package Base: gazebo
Description: A multi-robot simulator for outdoor environments
Upstream URL: https://classic.gazebosim.org/
Licenses: Apache
Submitter: None
Maintainer: acxz
Last Packager: acxz
Votes: 35
Popularity: 0.000062
First Submitted: 2008-10-18 22:59 (UTC)
Last Updated: 2023-12-11 14:35 (UTC)

Dependencies (34)

Sources (1)

Pinned Comments

billypilgrim commented on 2022-05-09 16:04 (UTC)

Development is on Github: https://github.com/acxz/gazebo-arch Please open issues and PRs there instead of commenting.

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 33 Next › Last »

Nim65s commented on 2020-01-11 20:25 (UTC)

Hi,

I can confirm the issue with AutoMoc, and that the patch in the last comment fix it. @billypilgrim: could you add that patch in the PKGBUILD ?

stertingen commented on 2020-01-03 13:09 (UTC)

@billypilgrim

The following patch works because it adds nothing to the changelog:

https://bitbucket.org/osrf/gazebo/commits/9d71a6134982e2bf60ce96ca97c18c956c0cc7e0/raw

I managed to install the package with this patch.

ubuntourist commented on 2020-01-02 11:06 (UTC)

@billypilgrim Alas, no. I finally gave up and went to gazebo-hg which installed without trouble, and appears to have a version number higher than the newest version from the official site. (I didn't look deeply, but Bitbucket did not seem to have a branch for version 11.x.)

billypilgrim commented on 2020-01-02 10:18 (UTC)

@ubuntourist Yeah I'm getting the same error. Did you manage to get it to compile with a patch?

ubuntourist commented on 2020-01-02 00:40 (UTC)

Going directly from the git repo, without attempting to patch anything results in:

...
[ 73%] Automatic MOC for target CessnaGUIPlugin

AutoMoc subprocess error
------------------------
The moc process failed to compile
  "SRC:/plugins/CessnaGUIPlugin.hh"
into
  "SRC:/build/plugins/CessnaGUIPlugin_autogen/EWIEGA46WW/moc_CessnaGUIPlugin.cpp"

Command
-------
/usr/bin/moc -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DCessnaGUIPlugin_EXPORTS -DHAVE_OPENGL -DLIBBULLET_VERSION=0.0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG "-DQT_TESTCASE_BUILDDIR=\"/home/kjcole/Downloads/gazebo/src/gazebo-10.1.0/build\"" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -I/home/kjcole/Downloads/gazebo/src/gazebo-10.1.0/test/gtest/include -I/home/kjcole/Downloads/gazebo/src/gazebo-10.1.0/build -I/usr/include/libusb-1.0 -I/home/kjcole/Downloads/gazebo/src/gazebo-10.1.0 -I/usr/include/ignition/msgs1 -I/usr/include/ignition/transport4 -I/usr/include/ignition/fuel_tools1 -I/usr/include/ignition/common1 -I/usr/include/ignition/math4 -I/usr/include/sdformat-6.2 -I/usr/include/OGRE/RTShaderSystem -I/usr/include/OGRE -I/usr/include/OGRE/Terrain -I/usr/include/OGRE/Paging -I/usr/include/OGRE/Overlay -I/usr/include/qt -I/usr/include/qt/QtCore -I/usr/lib/qt/mkspecs/linux-g++ -I/usr/include/uuid -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtTest -I/usr/include -I/usr/include/c++/9.2.0 -I/usr/include/c++/9.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed --include /home/kjcole/Downloads/gazebo/src/gazebo-10.1.0/build/plugins/CessnaGUIPlugin_autogen/moc_predefs.h -p plugins -o /home/kjcole/Downloads/gazebo/src/gazebo-10.1.0/build/plugins/CessnaGUIPlugin_autogen/EWIEGA46WW/moc_CessnaGUIPlugin.cpp /home/kjcole/Downloads/gazebo/src/gazebo-10.1.0/plugins/CessnaGUIPlugin.hh

Output
------
usr/include/tbb/tbb_profiling.:28: Parse error at "{"

make[2]: *** [plugins/CMakeFiles/CessnaGUIPlugin_autogen.dir/build.make:58: plugins/CMakeFiles/CessnaGUIPlugin_autogen] Error 1
make[1]: *** [CMakeFiles/Makefile2:12944: plugins/CMakeFiles/CessnaGUIPlugin_autogen.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

ubuntourist commented on 2020-01-01 23:16 (UTC) (edited on 2020-01-01 23:25 (UTC) by ubuntourist)

The Changelog.md fro the git clone has:

...
## Gazebo 9

## Gazebo 9.X.X (20XX-XX-XX)

1. Refactor ODE gearbox joint implementation to match hinge joint
    * [Pull request 3048](<https://bitbucket.org/osrf/gazebo/pull-request/3048>)

## Gazebo 9.8.0 (2019-XX-XX)

...

but the patch file recommended by csharpron attempts:

diff --git a/Changelog.md b/Changelog.md
--- a/Changelog.md
+++ b/Changelog.md
@@ -2,6 +2,10 @@

 ## Gazebo 9.XX.X (2019-XX-XX)

+1. Fix compilation of plugins with tbb and qt 5.14.
+    * [Pull request 3164](<https://bitbucket.org/osrf/gazebo/pull-request/3164>)
+    * [Issue #2681](<https://bitbucket.org/osrf/gazebo/issues/2681>)
+
 1. Don't pass GCC linker options to Visual Studio linker.
     * [Pull request 3153](<https://bitbucket.org/osrf/gazebo/pull-request/3153>)

I cannot find the string Gazebo 9.XX.X (2019-XX-XX) nor the string Don't pass GCC... anywhere in the Changelog.md. So, I'm not sure what it's trying to patch, but it's not trying to patch the tarball that comes with this repository.

At least, that's my naive understanding.

FWIW, I'm not very savvy with screwing around with packages, but I altered the PKGBUILD to read:

...

source=("<http://osrf-distributions.s3.amazonaws.com/>$pkgname/releases/$pkgname-$pkgver.tar.bz2"
        "fix-openal.patch::<https://bitbucket.org/shrit/gazebo/commits/556354dcebd180e0f1015b96890f9906e441b551/raw>"
        "pr-2681.patch::<https://bitbucket.org/osrf/gazebo/commits/b896424cf554e18447a7bcecb41e58163de12072/raw>")
sha256sums=('8a1fcf8697704928c9cda610a9ce81f563f211bdfb2f1fdb458193ffb36c4287'
            '4b386e845e94008102609a4fb666d698bee0480d2ce88b250dc1d849cfc93b72'
            '3ef36c590775981166d308266495c51663f0548da675d606932fdfbb9467c2e1')

prepare() {
  cd "$srcdir/$pkgname-$pkgver"
  patch --strip=1 --input=../fix-openal.patch
  patch --strip=1 --input=../pr-2681.patch
}
...

adding the URL, a SHA checksum matching the patch file created from the URL, and a patch.

csharpron commented on 2019-12-27 03:14 (UTC) (edited on 2019-12-27 03:15 (UTC) by csharpron)

PR as a result of Issue 2681 was merged.

If you need to patch it yourself before it makes it upstream, just add https://bitbucket.org/osrf/gazebo/commits/b896424cf554e18447a7bcecb41e58163de12072/raw as a patch to your PKGBUILD. It should compile and install normally afterwards.

Cubimon commented on 2019-12-26 16:51 (UTC)

upstream issue for OSX+fix: https://bitbucket.org/osrf/gazebo/issues/2681/moc-compilation-error-with-qt-514-tbb I am not sure though if the solution is desired, may be my sole opinion though

greghab commented on 2019-12-24 14:44 (UTC)

@acxz Yeah I'm using trizen, I'll let them know about this. Yay handles dependencies fine.

acxz commented on 2019-12-24 14:36 (UTC)

@julianoes Yep, ran into that error as well. creating an upstream issue is prob the best.