From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MLida-0007bI-L8 for garchives@archives.gentoo.org; Tue, 30 Jun 2009 19:05:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03E23E0616; Tue, 30 Jun 2009 19:05:01 +0000 (UTC) Received: from sentinel.math.Princeton.EDU (sentinel.math.Princeton.EDU [128.112.16.31]) by pigeon.gentoo.org (Postfix) with ESMTP id DF761E0616 for ; Tue, 30 Jun 2009 19:05:00 +0000 (UTC) Received: from fine408d.math.princeton.edu ([128.112.17.203]) by sentinel.math.Princeton.EDU with esmtp (Exim 4.69) (envelope-from ) id 1MLidU-0001el-OA for gentoo-user@lists.gentoo.org; Tue, 30 Jun 2009 15:05:00 -0400 Received: from fine408d.math.Princeton.EDU (localhost.localdomain [127.0.0.1]) by fine408d.math.Princeton.EDU (8.13.8/8.13.8) with ESMTP id n5UJ4uZe017027 for ; Tue, 30 Jun 2009 15:04:56 -0400 Received: (from wwong@localhost) by fine408d.math.Princeton.EDU (8.13.8/8.13.8/Submit) id n5UJ4ujZ017024 for gentoo-user@lists.gentoo.org; Tue, 30 Jun 2009 15:04:56 -0400 X-Authentication-Warning: fine408d.math.Princeton.EDU: wwong set sender to wwong@math.princeton.edu using -f Date: Tue, 30 Jun 2009 15:04:56 -0400 From: Willie Wong To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] app-accessibility/speech-tools-1.2.96_beta build fails Message-ID: <20090630190456.GA16739@math.princeton.edu> References: <20090630105410.2ca19943@lappy.evolone.org> <200906302045.54519.alan.mckinnon@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906302045.54519.alan.mckinnon@gmail.com> User-Agent: Mutt/1.4.2.2i X-Archives-Salt: c4d4c39f-26b7-49d6-9c68-f0cd375af330 X-Archives-Hash: faf8663f6c2d5d6ce7289c6a27c3d5b3 On Tue, Jun 30, 2009 at 08:45:54PM +0200, Alan McKinnon wrote: > On Tuesday 30 June 2009 19:54:10 Michael Higgins wrote: > > Detected file collision(s): > > > > /usr/bin/dp > > > > Searching all installed packages for file collisions... > > > > Press Ctrl-C to Stop > > > > mail-client/nmh-1.1-r1 > > /usr/bin/dp > > > > So, it seems both packages install the same file. WTF? Am I dead in the > > water now? > > Not necessarily. Usually one would persuade one of the ebuilds to not build > the offending file by removing some USE flag. That doesn't apply to those > packages (no relevant USE flags) so your options are: > > a. figure out which of the packages you can do without, and do so. (Do you > REALLY need a speech synthesizer?) > b. Examine each package's output of ./configure and see if there's a way to > disable something that will avoid collisions. Then build that package > manually. > c. Do b) but modify the ebuild and store it in your local overlay > d. Put on your cowboy hat (the black one), delete /usr/bin/dp and let rip with Just as a reference: from nmh, you get dp, the date parser: http://linux.die.net/man/8/dp from speech tools, you get dp, the dynamic programming tool: http://festvox.org/docs/speech_tools-1.2.0/x2656.htm The second seems crucial to the operation of speech tools, the former I am not sure. But for either it seems that they could more reasonably belong to /usr/libexec rather than /usr/bin... As to Alan's suggestions: (a) Presumeably the OP knows that he is trying to emerge speech tools. (b) and (c) are right out, at least for speech tools, since the functionality seems crucial. (d) o_0 Let this be a lesson to would-be programmers: it doesn't hurt to make longer, more descriptive names for programs. At the very least it increases the pattern space to decrease chance of collision. My suggestion: file a bug. Hope this either gets passed to upstream, or that someone patches the ebuild to make the packages install to more sane locations. W -- Willie W. Wong wwong@math.princeton.edu 408 Fine Hall, Department of Mathematics, Princeton University, Princeton Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton