http://playerstage.sourceforge.net/index.php?src=gazebo "Gazebo is a multi-robot simulator for outdoor environments. Like Stage, it is capable of simulating a population of robots, sensors and objects, but does so in a three-dimensional world. It generates both realistic sensor feedback and physically plausible interactions between objects (it includes an accurate simulation of rigid-body physics)." This is the last from playerstage.sourceforge.net project. The other two packages from this project are: #185116 - Player #185298 - Stage Reproducible: Always
Created attachment 124972 [details] The ebuild.
Created attachment 130910 [details] gazebo-0.7.0.ebuild * Fixed DEPEND syntax. * Removed redundant src_unpack().
Ebuild bombs out with the python flag enabled. ... python ./setup.py build running build running build_py copying gazebo.py -> build/lib.linux-i686-2.5 running build_ext make[5]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0/work/gazebo-0.7.0/libgazebo/bindings/python' make[5]: Nothing to be done for `install-exec-am'. make install-data-hook make[6]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0/work/gazebo-0.7.0/libgazebo/bindings/python' python ./setup.py install --prefix=/usr running install running build running build_py running build_ext running install_lib copying build/lib.linux-i686-2.5/_gazebo.so -> /usr/lib/python2.5/site-packages error: /usr/lib/python2.5/site-packages/_gazebo.so: Permission denied make[6]: *** [pythoninstall] Error 1 make[6]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0/work/gazebo-0.7.0/libgazebo/bindings/python' make[5]: *** [install-data-am] Error 2 make[5]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0/work/gazebo-0.7.0/libgazebo/bindings/python' make[4]: *** [install-am] Error 2 make[4]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0/work/gazebo-0.7.0/libgazebo/bindings/python' make[3]: *** [install] Error 2 make[3]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0/work/gazebo-0.7.0/libgazebo/bindings/python' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0/work/gazebo-0.7.0/libgazebo/bindings' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0/work/gazebo-0.7.0/libgazebo' make: *** [install-recursive] Error 1 * * ERROR: app-sci/gazebo-0.7.0 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2772: Called die * The specific snippet of code: * emake DESTDIR="${D}" install || die "make install failed"; * The die message: * make install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-sci/gazebo-0.7.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-sci/gazebo-0.7.0/temp/environment'. * This ebuild is from an overlay: '/.automount/avenger.cis.ksu.edu/root/exports/admin/linux/gentoo/portage-cis-dev/' healey ~ # emerge --info Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686) ================================================================= System uname: 2.6.23-gentoo-r8 i686 Dual Core AMD Opteron(tm) Processor 275 Timestamp of tree: Thu, 23 Oct 2008 07:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.4.7-r1 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.16.1-r3, 2.17, 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/common/admin/linux/gentoo/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages/i686-lab" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage-cis /usr/local/portage/safesync" SYNC="rsync://portage.cis.ksu.edu/portage-current" USE="X accessibility acl acpi alsa arts berkdb bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo exif fam flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kerberos lcms ldap lm_sensors mad midi mikmod mmx mono mozilla mp3 mpeg mudflap mysql ncurses nls nptl nptlonly objc odbc ogg opengl openmp pam pcre pdf perl php png postgres pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sasl sdl session skey slp spell spl sqlite sse sse2 ssl svg tcpd tiff tk truetype unicode usb vim-syntax vorbis win32codecs wmf x86 xine xinerama xml xmlrpc xorg xpm xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache filter ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique_id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx i128 i740 i810 nv nvidia vga vesa vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 170228 [details] gazebo-0.7.0.ebuild * Fix some QA issues. * Fix sandbox violation when installing python modules. * Install examples into /usr/share instead of /usr/src
I'm still having problems with python during the install phase (ignore that I added -r1 to the ebuild): Making install in . make[2]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/server' make[3]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/server' test -z "/usr/bin" || /bin/mkdir -p "/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/bin" test -z "/usr/lib" || /bin/mkdir -p "/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/lib" test -z "/usr/include/gazebo" || /bin/mkdir -p "/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo" /usr/bin/install -c -m 644 'libgazeboserver.a' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/lib/libgazeboserver.a' /bin/sh ../libtool --mode=install /usr/bin/install -c 'gazebo' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/bin/gazebo' i686-pc-linux-gnu-ranlib '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/lib/libgazeboserver.a' /usr/bin/install -c -m 644 'World.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/World.hh' /usr/bin/install -c -m 644 'WorldFile.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/WorldFile.hh' /usr/bin/install -c -m 644 'Model.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/Model.hh' /usr/bin/install -c -m 644 'ModelFactory.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/ModelFactory.hh' /usr/bin/install -c -m 644 'Sensor.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/Sensor.hh' /usr/bin/install -c -m 644 'Error.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/Error.hh' /usr/bin/install -c -m 644 'Vector.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/Vector.hh' /usr/bin/install -c -m 644 'RenderOptions.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/RenderOptions.hh' /usr/bin/install -c -m 644 'ContactParams.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/ContactParams.hh' /usr/bin/install -c -m 644 'Global.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/Global.hh' /usr/bin/install -c -m 644 'Color.hh' '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/include/gazebo/Color.hh' /usr/bin/install -c gazebo /var/tmp/portage/app-sci/gazebo-0.7.0-r1/image//usr/bin/gazebo make[3]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/server' make[2]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/server' make[1]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/server' Making install in gui make[1]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui' Making install in . make[2]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui' make[3]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui' make[2]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui' Making install in wx make[2]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui/wx' Making install in . make[3]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui/wx' if test ! -s wxgazebo; then cp ./wxgazebo .; fi if test ! -s utils.c; then cp ./utils.c .; fi python ./setup.py build running build running build_py running build_ext running build_scripts make[4]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui/wx' make[4]: Nothing to be done for `install-exec-am'. make install-data-hook make[5]: Entering directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui/wx' python ./setup.py install --prefix=/usr running install running build running build_py running build_ext running build_scripts running install_lib creating /usr/lib/python2.5/site-packages/wxgazebo error: could not create '/usr/lib/python2.5/site-packages/wxgazebo': Permission denied make[5]: *** [pythoninstall] Error 1 make[5]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui/wx' make[4]: *** [install-data-am] Error 2 make[4]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui/wx' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui/wx' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui/wx' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-sci/gazebo-0.7.0-r1/work/gazebo-0.7.0/gui' make: *** [install-recursive] Error 1 * * ERROR: app-sci/gazebo-0.7.0-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2776: Called die * The specific snippet of code: * emake DESTDIR="${D}" install || die "make install failed"; * The die message: * make install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-sci/gazebo-0.7.0-r1/temp/environment'. * This ebuild is from an overlay: '/.automount/avenger.cis.ksu.edu/root/exports/admin/linux/gentoo/portage-cis-dev/' Here's my USE flags for gazebo: [ebuild U ] app-sci/gazebo-0.7.0-r1 [0.7.0] USE="3ds gtk models_atrv%* models_avatarheli%* models_b21r%* models_bandit%* models_blimp%* models_canonvcc4%* models_carchassis%* models_clodbuster%* models_factory%* models_garmingps%* models_groundplane%* models_lightsource%* models_monocam%* models_observercam%* models_peoplebot%* models_pioneer2at%* models_pioneer2dx%* models_pioneer2gripper%* models_road%* models_segwayrmp%* models_shrimp%* models_sicklms200%* models_simplesolid%* models_skydome%* models_sonyvid30%* models_stereohead%* models_terrain%* models_truthwidget%* models_wheelchair%* python* wxwindows zlib -gdal -proj -test%" 0 kB [1]
Created attachment 170234 [details] gazebo-0.7.0.ebuild Fixes comment #5 . I didn't have wxwindows installed so I could not test the changes, pardon me if it fails again.
Emerges fine now, thanks!
emerge -pv gazebo These are the packages that would be merged, in order: Calculating dependencies... done! emerge: there are no ebuilds to satisfy "virtual/glut". (dependency required by "sci-electronics/gazebo-0.7.0" [ebuild]) (dependency required by "gazebo" [argument])
added gazebo 5.1.0 to the tree