>>> Completed installing into /var/tmp/portage/mtr-0.54/image/ >>> Merging net-analyzer/mtr-0.54 to / --- /usr/ --- /usr/share/ --- /usr/share/man/ --- /usr/share/man/man8/ >>> /usr/share/man/man8/mtr.8.gz --- /usr/share/doc/ >>> /usr/share/doc/mtr-0.54/ >>> /usr/share/doc/mtr-0.54/FORMATS.gz >>> /usr/share/doc/mtr-0.54/TODO.gz >>> /usr/share/doc/mtr-0.54/NEWS.gz >>> /usr/share/doc/mtr-0.54/AUTHORS.gz >>> /usr/share/doc/mtr-0.54/ChangeLog.gz >>> /usr/share/doc/mtr-0.54/COPYING.gz >>> /usr/share/doc/mtr-0.54/README.gz >>> /usr/share/doc/mtr-0.54/SECURITY.gz --- /var/ --- /var/tmp/ --- /var/tmp/portage/ --- /var/tmp/portage/mtr-0.54/ --- /var/tmp/portage/mtr-0.54/image/ --- /var/tmp/portage/mtr-0.54/image/usr/ >>> /var/tmp/portage/mtr-0.54/image/usr/bin/ >>> /var/tmp/portage/mtr-0.54/image/usr/bin/mtr Is this strange or what ?
please paste #emerge info
Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.5.69-mm1 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS=" ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://ftp.easynet.nl/mirror/gentoo ftp://ftp.easynet.nl/mirror/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline arts svga java guile X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif opengl aalib acl acpi apache2 -apm curl dga esd gd gnome gnomedb gtk2 gtkhtml imap innodb lcms ldap maildir mozilla -mysql -nls odbc oss pic -postgres samba sasl slp -sse tiff xml" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4" CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage/" FEATURES="sandbox ccache"
how about mtr-0.49-r1 does it the same ?
The line make DESTDIR=${D} sbindir=${D}/usr/bin install || die should have the second ${D} removed. With that, the file is src_install()ed into an image directory /within/ an image directory, meaning when it's un-sandboxed, it ends up in /var/tmp/portage/mtr-0.54/usr/bin/mtr. Change the line in src_install() of the ebuild to make DESTDIR=${D} sbindir=/usr/bin install || die which will install the binary into the correct location.
Forgive me if I didn't make this clear. The offending line is in the net-analyser/mtr/mtr-0.54.ebuild file. I reread my post after posting. I'll try to check before hitting commit next time... :)
fixed in cvs & marked stable