Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Gazebo (one of ROS dependency) #1308

Closed
2 of 4 tasks
123-123-nil opened this issue Mar 3, 2022 · 12 comments
Closed
2 of 4 tasks

[Request] Gazebo (one of ROS dependency) #1308

123-123-nil opened this issue Mar 3, 2022 · 12 comments
Labels
request:remove-pkg Request to remove a package

Comments

@123-123-nil
Copy link

Link to the package(s) in the AUR

https://aur.archlinux.org/packages/gazebo

Utility this package has for you

I need ros-noetic-desktop-full for college. Gazebo is one of its dependency. I am unable to build gazebo as it requires a lot of ram(I was unable to perform a single threaded compile without -pipe flag with 16 GB of ram). Providing, this will make life of people who try to use ros-noetic or gazebo itself easier.

Do you consider the package(s) to be useful for every Chaotic-AUR user?

No, but for a few.

Do you consider the package to be useful for feature testing/preview?

  • Yes

Have you tested if the package builds in a clean chroot?

  • Yes

Does the package's license allow redistributing it?

YES!

Have you searched the issues to ensure this request is unique?

  • YES!

Have you read the README to ensure this package is not banned?

  • YES!

More information

The package seems to have issues with ffmpeg 5. So one will have to wait till its devs patches the package.gazebosim/gazebo-classic#3180

@123-123-nil 123-123-nil added the request:new-pkg New package requested. label Mar 3, 2022
@sgse
Copy link
Member

sgse commented Mar 3, 2022

Can't build on my PC.
Which is not to say anything, I'm a beginner :-)
yay -S gazebo

==> Create package: ignition-fuel_tools-4 4.4.0-1 (Thu 03 Mar 2022 17:00:18 CET)
==> Check runtime dependencies...
==> Missing dependencies:
  -> ignition-common-3
==> Check buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
Error: unable to build 'ignition-fuel_tools-4-4.4.0-1': 
==> Build package: gazebo 11.9.1-1 (Thu 03 Mar 2022 17:00:19 CET)
==> Receive sources...
  -> Download gazebo-11.9.1.tar.bz2...
  % Total % Received % Xferd Average Speed Time Time Current
                                 Dload Upload Total Spent Left Speed
100 53.8M 100 53.8M 0 0 2536k 0 0:00:21 0:00:21 --:--:-- 3648k
  -> fix-for-tbb-2021.patch found
==> Check source files with sha256sums...
    gazebo-11.9.1.tar.bz2 ... Success
    fix-for-tbb-2021.patch ... Success
==> Create package: gazebo 11.9.1-1 (Thu 03 Mar 2022 17:00:42 CET)
==> Check runtime dependencies...
==> Missing dependencies:
  -> ignition-common-3
  -> ignition-fuel_tools-4
==> Check buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
Error: can't build 'gazebo-11.9.1-1': 
Error: can't build packages: ignition-common-3-3.14.0-1 ignition-fuel_tools-4-4.4.0-1 gazebo-11.9.1-1

same on chaotic

warning: curl-7.81.0-3 is up to date -- skipping
error: target not found: libccd
warning: libtool-2.4.6+59+gb55b1cc8-2 is up to date -- skipping
warning: libxml2-2.9.13-1 is up to date -- skipping
error: target not found: ogre-1.9
error: target not found: sdformat-9
error: target not found: ignition-math>=6
error: target not found: ignition-transport-8
error: target not found: ignition-cmake>=2
error: target not found: ignition-common-3
error: target not found: ignition-fuel_tools-4
error: target not found: ignition-msgs-5
Container pkgce964fe7442 failed with error code 123.

umount: /root/gazebo/machine/root/home/main-builder/pkgwork unmounted
umount: /root/gazebo/machine/root/home/main-builder/.ccache unmounted
umount: /root/gazebo/machine/root/home/main-builder/pkgsrc unmounted
umount: /root/gazebo/machine/root/var/cache/pacman/pkg unmounted
umount: /root/gazebo/machine/root/var/pkgdest unmounted
umount: /root/gazebo/machine/root (overlay) unmounted

@dr460nf1r3
Copy link
Member

dr460nf1r3 commented Mar 3, 2022

Try chaotic get -r gazebo, then chaotic mkd lastpackage packagebeforelastone and so on (repoctl downloads in reverse order). The dependencies are likely in AUR and need to be built before the actual package.

@dr460nf1r3 dr460nf1r3 added the priority:low This package affects just a few users. label Mar 5, 2022
@0ljik
Copy link

0ljik commented Mar 25, 2022

ogre-1.10 -> 1.12 doesn't build on arch. ignition rendering 6.0.1 builds with ogre-1.9.
ignition-common needs to be build from git because of ffmpeg5, and gazebo also has to be build from git with unmerged PR for fixing ffmpeg5. Building gazebo required ~55GB of RAM.

@dr460nf1r3
Copy link
Member

That explains why I had difficulties building this.. :/

@0ljik
Copy link

0ljik commented Mar 25, 2022

probably ros-noetic-gazebo-ros also requires 50GB RAM to build. This package is also required for connecting ROS with gazebo.
I have built galactic version from git. CMakeFiles in test for gazebo_ros and gazebo_plugins required linking tbb library to successfully build.

@acxz
Copy link

acxz commented Mar 25, 2022

ros-noetic-gazebo-ros does not require that much RAM, it's only gazebo which it depends on. Note, that the build RAM usage can be decreased by lowering the amount of cores used. However, that is currently not possible as ninja, the build used for gazebo, does not support reading from environment variables. A change to the PKGBUILD such as replacing ninja with ninja $NINJAFLAGS would be required.

@acxz
Copy link

acxz commented Mar 25, 2022

Can't build on my PC.
Which is not to say anything, I'm a beginner :-)
yay -S gazebo

Weird, in my experience yay has the best dependency resolution out of all the existing AUR helpers, including paru.

ogre-1.10 -> 1.12 doesn't build on arch.

gazebo does not work with ogre>1.9 only ogre=1.9.

ignition rendering 6.0.1 builds with ogre-1.9.

gazebo does not require ignition-rendering

ignition-common needs to be build from git because of ffmpeg5,

To be specific here, ignition-common-3 is required to build gazebo. ignition-common-3 does not require ffmpeg5 but it uses the older compat package ffmpeg4.4.

and gazebo also has to be build from git with unmerged PR for fixing ffmpeg5.

gazebo builds in a clean chroot just fine for me, without installing git or patching the package. If you could post a build/error log over at https://aur.archlinux.org/packages/gazebo, we could help you any issues you might be facing. (Maybe gazebo should add an explicit dep on ffmpeg4.4 instead of just using ffmepg).

@0ljik
Copy link

0ljik commented Mar 27, 2022

ogre-1.10 -> 1.12 doesn't build on arch.

gazebo does not work with ogre>1.9 only ogre=1.9.

ignition rendering 6.0.1 builds with ogre-1.9.

gazebo does not require ignition-rendering

sorry, I was mistaken for other package that required ignition-rendering

ignition-common needs to be build from git because of ffmpeg5,

To be specific here, ignition-common-3 is required to build gazebo. ignition-common-3 does not require ffmpeg5 but it uses the older compat package ffmpeg4.4.

and gazebo also has to be build from git with unmerged PR for fixing ffmpeg5.

gazebo builds in a clean chroot just fine for me, without installing git or patching the package. If you could post a build/error log over at https://aur.archlinux.org/packages/gazebo, we could help you any issues you might be facing. (Maybe gazebo should add an explicit dep on ffmpeg4.4 instead of just using ffmepg).

that's for you to decide which one do you want to use. I tend to go with arch version rather than old compat versions from aur.
I don't have any issues. All I wanted to was to give information what I had. I am already running sims and full ROS system with all dependencies for my project.

@acxz
Copy link

acxz commented Mar 27, 2022

that's for you to decide which one do you want to use.

unless you are modifying the PKGBUILD, the deps will be pulled in automatically which specifically state ffmpeg4.4

Saying that it needs to be built from git because of ffmpeg5 is an incorrect statement. The package does not need any modifications to be built on Chaotic-AUR and this FR shouldn't be held up because of that.

I tend to go with arch version rather than old compat versions from aur.

I assume by arch version you mean the packages available in the official repos. ([core]/[extra]/[community]). ffmpeg4.4 is also available in [extra] and is not in the aur.

@Technetium1
Copy link
Member

Supposedly the issue was fixed in gazebosim/gazebo-classic#3195

@xiota
Copy link
Contributor

xiota commented Aug 29, 2023

gazebo and related packages are broken and look complicated to fix. Metrics show 0 downloads. I plan to drop if there are no objections.

@xiota xiota reopened this Aug 29, 2023
@xiota xiota added request:remove-pkg Request to remove a package and removed request:new-pkg New package requested. priority:low This package affects just a few users. labels Aug 29, 2023
xiota added a commit that referenced this issue Sep 1, 2023
Broken, zero downloads in metrics
See #1308
@xiota
Copy link
Contributor

xiota commented Sep 1, 2023

Dependencies are also dropped. If any are still needed, feel free to open new requests.

@xiota xiota closed this as completed Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request:remove-pkg Request to remove a package
Development

No branches or pull requests

7 participants