Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122620 - /usr/bin/splat used by two applications: app-portage/splat and sci-electronics/splat
Summary: /usr/bin/splat used by two applications: app-portage/splat and sci-electronic...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 248334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-12 15:27 UTC by Christopher Gahlon
Modified: 2011-01-10 20:12 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
splat-0.08-r1.ebuild (splat-0.08.ebuild,958 bytes, text/plain)
2008-02-27 18:52 UTC, michael@smith-li.com
Details
new sci-electronics/splat ebuild to install the main binary as SPLAT (splat-1.2.2-r1.ebuild,1.66 KB, text/plain)
2009-08-27 15:09 UTC, Matthew Kern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Gahlon 2006-02-12 15:27:27 UTC
The two apps in portage called splat both use /usr/bin/splat for their binary.

It is my thought that app-portage/splat should go in /usr/sbin/splat as it is most likely thought of as a system binary.  Where as the sci-electronics/splat executable is seen as a normal user binary.

There is no attach button as I file this report so I've pasted a new ebuild below.  I called it splat-0.08-r1.ebuild on my overlay and renammed the tar.bz2 to reflect the -r1 version bump.  It installed and worked perfectly.
I changed versions/times in the header and newbin to newsbin in the src_install() section.

Thanks for all your help and wonderful work on gentoo!  Let it be known, you people rock!

-- splat-0.08-r1.ebuild --
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/splat/splat-0.08-r1.ebuild,v 1.17 2006/02/12 17:24:30 blubb Exp $

DESCRIPTION="Simple Portage Log Analyzer Tool"
HOMEPAGE="http://www.l8nite.net/projects/splat/"
SRC_URI="http://www.l8nite.net/projects/splat/downloads/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 hppa ~mips ppc ppc-macos ppc64 ~sparc x86"
IUSE=""

DEPEND="dev-lang/perl"

src_install() {
        newsbin splat.pl splat || die
        dodoc COPYING ChangeLog
}
-- end ebuild --
Comment 1 michael@smith-li.com 2008-02-27 18:52:18 UTC
Created attachment 144767 [details]
splat-0.08-r1.ebuild

This ebuild installs splat to /usr/sbin/splat and ewarns about the potential confusion of assuming that /usr/bin or /usr/sbin will be used.
Comment 2 Matthew Kern 2009-08-27 14:57:41 UTC
I disagree with this solution - then splat would mean different things depending on your PATH.

I suggest changing sci-electronics/splat's binary to be /usr/bin/SPLAT, more of a reference to the actual name. See the homepage at http://www.qsl.net/kd2bd/splat.html
Comment 3 Matthew Kern 2009-08-27 15:09:58 UTC
Created attachment 202406 [details]
new sci-electronics/splat ebuild to install the main binary as SPLAT
Comment 4 Víctor Ostorga (RETIRED) gentoo-dev 2009-08-27 15:34:09 UTC
*** Bug 248334 has been marked as a duplicate of this bug. ***
Comment 5 Thomas Beierlein gentoo-dev 2011-01-10 20:12:42 UTC
Fixed by renaming the binary and man page to 'rfsplat'.

+*splat-1.2.2-r2 (10 Jan 2011)
+
+  10 Jan 2011; Thomas Beierlein <tomjbe@gentoo.org> +splat-1.2.2-r2.ebuild:
+  Fix collision with app-portage/splat (Bug #122620)
+